@keystrokehq/cli 0.0.50 → 0.0.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/{cat-TSFMZVYS-COyQw_zT.mjs → cat-TSFMZVYS-BfwZOafs.mjs} +2 -2
  2. package/dist/{cat-TSFMZVYS-COyQw_zT.mjs.map → cat-TSFMZVYS-BfwZOafs.mjs.map} +1 -1
  3. package/dist/{cut-OKARJCCV-DAC5beNE.mjs → cut-OKARJCCV-Cm3OStWG.mjs} +2 -2
  4. package/dist/{cut-OKARJCCV-DAC5beNE.mjs.map → cut-OKARJCCV-Cm3OStWG.mjs.map} +1 -1
  5. package/dist/{dist-CnoekdhF-nc3ePIKw.mjs → dist-CXHSlVhd-CTQzOALD.mjs} +620 -52
  6. package/dist/dist-CXHSlVhd-CTQzOALD.mjs.map +1 -0
  7. package/dist/{du-572XNP42-ClFDz1ub.mjs → du-572XNP42-DeJ11TW7.mjs} +2 -2
  8. package/dist/{du-572XNP42-ClFDz1ub.mjs.map → du-572XNP42-DeJ11TW7.mjs.map} +1 -1
  9. package/dist/{emit-route-manifest-DRcNXHCP-CqaK0qtn.mjs → emit-route-manifest-DRcNXHCP-CSOVo0UZ.mjs} +194 -16
  10. package/dist/{emit-route-manifest-DRcNXHCP-CqaK0qtn.mjs.map → emit-route-manifest-DRcNXHCP-CSOVo0UZ.mjs.map} +1 -1
  11. package/dist/index.mjs +2152 -60
  12. package/dist/index.mjs.map +1 -1
  13. package/dist/{jq-4XLYLOS5-BWKcXbpD.mjs → jq-4XLYLOS5-DrYXLsYH.mjs} +2 -2
  14. package/dist/{jq-4XLYLOS5-BWKcXbpD.mjs.map → jq-4XLYLOS5-DrYXLsYH.mjs.map} +1 -1
  15. package/dist/{ls-ZJGQER7M-DjEDom2D.mjs → ls-ZJGQER7M-C_1bAeGq.mjs} +2 -2
  16. package/dist/{ls-ZJGQER7M-DjEDom2D.mjs.map → ls-ZJGQER7M-C_1bAeGq.mjs.map} +1 -1
  17. package/dist/{mistral-nX_EdAQA-BcnqjD2e.mjs → mistral-B75PpahY-Bd3ZQ07v.mjs} +3 -3
  18. package/dist/{mistral-nX_EdAQA-BcnqjD2e.mjs.map → mistral-B75PpahY-Bd3ZQ07v.mjs.map} +1 -1
  19. package/dist/skills-bundle/_AGENTS.md +2 -0
  20. package/dist/skills-bundle/skills/cli/SKILL.md +1 -1
  21. package/dist/skills-bundle/skills/cli/references/api-targets.md +4 -4
  22. package/dist/{sort-SW2YEO5B-BGiKfkqv.mjs → sort-SW2YEO5B-D08jaQ5v.mjs} +2 -2
  23. package/dist/{sort-SW2YEO5B-BGiKfkqv.mjs.map → sort-SW2YEO5B-D08jaQ5v.mjs.map} +1 -1
  24. package/dist/templates/hello-world/package.json +1 -1
  25. package/dist/{tree-YLD52CNT-B616RO-w.mjs → tree-YLD52CNT-DiHyiFBi.mjs} +2 -2
  26. package/dist/{tree-YLD52CNT-B616RO-w.mjs.map → tree-YLD52CNT-DiHyiFBi.mjs.map} +1 -1
  27. package/dist/{uniq-XSIZR6PB-ByjUQvSp.mjs → uniq-XSIZR6PB-BA-vRB1O.mjs} +2 -2
  28. package/dist/{uniq-XSIZR6PB-ByjUQvSp.mjs.map → uniq-XSIZR6PB-BA-vRB1O.mjs.map} +1 -1
  29. package/dist/{wc-LF7NU4LA-C9tSAYz9.mjs → wc-LF7NU4LA-BWoItyXd.mjs} +2 -2
  30. package/dist/{wc-LF7NU4LA-C9tSAYz9.mjs.map → wc-LF7NU4LA-BWoItyXd.mjs.map} +1 -1
  31. package/dist/{xan-Y6WF3IRG-FxihFV4-.mjs → xan-Y6WF3IRG-BilR2MsH.mjs} +2 -2
  32. package/dist/{xan-Y6WF3IRG-FxihFV4-.mjs.map → xan-Y6WF3IRG-BilR2MsH.mjs.map} +1 -1
  33. package/package.json +18 -18
  34. package/dist/dist-CnoekdhF-nc3ePIKw.mjs.map +0 -1
  35. package/dist/skills-bundle/index.cjs +0 -46
  36. package/dist/skills-bundle/index.cjs.map +0 -1
  37. package/dist/skills-bundle/index.d.cts +0 -12
  38. package/dist/skills-bundle/index.d.cts.map +0 -1
  39. package/dist/skills-bundle/index.d.mts +0 -12
  40. package/dist/skills-bundle/index.d.mts.map +0 -1
  41. package/dist/skills-bundle/index.mjs +0 -40
  42. package/dist/skills-bundle/index.mjs.map +0 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dist-CXHSlVhd-CTQzOALD.mjs","names":["z.string","z.enum","z.ZodType","z.custom","z.object","z.boolean","z.array","z.record","z.unknown","z.literal","z.union","z.coerce.number","z.number","z.function","z$1.custom","z$1.union","z$1.string","z$1.number","z$1.looseObject","z$1.object","z$1.literal","z$1.unknown","z$1.array","z$1.enum","z$1.intersection","z$1.boolean","z$1.record","z$1.preprocess","z$1.optional","z$1.null","z$1.iso.datetime","z$1.discriminatedUnion","ZodFirstPartyTypeKind","crypto$1","z$1.url","z$1.NEVER","z$1.coerce.number","z$1.any"],"sources":["../../../node_modules/.pnpm/zod@4.4.3/node_modules/zod/v4/classic/compat.js","../../../packages/keystroke/dist/dist-CSBkgefj.mjs","../../../packages/keystroke/dist/dist-CXHSlVhd.mjs"],"sourcesContent":["// Zod 3 compat layer\nimport * as core from \"../core/index.js\";\n/** @deprecated Use the raw string literal codes instead, e.g. \"invalid_type\". */\nexport const ZodIssueCode = {\n invalid_type: \"invalid_type\",\n too_big: \"too_big\",\n too_small: \"too_small\",\n invalid_format: \"invalid_format\",\n not_multiple_of: \"not_multiple_of\",\n unrecognized_keys: \"unrecognized_keys\",\n invalid_union: \"invalid_union\",\n invalid_key: \"invalid_key\",\n invalid_element: \"invalid_element\",\n invalid_value: \"invalid_value\",\n custom: \"custom\",\n};\nexport { $brand, config } from \"../core/index.js\";\n/** @deprecated Use `z.config(params)` instead. */\nexport function setErrorMap(map) {\n core.config({\n customError: map,\n });\n}\n/** @deprecated Use `z.config()` instead. */\nexport function getErrorMap() {\n return core.config().customError;\n}\n/** @deprecated Do not use. Stub definition, only included for zod-to-json-schema compatibility. */\nexport var ZodFirstPartyTypeKind;\n(function (ZodFirstPartyTypeKind) {\n})(ZodFirstPartyTypeKind || (ZodFirstPartyTypeKind = {}));\n","import { z } from \"zod\";\nimport { AsyncLocalStorage } from \"node:async_hooks\";\n//#region ../shared/dist/index.mjs\n/** Auth, session, and account-entry URL segments. */\nconst AUTH_ACCOUNT_SLUGS = [\n\t\"2fa\",\n\t\"accept-invite\",\n\t\"auth\",\n\t\"authorize\",\n\t\"callback\",\n\t\"callbacks\",\n\t\"confirm-email\",\n\t\"confirmation\",\n\t\"connect\",\n\t\"device\",\n\t\"email-verification\",\n\t\"forgot-password\",\n\t\"invite\",\n\t\"invites\",\n\t\"login\",\n\t\"logout\",\n\t\"magic-link\",\n\t\"mfa\",\n\t\"oauth\",\n\t\"onboarding\",\n\t\"password\",\n\t\"recovery\",\n\t\"register\",\n\t\"reset-password\",\n\t\"saml\",\n\t\"session\",\n\t\"sessions\",\n\t\"sign-in\",\n\t\"sign-up\",\n\t\"signin\",\n\t\"signout\",\n\t\"signup\",\n\t\"sso\",\n\t\"token\",\n\t\"tokens\",\n\t\"unlink\",\n\t\"verify\",\n\t\"verify-email\"\n];\n/** Org, workspace, billing, and account-management URL segments. */\nconst ORG_ACCOUNT_SLUGS = [\n\t\"account\",\n\t\"accounts\",\n\t\"billing\",\n\t\"console\",\n\t\"invoice\",\n\t\"invoices\",\n\t\"member\",\n\t\"members\",\n\t\"me\",\n\t\"org\",\n\t\"organization\",\n\t\"organizations\",\n\t\"orgs\",\n\t\"payment\",\n\t\"payments\",\n\t\"plan\",\n\t\"plans\",\n\t\"portal\",\n\t\"preferences\",\n\t\"profile\",\n\t\"settings\",\n\t\"subscription\",\n\t\"subscriptions\",\n\t\"team\",\n\t\"teams\",\n\t\"upgrade\",\n\t\"usage\",\n\t\"user\",\n\t\"users\",\n\t\"workspace\",\n\t\"workspaces\"\n];\n/** Product surfaces, resource types, and in-app navigation segments. */\nconst PRODUCT_SLUGS = [\n\t\"action\",\n\t\"actions\",\n\t\"activity\",\n\t\"agent\",\n\t\"agents\",\n\t\"analytics\",\n\t\"app\",\n\t\"apps\",\n\t\"artifact\",\n\t\"artifacts\",\n\t\"assistant\",\n\t\"assistants\",\n\t\"audit\",\n\t\"audit-log\",\n\t\"automation\",\n\t\"automations\",\n\t\"branch\",\n\t\"branches\",\n\t\"canvas\",\n\t\"chat\",\n\t\"chats\",\n\t\"connection\",\n\t\"connections\",\n\t\"create\",\n\t\"credential\",\n\t\"credentials\",\n\t\"dashboard\",\n\t\"deployment\",\n\t\"deployments\",\n\t\"examples\",\n\t\"execute\",\n\t\"execution\",\n\t\"executions\",\n\t\"explore\",\n\t\"get-started\",\n\t\"history\",\n\t\"inbox\",\n\t\"inspector\",\n\t\"integration\",\n\t\"integrations\",\n\t\"library\",\n\t\"logs\",\n\t\"marketplace\",\n\t\"mcp\",\n\t\"mcps\",\n\t\"new\",\n\t\"notifications\",\n\t\"observe\",\n\t\"plugin\",\n\t\"plugins\",\n\t\"primitive\",\n\t\"primitives\",\n\t\"project\",\n\t\"projects\",\n\t\"recents\",\n\t\"registry\",\n\t\"reports\",\n\t\"run\",\n\t\"runs\",\n\t\"runtime\",\n\t\"runtimes\",\n\t\"sandbox\",\n\t\"sandboxes\",\n\t\"search\",\n\t\"skill\",\n\t\"skills\",\n\t\"templates\",\n\t\"thread\",\n\t\"threads\",\n\t\"trigger\",\n\t\"triggers\",\n\t\"version\",\n\t\"versions\",\n\t\"workflow\",\n\t\"workflows\"\n];\n/** Marketing, docs, company, and go-to-market URL segments. */\nconst MARKETING_SITE_SLUGS = [\n\t\"about\",\n\t\"affiliates\",\n\t\"ai\",\n\t\"announcements\",\n\t\"anthropic\",\n\t\"blog\",\n\t\"book-demo\",\n\t\"brand\",\n\t\"campaigns\",\n\t\"career\",\n\t\"careers\",\n\t\"case-studies\",\n\t\"casestudies\",\n\t\"changelog\",\n\t\"chatgpt\",\n\t\"chrome-extension\",\n\t\"claude\",\n\t\"codex\",\n\t\"community\",\n\t\"company\",\n\t\"compare\",\n\t\"contact\",\n\t\"contribute\",\n\t\"creators\",\n\t\"customers\",\n\t\"demo\",\n\t\"demos\",\n\t\"discord\",\n\t\"docs\",\n\t\"documentation\",\n\t\"download\",\n\t\"downloads\",\n\t\"dust\",\n\t\"emerging-talent\",\n\t\"engineering-blog\",\n\t\"enterprise\",\n\t\"events\",\n\t\"experts\",\n\t\"extension\",\n\t\"faq\",\n\t\"faqs\",\n\t\"features\",\n\t\"forum\",\n\t\"glean\",\n\t\"grok\",\n\t\"guide\",\n\t\"guides\",\n\t\"gumloop\",\n\t\"handbook\",\n\t\"help\",\n\t\"help-center\",\n\t\"home\",\n\t\"how-it-works\",\n\t\"howitworks\",\n\t\"inspo\",\n\t\"intern\",\n\t\"investors\",\n\t\"jobs\",\n\t\"keystroke\",\n\t\"legal\",\n\t\"lindy\",\n\t\"llm\",\n\t\"llms\",\n\t\"love\",\n\t\"make\",\n\t\"manifesto\",\n\t\"media\",\n\t\"merch\",\n\t\"mission\",\n\t\"mobile\",\n\t\"models\",\n\t\"n8n\",\n\t\"news\",\n\t\"newsroom\",\n\t\"open\",\n\t\"open-claw\",\n\t\"open-source\",\n\t\"openai\",\n\t\"our-story\",\n\t\"overview\",\n\t\"partners\",\n\t\"pi\",\n\t\"pipedream\",\n\t\"platform\",\n\t\"press\",\n\t\"press-kit\",\n\t\"pricing\",\n\t\"privacy\",\n\t\"product\",\n\t\"products\",\n\t\"provider\",\n\t\"providers\",\n\t\"quick-start\",\n\t\"quickstart\",\n\t\"refer\",\n\t\"relay\",\n\t\"relay-app\",\n\t\"reporting\",\n\t\"request-demo\",\n\t\"resources\",\n\t\"roadmap\",\n\t\"schedule-demo\",\n\t\"security\",\n\t\"solutions\",\n\t\"stack-ai\",\n\t\"stackai\",\n\t\"startup\",\n\t\"startups\",\n\t\"status\",\n\t\"stories\",\n\t\"story\",\n\t\"students\",\n\t\"support\",\n\t\"swag\",\n\t\"switch\",\n\t\"talent\",\n\t\"terms\",\n\t\"testimonials\",\n\t\"thesis\",\n\t\"tines\",\n\t\"trust\",\n\t\"tutorials\",\n\t\"university\",\n\t\"use-case\",\n\t\"use-cases\",\n\t\"usecases\",\n\t\"versus\",\n\t\"vellum\",\n\t\"vs\",\n\t\"webinars\",\n\t\"workato\",\n\t\"xai\",\n\t\"yc\",\n\t\"zapier\"\n];\n/** Integrations, competitors, and partner brand slugs (marketing / integration pages). */\nconst INTEGRATION_BRAND_SLUGS = [\n\t\"airtable\",\n\t\"asana\",\n\t\"aws\",\n\t\"azure\",\n\t\"bun\",\n\t\"confluence\",\n\t\"copilot\",\n\t\"cursor\",\n\t\"databricks\",\n\t\"figma\",\n\t\"firebase\",\n\t\"fly\",\n\t\"gcp\",\n\t\"gemini\",\n\t\"github\",\n\t\"gitlab\",\n\t\"gmail\",\n\t\"heroku\",\n\t\"hubspot\",\n\t\"huggingface\",\n\t\"jira\",\n\t\"linear\",\n\t\"mailchimp\",\n\t\"meta\",\n\t\"mistral\",\n\t\"mixmax\",\n\t\"monday\",\n\t\"netlify\",\n\t\"neon\",\n\t\"notion\",\n\t\"npm\",\n\t\"outlook\",\n\t\"outreach\",\n\t\"perplexity\",\n\t\"planetscale\",\n\t\"pnpm\",\n\t\"postmark\",\n\t\"ramp\",\n\t\"railway\",\n\t\"render\",\n\t\"resend\",\n\t\"salesforce\",\n\t\"segment\",\n\t\"sendgrid\",\n\t\"shopify\",\n\t\"slack\",\n\t\"snowflake\",\n\t\"stripe\",\n\t\"supabase\",\n\t\"terraform\",\n\t\"trello\",\n\t\"turso\",\n\t\"twilio\",\n\t\"typeform\",\n\t\"vercel\",\n\t\"vscode\",\n\t\"windsurf\",\n\t\"yarn\"\n];\n/** Company, team, and department landing-page segments. */\nconst COMPANY_TEAM_SLUGS = [\n\t\"engineers\",\n\t\"engineering\",\n\t\"executives\",\n\t\"hc\",\n\t\"intern\",\n\t\"it\",\n\t\"leadership\",\n\t\"marketing\",\n\t\"ops\",\n\t\"revops\",\n\t\"sales\",\n\t\"services\",\n\t\"tech\"\n];\n/** Legal, trust, compliance, and policy URL segments. */\nconst LEGAL_TRUST_SLUGS = [\n\t\"accessibility\",\n\t\"agreement\",\n\t\"a11y\",\n\t\"bug-bounty\",\n\t\"compliance\",\n\t\"cookie-policy\",\n\t\"cookies\",\n\t\"disclose\",\n\t\"dpa\",\n\t\"eula\",\n\t\"gdpr\",\n\t\"hipaa\",\n\t\"iso\",\n\t\"msa\",\n\t\"pci\",\n\t\"responsible-disclosure\",\n\t\"sla\",\n\t\"soc2\",\n\t\"tos\",\n\t\"trust-center\",\n\t\"trustcenter\",\n\t\"vulnerability\"\n];\n/** Developer, API, CLI, and technical URL segments. */\nconst DEVELOPER_TECH_SLUGS = [\n\t\"api\",\n\t\"api-docs\",\n\t\"cli\",\n\t\"code\",\n\t\"config\",\n\t\"developer\",\n\t\"developer-tools\",\n\t\"developers\",\n\t\"dev-tools\",\n\t\"devtools\",\n\t\"dev\",\n\t\"dev-states\",\n\t\"graphql\",\n\t\"graphql-playground\",\n\t\"mcp-server\",\n\t\"mcp-servers\",\n\t\"openapi\",\n\t\"sdk\",\n\t\"swagger\"\n];\n/** Infra, ops, static assets, and system URL segments. */\nconst INFRA_SYSTEM_SLUGS = [\n\t\"acme-challenge\",\n\t\"admin\",\n\t\"apple-app-site-association\",\n\t\"assets\",\n\t\"batch\",\n\t\"cache\",\n\t\"cdn\",\n\t\"cron\",\n\t\"debug\",\n\t\"error\",\n\t\"errors\",\n\t\"favicon\",\n\t\"feed\",\n\t\"files\",\n\t\"health\",\n\t\"healthcheck\",\n\t\"healthz\",\n\t\"hooks\",\n\t\"internal\",\n\t\"item\",\n\t\"manifest\",\n\t\"metrics\",\n\t\"null\",\n\t\"ping\",\n\t\"prod\",\n\t\"public\",\n\t\"redirect\",\n\t\"robots\",\n\t\"rpc\",\n\t\"rss\",\n\t\"sharer\",\n\t\"sitemap\",\n\t\"staging\",\n\t\"static\",\n\t\"storage\",\n\t\"test\",\n\t\"undefined\",\n\t\"universal\",\n\t\"webhooks\",\n\t\"well-known\",\n\t\"www\"\n];\n/** Reserved slugs that are valid org names in theory but blocked for routing safety. */\nconst ROUTING_SAFETY_SLUGS = [\n\t\"alpha\",\n\t\"anonymous\",\n\t\"archive\",\n\t\"archived\",\n\t\"beta\",\n\t\"clone\",\n\t\"copy\",\n\t\"default\",\n\t\"deleted\",\n\t\"demo-org\",\n\t\"draft\",\n\t\"drafts\",\n\t\"duplicate\",\n\t\"early-access\",\n\t\"embed\",\n\t\"embedded\",\n\t\"export\",\n\t\"fork\",\n\t\"free\",\n\t\"guest\",\n\t\"import\",\n\t\"index\",\n\t\"list\",\n\t\"manage\",\n\t\"moderator\",\n\t\"newsletter\",\n\t\"owner\",\n\t\"preview\",\n\t\"previews\",\n\t\"private\",\n\t\"pro\",\n\t\"public-api\",\n\t\"publish\",\n\t\"published\",\n\t\"queue\",\n\t\"remove\",\n\t\"root\",\n\t\"sample\",\n\t\"samples\",\n\t\"selection\",\n\t\"share\",\n\t\"shared\",\n\t\"sponsor\",\n\t\"sponsors\",\n\t\"sponsorship\",\n\t\"subscribe\",\n\t\"super\",\n\t\"superuser\",\n\t\"system\",\n\t\"sys\",\n\t\"test-org\",\n\t\"trash\",\n\t\"unpublish\",\n\t\"unsubscribe\",\n\t\"upload\",\n\t\"uploads\",\n\t\"waitlist\",\n\t\"widget\",\n\t\"widgets\",\n\t\"worker\",\n\t\"workers\"\n];\n/**\n* URL segments reserved for global (non-org) routes — cannot be used as an org slug.\n* Prefer adding new entries to the category arrays above; the Set is the enforcement surface.\n*/\nconst RESERVED_ORGANIZATION_SLUGS = new Set([\n\t...AUTH_ACCOUNT_SLUGS,\n\t...ORG_ACCOUNT_SLUGS,\n\t...PRODUCT_SLUGS,\n\t...MARKETING_SITE_SLUGS,\n\t...INTEGRATION_BRAND_SLUGS,\n\t...COMPANY_TEAM_SLUGS,\n\t...LEGAL_TRUST_SLUGS,\n\t...DEVELOPER_TECH_SLUGS,\n\t...INFRA_SYSTEM_SLUGS,\n\t...ROUTING_SAFETY_SLUGS\n]);\n/**\n* Base slug format: lowercase, 2-64 chars, alphanumeric + dashes.\n*\n* IMPORTANT: this is the schema for *reading* slugs (persisted rows, API\n* responses). It intentionally does NOT enforce the reserved-name list — an org\n* created before a name became reserved must still parse on read. Use\n* `ClaimableOrganizationSlugSchema` to validate slugs a user is trying to claim.\n*/\nconst OrganizationSlugSchema = z.string().trim().toLowerCase().min(2, \"Slug must be at least 2 characters\").max(64, \"Slug must be at most 64 characters\").regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, \"Use lowercase letters, numbers, and dashes only\");\n/**\n* Slug validation for *claiming* a slug (organization create/rename). Adds the\n* reserved-name check on top of the base format. Never use this to parse\n* existing org data, or pre-existing orgs whose slug later became reserved would\n* fail to load.\n*/\nconst ClaimableOrganizationSlugSchema = OrganizationSlugSchema.refine((slug) => !RESERVED_ORGANIZATION_SLUGS.has(slug), \"This slug is reserved\");\n/** How a credential instance is stored (`credential_instances.auth_kind`). */\nconst CredentialAuthKindSchema = z.enum([\"api_key\", \"oauth_managed\"]);\n/** Where a credential instance is stored (`credential_instances.scope_type`). */\nconst CredentialScopeTypeSchema = z.enum([\n\t\"global\",\n\t\"organization\",\n\t\"project\",\n\t\"user\"\n]);\n/**\n* Resolution chain step when an action/tool looks up credentials.\n* `selection` uses explicit instance ids; other levels map to {@link CredentialScopeType}.\n*/\nconst CredentialScopeLevelSchema = z.enum([\n\t\"selection\",\n\t\"organization\",\n\t\"project\",\n\t\"user\"\n]);\nCredentialAuthKindSchema.options;\nCredentialScopeTypeSchema.options;\nconst CREDENTIAL_SCOPE_LEVELS = CredentialScopeLevelSchema.options;\n/** Default chain when `credential.static(...).scope()` is called with no args. */\nconst DEFAULT_CREDENTIAL_RESOLUTION_CHAIN = [\"organization\", \"project\"];\nconst CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE = {\n\torganization: \"organization\",\n\tproject: \"project\",\n\tuser: \"user\"\n};\nfunction isCredentialInput(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tconst candidate = value;\n\treturn typeof candidate.key === \"string\" && CredentialAuthKindSchema.safeParse(candidate.kind).success && candidate.schema instanceof z.ZodType;\n}\nconst credentialInputSchema = z.custom((value) => isCredentialInput(value), \"must be a credential requirement\");\nfunction createRef(kind, key, schema, options) {\n\tconst tokenField = options?.tokenField;\n\treturn {\n\t\tkind,\n\t\tkey,\n\t\tschema,\n\t\t...tokenField !== void 0 ? { tokenField } : {},\n\t\tscope(...chain) {\n\t\t\treturn {\n\t\t\t\tkey,\n\t\t\t\tkind,\n\t\t\t\tschema,\n\t\t\t\tchain: chain.length > 0 ? chain : DEFAULT_CREDENTIAL_RESOLUTION_CHAIN,\n\t\t\t\t...tokenField !== void 0 ? { tokenField } : {}\n\t\t\t};\n\t\t}\n\t};\n}\nfunction staticCredential(key, schema) {\n\treturn createRef(\"api_key\", key, schema instanceof z.ZodType ? schema : z.object(schema));\n}\nfunction oauthCredential(key, options) {\n\tconst tokenField = options?.tokenField ?? \"accessToken\";\n\treturn createRef(\"oauth_managed\", key, tokenField === \"accessToken\" ? z.object({ accessToken: z.string() }) : z.object({ [tokenField]: z.string() }), { tokenField });\n}\nconst credential = {\n\tstatic: staticCredential,\n\toauth: oauthCredential\n};\nfunction defineCredential(input) {\n\tif (input.kind === \"oauth\") return input.tokenField !== void 0 ? credential.oauth(input.key, { tokenField: input.tokenField }) : credential.oauth(input.key);\n\tif (\"schema\" in input) return credential.static(input.key, input.schema);\n\treturn credential.static(input.key, input.fields);\n}\nfunction normalizeCredentialList(list) {\n\treturn list.map((item) => toCredentialRequirement(item));\n}\nfunction isCredentialRequirement(item) {\n\treturn \"chain\" in item;\n}\nfunction toCredentialRequirement(item) {\n\tif (isCredentialRequirement(item)) return item;\n\treturn {\n\t\tkey: item.key,\n\t\tkind: item.kind,\n\t\tschema: item.schema,\n\t\tchain: DEFAULT_CREDENTIAL_RESOLUTION_CHAIN,\n\t\t...item.tokenField !== void 0 ? { tokenField: item.tokenField } : {}\n\t};\n}\nconst OrganizationSlugErrorCodeSchema = z.enum([\n\t\"slug_taken\",\n\t\"slug_reserved\",\n\t\"slug_invalid\"\n]);\nconst SlugAvailabilityReasonSchema = z.enum([\n\t\"taken\",\n\t\"reserved\",\n\t\"invalid\"\n]);\nz.object({\n\tslug: z.string(),\n\tavailable: z.boolean(),\n\treason: SlugAvailabilityReasonSchema.optional(),\n\tsuggestion: OrganizationSlugSchema.optional()\n});\nz.object({\n\tslug: z.string().trim().min(1),\n\texcludeOrganizationId: z.string().min(1).optional()\n});\nconst ProjectStatusSchema = z.enum([\n\t\"inactive\",\n\t\"starting\",\n\t\"active\",\n\t\"failed\"\n]);\nconst OrganizationUserRoleSchema = z.enum([\"admin\"]);\nconst isoDateTime$1 = z.string().datetime();\nconst OrganizationSchema = z.object({\n\tid: z.string(),\n\tname: z.string(),\n\tslug: OrganizationSlugSchema,\n\tcreatedAt: isoDateTime$1,\n\tupdatedAt: isoDateTime$1\n});\nconst ProjectSchema = z.object({\n\tid: z.string(),\n\torganizationId: z.string(),\n\tname: z.string(),\n\tstatus: ProjectStatusSchema,\n\tbaseUrl: z.string().nullable(),\n\truntimeId: z.string().nullable(),\n\tlastError: z.string().nullable(),\n\tcreatedAt: isoDateTime$1,\n\tupdatedAt: isoDateTime$1\n});\nconst UserOrganizationSchema = z.object({\n\torganization: OrganizationSchema,\n\trole: OrganizationUserRoleSchema\n});\nz.object({ organization: UserOrganizationSchema.nullable() });\nz.object({ organizations: z.array(UserOrganizationSchema) });\nz.object({ organizationId: z.string().min(1) });\nz.object({\n\tname: z.string().trim().min(1),\n\t/** Format-only at the wire boundary; reserved-name checks run in platform-database. */\n\tslug: OrganizationSlugSchema.optional()\n});\nz.object({ slug: ClaimableOrganizationSlugSchema });\nz.object({ organization: UserOrganizationSchema });\nz.object({ projects: z.array(ProjectSchema) });\nz.object({ name: z.string().trim().min(1) });\nz.object({ project: ProjectSchema });\nz.object({ project: ProjectSchema });\nz.object({ reachable: z.boolean() });\nconst ValidationErrorDetailSchema = z.object({\n\tpath: z.string(),\n\tmessage: z.string()\n});\n/** Machine-readable codes returned in standard API error bodies. */\nconst ErrorResponseCodeSchema = OrganizationSlugErrorCodeSchema.or(z.enum([\"needs_org_selection\"]));\nz.object({\n\terror: z.string(),\n\tcode: ErrorResponseCodeSchema.optional(),\n\tmessage: z.string().optional(),\n\tdetails: z.array(ValidationErrorDetailSchema).optional()\n});\nz.object({ message: z.string() });\nconst CredentialRunContextSchema = z.object({\n\torgId: z.string().min(1).optional(),\n\tprojectId: z.string().min(1).optional(),\n\tuserId: z.string().min(1).optional(),\n\tuserIds: z.record(z.string(), z.string()).optional(),\n\tselection: z.record(z.string(), z.string()).optional()\n});\nconst ThinkingLevelSchema = z.enum([\n\t\"off\",\n\t\"minimal\",\n\t\"low\",\n\t\"medium\",\n\t\"high\",\n\t\"xhigh\"\n]);\nz.object({\n\tmessage: z.string().min(1),\n\tsessionId: z.string().min(1).optional(),\n\tsubscriptionId: z.string().min(1).optional(),\n\tcontext: CredentialRunContextSchema.optional(),\n\tthinkingLevel: ThinkingLevelSchema.optional()\n});\nz.object({\n\tsessionId: z.string(),\n\tmessages: z.array(z.record(z.string(), z.unknown())),\n\terror: z.string().nullable()\n});\nconst SkipResponseSchema = z.object({\n\tok: z.literal(true),\n\tskipped: z.literal(true)\n});\nz.object({ ok: z.literal(true) });\nz.object({ service: z.string() });\nconst ConnectProviderSchema = z.object({\n\tkey: z.string(),\n\tmode: z.enum([\"authorize-url\", \"browser-redirect\"]),\n\tpath: z.string(),\n\trequiresAuth: z.boolean()\n});\nz.object({ providers: z.array(ConnectProviderSchema) });\nz.object({ url: z.string() });\nz.object({ runId: z.string() });\nz.object({ sessionId: z.string() });\nz.object({\n\tworkflows: z.array(z.string().min(1)).optional(),\n\tattachments: z.array(z.string().min(1)).optional()\n});\nconst PollAttachmentResultSchema = z.object({\n\tattachmentKey: z.string(),\n\tworkflowKey: z.string(),\n\trunId: z.string().optional(),\n\tbody: z.unknown().optional(),\n\tqueued: z.boolean(),\n\tskipped: z.boolean().optional()\n});\nconst PollRunMultiResponseSchema = z.object({ results: z.array(PollAttachmentResultSchema) });\nz.union([\n\tz.record(z.string(), z.unknown()),\n\tPollRunMultiResponseSchema,\n\tSkipResponseSchema,\n\tz.object({ runId: z.string() })\n]);\nconst WorkflowRunStatusSchema = z.enum([\n\t\"pending\",\n\t\"running\",\n\t\"completed\",\n\t\"failed\"\n]);\nconst WorkflowRunTriggerSchema = z.enum([\n\t\"api\",\n\t\"cron\",\n\t\"webhook\",\n\t\"poll\",\n\t\"retry\"\n]);\nconst WorkflowRunSummarySchema = z.object({\n\tid: z.string(),\n\tstatus: WorkflowRunStatusSchema,\n\ttrigger: WorkflowRunTriggerSchema,\n\ttriggeredAt: z.string(),\n\tstartedAt: z.string().nullable(),\n\tfinishedAt: z.string().nullable(),\n\ttriggerRunId: z.string().nullable(),\n\tattachmentId: z.string().nullable()\n});\nconst WorkflowRunRecordSchema = z.object({\n\tid: z.string(),\n\tworkflowKey: z.string(),\n\tstatus: WorkflowRunStatusSchema,\n\ttrigger: WorkflowRunTriggerSchema,\n\ttriggeredAt: z.string(),\n\tstartedAt: z.string().nullable(),\n\tfinishedAt: z.string().nullable(),\n\ttriggerRunId: z.string().nullable(),\n\tattachmentId: z.string().nullable(),\n\tparentWorkflowRunId: z.string().nullable(),\n\tparentSpanId: z.string().nullable(),\n\tinput: z.unknown().nullable(),\n\toutput: z.unknown().nullable(),\n\terror: z.unknown().nullable()\n});\nz.object({\n\tlimit: z.coerce.number().int().min(1).max(100).optional().default(20),\n\tcursor: z.string().min(1).optional(),\n\tstatus: WorkflowRunStatusSchema.optional(),\n\ttrigger: WorkflowRunTriggerSchema.optional()\n});\nz.object({\n\titems: z.array(WorkflowRunSummarySchema),\n\tnextCursor: z.string().nullable()\n});\nz.enum([\n\t\"trigger\",\n\t\"steps\",\n\t\"trace\"\n]);\nz.object({ include: z.string().optional() });\nconst TriggerRunDetailSchema = z.object({\n\tid: z.string(),\n\tattachmentId: z.string(),\n\tattachmentKey: z.string().nullable(),\n\ttriggerType: z.enum([\n\t\t\"cron\",\n\t\t\"webhook\",\n\t\t\"poll\"\n\t]),\n\tsourcePath: z.string().nullable(),\n\tpayload: z.unknown().nullable(),\n\ttriggeredAt: z.string()\n});\nconst WorkflowStepRunSchema = z.object({\n\tid: z.string(),\n\tactionKey: z.string(),\n\toutput: z.unknown(),\n\tcompletedAt: z.string()\n});\nconst TraceTriggerSummarySchema = z.object({\n\ttriggerType: z.string(),\n\ttriggerRunId: z.string(),\n\tworkflowKey: z.string().optional(),\n\tagentKey: z.string().optional(),\n\tattachmentId: z.string().nullable().optional(),\n\tattachmentKey: z.string().nullable().optional(),\n\troute: z.string().optional(),\n\tsourcePath: z.string().nullable().optional()\n}).nullable();\nconst TraceGatewaySummarySchema = z.object({\n\tgatewayAttachmentId: z.string(),\n\tgatewayAttachmentKey: z.string(),\n\tthreadId: z.string().optional(),\n\tchannelId: z.string().optional(),\n\tmode: z.string().optional()\n}).nullable();\nconst TraceSpanSchema = z.object({\n\tid: z.string(),\n\ttraceId: z.string(),\n\tparentSpanId: z.string().nullable(),\n\tkind: z.string(),\n\trefId: z.string(),\n\tname: z.string(),\n\tstatus: z.string(),\n\tstartedAt: z.string(),\n\tfinishedAt: z.string().nullable(),\n\tmetadata: z.unknown().nullable(),\n\terror: z.unknown().nullable()\n});\nconst TraceLogSchema = z.object({\n\tid: z.string(),\n\ttraceId: z.string(),\n\tspanId: z.string(),\n\tseq: z.number(),\n\tlevel: z.string(),\n\tmessage: z.string(),\n\tdata: z.unknown().nullable(),\n\tsource: z.string(),\n\tcreatedAt: z.string()\n});\nconst TraceResponseSchema = z.object({\n\ttraceId: z.string(),\n\ttrigger: TraceTriggerSummarySchema,\n\tgateway: TraceGatewaySummarySchema,\n\tspans: z.array(TraceSpanSchema),\n\tlogs: z.array(TraceLogSchema)\n});\nz.object({\n\trun: WorkflowRunRecordSchema,\n\ttrigger: TriggerRunDetailSchema.nullable(),\n\tsteps: z.array(WorkflowStepRunSchema),\n\ttrace: TraceResponseSchema.nullable()\n});\nconst AgentSessionStatusSchema = z.enum([\n\t\"running\",\n\t\"completed\",\n\t\"failed\"\n]);\nconst AgentSessionSourceSchema = z.enum([\"api\", \"gateway\"]);\nconst AgentSessionSummarySchema = z.object({\n\tid: z.string(),\n\tstatus: AgentSessionStatusSchema,\n\tsource: AgentSessionSourceSchema,\n\tcreatedAt: z.string(),\n\tupdatedAt: z.string(),\n\tmessageCount: z.number()\n});\nconst AgentSessionRecordSchema = z.object({\n\tid: z.string(),\n\tagentKey: z.string(),\n\tstatus: AgentSessionStatusSchema,\n\tsource: AgentSessionSourceSchema,\n\tcreatedAt: z.string(),\n\tupdatedAt: z.string(),\n\tparentSpanId: z.string().nullable(),\n\tmessageCount: z.number(),\n\terror: z.unknown().nullable()\n});\nz.object({\n\tlimit: z.coerce.number().int().min(1).max(100).optional().default(20),\n\tcursor: z.string().min(1).optional(),\n\tstatus: AgentSessionStatusSchema.optional(),\n\tsource: AgentSessionSourceSchema.optional()\n});\nz.object({\n\titems: z.array(AgentSessionSummarySchema),\n\tnextCursor: z.string().nullable()\n});\nz.enum([\n\t\"gateway\",\n\t\"messages\",\n\t\"events\",\n\t\"trace\"\n]);\nz.object({ include: z.string().optional() });\nconst GatewaySessionDetailSchema = z.object({\n\tthreadId: z.string(),\n\tattachmentId: z.string(),\n\tattachmentKey: z.string().nullable()\n});\nconst AgentEventSchema = z.object({\n\tid: z.string(),\n\tsessionId: z.string(),\n\tseq: z.number(),\n\teventType: z.string(),\n\tpayload: z.unknown(),\n\tcreatedAt: z.string()\n});\nz.object({\n\tsession: AgentSessionRecordSchema,\n\tgateway: GatewaySessionDetailSchema.nullable(),\n\tmessages: z.array(z.record(z.string(), z.unknown())),\n\tevents: z.array(AgentEventSchema),\n\ttrace: TraceResponseSchema.nullable()\n});\nconst SlackGatewayModeSchema = z.enum([\n\t\"mention\",\n\t\"channel\",\n\t\"dm\"\n]);\nconst GatewayAttachmentSourceSchema = z.object({\n\tkind: z.literal(\"slack\"),\n\tmode: SlackGatewayModeSchema,\n\tcredentialKey: z.string(),\n\tchannelIds: z.array(z.string()).optional(),\n\tsubscribeOnMention: z.boolean()\n});\nconst GatewayAttachmentRecordSchema = z.object({\n\tid: z.string(),\n\tkey: z.string(),\n\tagentKey: z.string(),\n\tchannelId: z.string(),\n\tplatform: z.string(),\n\tsource: GatewayAttachmentSourceSchema,\n\tregisteredAt: z.string(),\n\tupdatedAt: z.string()\n});\nz.object({ attachments: z.array(GatewayAttachmentRecordSchema) });\nz.object({\n\tagentKey: z.string().min(1),\n\tmode: SlackGatewayModeSchema.optional(),\n\tsubscribeOnMention: z.boolean().optional()\n});\nconst AgentListItemSchema = z.object({\n\tkey: z.string(),\n\tname: z.string().optional(),\n\troute: z.string()\n});\nz.object({ agents: z.array(AgentListItemSchema) });\nconst WorkflowSubscriptionRecordSchema = z.object({\n\tid: z.string(),\n\tworkflowKey: z.string(),\n\tuserId: z.string(),\n\tenabled: z.boolean(),\n\tcreatedAt: z.string(),\n\tupdatedAt: z.string()\n});\nz.object({ subscriptions: z.array(WorkflowSubscriptionRecordSchema) });\nz.object({\n\tuserId: z.string().min(1).optional(),\n\tenabled: z.boolean().optional()\n});\nconst CredentialInstanceRecordSchema = z.object({\n\tid: z.string(),\n\tkey: z.string(),\n\tscopeType: CredentialScopeTypeSchema,\n\tscopeId: z.string().nullable(),\n\tlabel: z.string().nullable(),\n\tisDefault: z.boolean(),\n\tauthKind: CredentialAuthKindSchema\n});\nz.object({ instances: z.array(CredentialInstanceRecordSchema) });\nz.object({\n\tkey: z.string().min(1),\n\tscopeType: CredentialScopeTypeSchema,\n\tscopeId: z.string().nullable().optional(),\n\tlabel: z.string().nullable().optional(),\n\tisDefault: z.boolean().optional(),\n\tvalue: z.record(z.string(), z.unknown()).refine((value) => Object.keys(value).length > 0, { message: \"value must be a non-empty object\" })\n});\nz.object({\n\tlabel: z.string().nullable().optional(),\n\tisDefault: z.boolean().optional(),\n\tvalue: z.record(z.string(), z.unknown()).refine((value) => Object.keys(value).length > 0, { message: \"value must be a non-empty object\" }).optional()\n});\nconst TriggerRunTypeSchema = z.enum([\n\t\"cron\",\n\t\"webhook\",\n\t\"poll\"\n]);\nconst TriggerRunWorkflowSummarySchema = z.object({\n\tid: z.string(),\n\tstatus: WorkflowRunStatusSchema,\n\tworkflowKey: z.string()\n});\nconst TriggerRunSummarySchema = z.object({\n\tid: z.string(),\n\ttriggerType: TriggerRunTypeSchema,\n\ttriggeredAt: z.string(),\n\tsourcePath: z.string().nullable(),\n\tworkflowRun: TriggerRunWorkflowSummarySchema.nullable()\n});\nconst TriggerRunRecordSchema = z.object({\n\tid: z.string(),\n\tattachmentId: z.string(),\n\tattachmentKey: z.string(),\n\ttriggerType: TriggerRunTypeSchema,\n\tsourcePath: z.string().nullable(),\n\tpayload: z.unknown().nullable(),\n\ttriggeredAt: z.string()\n});\nz.object({\n\tlimit: z.coerce.number().int().min(1).max(100).optional().default(20),\n\tcursor: z.string().min(1).optional(),\n\ttriggerType: TriggerRunTypeSchema.optional()\n});\nz.object({\n\titems: z.array(TriggerRunSummarySchema),\n\tnextCursor: z.string().nullable()\n});\nz.enum([\"workflows\", \"trace\"]);\nz.object({ include: z.string().optional() });\nz.object({\n\trun: TriggerRunRecordSchema,\n\tworkflowRuns: z.array(WorkflowRunSummarySchema),\n\ttrace: TraceResponseSchema.nullable()\n});\nconst TriggerTypeSchema = z.enum([\n\t\"webhook\",\n\t\"poll\",\n\t\"cron\"\n]);\nconst TriggerListItemSchema = z.object({\n\tkey: z.string(),\n\ttype: TriggerTypeSchema,\n\troute: z.string().optional(),\n\twebhookUrl: z.string().url().optional(),\n\tworkflowKey: z.string()\n});\nz.object({ triggers: z.array(TriggerListItemSchema) });\nconst ProjectArtifactStatusSchema = z.enum([\"pending\", \"ready\"]);\nconst isoDateTime = z.string().datetime();\nconst ProjectArtifactSchema = z.object({\n\tid: z.string(),\n\tprojectId: z.string(),\n\tstorageKey: z.string(),\n\tstatus: ProjectArtifactStatusSchema,\n\tcreatedAt: isoDateTime,\n\tupdatedAt: isoDateTime\n});\nz.object({\n\tartifact: ProjectArtifactSchema,\n\tuploadUrl: z.string().url(),\n\texpiresInSeconds: z.number().int().positive()\n});\nz.object({\n\tartifact: ProjectArtifactSchema,\n\tproject: ProjectSchema\n});\n//#endregion\n//#region ../action/dist/index.mjs\nconst zodSchema = z.custom((v) => v instanceof z.ZodType, \"must be a Zod schema\");\n/** Runtime validation for an unbranded action definition. */\nconst actionCoreSchema = z.object({\n\tkey: z.string().trim().min(1),\n\tname: z.string().trim().min(1),\n\tdescription: z.string().optional(),\n\tinput: zodSchema,\n\toutput: zodSchema,\n\tcredentials: z.array(credentialInputSchema).optional(),\n\trun: z.function()\n});\nconst ACTION = Symbol.for(\"keystroke.action\");\n/**\n* Validates brand + shape via `actionCoreSchema` so discovery and guards reject\n* malformed definitions.\n*/\nfunction isAction(value) {\n\tif (typeof value !== \"object\" || value === null) return false;\n\tif (!(ACTION in value) || value[ACTION] !== true) return false;\n\treturn actionCoreSchema.safeParse(value).success;\n}\nfunction getActionCredentialRequirements(action) {\n\treturn action.credentials;\n}\n/**\n* Tracks the action whose `run` is currently executing. Actions are leaf units:\n* orchestration belongs in workflows, not inside another action. We use this to\n* reject an action that tries to invoke another action's `run` (directly or as a\n* step) while one is already on the stack.\n*/\nconst executingAction = new AsyncLocalStorage();\n/**\n* Runs an action's `run` body. Throws if another action is already executing in\n* the current async context — that means an action called another action.\n*/\nfunction runWithinActionExecution(actionKey, run) {\n\tconst parentKey = executingAction.getStore();\n\tif (parentKey !== void 0) throw new Error(`Action \"${actionKey}\" was invoked from inside action \"${parentKey}\". Actions are leaf units — an action must not call another action. Orchestrate actions in a workflow (src/workflows/), or attach the action directly as an agent tool (src/agents/).`);\n\treturn executingAction.run(actionKey, run);\n}\n/**\n* Resets the action-execution context for the duration of `fn`. Agent tool calls\n* are fresh top-level executions even when the agent was prompted from inside an\n* action, so calling actions as agent tools must not trip the guard.\n*/\nfunction runOutsideActionExecution(fn) {\n\treturn executingAction.exit(fn);\n}\nlet getter;\nfunction registerWorkflowRunGetter(fn) {\n\tgetter = fn;\n}\nfunction getWorkflowRunHandle() {\n\treturn getter?.();\n}\nfunction buildSelectionForAction(action, instanceId) {\n\tif (!action.credentials?.length) return {};\n\tconst requirements = normalizeCredentialList(action.credentials);\n\treturn Object.fromEntries(requirements.map((requirement) => [requirement.key, instanceId]));\n}\nfunction executeStep(state) {\n\tif (state.input === void 0) throw new Error(`Step \"${state.action.key}\" has no input. Call .run(input) before awaiting or chaining .scope().`);\n\tconst handle = getWorkflowRunHandle();\n\tif (!handle) throw new Error(`Step \"${state.action.key}\" must run inside a workflow or be called as .run(input, credentials) in tests.`);\n\treturn handle.actionRunner(state.action, state.input, {\n\t\tid: state.id,\n\t\tcredentialChain: state.chain,\n\t\tcredentialSelection: state.selection\n\t});\n}\nfunction isStepInvocation(value) {\n\treturn typeof value === \"object\" && value !== null && \"then\" in value && typeof value.then === \"function\" && \"scope\" in value && typeof value.scope === \"function\";\n}\nfunction createStepInvocation(state) {\n\treturn {\n\t\tscope(...chain) {\n\t\t\treturn createStepInvocation({\n\t\t\t\t...state,\n\t\t\t\tchain: chain.length > 0 ? chain : state.chain\n\t\t\t});\n\t\t},\n\t\tselect(instanceIdOrMap) {\n\t\t\tconst nextSelection = typeof instanceIdOrMap === \"string\" ? buildSelectionForAction(state.action, instanceIdOrMap) : instanceIdOrMap;\n\t\t\treturn createStepInvocation({\n\t\t\t\t...state,\n\t\t\t\tselection: {\n\t\t\t\t\t...state.selection,\n\t\t\t\t\t...nextSelection\n\t\t\t\t}\n\t\t\t});\n\t\t},\n\t\trun(input) {\n\t\t\treturn createStepInvocation({\n\t\t\t\t...state,\n\t\t\t\tinput\n\t\t\t});\n\t\t},\n\t\tstepId(id) {\n\t\t\treturn createStepInvocation({\n\t\t\t\t...state,\n\t\t\t\tid\n\t\t\t});\n\t\t},\n\t\tthen(onfulfilled, onrejected) {\n\t\t\treturn executeStep(state).then(onfulfilled, onrejected);\n\t\t}\n\t};\n}\nfunction attachStepApi(action) {\n\tconst execute = action.run.bind(action);\n\tconst stepAction = action;\n\treturn {\n\t\t...action,\n\t\trun(input, credentials) {\n\t\t\tif (credentials !== void 0) return execute(input, credentials);\n\t\t\treturn createStepInvocation({\n\t\t\t\taction: stepAction,\n\t\t\t\tinput\n\t\t\t});\n\t\t},\n\t\tscope(...chain) {\n\t\t\treturn createStepInvocation({\n\t\t\t\taction: stepAction,\n\t\t\t\tinput: void 0,\n\t\t\t\tchain\n\t\t\t});\n\t\t}\n\t};\n}\nfunction defineAction(def) {\n\tconst result = actionCoreSchema.safeParse(def);\n\tif (!result.success) throw new Error(`Invalid action definition: ${formatIssues(result.error.issues)}`);\n\tconst guardedRun = (input, credentials) => runWithinActionExecution(result.data.key, () => def.run(input, credentials));\n\treturn attachStepApi({\n\t\t...result.data,\n\t\trun: guardedRun,\n\t\tcredentials: def.credentials,\n\t\t[ACTION]: true\n\t});\n}\nfunction formatIssues(issues) {\n\treturn issues.map((issue) => {\n\t\treturn `${issue.path.length > 0 ? `${issue.path.join(\".\")}: ` : \"\"}${issue.message}`;\n\t}).join(\"; \");\n}\nasync function executeAction(action, input, credentials = {}) {\n\tconst validatedInput = action.input.parse(input);\n\tconst result = await action.run(validatedInput, credentials);\n\treturn action.output.parse(result);\n}\nfunction resolveActionTool(action, options) {\n\tconst consumer = options?.consumer ?? {\n\t\tkind: \"tool\",\n\t\tname: action.key\n\t};\n\treturn {\n\t\tname: action.key,\n\t\tlabel: action.name,\n\t\tdescription: action.description ?? action.name,\n\t\tparameters: z.toJSONSchema(action.input, { target: \"openapi-3.0\" }),\n\t\tasync execute(_toolCallId, params, _signal) {\n\t\t\tconst requirements = getActionCredentialRequirements(action);\n\t\t\tlet credentials = {};\n\t\t\tif (requirements?.length) {\n\t\t\t\tif (!options?.resolveCredentials) throw new Error(`Missing credential resolver for action \"${action.key}\"`);\n\t\t\t\tcredentials = await options.resolveCredentials(requirements, consumer, options.contextOverride);\n\t\t\t}\n\t\t\tconst output = await runOutsideActionExecution(() => executeAction(action, params, credentials));\n\t\t\treturn {\n\t\t\t\tcontent: [{\n\t\t\t\t\ttype: \"text\",\n\t\t\t\t\ttext: JSON.stringify(output)\n\t\t\t\t}],\n\t\t\t\tdetails: output\n\t\t\t};\n\t\t}\n\t};\n}\n//#endregion\nexport { credentialInputSchema as _, getActionCredentialRequirements as a, normalizeCredentialList as b, isStepInvocation as c, runOutsideActionExecution as d, runWithinActionExecution as f, credential as g, DEFAULT_CREDENTIAL_RESOLUTION_CHAIN as h, executeAction as i, registerWorkflowRunGetter as l, CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE as m, createStepInvocation as n, getWorkflowRunHandle as o, CREDENTIAL_SCOPE_LEVELS as p, defineAction as r, isAction as s, actionCoreSchema as t, resolveActionTool as u, defineCredential as v, toCredentialRequirement as x, isCredentialInput as y };\n\n//# sourceMappingURL=dist-CSBkgefj.mjs.map","import { Bn as __require, Ln as __commonJSMin, Vn as __toESM } from \"./dist-PFUo6XmY.mjs\";\nimport { b as normalizeCredentialList, m as CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE } from \"./dist-CSBkgefj.mjs\";\nimport { AsyncLocalStorage } from \"node:async_hooks\";\nimport \"node:fs\";\nimport { ZodFirstPartyTypeKind } from \"zod/v3\";\nimport * as z4mini from \"zod/v4-mini\";\nimport * as z$1 from \"zod/v4\";\nimport { createCipheriv, createDecipheriv, createHash, randomBytes, randomUUID } from \"node:crypto\";\nimport process$1 from \"node:process\";\nimport { PassThrough } from \"node:stream\";\nimport \"pg\";\nimport \"node:path\";\nimport \"better-sqlite3\";\nimport \"node:url\";\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-compat.js\nfunction isZ4Schema(s) {\n\treturn !!s._zod;\n}\nfunction safeParse(schema, data) {\n\tif (isZ4Schema(schema)) return z4mini.safeParse(schema, data);\n\treturn schema.safeParse(data);\n}\nfunction getObjectShape(schema) {\n\tif (!schema) return void 0;\n\tlet rawShape;\n\tif (isZ4Schema(schema)) rawShape = schema._zod?.def?.shape;\n\telse rawShape = schema.shape;\n\tif (!rawShape) return void 0;\n\tif (typeof rawShape === \"function\") try {\n\t\treturn rawShape();\n\t} catch {\n\t\treturn;\n\t}\n\treturn rawShape;\n}\n/**\n* Gets the literal value from a schema, if it's a literal schema.\n* Works with both Zod v3 and v4.\n* Returns undefined if the schema is not a literal or the value cannot be determined.\n*/\nfunction getLiteralValue(schema) {\n\tif (isZ4Schema(schema)) {\n\t\tconst def = schema._zod?.def;\n\t\tif (def) {\n\t\t\tif (def.value !== void 0) return def.value;\n\t\t\tif (Array.isArray(def.values) && def.values.length > 0) return def.values[0];\n\t\t}\n\t}\n\tconst def = schema._def;\n\tif (def) {\n\t\tif (def.value !== void 0) return def.value;\n\t\tif (Array.isArray(def.values) && def.values.length > 0) return def.values[0];\n\t}\n\tconst directValue = schema.value;\n\tif (directValue !== void 0) return directValue;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/types.js\nconst LATEST_PROTOCOL_VERSION = \"2025-11-25\";\nconst SUPPORTED_PROTOCOL_VERSIONS = [\n\tLATEST_PROTOCOL_VERSION,\n\t\"2025-06-18\",\n\t\"2025-03-26\",\n\t\"2024-11-05\",\n\t\"2024-10-07\"\n];\nconst RELATED_TASK_META_KEY = \"io.modelcontextprotocol/related-task\";\n/**\n* Assert 'object' type schema.\n*\n* @internal\n*/\nconst AssertObjectSchema = z$1.custom((v) => v !== null && (typeof v === \"object\" || typeof v === \"function\"));\n/**\n* A progress token, used to associate progress notifications with the original request.\n*/\nconst ProgressTokenSchema = z$1.union([z$1.string(), z$1.number().int()]);\n/**\n* An opaque token used to represent a cursor for pagination.\n*/\nconst CursorSchema = z$1.string();\nz$1.looseObject({\n\t/**\n\t* Requested duration in milliseconds to retain task from creation.\n\t*/\n\tttl: z$1.number().optional(),\n\t/**\n\t* Time in milliseconds to wait between task status requests.\n\t*/\n\tpollInterval: z$1.number().optional()\n});\nconst TaskMetadataSchema = z$1.object({ ttl: z$1.number().optional() });\n/**\n* Metadata for associating messages with a task.\n* Include this in the `_meta` field under the key `io.modelcontextprotocol/related-task`.\n*/\nconst RelatedTaskMetadataSchema = z$1.object({ taskId: z$1.string() });\nconst RequestMetaSchema = z$1.looseObject({\n\t/**\n\t* If specified, the caller is requesting out-of-band progress notifications for this request (as represented by notifications/progress). The value of this parameter is an opaque token that will be attached to any subsequent notifications. The receiver is not obligated to provide these notifications.\n\t*/\n\tprogressToken: ProgressTokenSchema.optional(),\n\t/**\n\t* If specified, this request is related to the provided task.\n\t*/\n\t[RELATED_TASK_META_KEY]: RelatedTaskMetadataSchema.optional()\n});\n/**\n* Common params for any request.\n*/\nconst BaseRequestParamsSchema = z$1.object({ \n/**\n* See [General fields: `_meta`](/specification/draft/basic/index#meta) for notes on `_meta` usage.\n*/\n_meta: RequestMetaSchema.optional() });\n/**\n* Common params for any task-augmented request.\n*/\nconst TaskAugmentedRequestParamsSchema = BaseRequestParamsSchema.extend({ \n/**\n* If specified, the caller is requesting task-augmented execution for this request.\n* The request will return a CreateTaskResult immediately, and the actual result can be\n* retrieved later via tasks/result.\n*\n* Task augmentation is subject to capability negotiation - receivers MUST declare support\n* for task augmentation of specific request types in their capabilities.\n*/\ntask: TaskMetadataSchema.optional() });\n/**\n* Checks if a value is a valid TaskAugmentedRequestParams.\n* @param value - The value to check.\n*\n* @returns True if the value is a valid TaskAugmentedRequestParams, false otherwise.\n*/\nconst isTaskAugmentedRequestParams = (value) => TaskAugmentedRequestParamsSchema.safeParse(value).success;\nconst RequestSchema = z$1.object({\n\tmethod: z$1.string(),\n\tparams: BaseRequestParamsSchema.loose().optional()\n});\nconst NotificationsParamsSchema = z$1.object({ \n/**\n* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n* for notes on _meta usage.\n*/\n_meta: RequestMetaSchema.optional() });\nconst NotificationSchema = z$1.object({\n\tmethod: z$1.string(),\n\tparams: NotificationsParamsSchema.loose().optional()\n});\nconst ResultSchema = z$1.looseObject({ \n/**\n* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n* for notes on _meta usage.\n*/\n_meta: RequestMetaSchema.optional() });\n/**\n* A uniquely identifying ID for a request in JSON-RPC.\n*/\nconst RequestIdSchema = z$1.union([z$1.string(), z$1.number().int()]);\n/**\n* A request that expects a response.\n*/\nconst JSONRPCRequestSchema = z$1.object({\n\tjsonrpc: z$1.literal(\"2.0\"),\n\tid: RequestIdSchema,\n\t...RequestSchema.shape\n}).strict();\nconst isJSONRPCRequest = (value) => JSONRPCRequestSchema.safeParse(value).success;\n/**\n* A notification which does not expect a response.\n*/\nconst JSONRPCNotificationSchema = z$1.object({\n\tjsonrpc: z$1.literal(\"2.0\"),\n\t...NotificationSchema.shape\n}).strict();\nconst isJSONRPCNotification = (value) => JSONRPCNotificationSchema.safeParse(value).success;\n/**\n* A successful (non-error) response to a request.\n*/\nconst JSONRPCResultResponseSchema = z$1.object({\n\tjsonrpc: z$1.literal(\"2.0\"),\n\tid: RequestIdSchema,\n\tresult: ResultSchema\n}).strict();\n/**\n* Checks if a value is a valid JSONRPCResultResponse.\n* @param value - The value to check.\n*\n* @returns True if the value is a valid JSONRPCResultResponse, false otherwise.\n*/\nconst isJSONRPCResultResponse = (value) => JSONRPCResultResponseSchema.safeParse(value).success;\n/**\n* Error codes defined by the JSON-RPC specification.\n*/\nvar ErrorCode;\n(function(ErrorCode) {\n\tErrorCode[ErrorCode[\"ConnectionClosed\"] = -32e3] = \"ConnectionClosed\";\n\tErrorCode[ErrorCode[\"RequestTimeout\"] = -32001] = \"RequestTimeout\";\n\tErrorCode[ErrorCode[\"ParseError\"] = -32700] = \"ParseError\";\n\tErrorCode[ErrorCode[\"InvalidRequest\"] = -32600] = \"InvalidRequest\";\n\tErrorCode[ErrorCode[\"MethodNotFound\"] = -32601] = \"MethodNotFound\";\n\tErrorCode[ErrorCode[\"InvalidParams\"] = -32602] = \"InvalidParams\";\n\tErrorCode[ErrorCode[\"InternalError\"] = -32603] = \"InternalError\";\n\tErrorCode[ErrorCode[\"UrlElicitationRequired\"] = -32042] = \"UrlElicitationRequired\";\n})(ErrorCode || (ErrorCode = {}));\n/**\n* A response to a request that indicates an error occurred.\n*/\nconst JSONRPCErrorResponseSchema = z$1.object({\n\tjsonrpc: z$1.literal(\"2.0\"),\n\tid: RequestIdSchema.optional(),\n\terror: z$1.object({\n\t\t/**\n\t\t* The error type that occurred.\n\t\t*/\n\t\tcode: z$1.number().int(),\n\t\t/**\n\t\t* A short description of the error. The message SHOULD be limited to a concise single sentence.\n\t\t*/\n\t\tmessage: z$1.string(),\n\t\t/**\n\t\t* Additional information about the error. The value of this member is defined by the sender (e.g. detailed error information, nested errors etc.).\n\t\t*/\n\t\tdata: z$1.unknown().optional()\n\t})\n}).strict();\n/**\n* Checks if a value is a valid JSONRPCErrorResponse.\n* @param value - The value to check.\n*\n* @returns True if the value is a valid JSONRPCErrorResponse, false otherwise.\n*/\nconst isJSONRPCErrorResponse = (value) => JSONRPCErrorResponseSchema.safeParse(value).success;\nconst JSONRPCMessageSchema = z$1.union([\n\tJSONRPCRequestSchema,\n\tJSONRPCNotificationSchema,\n\tJSONRPCResultResponseSchema,\n\tJSONRPCErrorResponseSchema\n]);\nz$1.union([JSONRPCResultResponseSchema, JSONRPCErrorResponseSchema]);\n/**\n* A response that indicates success but carries no data.\n*/\nconst EmptyResultSchema = ResultSchema.strict();\nconst CancelledNotificationParamsSchema = NotificationsParamsSchema.extend({\n\t/**\n\t* The ID of the request to cancel.\n\t*\n\t* This MUST correspond to the ID of a request previously issued in the same direction.\n\t*/\n\trequestId: RequestIdSchema.optional(),\n\t/**\n\t* An optional string describing the reason for the cancellation. This MAY be logged or presented to the user.\n\t*/\n\treason: z$1.string().optional()\n});\n/**\n* This notification can be sent by either side to indicate that it is cancelling a previously-issued request.\n*\n* The request SHOULD still be in-flight, but due to communication latency, it is always possible that this notification MAY arrive after the request has already finished.\n*\n* This notification indicates that the result will be unused, so any associated processing SHOULD cease.\n*\n* A client MUST NOT attempt to cancel its `initialize` request.\n*/\nconst CancelledNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/cancelled\"),\n\tparams: CancelledNotificationParamsSchema\n});\n/**\n* Icon schema for use in tools, prompts, resources, and implementations.\n*/\nconst IconSchema = z$1.object({\n\t/**\n\t* URL or data URI for the icon.\n\t*/\n\tsrc: z$1.string(),\n\t/**\n\t* Optional MIME type for the icon.\n\t*/\n\tmimeType: z$1.string().optional(),\n\t/**\n\t* Optional array of strings that specify sizes at which the icon can be used.\n\t* Each string should be in WxH format (e.g., `\"48x48\"`, `\"96x96\"`) or `\"any\"` for scalable formats like SVG.\n\t*\n\t* If not provided, the client should assume that the icon can be used at any size.\n\t*/\n\tsizes: z$1.array(z$1.string()).optional(),\n\t/**\n\t* Optional specifier for the theme this icon is designed for. `light` indicates\n\t* the icon is designed to be used with a light background, and `dark` indicates\n\t* the icon is designed to be used with a dark background.\n\t*\n\t* If not provided, the client should assume the icon can be used with any theme.\n\t*/\n\ttheme: z$1.enum([\"light\", \"dark\"]).optional()\n});\n/**\n* Base schema to add `icons` property.\n*\n*/\nconst IconsSchema = z$1.object({ \n/**\n* Optional set of sized icons that the client can display in a user interface.\n*\n* Clients that support rendering icons MUST support at least the following MIME types:\n* - `image/png` - PNG images (safe, universal compatibility)\n* - `image/jpeg` (and `image/jpg`) - JPEG images (safe, universal compatibility)\n*\n* Clients that support rendering icons SHOULD also support:\n* - `image/svg+xml` - SVG images (scalable but requires security precautions)\n* - `image/webp` - WebP images (modern, efficient format)\n*/\nicons: z$1.array(IconSchema).optional() });\n/**\n* Base metadata interface for common properties across resources, tools, prompts, and implementations.\n*/\nconst BaseMetadataSchema = z$1.object({\n\t/** Intended for programmatic or logical use, but used as a display name in past specs or fallback */\n\tname: z$1.string(),\n\t/**\n\t* Intended for UI and end-user contexts — optimized to be human-readable and easily understood,\n\t* even by those unfamiliar with domain-specific terminology.\n\t*\n\t* If not provided, the name should be used for display (except for Tool,\n\t* where `annotations.title` should be given precedence over using `name`,\n\t* if present).\n\t*/\n\ttitle: z$1.string().optional()\n});\n/**\n* Describes the name and version of an MCP implementation.\n*/\nconst ImplementationSchema = BaseMetadataSchema.extend({\n\t...BaseMetadataSchema.shape,\n\t...IconsSchema.shape,\n\tversion: z$1.string(),\n\t/**\n\t* An optional URL of the website for this implementation.\n\t*/\n\twebsiteUrl: z$1.string().optional(),\n\t/**\n\t* An optional human-readable description of what this implementation does.\n\t*\n\t* This can be used by clients or servers to provide context about their purpose\n\t* and capabilities. For example, a server might describe the types of resources\n\t* or tools it provides, while a client might describe its intended use case.\n\t*/\n\tdescription: z$1.string().optional()\n});\nconst FormElicitationCapabilitySchema = z$1.intersection(z$1.object({ applyDefaults: z$1.boolean().optional() }), z$1.record(z$1.string(), z$1.unknown()));\nconst ElicitationCapabilitySchema = z$1.preprocess((value) => {\n\tif (value && typeof value === \"object\" && !Array.isArray(value)) {\n\t\tif (Object.keys(value).length === 0) return { form: {} };\n\t}\n\treturn value;\n}, z$1.intersection(z$1.object({\n\tform: FormElicitationCapabilitySchema.optional(),\n\turl: AssertObjectSchema.optional()\n}), z$1.record(z$1.string(), z$1.unknown()).optional()));\n/**\n* Task capabilities for clients, indicating which request types support task creation.\n*/\nconst ClientTasksCapabilitySchema = z$1.looseObject({\n\t/**\n\t* Present if the client supports listing tasks.\n\t*/\n\tlist: AssertObjectSchema.optional(),\n\t/**\n\t* Present if the client supports cancelling tasks.\n\t*/\n\tcancel: AssertObjectSchema.optional(),\n\t/**\n\t* Capabilities for task creation on specific request types.\n\t*/\n\trequests: z$1.looseObject({\n\t\t/**\n\t\t* Task support for sampling requests.\n\t\t*/\n\t\tsampling: z$1.looseObject({ createMessage: AssertObjectSchema.optional() }).optional(),\n\t\t/**\n\t\t* Task support for elicitation requests.\n\t\t*/\n\t\telicitation: z$1.looseObject({ create: AssertObjectSchema.optional() }).optional()\n\t}).optional()\n});\n/**\n* Task capabilities for servers, indicating which request types support task creation.\n*/\nconst ServerTasksCapabilitySchema = z$1.looseObject({\n\t/**\n\t* Present if the server supports listing tasks.\n\t*/\n\tlist: AssertObjectSchema.optional(),\n\t/**\n\t* Present if the server supports cancelling tasks.\n\t*/\n\tcancel: AssertObjectSchema.optional(),\n\t/**\n\t* Capabilities for task creation on specific request types.\n\t*/\n\trequests: z$1.looseObject({ \n\t/**\n\t* Task support for tool requests.\n\t*/\ntools: z$1.looseObject({ call: AssertObjectSchema.optional() }).optional() }).optional()\n});\n/**\n* Capabilities a client may support. Known capabilities are defined here, in this schema, but this is not a closed set: any client can define its own, additional capabilities.\n*/\nconst ClientCapabilitiesSchema = z$1.object({\n\t/**\n\t* Experimental, non-standard capabilities that the client supports.\n\t*/\n\texperimental: z$1.record(z$1.string(), AssertObjectSchema).optional(),\n\t/**\n\t* Present if the client supports sampling from an LLM.\n\t*/\n\tsampling: z$1.object({\n\t\t/**\n\t\t* Present if the client supports context inclusion via includeContext parameter.\n\t\t* If not declared, servers SHOULD only use `includeContext: \"none\"` (or omit it).\n\t\t*/\n\t\tcontext: AssertObjectSchema.optional(),\n\t\t/**\n\t\t* Present if the client supports tool use via tools and toolChoice parameters.\n\t\t*/\n\t\ttools: AssertObjectSchema.optional()\n\t}).optional(),\n\t/**\n\t* Present if the client supports eliciting user input.\n\t*/\n\telicitation: ElicitationCapabilitySchema.optional(),\n\t/**\n\t* Present if the client supports listing roots.\n\t*/\n\troots: z$1.object({ \n\t/**\n\t* Whether the client supports issuing notifications for changes to the roots list.\n\t*/\nlistChanged: z$1.boolean().optional() }).optional(),\n\t/**\n\t* Present if the client supports task creation.\n\t*/\n\ttasks: ClientTasksCapabilitySchema.optional(),\n\t/**\n\t* Extensions that the client supports. Keys are extension identifiers (vendor-prefix/extension-name).\n\t*/\n\textensions: z$1.record(z$1.string(), AssertObjectSchema).optional()\n});\nconst InitializeRequestParamsSchema = BaseRequestParamsSchema.extend({\n\t/**\n\t* The latest version of the Model Context Protocol that the client supports. The client MAY decide to support older versions as well.\n\t*/\n\tprotocolVersion: z$1.string(),\n\tcapabilities: ClientCapabilitiesSchema,\n\tclientInfo: ImplementationSchema\n});\n/**\n* This request is sent from the client to the server when it first connects, asking it to begin initialization.\n*/\nconst InitializeRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"initialize\"),\n\tparams: InitializeRequestParamsSchema\n});\n/**\n* Capabilities that a server may support. Known capabilities are defined here, in this schema, but this is not a closed set: any server can define its own, additional capabilities.\n*/\nconst ServerCapabilitiesSchema = z$1.object({\n\t/**\n\t* Experimental, non-standard capabilities that the server supports.\n\t*/\n\texperimental: z$1.record(z$1.string(), AssertObjectSchema).optional(),\n\t/**\n\t* Present if the server supports sending log messages to the client.\n\t*/\n\tlogging: AssertObjectSchema.optional(),\n\t/**\n\t* Present if the server supports sending completions to the client.\n\t*/\n\tcompletions: AssertObjectSchema.optional(),\n\t/**\n\t* Present if the server offers any prompt templates.\n\t*/\n\tprompts: z$1.object({ \n\t/**\n\t* Whether this server supports issuing notifications for changes to the prompt list.\n\t*/\nlistChanged: z$1.boolean().optional() }).optional(),\n\t/**\n\t* Present if the server offers any resources to read.\n\t*/\n\tresources: z$1.object({\n\t\t/**\n\t\t* Whether this server supports clients subscribing to resource updates.\n\t\t*/\n\t\tsubscribe: z$1.boolean().optional(),\n\t\t/**\n\t\t* Whether this server supports issuing notifications for changes to the resource list.\n\t\t*/\n\t\tlistChanged: z$1.boolean().optional()\n\t}).optional(),\n\t/**\n\t* Present if the server offers any tools to call.\n\t*/\n\ttools: z$1.object({ \n\t/**\n\t* Whether this server supports issuing notifications for changes to the tool list.\n\t*/\nlistChanged: z$1.boolean().optional() }).optional(),\n\t/**\n\t* Present if the server supports task creation.\n\t*/\n\ttasks: ServerTasksCapabilitySchema.optional(),\n\t/**\n\t* Extensions that the server supports. Keys are extension identifiers (vendor-prefix/extension-name).\n\t*/\n\textensions: z$1.record(z$1.string(), AssertObjectSchema).optional()\n});\n/**\n* After receiving an initialize request from the client, the server sends this response.\n*/\nconst InitializeResultSchema = ResultSchema.extend({\n\t/**\n\t* The version of the Model Context Protocol that the server wants to use. This may not match the version that the client requested. If the client cannot support this version, it MUST disconnect.\n\t*/\n\tprotocolVersion: z$1.string(),\n\tcapabilities: ServerCapabilitiesSchema,\n\tserverInfo: ImplementationSchema,\n\t/**\n\t* Instructions describing how to use the server and its features.\n\t*\n\t* This can be used by clients to improve the LLM's understanding of available tools, resources, etc. It can be thought of like a \"hint\" to the model. For example, this information MAY be added to the system prompt.\n\t*/\n\tinstructions: z$1.string().optional()\n});\n/**\n* This notification is sent from the client to the server after initialization has finished.\n*/\nconst InitializedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/initialized\"),\n\tparams: NotificationsParamsSchema.optional()\n});\nconst isInitializedNotification = (value) => InitializedNotificationSchema.safeParse(value).success;\n/**\n* A ping, issued by either the server or the client, to check that the other party is still alive. The receiver must promptly respond, or else may be disconnected.\n*/\nconst PingRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"ping\"),\n\tparams: BaseRequestParamsSchema.optional()\n});\nconst ProgressSchema = z$1.object({\n\t/**\n\t* The progress thus far. This should increase every time progress is made, even if the total is unknown.\n\t*/\n\tprogress: z$1.number(),\n\t/**\n\t* Total number of items to process (or total progress required), if known.\n\t*/\n\ttotal: z$1.optional(z$1.number()),\n\t/**\n\t* An optional message describing the current progress.\n\t*/\n\tmessage: z$1.optional(z$1.string())\n});\nconst ProgressNotificationParamsSchema = z$1.object({\n\t...NotificationsParamsSchema.shape,\n\t...ProgressSchema.shape,\n\t/**\n\t* The progress token which was given in the initial request, used to associate this notification with the request that is proceeding.\n\t*/\n\tprogressToken: ProgressTokenSchema\n});\n/**\n* An out-of-band notification used to inform the receiver of a progress update for a long-running request.\n*\n* @category notifications/progress\n*/\nconst ProgressNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/progress\"),\n\tparams: ProgressNotificationParamsSchema\n});\nconst PaginatedRequestParamsSchema = BaseRequestParamsSchema.extend({ \n/**\n* An opaque token representing the current pagination position.\n* If provided, the server should return results starting after this cursor.\n*/\ncursor: CursorSchema.optional() });\nconst PaginatedRequestSchema = RequestSchema.extend({ params: PaginatedRequestParamsSchema.optional() });\nconst PaginatedResultSchema = ResultSchema.extend({ \n/**\n* An opaque token representing the pagination position after the last returned result.\n* If present, there may be more results available.\n*/\nnextCursor: CursorSchema.optional() });\n/**\n* The status of a task.\n* */\nconst TaskStatusSchema = z$1.enum([\n\t\"working\",\n\t\"input_required\",\n\t\"completed\",\n\t\"failed\",\n\t\"cancelled\"\n]);\n/**\n* A pollable state object associated with a request.\n*/\nconst TaskSchema = z$1.object({\n\ttaskId: z$1.string(),\n\tstatus: TaskStatusSchema,\n\t/**\n\t* Time in milliseconds to keep task results available after completion.\n\t* If null, the task has unlimited lifetime until manually cleaned up.\n\t*/\n\tttl: z$1.union([z$1.number(), z$1.null()]),\n\t/**\n\t* ISO 8601 timestamp when the task was created.\n\t*/\n\tcreatedAt: z$1.string(),\n\t/**\n\t* ISO 8601 timestamp when the task was last updated.\n\t*/\n\tlastUpdatedAt: z$1.string(),\n\tpollInterval: z$1.optional(z$1.number()),\n\t/**\n\t* Optional diagnostic message for failed tasks or other status information.\n\t*/\n\tstatusMessage: z$1.optional(z$1.string())\n});\n/**\n* Result returned when a task is created, containing the task data wrapped in a task field.\n*/\nconst CreateTaskResultSchema = ResultSchema.extend({ task: TaskSchema });\n/**\n* Parameters for task status notification.\n*/\nconst TaskStatusNotificationParamsSchema = NotificationsParamsSchema.merge(TaskSchema);\n/**\n* A notification sent when a task's status changes.\n*/\nconst TaskStatusNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/tasks/status\"),\n\tparams: TaskStatusNotificationParamsSchema\n});\n/**\n* A request to get the state of a specific task.\n*/\nconst GetTaskRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"tasks/get\"),\n\tparams: BaseRequestParamsSchema.extend({ taskId: z$1.string() })\n});\n/**\n* The response to a tasks/get request.\n*/\nconst GetTaskResultSchema = ResultSchema.merge(TaskSchema);\n/**\n* A request to get the result of a specific task.\n*/\nconst GetTaskPayloadRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"tasks/result\"),\n\tparams: BaseRequestParamsSchema.extend({ taskId: z$1.string() })\n});\nResultSchema.loose();\n/**\n* A request to list tasks.\n*/\nconst ListTasksRequestSchema = PaginatedRequestSchema.extend({ method: z$1.literal(\"tasks/list\") });\n/**\n* The response to a tasks/list request.\n*/\nconst ListTasksResultSchema = PaginatedResultSchema.extend({ tasks: z$1.array(TaskSchema) });\n/**\n* A request to cancel a specific task.\n*/\nconst CancelTaskRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"tasks/cancel\"),\n\tparams: BaseRequestParamsSchema.extend({ taskId: z$1.string() })\n});\n/**\n* The response to a tasks/cancel request.\n*/\nconst CancelTaskResultSchema = ResultSchema.merge(TaskSchema);\n/**\n* The contents of a specific resource or sub-resource.\n*/\nconst ResourceContentsSchema = z$1.object({\n\t/**\n\t* The URI of this resource.\n\t*/\n\turi: z$1.string(),\n\t/**\n\t* The MIME type of this resource, if known.\n\t*/\n\tmimeType: z$1.optional(z$1.string()),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\nconst TextResourceContentsSchema = ResourceContentsSchema.extend({ \n/**\n* The text of the item. This must only be set if the item can actually be represented as text (not binary data).\n*/\ntext: z$1.string() });\n/**\n* A Zod schema for validating Base64 strings that is more performant and\n* robust for very large inputs than the default regex-based check. It avoids\n* stack overflows by using the native `atob` function for validation.\n*/\nconst Base64Schema = z$1.string().refine((val) => {\n\ttry {\n\t\tatob(val);\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}, { message: \"Invalid Base64 string\" });\nconst BlobResourceContentsSchema = ResourceContentsSchema.extend({ \n/**\n* A base64-encoded string representing the binary data of the item.\n*/\nblob: Base64Schema });\n/**\n* The sender or recipient of messages and data in a conversation.\n*/\nconst RoleSchema = z$1.enum([\"user\", \"assistant\"]);\n/**\n* Optional annotations providing clients additional context about a resource.\n*/\nconst AnnotationsSchema = z$1.object({\n\t/**\n\t* Intended audience(s) for the resource.\n\t*/\n\taudience: z$1.array(RoleSchema).optional(),\n\t/**\n\t* Importance hint for the resource, from 0 (least) to 1 (most).\n\t*/\n\tpriority: z$1.number().min(0).max(1).optional(),\n\t/**\n\t* ISO 8601 timestamp for the most recent modification.\n\t*/\n\tlastModified: z$1.iso.datetime({ offset: true }).optional()\n});\n/**\n* A known resource that the server is capable of reading.\n*/\nconst ResourceSchema = z$1.object({\n\t...BaseMetadataSchema.shape,\n\t...IconsSchema.shape,\n\t/**\n\t* The URI of this resource.\n\t*/\n\turi: z$1.string(),\n\t/**\n\t* A description of what this resource represents.\n\t*\n\t* This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a \"hint\" to the model.\n\t*/\n\tdescription: z$1.optional(z$1.string()),\n\t/**\n\t* The MIME type of this resource, if known.\n\t*/\n\tmimeType: z$1.optional(z$1.string()),\n\t/**\n\t* The size of the raw resource content, in bytes (i.e., before base64 encoding or any tokenization), if known.\n\t*\n\t* This can be used by Hosts to display file sizes and estimate context window usage.\n\t*/\n\tsize: z$1.optional(z$1.number()),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.optional(z$1.looseObject({}))\n});\n/**\n* A template description for resources available on the server.\n*/\nconst ResourceTemplateSchema = z$1.object({\n\t...BaseMetadataSchema.shape,\n\t...IconsSchema.shape,\n\t/**\n\t* A URI template (according to RFC 6570) that can be used to construct resource URIs.\n\t*/\n\turiTemplate: z$1.string(),\n\t/**\n\t* A description of what this template is for.\n\t*\n\t* This can be used by clients to improve the LLM's understanding of available resources. It can be thought of like a \"hint\" to the model.\n\t*/\n\tdescription: z$1.optional(z$1.string()),\n\t/**\n\t* The MIME type for all resources that match this template. This should only be included if all resources matching this template have the same type.\n\t*/\n\tmimeType: z$1.optional(z$1.string()),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.optional(z$1.looseObject({}))\n});\n/**\n* Sent from the client to request a list of resources the server has.\n*/\nconst ListResourcesRequestSchema = PaginatedRequestSchema.extend({ method: z$1.literal(\"resources/list\") });\n/**\n* The server's response to a resources/list request from the client.\n*/\nconst ListResourcesResultSchema = PaginatedResultSchema.extend({ resources: z$1.array(ResourceSchema) });\n/**\n* Sent from the client to request a list of resource templates the server has.\n*/\nconst ListResourceTemplatesRequestSchema = PaginatedRequestSchema.extend({ method: z$1.literal(\"resources/templates/list\") });\n/**\n* The server's response to a resources/templates/list request from the client.\n*/\nconst ListResourceTemplatesResultSchema = PaginatedResultSchema.extend({ resourceTemplates: z$1.array(ResourceTemplateSchema) });\nconst ResourceRequestParamsSchema = BaseRequestParamsSchema.extend({ \n/**\n* The URI of the resource to read. The URI can use any protocol; it is up to the server how to interpret it.\n*\n* @format uri\n*/\nuri: z$1.string() });\n/**\n* Parameters for a `resources/read` request.\n*/\nconst ReadResourceRequestParamsSchema = ResourceRequestParamsSchema;\n/**\n* Sent from the client to the server, to read a specific resource URI.\n*/\nconst ReadResourceRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"resources/read\"),\n\tparams: ReadResourceRequestParamsSchema\n});\n/**\n* The server's response to a resources/read request from the client.\n*/\nconst ReadResourceResultSchema = ResultSchema.extend({ contents: z$1.array(z$1.union([TextResourceContentsSchema, BlobResourceContentsSchema])) });\n/**\n* An optional notification from the server to the client, informing it that the list of resources it can read from has changed. This may be issued by servers without any previous subscription from the client.\n*/\nconst ResourceListChangedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/resources/list_changed\"),\n\tparams: NotificationsParamsSchema.optional()\n});\nconst SubscribeRequestParamsSchema = ResourceRequestParamsSchema;\n/**\n* Sent from the client to request resources/updated notifications from the server whenever a particular resource changes.\n*/\nconst SubscribeRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"resources/subscribe\"),\n\tparams: SubscribeRequestParamsSchema\n});\nconst UnsubscribeRequestParamsSchema = ResourceRequestParamsSchema;\n/**\n* Sent from the client to request cancellation of resources/updated notifications from the server. This should follow a previous resources/subscribe request.\n*/\nconst UnsubscribeRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"resources/unsubscribe\"),\n\tparams: UnsubscribeRequestParamsSchema\n});\n/**\n* Parameters for a `notifications/resources/updated` notification.\n*/\nconst ResourceUpdatedNotificationParamsSchema = NotificationsParamsSchema.extend({ \n/**\n* The URI of the resource that has been updated. This might be a sub-resource of the one that the client actually subscribed to.\n*/\nuri: z$1.string() });\n/**\n* A notification from the server to the client, informing it that a resource has changed and may need to be read again. This should only be sent if the client previously sent a resources/subscribe request.\n*/\nconst ResourceUpdatedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/resources/updated\"),\n\tparams: ResourceUpdatedNotificationParamsSchema\n});\n/**\n* Describes an argument that a prompt can accept.\n*/\nconst PromptArgumentSchema = z$1.object({\n\t/**\n\t* The name of the argument.\n\t*/\n\tname: z$1.string(),\n\t/**\n\t* A human-readable description of the argument.\n\t*/\n\tdescription: z$1.optional(z$1.string()),\n\t/**\n\t* Whether this argument must be provided.\n\t*/\n\trequired: z$1.optional(z$1.boolean())\n});\n/**\n* A prompt or prompt template that the server offers.\n*/\nconst PromptSchema = z$1.object({\n\t...BaseMetadataSchema.shape,\n\t...IconsSchema.shape,\n\t/**\n\t* An optional description of what this prompt provides\n\t*/\n\tdescription: z$1.optional(z$1.string()),\n\t/**\n\t* A list of arguments to use for templating the prompt.\n\t*/\n\targuments: z$1.optional(z$1.array(PromptArgumentSchema)),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.optional(z$1.looseObject({}))\n});\n/**\n* Sent from the client to request a list of prompts and prompt templates the server has.\n*/\nconst ListPromptsRequestSchema = PaginatedRequestSchema.extend({ method: z$1.literal(\"prompts/list\") });\n/**\n* The server's response to a prompts/list request from the client.\n*/\nconst ListPromptsResultSchema = PaginatedResultSchema.extend({ prompts: z$1.array(PromptSchema) });\n/**\n* Parameters for a `prompts/get` request.\n*/\nconst GetPromptRequestParamsSchema = BaseRequestParamsSchema.extend({\n\t/**\n\t* The name of the prompt or prompt template.\n\t*/\n\tname: z$1.string(),\n\t/**\n\t* Arguments to use for templating the prompt.\n\t*/\n\targuments: z$1.record(z$1.string(), z$1.string()).optional()\n});\n/**\n* Used by the client to get a prompt provided by the server.\n*/\nconst GetPromptRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"prompts/get\"),\n\tparams: GetPromptRequestParamsSchema\n});\n/**\n* Text provided to or from an LLM.\n*/\nconst TextContentSchema = z$1.object({\n\ttype: z$1.literal(\"text\"),\n\t/**\n\t* The text content of the message.\n\t*/\n\ttext: z$1.string(),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* An image provided to or from an LLM.\n*/\nconst ImageContentSchema = z$1.object({\n\ttype: z$1.literal(\"image\"),\n\t/**\n\t* The base64-encoded image data.\n\t*/\n\tdata: Base64Schema,\n\t/**\n\t* The MIME type of the image. Different providers may support different image types.\n\t*/\n\tmimeType: z$1.string(),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* An Audio provided to or from an LLM.\n*/\nconst AudioContentSchema = z$1.object({\n\ttype: z$1.literal(\"audio\"),\n\t/**\n\t* The base64-encoded audio data.\n\t*/\n\tdata: Base64Schema,\n\t/**\n\t* The MIME type of the audio. Different providers may support different audio types.\n\t*/\n\tmimeType: z$1.string(),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* A tool call request from an assistant (LLM).\n* Represents the assistant's request to use a tool.\n*/\nconst ToolUseContentSchema = z$1.object({\n\ttype: z$1.literal(\"tool_use\"),\n\t/**\n\t* The name of the tool to invoke.\n\t* Must match a tool name from the request's tools array.\n\t*/\n\tname: z$1.string(),\n\t/**\n\t* Unique identifier for this tool call.\n\t* Used to correlate with ToolResultContent in subsequent messages.\n\t*/\n\tid: z$1.string(),\n\t/**\n\t* Arguments to pass to the tool.\n\t* Must conform to the tool's inputSchema.\n\t*/\n\tinput: z$1.record(z$1.string(), z$1.unknown()),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* The contents of a resource, embedded into a prompt or tool call result.\n*/\nconst EmbeddedResourceSchema = z$1.object({\n\ttype: z$1.literal(\"resource\"),\n\tresource: z$1.union([TextResourceContentsSchema, BlobResourceContentsSchema]),\n\t/**\n\t* Optional annotations for the client.\n\t*/\n\tannotations: AnnotationsSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* A resource that the server is capable of reading, included in a prompt or tool call result.\n*\n* Note: resource links returned by tools are not guaranteed to appear in the results of `resources/list` requests.\n*/\nconst ResourceLinkSchema = ResourceSchema.extend({ type: z$1.literal(\"resource_link\") });\n/**\n* A content block that can be used in prompts and tool results.\n*/\nconst ContentBlockSchema = z$1.union([\n\tTextContentSchema,\n\tImageContentSchema,\n\tAudioContentSchema,\n\tResourceLinkSchema,\n\tEmbeddedResourceSchema\n]);\n/**\n* Describes a message returned as part of a prompt.\n*/\nconst PromptMessageSchema = z$1.object({\n\trole: RoleSchema,\n\tcontent: ContentBlockSchema\n});\n/**\n* The server's response to a prompts/get request from the client.\n*/\nconst GetPromptResultSchema = ResultSchema.extend({\n\t/**\n\t* An optional description for the prompt.\n\t*/\n\tdescription: z$1.string().optional(),\n\tmessages: z$1.array(PromptMessageSchema)\n});\n/**\n* An optional notification from the server to the client, informing it that the list of prompts it offers has changed. This may be issued by servers without any previous subscription from the client.\n*/\nconst PromptListChangedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/prompts/list_changed\"),\n\tparams: NotificationsParamsSchema.optional()\n});\n/**\n* Additional properties describing a Tool to clients.\n*\n* NOTE: all properties in ToolAnnotations are **hints**.\n* They are not guaranteed to provide a faithful description of\n* tool behavior (including descriptive properties like `title`).\n*\n* Clients should never make tool use decisions based on ToolAnnotations\n* received from untrusted servers.\n*/\nconst ToolAnnotationsSchema = z$1.object({\n\t/**\n\t* A human-readable title for the tool.\n\t*/\n\ttitle: z$1.string().optional(),\n\t/**\n\t* If true, the tool does not modify its environment.\n\t*\n\t* Default: false\n\t*/\n\treadOnlyHint: z$1.boolean().optional(),\n\t/**\n\t* If true, the tool may perform destructive updates to its environment.\n\t* If false, the tool performs only additive updates.\n\t*\n\t* (This property is meaningful only when `readOnlyHint == false`)\n\t*\n\t* Default: true\n\t*/\n\tdestructiveHint: z$1.boolean().optional(),\n\t/**\n\t* If true, calling the tool repeatedly with the same arguments\n\t* will have no additional effect on the its environment.\n\t*\n\t* (This property is meaningful only when `readOnlyHint == false`)\n\t*\n\t* Default: false\n\t*/\n\tidempotentHint: z$1.boolean().optional(),\n\t/**\n\t* If true, this tool may interact with an \"open world\" of external\n\t* entities. If false, the tool's domain of interaction is closed.\n\t* For example, the world of a web search tool is open, whereas that\n\t* of a memory tool is not.\n\t*\n\t* Default: true\n\t*/\n\topenWorldHint: z$1.boolean().optional()\n});\n/**\n* Execution-related properties for a tool.\n*/\nconst ToolExecutionSchema = z$1.object({ \n/**\n* Indicates the tool's preference for task-augmented execution.\n* - \"required\": Clients MUST invoke the tool as a task\n* - \"optional\": Clients MAY invoke the tool as a task or normal request\n* - \"forbidden\": Clients MUST NOT attempt to invoke the tool as a task\n*\n* If not present, defaults to \"forbidden\".\n*/\ntaskSupport: z$1.enum([\n\t\"required\",\n\t\"optional\",\n\t\"forbidden\"\n]).optional() });\n/**\n* Definition for a tool the client can call.\n*/\nconst ToolSchema = z$1.object({\n\t...BaseMetadataSchema.shape,\n\t...IconsSchema.shape,\n\t/**\n\t* A human-readable description of the tool.\n\t*/\n\tdescription: z$1.string().optional(),\n\t/**\n\t* A JSON Schema 2020-12 object defining the expected parameters for the tool.\n\t* Must have type: 'object' at the root level per MCP spec.\n\t*/\n\tinputSchema: z$1.object({\n\t\ttype: z$1.literal(\"object\"),\n\t\tproperties: z$1.record(z$1.string(), AssertObjectSchema).optional(),\n\t\trequired: z$1.array(z$1.string()).optional()\n\t}).catchall(z$1.unknown()),\n\t/**\n\t* An optional JSON Schema 2020-12 object defining the structure of the tool's output\n\t* returned in the structuredContent field of a CallToolResult.\n\t* Must have type: 'object' at the root level per MCP spec.\n\t*/\n\toutputSchema: z$1.object({\n\t\ttype: z$1.literal(\"object\"),\n\t\tproperties: z$1.record(z$1.string(), AssertObjectSchema).optional(),\n\t\trequired: z$1.array(z$1.string()).optional()\n\t}).catchall(z$1.unknown()).optional(),\n\t/**\n\t* Optional additional tool information.\n\t*/\n\tannotations: ToolAnnotationsSchema.optional(),\n\t/**\n\t* Execution-related properties for this tool.\n\t*/\n\texecution: ToolExecutionSchema.optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* Sent from the client to request a list of tools the server has.\n*/\nconst ListToolsRequestSchema = PaginatedRequestSchema.extend({ method: z$1.literal(\"tools/list\") });\n/**\n* The server's response to a tools/list request from the client.\n*/\nconst ListToolsResultSchema = PaginatedResultSchema.extend({ tools: z$1.array(ToolSchema) });\n/**\n* The server's response to a tool call.\n*/\nconst CallToolResultSchema = ResultSchema.extend({\n\t/**\n\t* A list of content objects that represent the result of the tool call.\n\t*\n\t* If the Tool does not define an outputSchema, this field MUST be present in the result.\n\t* For backwards compatibility, this field is always present, but it may be empty.\n\t*/\n\tcontent: z$1.array(ContentBlockSchema).default([]),\n\t/**\n\t* An object containing structured tool output.\n\t*\n\t* If the Tool defines an outputSchema, this field MUST be present in the result, and contain a JSON object that matches the schema.\n\t*/\n\tstructuredContent: z$1.record(z$1.string(), z$1.unknown()).optional(),\n\t/**\n\t* Whether the tool call ended in an error.\n\t*\n\t* If not set, this is assumed to be false (the call was successful).\n\t*\n\t* Any errors that originate from the tool SHOULD be reported inside the result\n\t* object, with `isError` set to true, _not_ as an MCP protocol-level error\n\t* response. Otherwise, the LLM would not be able to see that an error occurred\n\t* and self-correct.\n\t*\n\t* However, any errors in _finding_ the tool, an error indicating that the\n\t* server does not support tool calls, or any other exceptional conditions,\n\t* should be reported as an MCP error response.\n\t*/\n\tisError: z$1.boolean().optional()\n});\nCallToolResultSchema.or(ResultSchema.extend({ toolResult: z$1.unknown() }));\n/**\n* Parameters for a `tools/call` request.\n*/\nconst CallToolRequestParamsSchema = TaskAugmentedRequestParamsSchema.extend({\n\t/**\n\t* The name of the tool to call.\n\t*/\n\tname: z$1.string(),\n\t/**\n\t* Arguments to pass to the tool.\n\t*/\n\targuments: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* Used by the client to invoke a tool provided by the server.\n*/\nconst CallToolRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"tools/call\"),\n\tparams: CallToolRequestParamsSchema\n});\n/**\n* An optional notification from the server to the client, informing it that the list of tools it offers has changed. This may be issued by servers without any previous subscription from the client.\n*/\nconst ToolListChangedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/tools/list_changed\"),\n\tparams: NotificationsParamsSchema.optional()\n});\n/**\n* Base schema for list changed subscription options (without callback).\n* Used internally for Zod validation of autoRefresh and debounceMs.\n*/\nconst ListChangedOptionsBaseSchema = z$1.object({\n\t/**\n\t* If true, the list will be refreshed automatically when a list changed notification is received.\n\t* The callback will be called with the updated list.\n\t*\n\t* If false, the callback will be called with null items, allowing manual refresh.\n\t*\n\t* @default true\n\t*/\n\tautoRefresh: z$1.boolean().default(true),\n\t/**\n\t* Debounce time in milliseconds for list changed notification processing.\n\t*\n\t* Multiple notifications received within this timeframe will only trigger one refresh.\n\t* Set to 0 to disable debouncing.\n\t*\n\t* @default 300\n\t*/\n\tdebounceMs: z$1.number().int().nonnegative().default(300)\n});\n/**\n* The severity of a log message.\n*/\nconst LoggingLevelSchema = z$1.enum([\n\t\"debug\",\n\t\"info\",\n\t\"notice\",\n\t\"warning\",\n\t\"error\",\n\t\"critical\",\n\t\"alert\",\n\t\"emergency\"\n]);\n/**\n* Parameters for a `logging/setLevel` request.\n*/\nconst SetLevelRequestParamsSchema = BaseRequestParamsSchema.extend({ \n/**\n* The level of logging that the client wants to receive from the server. The server should send all logs at this level and higher (i.e., more severe) to the client as notifications/logging/message.\n*/\nlevel: LoggingLevelSchema });\n/**\n* A request from the client to the server, to enable or adjust logging.\n*/\nconst SetLevelRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"logging/setLevel\"),\n\tparams: SetLevelRequestParamsSchema\n});\n/**\n* Parameters for a `notifications/message` notification.\n*/\nconst LoggingMessageNotificationParamsSchema = NotificationsParamsSchema.extend({\n\t/**\n\t* The severity of this log message.\n\t*/\n\tlevel: LoggingLevelSchema,\n\t/**\n\t* An optional name of the logger issuing this message.\n\t*/\n\tlogger: z$1.string().optional(),\n\t/**\n\t* The data to be logged, such as a string message or an object. Any JSON serializable type is allowed here.\n\t*/\n\tdata: z$1.unknown()\n});\n/**\n* Notification of a log message passed from server to client. If no logging/setLevel request has been sent from the client, the server MAY decide which messages to send automatically.\n*/\nconst LoggingMessageNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/message\"),\n\tparams: LoggingMessageNotificationParamsSchema\n});\n/**\n* Hints to use for model selection.\n*/\nconst ModelHintSchema = z$1.object({ \n/**\n* A hint for a model name.\n*/\nname: z$1.string().optional() });\n/**\n* The server's preferences for model selection, requested of the client during sampling.\n*/\nconst ModelPreferencesSchema = z$1.object({\n\t/**\n\t* Optional hints to use for model selection.\n\t*/\n\thints: z$1.array(ModelHintSchema).optional(),\n\t/**\n\t* How much to prioritize cost when selecting a model.\n\t*/\n\tcostPriority: z$1.number().min(0).max(1).optional(),\n\t/**\n\t* How much to prioritize sampling speed (latency) when selecting a model.\n\t*/\n\tspeedPriority: z$1.number().min(0).max(1).optional(),\n\t/**\n\t* How much to prioritize intelligence and capabilities when selecting a model.\n\t*/\n\tintelligencePriority: z$1.number().min(0).max(1).optional()\n});\n/**\n* Controls tool usage behavior in sampling requests.\n*/\nconst ToolChoiceSchema = z$1.object({ \n/**\n* Controls when tools are used:\n* - \"auto\": Model decides whether to use tools (default)\n* - \"required\": Model MUST use at least one tool before completing\n* - \"none\": Model MUST NOT use any tools\n*/\nmode: z$1.enum([\n\t\"auto\",\n\t\"required\",\n\t\"none\"\n]).optional() });\n/**\n* The result of a tool execution, provided by the user (server).\n* Represents the outcome of invoking a tool requested via ToolUseContent.\n*/\nconst ToolResultContentSchema = z$1.object({\n\ttype: z$1.literal(\"tool_result\"),\n\ttoolUseId: z$1.string().describe(\"The unique identifier for the corresponding tool call.\"),\n\tcontent: z$1.array(ContentBlockSchema).default([]),\n\tstructuredContent: z$1.object({}).loose().optional(),\n\tisError: z$1.boolean().optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* Basic content types for sampling responses (without tool use).\n* Used for backwards-compatible CreateMessageResult when tools are not used.\n*/\nconst SamplingContentSchema = z$1.discriminatedUnion(\"type\", [\n\tTextContentSchema,\n\tImageContentSchema,\n\tAudioContentSchema\n]);\n/**\n* Content block types allowed in sampling messages.\n* This includes text, image, audio, tool use requests, and tool results.\n*/\nconst SamplingMessageContentBlockSchema = z$1.discriminatedUnion(\"type\", [\n\tTextContentSchema,\n\tImageContentSchema,\n\tAudioContentSchema,\n\tToolUseContentSchema,\n\tToolResultContentSchema\n]);\n/**\n* Describes a message issued to or received from an LLM API.\n*/\nconst SamplingMessageSchema = z$1.object({\n\trole: RoleSchema,\n\tcontent: z$1.union([SamplingMessageContentBlockSchema, z$1.array(SamplingMessageContentBlockSchema)]),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* Parameters for a `sampling/createMessage` request.\n*/\nconst CreateMessageRequestParamsSchema = TaskAugmentedRequestParamsSchema.extend({\n\tmessages: z$1.array(SamplingMessageSchema),\n\t/**\n\t* The server's preferences for which model to select. The client MAY modify or omit this request.\n\t*/\n\tmodelPreferences: ModelPreferencesSchema.optional(),\n\t/**\n\t* An optional system prompt the server wants to use for sampling. The client MAY modify or omit this prompt.\n\t*/\n\tsystemPrompt: z$1.string().optional(),\n\t/**\n\t* A request to include context from one or more MCP servers (including the caller), to be attached to the prompt.\n\t* The client MAY ignore this request.\n\t*\n\t* Default is \"none\". Values \"thisServer\" and \"allServers\" are soft-deprecated. Servers SHOULD only use these values if the client\n\t* declares ClientCapabilities.sampling.context. These values may be removed in future spec releases.\n\t*/\n\tincludeContext: z$1.enum([\n\t\t\"none\",\n\t\t\"thisServer\",\n\t\t\"allServers\"\n\t]).optional(),\n\ttemperature: z$1.number().optional(),\n\t/**\n\t* The requested maximum number of tokens to sample (to prevent runaway completions).\n\t*\n\t* The client MAY choose to sample fewer tokens than the requested maximum.\n\t*/\n\tmaxTokens: z$1.number().int(),\n\tstopSequences: z$1.array(z$1.string()).optional(),\n\t/**\n\t* Optional metadata to pass through to the LLM provider. The format of this metadata is provider-specific.\n\t*/\n\tmetadata: AssertObjectSchema.optional(),\n\t/**\n\t* Tools that the model may use during generation.\n\t* The client MUST return an error if this field is provided but ClientCapabilities.sampling.tools is not declared.\n\t*/\n\ttools: z$1.array(ToolSchema).optional(),\n\t/**\n\t* Controls how the model uses tools.\n\t* The client MUST return an error if this field is provided but ClientCapabilities.sampling.tools is not declared.\n\t* Default is `{ mode: \"auto\" }`.\n\t*/\n\ttoolChoice: ToolChoiceSchema.optional()\n});\n/**\n* A request from the server to sample an LLM via the client. The client has full discretion over which model to select. The client should also inform the user before beginning sampling, to allow them to inspect the request (human in the loop) and decide whether to approve it.\n*/\nconst CreateMessageRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"sampling/createMessage\"),\n\tparams: CreateMessageRequestParamsSchema\n});\n/**\n* The client's response to a sampling/create_message request from the server.\n* This is the backwards-compatible version that returns single content (no arrays).\n* Used when the request does not include tools.\n*/\nconst CreateMessageResultSchema = ResultSchema.extend({\n\t/**\n\t* The name of the model that generated the message.\n\t*/\n\tmodel: z$1.string(),\n\t/**\n\t* The reason why sampling stopped, if known.\n\t*\n\t* Standard values:\n\t* - \"endTurn\": Natural end of the assistant's turn\n\t* - \"stopSequence\": A stop sequence was encountered\n\t* - \"maxTokens\": Maximum token limit was reached\n\t*\n\t* This field is an open string to allow for provider-specific stop reasons.\n\t*/\n\tstopReason: z$1.optional(z$1.enum([\n\t\t\"endTurn\",\n\t\t\"stopSequence\",\n\t\t\"maxTokens\"\n\t]).or(z$1.string())),\n\trole: RoleSchema,\n\t/**\n\t* Response content. Single content block (text, image, or audio).\n\t*/\n\tcontent: SamplingContentSchema\n});\n/**\n* The client's response to a sampling/create_message request when tools were provided.\n* This version supports array content for tool use flows.\n*/\nconst CreateMessageResultWithToolsSchema = ResultSchema.extend({\n\t/**\n\t* The name of the model that generated the message.\n\t*/\n\tmodel: z$1.string(),\n\t/**\n\t* The reason why sampling stopped, if known.\n\t*\n\t* Standard values:\n\t* - \"endTurn\": Natural end of the assistant's turn\n\t* - \"stopSequence\": A stop sequence was encountered\n\t* - \"maxTokens\": Maximum token limit was reached\n\t* - \"toolUse\": The model wants to use one or more tools\n\t*\n\t* This field is an open string to allow for provider-specific stop reasons.\n\t*/\n\tstopReason: z$1.optional(z$1.enum([\n\t\t\"endTurn\",\n\t\t\"stopSequence\",\n\t\t\"maxTokens\",\n\t\t\"toolUse\"\n\t]).or(z$1.string())),\n\trole: RoleSchema,\n\t/**\n\t* Response content. May be a single block or array. May include ToolUseContent if stopReason is \"toolUse\".\n\t*/\n\tcontent: z$1.union([SamplingMessageContentBlockSchema, z$1.array(SamplingMessageContentBlockSchema)])\n});\n/**\n* Primitive schema definition for boolean fields.\n*/\nconst BooleanSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"boolean\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tdefault: z$1.boolean().optional()\n});\n/**\n* Primitive schema definition for string fields.\n*/\nconst StringSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"string\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tminLength: z$1.number().optional(),\n\tmaxLength: z$1.number().optional(),\n\tformat: z$1.enum([\n\t\t\"email\",\n\t\t\"uri\",\n\t\t\"date\",\n\t\t\"date-time\"\n\t]).optional(),\n\tdefault: z$1.string().optional()\n});\n/**\n* Primitive schema definition for number fields.\n*/\nconst NumberSchemaSchema = z$1.object({\n\ttype: z$1.enum([\"number\", \"integer\"]),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tminimum: z$1.number().optional(),\n\tmaximum: z$1.number().optional(),\n\tdefault: z$1.number().optional()\n});\n/**\n* Schema for single-selection enumeration without display titles for options.\n*/\nconst UntitledSingleSelectEnumSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"string\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tenum: z$1.array(z$1.string()),\n\tdefault: z$1.string().optional()\n});\n/**\n* Schema for single-selection enumeration with display titles for each option.\n*/\nconst TitledSingleSelectEnumSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"string\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\toneOf: z$1.array(z$1.object({\n\t\tconst: z$1.string(),\n\t\ttitle: z$1.string()\n\t})),\n\tdefault: z$1.string().optional()\n});\n/**\n* Use TitledSingleSelectEnumSchema instead.\n* This interface will be removed in a future version.\n*/\nconst LegacyTitledEnumSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"string\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tenum: z$1.array(z$1.string()),\n\tenumNames: z$1.array(z$1.string()).optional(),\n\tdefault: z$1.string().optional()\n});\nconst SingleSelectEnumSchemaSchema = z$1.union([UntitledSingleSelectEnumSchemaSchema, TitledSingleSelectEnumSchemaSchema]);\n/**\n* Schema for multiple-selection enumeration without display titles for options.\n*/\nconst UntitledMultiSelectEnumSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"array\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tminItems: z$1.number().optional(),\n\tmaxItems: z$1.number().optional(),\n\titems: z$1.object({\n\t\ttype: z$1.literal(\"string\"),\n\t\tenum: z$1.array(z$1.string())\n\t}),\n\tdefault: z$1.array(z$1.string()).optional()\n});\n/**\n* Schema for multiple-selection enumeration with display titles for each option.\n*/\nconst TitledMultiSelectEnumSchemaSchema = z$1.object({\n\ttype: z$1.literal(\"array\"),\n\ttitle: z$1.string().optional(),\n\tdescription: z$1.string().optional(),\n\tminItems: z$1.number().optional(),\n\tmaxItems: z$1.number().optional(),\n\titems: z$1.object({ anyOf: z$1.array(z$1.object({\n\t\tconst: z$1.string(),\n\t\ttitle: z$1.string()\n\t})) }),\n\tdefault: z$1.array(z$1.string()).optional()\n});\n/**\n* Combined schema for multiple-selection enumeration\n*/\nconst MultiSelectEnumSchemaSchema = z$1.union([UntitledMultiSelectEnumSchemaSchema, TitledMultiSelectEnumSchemaSchema]);\n/**\n* Primitive schema definition for enum fields.\n*/\nconst EnumSchemaSchema = z$1.union([\n\tLegacyTitledEnumSchemaSchema,\n\tSingleSelectEnumSchemaSchema,\n\tMultiSelectEnumSchemaSchema\n]);\n/**\n* Union of all primitive schema definitions.\n*/\nconst PrimitiveSchemaDefinitionSchema = z$1.union([\n\tEnumSchemaSchema,\n\tBooleanSchemaSchema,\n\tStringSchemaSchema,\n\tNumberSchemaSchema\n]);\n/**\n* Parameters for an `elicitation/create` request for form-based elicitation.\n*/\nconst ElicitRequestFormParamsSchema = TaskAugmentedRequestParamsSchema.extend({\n\t/**\n\t* The elicitation mode.\n\t*\n\t* Optional for backward compatibility. Clients MUST treat missing mode as \"form\".\n\t*/\n\tmode: z$1.literal(\"form\").optional(),\n\t/**\n\t* The message to present to the user describing what information is being requested.\n\t*/\n\tmessage: z$1.string(),\n\t/**\n\t* A restricted subset of JSON Schema.\n\t* Only top-level properties are allowed, without nesting.\n\t*/\n\trequestedSchema: z$1.object({\n\t\ttype: z$1.literal(\"object\"),\n\t\tproperties: z$1.record(z$1.string(), PrimitiveSchemaDefinitionSchema),\n\t\trequired: z$1.array(z$1.string()).optional()\n\t})\n});\n/**\n* Parameters for an `elicitation/create` request for URL-based elicitation.\n*/\nconst ElicitRequestURLParamsSchema = TaskAugmentedRequestParamsSchema.extend({\n\t/**\n\t* The elicitation mode.\n\t*/\n\tmode: z$1.literal(\"url\"),\n\t/**\n\t* The message to present to the user explaining why the interaction is needed.\n\t*/\n\tmessage: z$1.string(),\n\t/**\n\t* The ID of the elicitation, which must be unique within the context of the server.\n\t* The client MUST treat this ID as an opaque value.\n\t*/\n\telicitationId: z$1.string(),\n\t/**\n\t* The URL that the user should navigate to.\n\t*/\n\turl: z$1.string().url()\n});\n/**\n* The parameters for a request to elicit additional information from the user via the client.\n*/\nconst ElicitRequestParamsSchema = z$1.union([ElicitRequestFormParamsSchema, ElicitRequestURLParamsSchema]);\n/**\n* A request from the server to elicit user input via the client.\n* The client should present the message and form fields to the user (form mode)\n* or navigate to a URL (URL mode).\n*/\nconst ElicitRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"elicitation/create\"),\n\tparams: ElicitRequestParamsSchema\n});\n/**\n* Parameters for a `notifications/elicitation/complete` notification.\n*\n* @category notifications/elicitation/complete\n*/\nconst ElicitationCompleteNotificationParamsSchema = NotificationsParamsSchema.extend({ \n/**\n* The ID of the elicitation that completed.\n*/\nelicitationId: z$1.string() });\n/**\n* A notification from the server to the client, informing it of a completion of an out-of-band elicitation request.\n*\n* @category notifications/elicitation/complete\n*/\nconst ElicitationCompleteNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/elicitation/complete\"),\n\tparams: ElicitationCompleteNotificationParamsSchema\n});\n/**\n* The client's response to an elicitation/create request from the server.\n*/\nconst ElicitResultSchema = ResultSchema.extend({\n\t/**\n\t* The user action in response to the elicitation.\n\t* - \"accept\": User submitted the form/confirmed the action\n\t* - \"decline\": User explicitly decline the action\n\t* - \"cancel\": User dismissed without making an explicit choice\n\t*/\n\taction: z$1.enum([\n\t\t\"accept\",\n\t\t\"decline\",\n\t\t\"cancel\"\n\t]),\n\t/**\n\t* The submitted form data, only present when action is \"accept\".\n\t* Contains values matching the requested schema.\n\t* Per MCP spec, content is \"typically omitted\" for decline/cancel actions.\n\t* We normalize null to undefined for leniency while maintaining type compatibility.\n\t*/\n\tcontent: z$1.preprocess((val) => val === null ? void 0 : val, z$1.record(z$1.string(), z$1.union([\n\t\tz$1.string(),\n\t\tz$1.number(),\n\t\tz$1.boolean(),\n\t\tz$1.array(z$1.string())\n\t])).optional())\n});\n/**\n* A reference to a resource or resource template definition.\n*/\nconst ResourceTemplateReferenceSchema = z$1.object({\n\ttype: z$1.literal(\"ref/resource\"),\n\t/**\n\t* The URI or URI template of the resource.\n\t*/\n\turi: z$1.string()\n});\n/**\n* Identifies a prompt.\n*/\nconst PromptReferenceSchema = z$1.object({\n\ttype: z$1.literal(\"ref/prompt\"),\n\t/**\n\t* The name of the prompt or prompt template\n\t*/\n\tname: z$1.string()\n});\n/**\n* Parameters for a `completion/complete` request.\n*/\nconst CompleteRequestParamsSchema = BaseRequestParamsSchema.extend({\n\tref: z$1.union([PromptReferenceSchema, ResourceTemplateReferenceSchema]),\n\t/**\n\t* The argument's information\n\t*/\n\targument: z$1.object({\n\t\t/**\n\t\t* The name of the argument\n\t\t*/\n\t\tname: z$1.string(),\n\t\t/**\n\t\t* The value of the argument to use for completion matching.\n\t\t*/\n\t\tvalue: z$1.string()\n\t}),\n\tcontext: z$1.object({ \n\t/**\n\t* Previously-resolved variables in a URI template or prompt.\n\t*/\narguments: z$1.record(z$1.string(), z$1.string()).optional() }).optional()\n});\n/**\n* A request from the client to the server, to ask for completion options.\n*/\nconst CompleteRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"completion/complete\"),\n\tparams: CompleteRequestParamsSchema\n});\n/**\n* The server's response to a completion/complete request\n*/\nconst CompleteResultSchema = ResultSchema.extend({ completion: z$1.looseObject({\n\t/**\n\t* An array of completion values. Must not exceed 100 items.\n\t*/\n\tvalues: z$1.array(z$1.string()).max(100),\n\t/**\n\t* The total number of completion options available. This can exceed the number of values actually sent in the response.\n\t*/\n\ttotal: z$1.optional(z$1.number().int()),\n\t/**\n\t* Indicates whether there are additional completion options beyond those provided in the current response, even if the exact total is unknown.\n\t*/\n\thasMore: z$1.optional(z$1.boolean())\n}) });\n/**\n* Represents a root directory or file that the server can operate on.\n*/\nconst RootSchema = z$1.object({\n\t/**\n\t* The URI identifying the root. This *must* start with file:// for now.\n\t*/\n\turi: z$1.string().startsWith(\"file://\"),\n\t/**\n\t* An optional name for the root.\n\t*/\n\tname: z$1.string().optional(),\n\t/**\n\t* See [MCP specification](https://github.com/modelcontextprotocol/modelcontextprotocol/blob/47339c03c143bb4ec01a26e721a1b8fe66634ebe/docs/specification/draft/basic/index.mdx#general-fields)\n\t* for notes on _meta usage.\n\t*/\n\t_meta: z$1.record(z$1.string(), z$1.unknown()).optional()\n});\n/**\n* Sent from the server to request a list of root URIs from the client.\n*/\nconst ListRootsRequestSchema = RequestSchema.extend({\n\tmethod: z$1.literal(\"roots/list\"),\n\tparams: BaseRequestParamsSchema.optional()\n});\n/**\n* The client's response to a roots/list request from the server.\n*/\nconst ListRootsResultSchema = ResultSchema.extend({ roots: z$1.array(RootSchema) });\n/**\n* A notification from the client to the server, informing it that the list of roots has changed.\n*/\nconst RootsListChangedNotificationSchema = NotificationSchema.extend({\n\tmethod: z$1.literal(\"notifications/roots/list_changed\"),\n\tparams: NotificationsParamsSchema.optional()\n});\nz$1.union([\n\tPingRequestSchema,\n\tInitializeRequestSchema,\n\tCompleteRequestSchema,\n\tSetLevelRequestSchema,\n\tGetPromptRequestSchema,\n\tListPromptsRequestSchema,\n\tListResourcesRequestSchema,\n\tListResourceTemplatesRequestSchema,\n\tReadResourceRequestSchema,\n\tSubscribeRequestSchema,\n\tUnsubscribeRequestSchema,\n\tCallToolRequestSchema,\n\tListToolsRequestSchema,\n\tGetTaskRequestSchema,\n\tGetTaskPayloadRequestSchema,\n\tListTasksRequestSchema,\n\tCancelTaskRequestSchema\n]);\nz$1.union([\n\tCancelledNotificationSchema,\n\tProgressNotificationSchema,\n\tInitializedNotificationSchema,\n\tRootsListChangedNotificationSchema,\n\tTaskStatusNotificationSchema\n]);\nz$1.union([\n\tEmptyResultSchema,\n\tCreateMessageResultSchema,\n\tCreateMessageResultWithToolsSchema,\n\tElicitResultSchema,\n\tListRootsResultSchema,\n\tGetTaskResultSchema,\n\tListTasksResultSchema,\n\tCreateTaskResultSchema\n]);\nz$1.union([\n\tPingRequestSchema,\n\tCreateMessageRequestSchema,\n\tElicitRequestSchema,\n\tListRootsRequestSchema,\n\tGetTaskRequestSchema,\n\tGetTaskPayloadRequestSchema,\n\tListTasksRequestSchema,\n\tCancelTaskRequestSchema\n]);\nz$1.union([\n\tCancelledNotificationSchema,\n\tProgressNotificationSchema,\n\tLoggingMessageNotificationSchema,\n\tResourceUpdatedNotificationSchema,\n\tResourceListChangedNotificationSchema,\n\tToolListChangedNotificationSchema,\n\tPromptListChangedNotificationSchema,\n\tTaskStatusNotificationSchema,\n\tElicitationCompleteNotificationSchema\n]);\nz$1.union([\n\tEmptyResultSchema,\n\tInitializeResultSchema,\n\tCompleteResultSchema,\n\tGetPromptResultSchema,\n\tListPromptsResultSchema,\n\tListResourcesResultSchema,\n\tListResourceTemplatesResultSchema,\n\tReadResourceResultSchema,\n\tCallToolResultSchema,\n\tListToolsResultSchema,\n\tGetTaskResultSchema,\n\tListTasksResultSchema,\n\tCreateTaskResultSchema\n]);\nvar McpError = class McpError extends Error {\n\tconstructor(code, message, data) {\n\t\tsuper(`MCP error ${code}: ${message}`);\n\t\tthis.code = code;\n\t\tthis.data = data;\n\t\tthis.name = \"McpError\";\n\t}\n\t/**\n\t* Factory method to create the appropriate error type based on the error code and data\n\t*/\n\tstatic fromError(code, message, data) {\n\t\tif (code === ErrorCode.UrlElicitationRequired && data) {\n\t\t\tconst errorData = data;\n\t\t\tif (errorData.elicitations) return new UrlElicitationRequiredError(errorData.elicitations, message);\n\t\t}\n\t\treturn new McpError(code, message, data);\n\t}\n};\n/**\n* Specialized error type when a tool requires a URL mode elicitation.\n* This makes it nicer for the client to handle since there is specific data to work with instead of just a code to check against.\n*/\nvar UrlElicitationRequiredError = class extends McpError {\n\tconstructor(elicitations, message = `URL elicitation${elicitations.length > 1 ? \"s\" : \"\"} required`) {\n\t\tsuper(ErrorCode.UrlElicitationRequired, message, { elicitations });\n\t}\n\tget elicitations() {\n\t\treturn this.data?.elicitations ?? [];\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/interfaces.js\n/**\n* Experimental task interfaces for MCP SDK.\n* WARNING: These APIs are experimental and may change without notice.\n*/\n/**\n* Checks if a task status represents a terminal state.\n* Terminal states are those where the task has finished and will not change.\n*\n* @param status - The task status to check\n* @returns True if the status is terminal (completed, failed, or cancelled)\n* @experimental\n*/\nfunction isTerminal(status) {\n\treturn status === \"completed\" || status === \"failed\" || status === \"cancelled\";\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Options.js\nconst ignoreOverride = Symbol(\"Let zodToJsonSchema decide on which parser to use\");\nconst defaultOptions = {\n\tname: void 0,\n\t$refStrategy: \"root\",\n\tbasePath: [\"#\"],\n\teffectStrategy: \"input\",\n\tpipeStrategy: \"all\",\n\tdateStrategy: \"format:date-time\",\n\tmapStrategy: \"entries\",\n\tremoveAdditionalStrategy: \"passthrough\",\n\tallowedAdditionalProperties: true,\n\trejectedAdditionalProperties: false,\n\tdefinitionPath: \"definitions\",\n\ttarget: \"jsonSchema7\",\n\tstrictUnions: false,\n\tdefinitions: {},\n\terrorMessages: false,\n\tmarkdownDescription: false,\n\tpatternStrategy: \"escape\",\n\tapplyRegexFlags: false,\n\temailStrategy: \"format:email\",\n\tbase64Strategy: \"contentEncoding:base64\",\n\tnameStrategy: \"ref\",\n\topenAiAnyTypeName: \"OpenAiAnyType\"\n};\nconst getDefaultOptions = (options) => typeof options === \"string\" ? {\n\t...defaultOptions,\n\tname: options\n} : {\n\t...defaultOptions,\n\t...options\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/Refs.js\nconst getRefs = (options) => {\n\tconst _options = getDefaultOptions(options);\n\tconst currentPath = _options.name !== void 0 ? [\n\t\t..._options.basePath,\n\t\t_options.definitionPath,\n\t\t_options.name\n\t] : _options.basePath;\n\treturn {\n\t\t..._options,\n\t\tflags: { hasReferencedOpenAiAnyType: false },\n\t\tcurrentPath,\n\t\tpropertyPath: void 0,\n\t\tseen: new Map(Object.entries(_options.definitions).map(([name, def]) => [def._def, {\n\t\t\tdef: def._def,\n\t\t\tpath: [\n\t\t\t\t..._options.basePath,\n\t\t\t\t_options.definitionPath,\n\t\t\t\tname\n\t\t\t],\n\t\t\tjsonSchema: void 0\n\t\t}]))\n\t};\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/errorMessages.js\nfunction addErrorMessage(res, key, errorMessage, refs) {\n\tif (!refs?.errorMessages) return;\n\tif (errorMessage) res.errorMessage = {\n\t\t...res.errorMessage,\n\t\t[key]: errorMessage\n\t};\n}\nfunction setResponseValueAndErrors(res, key, value, errorMessage, refs) {\n\tres[key] = value;\n\taddErrorMessage(res, key, errorMessage, refs);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/getRelativePath.js\nconst getRelativePath = (pathA, pathB) => {\n\tlet i = 0;\n\tfor (; i < pathA.length && i < pathB.length; i++) if (pathA[i] !== pathB[i]) break;\n\treturn [(pathA.length - i).toString(), ...pathB.slice(i)].join(\"/\");\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/any.js\nfunction parseAnyDef(refs) {\n\tif (refs.target !== \"openAi\") return {};\n\tconst anyDefinitionPath = [\n\t\t...refs.basePath,\n\t\trefs.definitionPath,\n\t\trefs.openAiAnyTypeName\n\t];\n\trefs.flags.hasReferencedOpenAiAnyType = true;\n\treturn { $ref: refs.$refStrategy === \"relative\" ? getRelativePath(anyDefinitionPath, refs.currentPath) : anyDefinitionPath.join(\"/\") };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/array.js\nfunction parseArrayDef(def, refs) {\n\tconst res = { type: \"array\" };\n\tif (def.type?._def && def.type?._def?.typeName !== ZodFirstPartyTypeKind.ZodAny) res.items = parseDef(def.type._def, {\n\t\t...refs,\n\t\tcurrentPath: [...refs.currentPath, \"items\"]\n\t});\n\tif (def.minLength) setResponseValueAndErrors(res, \"minItems\", def.minLength.value, def.minLength.message, refs);\n\tif (def.maxLength) setResponseValueAndErrors(res, \"maxItems\", def.maxLength.value, def.maxLength.message, refs);\n\tif (def.exactLength) {\n\t\tsetResponseValueAndErrors(res, \"minItems\", def.exactLength.value, def.exactLength.message, refs);\n\t\tsetResponseValueAndErrors(res, \"maxItems\", def.exactLength.value, def.exactLength.message, refs);\n\t}\n\treturn res;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/bigint.js\nfunction parseBigintDef(def, refs) {\n\tconst res = {\n\t\ttype: \"integer\",\n\t\tformat: \"int64\"\n\t};\n\tif (!def.checks) return res;\n\tfor (const check of def.checks) switch (check.kind) {\n\t\tcase \"min\":\n\t\t\tif (refs.target === \"jsonSchema7\") if (check.inclusive) setResponseValueAndErrors(res, \"minimum\", check.value, check.message, refs);\n\t\t\telse setResponseValueAndErrors(res, \"exclusiveMinimum\", check.value, check.message, refs);\n\t\t\telse {\n\t\t\t\tif (!check.inclusive) res.exclusiveMinimum = true;\n\t\t\t\tsetResponseValueAndErrors(res, \"minimum\", check.value, check.message, refs);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"max\":\n\t\t\tif (refs.target === \"jsonSchema7\") if (check.inclusive) setResponseValueAndErrors(res, \"maximum\", check.value, check.message, refs);\n\t\t\telse setResponseValueAndErrors(res, \"exclusiveMaximum\", check.value, check.message, refs);\n\t\t\telse {\n\t\t\t\tif (!check.inclusive) res.exclusiveMaximum = true;\n\t\t\t\tsetResponseValueAndErrors(res, \"maximum\", check.value, check.message, refs);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"multipleOf\":\n\t\t\tsetResponseValueAndErrors(res, \"multipleOf\", check.value, check.message, refs);\n\t\t\tbreak;\n\t}\n\treturn res;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/boolean.js\nfunction parseBooleanDef() {\n\treturn { type: \"boolean\" };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/branded.js\nfunction parseBrandedDef(_def, refs) {\n\treturn parseDef(_def.type._def, refs);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/catch.js\nconst parseCatchDef = (def, refs) => {\n\treturn parseDef(def.innerType._def, refs);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/date.js\nfunction parseDateDef(def, refs, overrideDateStrategy) {\n\tconst strategy = overrideDateStrategy ?? refs.dateStrategy;\n\tif (Array.isArray(strategy)) return { anyOf: strategy.map((item, i) => parseDateDef(def, refs, item)) };\n\tswitch (strategy) {\n\t\tcase \"string\":\n\t\tcase \"format:date-time\": return {\n\t\t\ttype: \"string\",\n\t\t\tformat: \"date-time\"\n\t\t};\n\t\tcase \"format:date\": return {\n\t\t\ttype: \"string\",\n\t\t\tformat: \"date\"\n\t\t};\n\t\tcase \"integer\": return integerDateParser(def, refs);\n\t}\n}\nconst integerDateParser = (def, refs) => {\n\tconst res = {\n\t\ttype: \"integer\",\n\t\tformat: \"unix-time\"\n\t};\n\tif (refs.target === \"openApi3\") return res;\n\tfor (const check of def.checks) switch (check.kind) {\n\t\tcase \"min\":\n\t\t\tsetResponseValueAndErrors(res, \"minimum\", check.value, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"max\":\n\t\t\tsetResponseValueAndErrors(res, \"maximum\", check.value, check.message, refs);\n\t\t\tbreak;\n\t}\n\treturn res;\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/default.js\nfunction parseDefaultDef(_def, refs) {\n\treturn {\n\t\t...parseDef(_def.innerType._def, refs),\n\t\tdefault: _def.defaultValue()\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/effects.js\nfunction parseEffectsDef(_def, refs) {\n\treturn refs.effectStrategy === \"input\" ? parseDef(_def.schema._def, refs) : parseAnyDef(refs);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/enum.js\nfunction parseEnumDef(def) {\n\treturn {\n\t\ttype: \"string\",\n\t\tenum: Array.from(def.values)\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/intersection.js\nconst isJsonSchema7AllOfType = (type) => {\n\tif (\"type\" in type && type.type === \"string\") return false;\n\treturn \"allOf\" in type;\n};\nfunction parseIntersectionDef(def, refs) {\n\tconst allOf = [parseDef(def.left._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"allOf\",\n\t\t\t\"0\"\n\t\t]\n\t}), parseDef(def.right._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"allOf\",\n\t\t\t\"1\"\n\t\t]\n\t})].filter((x) => !!x);\n\tlet unevaluatedProperties = refs.target === \"jsonSchema2019-09\" ? { unevaluatedProperties: false } : void 0;\n\tconst mergedAllOf = [];\n\tallOf.forEach((schema) => {\n\t\tif (isJsonSchema7AllOfType(schema)) {\n\t\t\tmergedAllOf.push(...schema.allOf);\n\t\t\tif (schema.unevaluatedProperties === void 0) unevaluatedProperties = void 0;\n\t\t} else {\n\t\t\tlet nestedSchema = schema;\n\t\t\tif (\"additionalProperties\" in schema && schema.additionalProperties === false) {\n\t\t\t\tconst { additionalProperties, ...rest } = schema;\n\t\t\t\tnestedSchema = rest;\n\t\t\t} else unevaluatedProperties = void 0;\n\t\t\tmergedAllOf.push(nestedSchema);\n\t\t}\n\t});\n\treturn mergedAllOf.length ? {\n\t\tallOf: mergedAllOf,\n\t\t...unevaluatedProperties\n\t} : void 0;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/literal.js\nfunction parseLiteralDef(def, refs) {\n\tconst parsedType = typeof def.value;\n\tif (parsedType !== \"bigint\" && parsedType !== \"number\" && parsedType !== \"boolean\" && parsedType !== \"string\") return { type: Array.isArray(def.value) ? \"array\" : \"object\" };\n\tif (refs.target === \"openApi3\") return {\n\t\ttype: parsedType === \"bigint\" ? \"integer\" : parsedType,\n\t\tenum: [def.value]\n\t};\n\treturn {\n\t\ttype: parsedType === \"bigint\" ? \"integer\" : parsedType,\n\t\tconst: def.value\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/string.js\nlet emojiRegex = void 0;\n/**\n* Generated from the regular expressions found here as of 2024-05-22:\n* https://github.com/colinhacks/zod/blob/master/src/types.ts.\n*\n* Expressions with /i flag have been changed accordingly.\n*/\nconst zodPatterns = {\n\t/**\n\t* `c` was changed to `[cC]` to replicate /i flag\n\t*/\n\tcuid: /^[cC][^\\s-]{8,}$/,\n\tcuid2: /^[0-9a-z]+$/,\n\tulid: /^[0-9A-HJKMNP-TV-Z]{26}$/,\n\t/**\n\t* `a-z` was added to replicate /i flag\n\t*/\n\temail: /^(?!\\.)(?!.*\\.\\.)([a-zA-Z0-9_'+\\-\\.]*)[a-zA-Z0-9_+-]@([a-zA-Z0-9][a-zA-Z0-9\\-]*\\.)+[a-zA-Z]{2,}$/,\n\t/**\n\t* Constructed a valid Unicode RegExp\n\t*\n\t* Lazily instantiate since this type of regex isn't supported\n\t* in all envs (e.g. React Native).\n\t*\n\t* See:\n\t* https://github.com/colinhacks/zod/issues/2433\n\t* Fix in Zod:\n\t* https://github.com/colinhacks/zod/commit/9340fd51e48576a75adc919bff65dbc4a5d4c99b\n\t*/\n\temoji: () => {\n\t\tif (emojiRegex === void 0) emojiRegex = RegExp(\"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\", \"u\");\n\t\treturn emojiRegex;\n\t},\n\t/**\n\t* Unused\n\t*/\n\tuuid: /^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/,\n\t/**\n\t* Unused\n\t*/\n\tipv4: /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,\n\tipv4Cidr: /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/(3[0-2]|[12]?[0-9])$/,\n\t/**\n\t* Unused\n\t*/\n\tipv6: /^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,\n\tipv6Cidr: /^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,\n\tbase64: /^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,\n\tbase64url: /^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,\n\tnanoid: /^[a-zA-Z0-9_-]{21}$/,\n\tjwt: /^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/\n};\nfunction parseStringDef(def, refs) {\n\tconst res = { type: \"string\" };\n\tif (def.checks) for (const check of def.checks) switch (check.kind) {\n\t\tcase \"min\":\n\t\t\tsetResponseValueAndErrors(res, \"minLength\", typeof res.minLength === \"number\" ? Math.max(res.minLength, check.value) : check.value, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"max\":\n\t\t\tsetResponseValueAndErrors(res, \"maxLength\", typeof res.maxLength === \"number\" ? Math.min(res.maxLength, check.value) : check.value, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"email\":\n\t\t\tswitch (refs.emailStrategy) {\n\t\t\t\tcase \"format:email\":\n\t\t\t\t\taddFormat(res, \"email\", check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"format:idn-email\":\n\t\t\t\t\taddFormat(res, \"idn-email\", check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"pattern:zod\":\n\t\t\t\t\taddPattern(res, zodPatterns.email, check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"url\":\n\t\t\taddFormat(res, \"uri\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"uuid\":\n\t\t\taddFormat(res, \"uuid\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"regex\":\n\t\t\taddPattern(res, check.regex, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"cuid\":\n\t\t\taddPattern(res, zodPatterns.cuid, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"cuid2\":\n\t\t\taddPattern(res, zodPatterns.cuid2, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"startsWith\":\n\t\t\taddPattern(res, RegExp(`^${escapeLiteralCheckValue(check.value, refs)}`), check.message, refs);\n\t\t\tbreak;\n\t\tcase \"endsWith\":\n\t\t\taddPattern(res, RegExp(`${escapeLiteralCheckValue(check.value, refs)}$`), check.message, refs);\n\t\t\tbreak;\n\t\tcase \"datetime\":\n\t\t\taddFormat(res, \"date-time\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"date\":\n\t\t\taddFormat(res, \"date\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"time\":\n\t\t\taddFormat(res, \"time\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"duration\":\n\t\t\taddFormat(res, \"duration\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"length\":\n\t\t\tsetResponseValueAndErrors(res, \"minLength\", typeof res.minLength === \"number\" ? Math.max(res.minLength, check.value) : check.value, check.message, refs);\n\t\t\tsetResponseValueAndErrors(res, \"maxLength\", typeof res.maxLength === \"number\" ? Math.min(res.maxLength, check.value) : check.value, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"includes\":\n\t\t\taddPattern(res, RegExp(escapeLiteralCheckValue(check.value, refs)), check.message, refs);\n\t\t\tbreak;\n\t\tcase \"ip\":\n\t\t\tif (check.version !== \"v6\") addFormat(res, \"ipv4\", check.message, refs);\n\t\t\tif (check.version !== \"v4\") addFormat(res, \"ipv6\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"base64url\":\n\t\t\taddPattern(res, zodPatterns.base64url, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"jwt\":\n\t\t\taddPattern(res, zodPatterns.jwt, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"cidr\":\n\t\t\tif (check.version !== \"v6\") addPattern(res, zodPatterns.ipv4Cidr, check.message, refs);\n\t\t\tif (check.version !== \"v4\") addPattern(res, zodPatterns.ipv6Cidr, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"emoji\":\n\t\t\taddPattern(res, zodPatterns.emoji(), check.message, refs);\n\t\t\tbreak;\n\t\tcase \"ulid\":\n\t\t\taddPattern(res, zodPatterns.ulid, check.message, refs);\n\t\t\tbreak;\n\t\tcase \"base64\":\n\t\t\tswitch (refs.base64Strategy) {\n\t\t\t\tcase \"format:binary\":\n\t\t\t\t\taddFormat(res, \"binary\", check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"contentEncoding:base64\":\n\t\t\t\t\tsetResponseValueAndErrors(res, \"contentEncoding\", \"base64\", check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"pattern:zod\":\n\t\t\t\t\taddPattern(res, zodPatterns.base64, check.message, refs);\n\t\t\t\t\tbreak;\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"nanoid\": addPattern(res, zodPatterns.nanoid, check.message, refs);\n\t\tcase \"toLowerCase\":\n\t\tcase \"toUpperCase\":\n\t\tcase \"trim\": break;\n\t\tdefault: ((_) => {})(check);\n\t}\n\treturn res;\n}\nfunction escapeLiteralCheckValue(literal, refs) {\n\treturn refs.patternStrategy === \"escape\" ? escapeNonAlphaNumeric(literal) : literal;\n}\nconst ALPHA_NUMERIC = /* @__PURE__ */ new Set(\"ABCDEFGHIJKLMNOPQRSTUVXYZabcdefghijklmnopqrstuvxyz0123456789\");\nfunction escapeNonAlphaNumeric(source) {\n\tlet result = \"\";\n\tfor (let i = 0; i < source.length; i++) {\n\t\tif (!ALPHA_NUMERIC.has(source[i])) result += \"\\\\\";\n\t\tresult += source[i];\n\t}\n\treturn result;\n}\nfunction addFormat(schema, value, message, refs) {\n\tif (schema.format || schema.anyOf?.some((x) => x.format)) {\n\t\tif (!schema.anyOf) schema.anyOf = [];\n\t\tif (schema.format) {\n\t\t\tschema.anyOf.push({\n\t\t\t\tformat: schema.format,\n\t\t\t\t...schema.errorMessage && refs.errorMessages && { errorMessage: { format: schema.errorMessage.format } }\n\t\t\t});\n\t\t\tdelete schema.format;\n\t\t\tif (schema.errorMessage) {\n\t\t\t\tdelete schema.errorMessage.format;\n\t\t\t\tif (Object.keys(schema.errorMessage).length === 0) delete schema.errorMessage;\n\t\t\t}\n\t\t}\n\t\tschema.anyOf.push({\n\t\t\tformat: value,\n\t\t\t...message && refs.errorMessages && { errorMessage: { format: message } }\n\t\t});\n\t} else setResponseValueAndErrors(schema, \"format\", value, message, refs);\n}\nfunction addPattern(schema, regex, message, refs) {\n\tif (schema.pattern || schema.allOf?.some((x) => x.pattern)) {\n\t\tif (!schema.allOf) schema.allOf = [];\n\t\tif (schema.pattern) {\n\t\t\tschema.allOf.push({\n\t\t\t\tpattern: schema.pattern,\n\t\t\t\t...schema.errorMessage && refs.errorMessages && { errorMessage: { pattern: schema.errorMessage.pattern } }\n\t\t\t});\n\t\t\tdelete schema.pattern;\n\t\t\tif (schema.errorMessage) {\n\t\t\t\tdelete schema.errorMessage.pattern;\n\t\t\t\tif (Object.keys(schema.errorMessage).length === 0) delete schema.errorMessage;\n\t\t\t}\n\t\t}\n\t\tschema.allOf.push({\n\t\t\tpattern: stringifyRegExpWithFlags(regex, refs),\n\t\t\t...message && refs.errorMessages && { errorMessage: { pattern: message } }\n\t\t});\n\t} else setResponseValueAndErrors(schema, \"pattern\", stringifyRegExpWithFlags(regex, refs), message, refs);\n}\nfunction stringifyRegExpWithFlags(regex, refs) {\n\tif (!refs.applyRegexFlags || !regex.flags) return regex.source;\n\tconst flags = {\n\t\ti: regex.flags.includes(\"i\"),\n\t\tm: regex.flags.includes(\"m\"),\n\t\ts: regex.flags.includes(\"s\")\n\t};\n\tconst source = flags.i ? regex.source.toLowerCase() : regex.source;\n\tlet pattern = \"\";\n\tlet isEscaped = false;\n\tlet inCharGroup = false;\n\tlet inCharRange = false;\n\tfor (let i = 0; i < source.length; i++) {\n\t\tif (isEscaped) {\n\t\t\tpattern += source[i];\n\t\t\tisEscaped = false;\n\t\t\tcontinue;\n\t\t}\n\t\tif (flags.i) {\n\t\t\tif (inCharGroup) {\n\t\t\t\tif (source[i].match(/[a-z]/)) {\n\t\t\t\t\tif (inCharRange) {\n\t\t\t\t\t\tpattern += source[i];\n\t\t\t\t\t\tpattern += `${source[i - 2]}-${source[i]}`.toUpperCase();\n\t\t\t\t\t\tinCharRange = false;\n\t\t\t\t\t} else if (source[i + 1] === \"-\" && source[i + 2]?.match(/[a-z]/)) {\n\t\t\t\t\t\tpattern += source[i];\n\t\t\t\t\t\tinCharRange = true;\n\t\t\t\t\t} else pattern += `${source[i]}${source[i].toUpperCase()}`;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else if (source[i].match(/[a-z]/)) {\n\t\t\t\tpattern += `[${source[i]}${source[i].toUpperCase()}]`;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tif (flags.m) {\n\t\t\tif (source[i] === \"^\") {\n\t\t\t\tpattern += `(^|(?<=[\\r\\n]))`;\n\t\t\t\tcontinue;\n\t\t\t} else if (source[i] === \"$\") {\n\t\t\t\tpattern += `($|(?=[\\r\\n]))`;\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tif (flags.s && source[i] === \".\") {\n\t\t\tpattern += inCharGroup ? `${source[i]}\\r\\n` : `[${source[i]}\\r\\n]`;\n\t\t\tcontinue;\n\t\t}\n\t\tpattern += source[i];\n\t\tif (source[i] === \"\\\\\") isEscaped = true;\n\t\telse if (inCharGroup && source[i] === \"]\") inCharGroup = false;\n\t\telse if (!inCharGroup && source[i] === \"[\") inCharGroup = true;\n\t}\n\ttry {\n\t\tnew RegExp(pattern);\n\t} catch {\n\t\tconsole.warn(`Could not convert regex pattern at ${refs.currentPath.join(\"/\")} to a flag-independent form! Falling back to the flag-ignorant source`);\n\t\treturn regex.source;\n\t}\n\treturn pattern;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/record.js\nfunction parseRecordDef(def, refs) {\n\tif (refs.target === \"openAi\") console.warn(\"Warning: OpenAI may not support records in schemas! Try an array of key-value pairs instead.\");\n\tif (refs.target === \"openApi3\" && def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) return {\n\t\ttype: \"object\",\n\t\trequired: def.keyType._def.values,\n\t\tproperties: def.keyType._def.values.reduce((acc, key) => ({\n\t\t\t...acc,\n\t\t\t[key]: parseDef(def.valueType._def, {\n\t\t\t\t...refs,\n\t\t\t\tcurrentPath: [\n\t\t\t\t\t...refs.currentPath,\n\t\t\t\t\t\"properties\",\n\t\t\t\t\tkey\n\t\t\t\t]\n\t\t\t}) ?? parseAnyDef(refs)\n\t\t}), {}),\n\t\tadditionalProperties: refs.rejectedAdditionalProperties\n\t};\n\tconst schema = {\n\t\ttype: \"object\",\n\t\tadditionalProperties: parseDef(def.valueType._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [...refs.currentPath, \"additionalProperties\"]\n\t\t}) ?? refs.allowedAdditionalProperties\n\t};\n\tif (refs.target === \"openApi3\") return schema;\n\tif (def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodString && def.keyType._def.checks?.length) {\n\t\tconst { type, ...keyType } = parseStringDef(def.keyType._def, refs);\n\t\treturn {\n\t\t\t...schema,\n\t\t\tpropertyNames: keyType\n\t\t};\n\t} else if (def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodEnum) return {\n\t\t...schema,\n\t\tpropertyNames: { enum: def.keyType._def.values }\n\t};\n\telse if (def.keyType?._def.typeName === ZodFirstPartyTypeKind.ZodBranded && def.keyType._def.type._def.typeName === ZodFirstPartyTypeKind.ZodString && def.keyType._def.type._def.checks?.length) {\n\t\tconst { type, ...keyType } = parseBrandedDef(def.keyType._def, refs);\n\t\treturn {\n\t\t\t...schema,\n\t\t\tpropertyNames: keyType\n\t\t};\n\t}\n\treturn schema;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/map.js\nfunction parseMapDef(def, refs) {\n\tif (refs.mapStrategy === \"record\") return parseRecordDef(def, refs);\n\treturn {\n\t\ttype: \"array\",\n\t\tmaxItems: 125,\n\t\titems: {\n\t\t\ttype: \"array\",\n\t\t\titems: [parseDef(def.keyType._def, {\n\t\t\t\t...refs,\n\t\t\t\tcurrentPath: [\n\t\t\t\t\t...refs.currentPath,\n\t\t\t\t\t\"items\",\n\t\t\t\t\t\"items\",\n\t\t\t\t\t\"0\"\n\t\t\t\t]\n\t\t\t}) || parseAnyDef(refs), parseDef(def.valueType._def, {\n\t\t\t\t...refs,\n\t\t\t\tcurrentPath: [\n\t\t\t\t\t...refs.currentPath,\n\t\t\t\t\t\"items\",\n\t\t\t\t\t\"items\",\n\t\t\t\t\t\"1\"\n\t\t\t\t]\n\t\t\t}) || parseAnyDef(refs)],\n\t\t\tminItems: 2,\n\t\t\tmaxItems: 2\n\t\t}\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nativeEnum.js\nfunction parseNativeEnumDef(def) {\n\tconst object = def.values;\n\tconst actualValues = Object.keys(def.values).filter((key) => {\n\t\treturn typeof object[object[key]] !== \"number\";\n\t}).map((key) => object[key]);\n\tconst parsedTypes = Array.from(new Set(actualValues.map((values) => typeof values)));\n\treturn {\n\t\ttype: parsedTypes.length === 1 ? parsedTypes[0] === \"string\" ? \"string\" : \"number\" : [\"string\", \"number\"],\n\t\tenum: actualValues\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/never.js\nfunction parseNeverDef(refs) {\n\treturn refs.target === \"openAi\" ? void 0 : { not: parseAnyDef({\n\t\t...refs,\n\t\tcurrentPath: [...refs.currentPath, \"not\"]\n\t}) };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/null.js\nfunction parseNullDef(refs) {\n\treturn refs.target === \"openApi3\" ? {\n\t\tenum: [\"null\"],\n\t\tnullable: true\n\t} : { type: \"null\" };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/union.js\nconst primitiveMappings = {\n\tZodString: \"string\",\n\tZodNumber: \"number\",\n\tZodBigInt: \"integer\",\n\tZodBoolean: \"boolean\",\n\tZodNull: \"null\"\n};\nfunction parseUnionDef(def, refs) {\n\tif (refs.target === \"openApi3\") return asAnyOf(def, refs);\n\tconst options = def.options instanceof Map ? Array.from(def.options.values()) : def.options;\n\tif (options.every((x) => x._def.typeName in primitiveMappings && (!x._def.checks || !x._def.checks.length))) {\n\t\tconst types = options.reduce((types, x) => {\n\t\t\tconst type = primitiveMappings[x._def.typeName];\n\t\t\treturn type && !types.includes(type) ? [...types, type] : types;\n\t\t}, []);\n\t\treturn { type: types.length > 1 ? types : types[0] };\n\t} else if (options.every((x) => x._def.typeName === \"ZodLiteral\" && !x.description)) {\n\t\tconst types = options.reduce((acc, x) => {\n\t\t\tconst type = typeof x._def.value;\n\t\t\tswitch (type) {\n\t\t\t\tcase \"string\":\n\t\t\t\tcase \"number\":\n\t\t\t\tcase \"boolean\": return [...acc, type];\n\t\t\t\tcase \"bigint\": return [...acc, \"integer\"];\n\t\t\t\tcase \"object\": if (x._def.value === null) return [...acc, \"null\"];\n\t\t\t\tdefault: return acc;\n\t\t\t}\n\t\t}, []);\n\t\tif (types.length === options.length) {\n\t\t\tconst uniqueTypes = types.filter((x, i, a) => a.indexOf(x) === i);\n\t\t\treturn {\n\t\t\t\ttype: uniqueTypes.length > 1 ? uniqueTypes : uniqueTypes[0],\n\t\t\t\tenum: options.reduce((acc, x) => {\n\t\t\t\t\treturn acc.includes(x._def.value) ? acc : [...acc, x._def.value];\n\t\t\t\t}, [])\n\t\t\t};\n\t\t}\n\t} else if (options.every((x) => x._def.typeName === \"ZodEnum\")) return {\n\t\ttype: \"string\",\n\t\tenum: options.reduce((acc, x) => [...acc, ...x._def.values.filter((x) => !acc.includes(x))], [])\n\t};\n\treturn asAnyOf(def, refs);\n}\nconst asAnyOf = (def, refs) => {\n\tconst anyOf = (def.options instanceof Map ? Array.from(def.options.values()) : def.options).map((x, i) => parseDef(x._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"anyOf\",\n\t\t\t`${i}`\n\t\t]\n\t})).filter((x) => !!x && (!refs.strictUnions || typeof x === \"object\" && Object.keys(x).length > 0));\n\treturn anyOf.length ? { anyOf } : void 0;\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/nullable.js\nfunction parseNullableDef(def, refs) {\n\tif ([\n\t\t\"ZodString\",\n\t\t\"ZodNumber\",\n\t\t\"ZodBigInt\",\n\t\t\"ZodBoolean\",\n\t\t\"ZodNull\"\n\t].includes(def.innerType._def.typeName) && (!def.innerType._def.checks || !def.innerType._def.checks.length)) {\n\t\tif (refs.target === \"openApi3\") return {\n\t\t\ttype: primitiveMappings[def.innerType._def.typeName],\n\t\t\tnullable: true\n\t\t};\n\t\treturn { type: [primitiveMappings[def.innerType._def.typeName], \"null\"] };\n\t}\n\tif (refs.target === \"openApi3\") {\n\t\tconst base = parseDef(def.innerType._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [...refs.currentPath]\n\t\t});\n\t\tif (base && \"$ref\" in base) return {\n\t\t\tallOf: [base],\n\t\t\tnullable: true\n\t\t};\n\t\treturn base && {\n\t\t\t...base,\n\t\t\tnullable: true\n\t\t};\n\t}\n\tconst base = parseDef(def.innerType._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"anyOf\",\n\t\t\t\"0\"\n\t\t]\n\t});\n\treturn base && { anyOf: [base, { type: \"null\" }] };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/number.js\nfunction parseNumberDef(def, refs) {\n\tconst res = { type: \"number\" };\n\tif (!def.checks) return res;\n\tfor (const check of def.checks) switch (check.kind) {\n\t\tcase \"int\":\n\t\t\tres.type = \"integer\";\n\t\t\taddErrorMessage(res, \"type\", check.message, refs);\n\t\t\tbreak;\n\t\tcase \"min\":\n\t\t\tif (refs.target === \"jsonSchema7\") if (check.inclusive) setResponseValueAndErrors(res, \"minimum\", check.value, check.message, refs);\n\t\t\telse setResponseValueAndErrors(res, \"exclusiveMinimum\", check.value, check.message, refs);\n\t\t\telse {\n\t\t\t\tif (!check.inclusive) res.exclusiveMinimum = true;\n\t\t\t\tsetResponseValueAndErrors(res, \"minimum\", check.value, check.message, refs);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"max\":\n\t\t\tif (refs.target === \"jsonSchema7\") if (check.inclusive) setResponseValueAndErrors(res, \"maximum\", check.value, check.message, refs);\n\t\t\telse setResponseValueAndErrors(res, \"exclusiveMaximum\", check.value, check.message, refs);\n\t\t\telse {\n\t\t\t\tif (!check.inclusive) res.exclusiveMaximum = true;\n\t\t\t\tsetResponseValueAndErrors(res, \"maximum\", check.value, check.message, refs);\n\t\t\t}\n\t\t\tbreak;\n\t\tcase \"multipleOf\":\n\t\t\tsetResponseValueAndErrors(res, \"multipleOf\", check.value, check.message, refs);\n\t\t\tbreak;\n\t}\n\treturn res;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/object.js\nfunction parseObjectDef(def, refs) {\n\tconst forceOptionalIntoNullable = refs.target === \"openAi\";\n\tconst result = {\n\t\ttype: \"object\",\n\t\tproperties: {}\n\t};\n\tconst required = [];\n\tconst shape = def.shape();\n\tfor (const propName in shape) {\n\t\tlet propDef = shape[propName];\n\t\tif (propDef === void 0 || propDef._def === void 0) continue;\n\t\tlet propOptional = safeIsOptional(propDef);\n\t\tif (propOptional && forceOptionalIntoNullable) {\n\t\t\tif (propDef._def.typeName === \"ZodOptional\") propDef = propDef._def.innerType;\n\t\t\tif (!propDef.isNullable()) propDef = propDef.nullable();\n\t\t\tpropOptional = false;\n\t\t}\n\t\tconst parsedDef = parseDef(propDef._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [\n\t\t\t\t...refs.currentPath,\n\t\t\t\t\"properties\",\n\t\t\t\tpropName\n\t\t\t],\n\t\t\tpropertyPath: [\n\t\t\t\t...refs.currentPath,\n\t\t\t\t\"properties\",\n\t\t\t\tpropName\n\t\t\t]\n\t\t});\n\t\tif (parsedDef === void 0) continue;\n\t\tresult.properties[propName] = parsedDef;\n\t\tif (!propOptional) required.push(propName);\n\t}\n\tif (required.length) result.required = required;\n\tconst additionalProperties = decideAdditionalProperties(def, refs);\n\tif (additionalProperties !== void 0) result.additionalProperties = additionalProperties;\n\treturn result;\n}\nfunction decideAdditionalProperties(def, refs) {\n\tif (def.catchall._def.typeName !== \"ZodNever\") return parseDef(def.catchall._def, {\n\t\t...refs,\n\t\tcurrentPath: [...refs.currentPath, \"additionalProperties\"]\n\t});\n\tswitch (def.unknownKeys) {\n\t\tcase \"passthrough\": return refs.allowedAdditionalProperties;\n\t\tcase \"strict\": return refs.rejectedAdditionalProperties;\n\t\tcase \"strip\": return refs.removeAdditionalStrategy === \"strict\" ? refs.allowedAdditionalProperties : refs.rejectedAdditionalProperties;\n\t}\n}\nfunction safeIsOptional(schema) {\n\ttry {\n\t\treturn schema.isOptional();\n\t} catch {\n\t\treturn true;\n\t}\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/optional.js\nconst parseOptionalDef = (def, refs) => {\n\tif (refs.currentPath.toString() === refs.propertyPath?.toString()) return parseDef(def.innerType._def, refs);\n\tconst innerSchema = parseDef(def.innerType._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"anyOf\",\n\t\t\t\"1\"\n\t\t]\n\t});\n\treturn innerSchema ? { anyOf: [{ not: parseAnyDef(refs) }, innerSchema] } : parseAnyDef(refs);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/pipeline.js\nconst parsePipelineDef = (def, refs) => {\n\tif (refs.pipeStrategy === \"input\") return parseDef(def.in._def, refs);\n\telse if (refs.pipeStrategy === \"output\") return parseDef(def.out._def, refs);\n\tconst a = parseDef(def.in._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"allOf\",\n\t\t\t\"0\"\n\t\t]\n\t});\n\treturn { allOf: [a, parseDef(def.out._def, {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.currentPath,\n\t\t\t\"allOf\",\n\t\t\ta ? \"1\" : \"0\"\n\t\t]\n\t})].filter((x) => x !== void 0) };\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/promise.js\nfunction parsePromiseDef(def, refs) {\n\treturn parseDef(def.type._def, refs);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/set.js\nfunction parseSetDef(def, refs) {\n\tconst schema = {\n\t\ttype: \"array\",\n\t\tuniqueItems: true,\n\t\titems: parseDef(def.valueType._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [...refs.currentPath, \"items\"]\n\t\t})\n\t};\n\tif (def.minSize) setResponseValueAndErrors(schema, \"minItems\", def.minSize.value, def.minSize.message, refs);\n\tif (def.maxSize) setResponseValueAndErrors(schema, \"maxItems\", def.maxSize.value, def.maxSize.message, refs);\n\treturn schema;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/tuple.js\nfunction parseTupleDef(def, refs) {\n\tif (def.rest) return {\n\t\ttype: \"array\",\n\t\tminItems: def.items.length,\n\t\titems: def.items.map((x, i) => parseDef(x._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [\n\t\t\t\t...refs.currentPath,\n\t\t\t\t\"items\",\n\t\t\t\t`${i}`\n\t\t\t]\n\t\t})).reduce((acc, x) => x === void 0 ? acc : [...acc, x], []),\n\t\tadditionalItems: parseDef(def.rest._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [...refs.currentPath, \"additionalItems\"]\n\t\t})\n\t};\n\telse return {\n\t\ttype: \"array\",\n\t\tminItems: def.items.length,\n\t\tmaxItems: def.items.length,\n\t\titems: def.items.map((x, i) => parseDef(x._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [\n\t\t\t\t...refs.currentPath,\n\t\t\t\t\"items\",\n\t\t\t\t`${i}`\n\t\t\t]\n\t\t})).reduce((acc, x) => x === void 0 ? acc : [...acc, x], [])\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/undefined.js\nfunction parseUndefinedDef(refs) {\n\treturn { not: parseAnyDef(refs) };\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/unknown.js\nfunction parseUnknownDef(refs) {\n\treturn parseAnyDef(refs);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parsers/readonly.js\nconst parseReadonlyDef = (def, refs) => {\n\treturn parseDef(def.innerType._def, refs);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/selectParser.js\nconst selectParser = (def, typeName, refs) => {\n\tswitch (typeName) {\n\t\tcase ZodFirstPartyTypeKind.ZodString: return parseStringDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodNumber: return parseNumberDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodObject: return parseObjectDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodBigInt: return parseBigintDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodBoolean: return parseBooleanDef();\n\t\tcase ZodFirstPartyTypeKind.ZodDate: return parseDateDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodUndefined: return parseUndefinedDef(refs);\n\t\tcase ZodFirstPartyTypeKind.ZodNull: return parseNullDef(refs);\n\t\tcase ZodFirstPartyTypeKind.ZodArray: return parseArrayDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodUnion:\n\t\tcase ZodFirstPartyTypeKind.ZodDiscriminatedUnion: return parseUnionDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodIntersection: return parseIntersectionDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodTuple: return parseTupleDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodRecord: return parseRecordDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodLiteral: return parseLiteralDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodEnum: return parseEnumDef(def);\n\t\tcase ZodFirstPartyTypeKind.ZodNativeEnum: return parseNativeEnumDef(def);\n\t\tcase ZodFirstPartyTypeKind.ZodNullable: return parseNullableDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodOptional: return parseOptionalDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodMap: return parseMapDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodSet: return parseSetDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodLazy: return () => def.getter()._def;\n\t\tcase ZodFirstPartyTypeKind.ZodPromise: return parsePromiseDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodNaN:\n\t\tcase ZodFirstPartyTypeKind.ZodNever: return parseNeverDef(refs);\n\t\tcase ZodFirstPartyTypeKind.ZodEffects: return parseEffectsDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodAny: return parseAnyDef(refs);\n\t\tcase ZodFirstPartyTypeKind.ZodUnknown: return parseUnknownDef(refs);\n\t\tcase ZodFirstPartyTypeKind.ZodDefault: return parseDefaultDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodBranded: return parseBrandedDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodReadonly: return parseReadonlyDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodCatch: return parseCatchDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodPipeline: return parsePipelineDef(def, refs);\n\t\tcase ZodFirstPartyTypeKind.ZodFunction:\n\t\tcase ZodFirstPartyTypeKind.ZodVoid:\n\t\tcase ZodFirstPartyTypeKind.ZodSymbol: return;\n\t\tdefault: return ((_) => void 0)(typeName);\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/parseDef.js\nfunction parseDef(def, refs, forceResolution = false) {\n\tconst seenItem = refs.seen.get(def);\n\tif (refs.override) {\n\t\tconst overrideResult = refs.override?.(def, refs, seenItem, forceResolution);\n\t\tif (overrideResult !== ignoreOverride) return overrideResult;\n\t}\n\tif (seenItem && !forceResolution) {\n\t\tconst seenSchema = get$ref(seenItem, refs);\n\t\tif (seenSchema !== void 0) return seenSchema;\n\t}\n\tconst newItem = {\n\t\tdef,\n\t\tpath: refs.currentPath,\n\t\tjsonSchema: void 0\n\t};\n\trefs.seen.set(def, newItem);\n\tconst jsonSchemaOrGetter = selectParser(def, def.typeName, refs);\n\tconst jsonSchema = typeof jsonSchemaOrGetter === \"function\" ? parseDef(jsonSchemaOrGetter(), refs) : jsonSchemaOrGetter;\n\tif (jsonSchema) addMeta(def, refs, jsonSchema);\n\tif (refs.postProcess) {\n\t\tconst postProcessResult = refs.postProcess(jsonSchema, def, refs);\n\t\tnewItem.jsonSchema = jsonSchema;\n\t\treturn postProcessResult;\n\t}\n\tnewItem.jsonSchema = jsonSchema;\n\treturn jsonSchema;\n}\nconst get$ref = (item, refs) => {\n\tswitch (refs.$refStrategy) {\n\t\tcase \"root\": return { $ref: item.path.join(\"/\") };\n\t\tcase \"relative\": return { $ref: getRelativePath(refs.currentPath, item.path) };\n\t\tcase \"none\":\n\t\tcase \"seen\":\n\t\t\tif (item.path.length < refs.currentPath.length && item.path.every((value, index) => refs.currentPath[index] === value)) {\n\t\t\t\tconsole.warn(`Recursive reference detected at ${refs.currentPath.join(\"/\")}! Defaulting to any`);\n\t\t\t\treturn parseAnyDef(refs);\n\t\t\t}\n\t\t\treturn refs.$refStrategy === \"seen\" ? parseAnyDef(refs) : void 0;\n\t}\n};\nconst addMeta = (def, refs, jsonSchema) => {\n\tif (def.description) {\n\t\tjsonSchema.description = def.description;\n\t\tif (refs.markdownDescription) jsonSchema.markdownDescription = def.description;\n\t}\n\treturn jsonSchema;\n};\n//#endregion\n//#region ../../node_modules/.pnpm/zod-to-json-schema@3.25.2_zod@4.4.3/node_modules/zod-to-json-schema/dist/esm/zodToJsonSchema.js\nconst zodToJsonSchema = (schema, options) => {\n\tconst refs = getRefs(options);\n\tlet definitions = typeof options === \"object\" && options.definitions ? Object.entries(options.definitions).reduce((acc, [name, schema]) => ({\n\t\t...acc,\n\t\t[name]: parseDef(schema._def, {\n\t\t\t...refs,\n\t\t\tcurrentPath: [\n\t\t\t\t...refs.basePath,\n\t\t\t\trefs.definitionPath,\n\t\t\t\tname\n\t\t\t]\n\t\t}, true) ?? parseAnyDef(refs)\n\t}), {}) : void 0;\n\tconst name = typeof options === \"string\" ? options : options?.nameStrategy === \"title\" ? void 0 : options?.name;\n\tconst main = parseDef(schema._def, name === void 0 ? refs : {\n\t\t...refs,\n\t\tcurrentPath: [\n\t\t\t...refs.basePath,\n\t\t\trefs.definitionPath,\n\t\t\tname\n\t\t]\n\t}, false) ?? parseAnyDef(refs);\n\tconst title = typeof options === \"object\" && options.name !== void 0 && options.nameStrategy === \"title\" ? options.name : void 0;\n\tif (title !== void 0) main.title = title;\n\tif (refs.flags.hasReferencedOpenAiAnyType) {\n\t\tif (!definitions) definitions = {};\n\t\tif (!definitions[refs.openAiAnyTypeName]) definitions[refs.openAiAnyTypeName] = {\n\t\t\ttype: [\n\t\t\t\t\"string\",\n\t\t\t\t\"number\",\n\t\t\t\t\"integer\",\n\t\t\t\t\"boolean\",\n\t\t\t\t\"array\",\n\t\t\t\t\"null\"\n\t\t\t],\n\t\t\titems: { $ref: refs.$refStrategy === \"relative\" ? \"1\" : [\n\t\t\t\t...refs.basePath,\n\t\t\t\trefs.definitionPath,\n\t\t\t\trefs.openAiAnyTypeName\n\t\t\t].join(\"/\") }\n\t\t};\n\t}\n\tconst combined = name === void 0 ? definitions ? {\n\t\t...main,\n\t\t[refs.definitionPath]: definitions\n\t} : main : {\n\t\t$ref: [\n\t\t\t...refs.$refStrategy === \"relative\" ? [] : refs.basePath,\n\t\t\trefs.definitionPath,\n\t\t\tname\n\t\t].join(\"/\"),\n\t\t[refs.definitionPath]: {\n\t\t\t...definitions,\n\t\t\t[name]: main\n\t\t}\n\t};\n\tif (refs.target === \"jsonSchema7\") combined.$schema = \"http://json-schema.org/draft-07/schema#\";\n\telse if (refs.target === \"jsonSchema2019-09\" || refs.target === \"openAi\") combined.$schema = \"https://json-schema.org/draft/2019-09/schema#\";\n\tif (refs.target === \"openAi\" && (\"anyOf\" in combined || \"oneOf\" in combined || \"allOf\" in combined || \"type\" in combined && Array.isArray(combined.type))) console.warn(\"Warning: OpenAI may not support schemas with unions as roots! Try wrapping it in an object property.\");\n\treturn combined;\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/zod-json-schema-compat.js\nfunction getMethodLiteral(schema) {\n\tconst methodSchema = getObjectShape(schema)?.method;\n\tif (!methodSchema) throw new Error(\"Schema is missing a method literal\");\n\tconst value = getLiteralValue(methodSchema);\n\tif (typeof value !== \"string\") throw new Error(\"Schema method literal must be a string\");\n\treturn value;\n}\nfunction parseWithCompat(schema, data) {\n\tconst result = safeParse(schema, data);\n\tif (!result.success) throw result.error;\n\treturn result.data;\n}\n/**\n* Implements MCP protocol framing on top of a pluggable transport, including\n* features like request/response linking, notifications, and progress.\n*/\nvar Protocol = class {\n\tconstructor(_options) {\n\t\tthis._options = _options;\n\t\tthis._requestMessageId = 0;\n\t\tthis._requestHandlers = /* @__PURE__ */ new Map();\n\t\tthis._requestHandlerAbortControllers = /* @__PURE__ */ new Map();\n\t\tthis._notificationHandlers = /* @__PURE__ */ new Map();\n\t\tthis._responseHandlers = /* @__PURE__ */ new Map();\n\t\tthis._progressHandlers = /* @__PURE__ */ new Map();\n\t\tthis._timeoutInfo = /* @__PURE__ */ new Map();\n\t\tthis._pendingDebouncedNotifications = /* @__PURE__ */ new Set();\n\t\tthis._taskProgressTokens = /* @__PURE__ */ new Map();\n\t\tthis._requestResolvers = /* @__PURE__ */ new Map();\n\t\tthis.setNotificationHandler(CancelledNotificationSchema, (notification) => {\n\t\t\tthis._oncancel(notification);\n\t\t});\n\t\tthis.setNotificationHandler(ProgressNotificationSchema, (notification) => {\n\t\t\tthis._onprogress(notification);\n\t\t});\n\t\tthis.setRequestHandler(PingRequestSchema, (_request) => ({}));\n\t\tthis._taskStore = _options?.taskStore;\n\t\tthis._taskMessageQueue = _options?.taskMessageQueue;\n\t\tif (this._taskStore) {\n\t\t\tthis.setRequestHandler(GetTaskRequestSchema, async (request, extra) => {\n\t\t\t\tconst task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);\n\t\t\t\tif (!task) throw new McpError(ErrorCode.InvalidParams, \"Failed to retrieve task: Task not found\");\n\t\t\t\treturn { ...task };\n\t\t\t});\n\t\t\tthis.setRequestHandler(GetTaskPayloadRequestSchema, async (request, extra) => {\n\t\t\t\tconst handleTaskResult = async () => {\n\t\t\t\t\tconst taskId = request.params.taskId;\n\t\t\t\t\tif (this._taskMessageQueue) {\n\t\t\t\t\t\tlet queuedMessage;\n\t\t\t\t\t\twhile (queuedMessage = await this._taskMessageQueue.dequeue(taskId, extra.sessionId)) {\n\t\t\t\t\t\t\tif (queuedMessage.type === \"response\" || queuedMessage.type === \"error\") {\n\t\t\t\t\t\t\t\tconst message = queuedMessage.message;\n\t\t\t\t\t\t\t\tconst requestId = message.id;\n\t\t\t\t\t\t\t\tconst resolver = this._requestResolvers.get(requestId);\n\t\t\t\t\t\t\t\tif (resolver) {\n\t\t\t\t\t\t\t\t\tthis._requestResolvers.delete(requestId);\n\t\t\t\t\t\t\t\t\tif (queuedMessage.type === \"response\") resolver(message);\n\t\t\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\t\t\tconst errorMessage = message;\n\t\t\t\t\t\t\t\t\t\tresolver(new McpError(errorMessage.error.code, errorMessage.error.message, errorMessage.error.data));\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tconst messageType = queuedMessage.type === \"response\" ? \"Response\" : \"Error\";\n\t\t\t\t\t\t\t\t\tthis._onerror(/* @__PURE__ */ new Error(`${messageType} handler missing for request ${requestId}`));\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tawait this._transport?.send(queuedMessage.message, { relatedRequestId: extra.requestId });\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tconst task = await this._taskStore.getTask(taskId, extra.sessionId);\n\t\t\t\t\tif (!task) throw new McpError(ErrorCode.InvalidParams, `Task not found: ${taskId}`);\n\t\t\t\t\tif (!isTerminal(task.status)) {\n\t\t\t\t\t\tawait this._waitForTaskUpdate(taskId, extra.signal);\n\t\t\t\t\t\treturn await handleTaskResult();\n\t\t\t\t\t}\n\t\t\t\t\tif (isTerminal(task.status)) {\n\t\t\t\t\t\tconst result = await this._taskStore.getTaskResult(taskId, extra.sessionId);\n\t\t\t\t\t\tthis._clearTaskQueue(taskId);\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t...result,\n\t\t\t\t\t\t\t_meta: {\n\t\t\t\t\t\t\t\t...result._meta,\n\t\t\t\t\t\t\t\t[RELATED_TASK_META_KEY]: { taskId }\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\treturn await handleTaskResult();\n\t\t\t\t};\n\t\t\t\treturn await handleTaskResult();\n\t\t\t});\n\t\t\tthis.setRequestHandler(ListTasksRequestSchema, async (request, extra) => {\n\t\t\t\ttry {\n\t\t\t\t\tconst { tasks, nextCursor } = await this._taskStore.listTasks(request.params?.cursor, extra.sessionId);\n\t\t\t\t\treturn {\n\t\t\t\t\t\ttasks,\n\t\t\t\t\t\tnextCursor,\n\t\t\t\t\t\t_meta: {}\n\t\t\t\t\t};\n\t\t\t\t} catch (error) {\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Failed to list tasks: ${error instanceof Error ? error.message : String(error)}`);\n\t\t\t\t}\n\t\t\t});\n\t\t\tthis.setRequestHandler(CancelTaskRequestSchema, async (request, extra) => {\n\t\t\t\ttry {\n\t\t\t\t\tconst task = await this._taskStore.getTask(request.params.taskId, extra.sessionId);\n\t\t\t\t\tif (!task) throw new McpError(ErrorCode.InvalidParams, `Task not found: ${request.params.taskId}`);\n\t\t\t\t\tif (isTerminal(task.status)) throw new McpError(ErrorCode.InvalidParams, `Cannot cancel task in terminal status: ${task.status}`);\n\t\t\t\t\tawait this._taskStore.updateTaskStatus(request.params.taskId, \"cancelled\", \"Client cancelled task execution.\", extra.sessionId);\n\t\t\t\t\tthis._clearTaskQueue(request.params.taskId);\n\t\t\t\t\tconst cancelledTask = await this._taskStore.getTask(request.params.taskId, extra.sessionId);\n\t\t\t\t\tif (!cancelledTask) throw new McpError(ErrorCode.InvalidParams, `Task not found after cancellation: ${request.params.taskId}`);\n\t\t\t\t\treturn {\n\t\t\t\t\t\t_meta: {},\n\t\t\t\t\t\t...cancelledTask\n\t\t\t\t\t};\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (error instanceof McpError) throw error;\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidRequest, `Failed to cancel task: ${error instanceof Error ? error.message : String(error)}`);\n\t\t\t\t}\n\t\t\t});\n\t\t}\n\t}\n\tasync _oncancel(notification) {\n\t\tif (!notification.params.requestId) return;\n\t\tthis._requestHandlerAbortControllers.get(notification.params.requestId)?.abort(notification.params.reason);\n\t}\n\t_setupTimeout(messageId, timeout, maxTotalTimeout, onTimeout, resetTimeoutOnProgress = false) {\n\t\tthis._timeoutInfo.set(messageId, {\n\t\t\ttimeoutId: setTimeout(onTimeout, timeout),\n\t\t\tstartTime: Date.now(),\n\t\t\ttimeout,\n\t\t\tmaxTotalTimeout,\n\t\t\tresetTimeoutOnProgress,\n\t\t\tonTimeout\n\t\t});\n\t}\n\t_resetTimeout(messageId) {\n\t\tconst info = this._timeoutInfo.get(messageId);\n\t\tif (!info) return false;\n\t\tconst totalElapsed = Date.now() - info.startTime;\n\t\tif (info.maxTotalTimeout && totalElapsed >= info.maxTotalTimeout) {\n\t\t\tthis._timeoutInfo.delete(messageId);\n\t\t\tthrow McpError.fromError(ErrorCode.RequestTimeout, \"Maximum total timeout exceeded\", {\n\t\t\t\tmaxTotalTimeout: info.maxTotalTimeout,\n\t\t\t\ttotalElapsed\n\t\t\t});\n\t\t}\n\t\tclearTimeout(info.timeoutId);\n\t\tinfo.timeoutId = setTimeout(info.onTimeout, info.timeout);\n\t\treturn true;\n\t}\n\t_cleanupTimeout(messageId) {\n\t\tconst info = this._timeoutInfo.get(messageId);\n\t\tif (info) {\n\t\t\tclearTimeout(info.timeoutId);\n\t\t\tthis._timeoutInfo.delete(messageId);\n\t\t}\n\t}\n\t/**\n\t* Attaches to the given transport, starts it, and starts listening for messages.\n\t*\n\t* The Protocol object assumes ownership of the Transport, replacing any callbacks that have already been set, and expects that it is the only user of the Transport instance going forward.\n\t*/\n\tasync connect(transport) {\n\t\tif (this._transport) throw new Error(\"Already connected to a transport. Call close() before connecting to a new transport, or use a separate Protocol instance per connection.\");\n\t\tthis._transport = transport;\n\t\tconst _onclose = this.transport?.onclose;\n\t\tthis._transport.onclose = () => {\n\t\t\t_onclose?.();\n\t\t\tthis._onclose();\n\t\t};\n\t\tconst _onerror = this.transport?.onerror;\n\t\tthis._transport.onerror = (error) => {\n\t\t\t_onerror?.(error);\n\t\t\tthis._onerror(error);\n\t\t};\n\t\tconst _onmessage = this._transport?.onmessage;\n\t\tthis._transport.onmessage = (message, extra) => {\n\t\t\t_onmessage?.(message, extra);\n\t\t\tif (isJSONRPCResultResponse(message) || isJSONRPCErrorResponse(message)) this._onresponse(message);\n\t\t\telse if (isJSONRPCRequest(message)) this._onrequest(message, extra);\n\t\t\telse if (isJSONRPCNotification(message)) this._onnotification(message);\n\t\t\telse this._onerror(/* @__PURE__ */ new Error(`Unknown message type: ${JSON.stringify(message)}`));\n\t\t};\n\t\tawait this._transport.start();\n\t}\n\t_onclose() {\n\t\tconst responseHandlers = this._responseHandlers;\n\t\tthis._responseHandlers = /* @__PURE__ */ new Map();\n\t\tthis._progressHandlers.clear();\n\t\tthis._taskProgressTokens.clear();\n\t\tthis._pendingDebouncedNotifications.clear();\n\t\tfor (const info of this._timeoutInfo.values()) clearTimeout(info.timeoutId);\n\t\tthis._timeoutInfo.clear();\n\t\tfor (const controller of this._requestHandlerAbortControllers.values()) controller.abort();\n\t\tthis._requestHandlerAbortControllers.clear();\n\t\tconst error = McpError.fromError(ErrorCode.ConnectionClosed, \"Connection closed\");\n\t\tthis._transport = void 0;\n\t\tthis.onclose?.();\n\t\tfor (const handler of responseHandlers.values()) handler(error);\n\t}\n\t_onerror(error) {\n\t\tthis.onerror?.(error);\n\t}\n\t_onnotification(notification) {\n\t\tconst handler = this._notificationHandlers.get(notification.method) ?? this.fallbackNotificationHandler;\n\t\tif (handler === void 0) return;\n\t\tPromise.resolve().then(() => handler(notification)).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Uncaught error in notification handler: ${error}`)));\n\t}\n\t_onrequest(request, extra) {\n\t\tconst handler = this._requestHandlers.get(request.method) ?? this.fallbackRequestHandler;\n\t\tconst capturedTransport = this._transport;\n\t\tconst relatedTaskId = request.params?._meta?.[RELATED_TASK_META_KEY]?.taskId;\n\t\tif (handler === void 0) {\n\t\t\tconst errorResponse = {\n\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\tid: request.id,\n\t\t\t\terror: {\n\t\t\t\t\tcode: ErrorCode.MethodNotFound,\n\t\t\t\t\tmessage: \"Method not found\"\n\t\t\t\t}\n\t\t\t};\n\t\t\tif (relatedTaskId && this._taskMessageQueue) this._enqueueTaskMessage(relatedTaskId, {\n\t\t\t\ttype: \"error\",\n\t\t\t\tmessage: errorResponse,\n\t\t\t\ttimestamp: Date.now()\n\t\t\t}, capturedTransport?.sessionId).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Failed to enqueue error response: ${error}`)));\n\t\t\telse capturedTransport?.send(errorResponse).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Failed to send an error response: ${error}`)));\n\t\t\treturn;\n\t\t}\n\t\tconst abortController = new AbortController();\n\t\tthis._requestHandlerAbortControllers.set(request.id, abortController);\n\t\tconst taskCreationParams = isTaskAugmentedRequestParams(request.params) ? request.params.task : void 0;\n\t\tconst taskStore = this._taskStore ? this.requestTaskStore(request, capturedTransport?.sessionId) : void 0;\n\t\tconst fullExtra = {\n\t\t\tsignal: abortController.signal,\n\t\t\tsessionId: capturedTransport?.sessionId,\n\t\t\t_meta: request.params?._meta,\n\t\t\tsendNotification: async (notification) => {\n\t\t\t\tif (abortController.signal.aborted) return;\n\t\t\t\tconst notificationOptions = { relatedRequestId: request.id };\n\t\t\t\tif (relatedTaskId) notificationOptions.relatedTask = { taskId: relatedTaskId };\n\t\t\t\tawait this.notification(notification, notificationOptions);\n\t\t\t},\n\t\t\tsendRequest: async (r, resultSchema, options) => {\n\t\t\t\tif (abortController.signal.aborted) throw new McpError(ErrorCode.ConnectionClosed, \"Request was cancelled\");\n\t\t\t\tconst requestOptions = {\n\t\t\t\t\t...options,\n\t\t\t\t\trelatedRequestId: request.id\n\t\t\t\t};\n\t\t\t\tif (relatedTaskId && !requestOptions.relatedTask) requestOptions.relatedTask = { taskId: relatedTaskId };\n\t\t\t\tconst effectiveTaskId = requestOptions.relatedTask?.taskId ?? relatedTaskId;\n\t\t\t\tif (effectiveTaskId && taskStore) await taskStore.updateTaskStatus(effectiveTaskId, \"input_required\");\n\t\t\t\treturn await this.request(r, resultSchema, requestOptions);\n\t\t\t},\n\t\t\tauthInfo: extra?.authInfo,\n\t\t\trequestId: request.id,\n\t\t\trequestInfo: extra?.requestInfo,\n\t\t\ttaskId: relatedTaskId,\n\t\t\ttaskStore,\n\t\t\ttaskRequestedTtl: taskCreationParams?.ttl,\n\t\t\tcloseSSEStream: extra?.closeSSEStream,\n\t\t\tcloseStandaloneSSEStream: extra?.closeStandaloneSSEStream\n\t\t};\n\t\tPromise.resolve().then(() => {\n\t\t\tif (taskCreationParams) this.assertTaskHandlerCapability(request.method);\n\t\t}).then(() => handler(request, fullExtra)).then(async (result) => {\n\t\t\tif (abortController.signal.aborted) return;\n\t\t\tconst response = {\n\t\t\t\tresult,\n\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\tid: request.id\n\t\t\t};\n\t\t\tif (relatedTaskId && this._taskMessageQueue) await this._enqueueTaskMessage(relatedTaskId, {\n\t\t\t\ttype: \"response\",\n\t\t\t\tmessage: response,\n\t\t\t\ttimestamp: Date.now()\n\t\t\t}, capturedTransport?.sessionId);\n\t\t\telse await capturedTransport?.send(response);\n\t\t}, async (error) => {\n\t\t\tif (abortController.signal.aborted) return;\n\t\t\tconst errorResponse = {\n\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\tid: request.id,\n\t\t\t\terror: {\n\t\t\t\t\tcode: Number.isSafeInteger(error[\"code\"]) ? error[\"code\"] : ErrorCode.InternalError,\n\t\t\t\t\tmessage: error.message ?? \"Internal error\",\n\t\t\t\t\t...error[\"data\"] !== void 0 && { data: error[\"data\"] }\n\t\t\t\t}\n\t\t\t};\n\t\t\tif (relatedTaskId && this._taskMessageQueue) await this._enqueueTaskMessage(relatedTaskId, {\n\t\t\t\ttype: \"error\",\n\t\t\t\tmessage: errorResponse,\n\t\t\t\ttimestamp: Date.now()\n\t\t\t}, capturedTransport?.sessionId);\n\t\t\telse await capturedTransport?.send(errorResponse);\n\t\t}).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Failed to send response: ${error}`))).finally(() => {\n\t\t\tif (this._requestHandlerAbortControllers.get(request.id) === abortController) this._requestHandlerAbortControllers.delete(request.id);\n\t\t});\n\t}\n\t_onprogress(notification) {\n\t\tconst { progressToken, ...params } = notification.params;\n\t\tconst messageId = Number(progressToken);\n\t\tconst handler = this._progressHandlers.get(messageId);\n\t\tif (!handler) {\n\t\t\tthis._onerror(/* @__PURE__ */ new Error(`Received a progress notification for an unknown token: ${JSON.stringify(notification)}`));\n\t\t\treturn;\n\t\t}\n\t\tconst responseHandler = this._responseHandlers.get(messageId);\n\t\tconst timeoutInfo = this._timeoutInfo.get(messageId);\n\t\tif (timeoutInfo && responseHandler && timeoutInfo.resetTimeoutOnProgress) try {\n\t\t\tthis._resetTimeout(messageId);\n\t\t} catch (error) {\n\t\t\tthis._responseHandlers.delete(messageId);\n\t\t\tthis._progressHandlers.delete(messageId);\n\t\t\tthis._cleanupTimeout(messageId);\n\t\t\tresponseHandler(error);\n\t\t\treturn;\n\t\t}\n\t\thandler(params);\n\t}\n\t_onresponse(response) {\n\t\tconst messageId = Number(response.id);\n\t\tconst resolver = this._requestResolvers.get(messageId);\n\t\tif (resolver) {\n\t\t\tthis._requestResolvers.delete(messageId);\n\t\t\tif (isJSONRPCResultResponse(response)) resolver(response);\n\t\t\telse resolver(new McpError(response.error.code, response.error.message, response.error.data));\n\t\t\treturn;\n\t\t}\n\t\tconst handler = this._responseHandlers.get(messageId);\n\t\tif (handler === void 0) {\n\t\t\tthis._onerror(/* @__PURE__ */ new Error(`Received a response for an unknown message ID: ${JSON.stringify(response)}`));\n\t\t\treturn;\n\t\t}\n\t\tthis._responseHandlers.delete(messageId);\n\t\tthis._cleanupTimeout(messageId);\n\t\tlet isTaskResponse = false;\n\t\tif (isJSONRPCResultResponse(response) && response.result && typeof response.result === \"object\") {\n\t\t\tconst result = response.result;\n\t\t\tif (result.task && typeof result.task === \"object\") {\n\t\t\t\tconst task = result.task;\n\t\t\t\tif (typeof task.taskId === \"string\") {\n\t\t\t\t\tisTaskResponse = true;\n\t\t\t\t\tthis._taskProgressTokens.set(task.taskId, messageId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tif (!isTaskResponse) this._progressHandlers.delete(messageId);\n\t\tif (isJSONRPCResultResponse(response)) handler(response);\n\t\telse handler(McpError.fromError(response.error.code, response.error.message, response.error.data));\n\t}\n\tget transport() {\n\t\treturn this._transport;\n\t}\n\t/**\n\t* Closes the connection.\n\t*/\n\tasync close() {\n\t\tawait this._transport?.close();\n\t}\n\t/**\n\t* Sends a request and returns an AsyncGenerator that yields response messages.\n\t* The generator is guaranteed to end with either a 'result' or 'error' message.\n\t*\n\t* @example\n\t* ```typescript\n\t* const stream = protocol.requestStream(request, resultSchema, options);\n\t* for await (const message of stream) {\n\t* switch (message.type) {\n\t* case 'taskCreated':\n\t* console.log('Task created:', message.task.taskId);\n\t* break;\n\t* case 'taskStatus':\n\t* console.log('Task status:', message.task.status);\n\t* break;\n\t* case 'result':\n\t* console.log('Final result:', message.result);\n\t* break;\n\t* case 'error':\n\t* console.error('Error:', message.error);\n\t* break;\n\t* }\n\t* }\n\t* ```\n\t*\n\t* @experimental Use `client.experimental.tasks.requestStream()` to access this method.\n\t*/\n\tasync *requestStream(request, resultSchema, options) {\n\t\tconst { task } = options ?? {};\n\t\tif (!task) {\n\t\t\ttry {\n\t\t\t\tyield {\n\t\t\t\t\ttype: \"result\",\n\t\t\t\t\tresult: await this.request(request, resultSchema, options)\n\t\t\t\t};\n\t\t\t} catch (error) {\n\t\t\t\tyield {\n\t\t\t\t\ttype: \"error\",\n\t\t\t\t\terror: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))\n\t\t\t\t};\n\t\t\t}\n\t\t\treturn;\n\t\t}\n\t\tlet taskId;\n\t\ttry {\n\t\t\tconst createResult = await this.request(request, CreateTaskResultSchema, options);\n\t\t\tif (createResult.task) {\n\t\t\t\ttaskId = createResult.task.taskId;\n\t\t\t\tyield {\n\t\t\t\t\ttype: \"taskCreated\",\n\t\t\t\t\ttask: createResult.task\n\t\t\t\t};\n\t\t\t} else throw new McpError(ErrorCode.InternalError, \"Task creation did not return a task\");\n\t\t\twhile (true) {\n\t\t\t\tconst task = await this.getTask({ taskId }, options);\n\t\t\t\tyield {\n\t\t\t\t\ttype: \"taskStatus\",\n\t\t\t\t\ttask\n\t\t\t\t};\n\t\t\t\tif (isTerminal(task.status)) {\n\t\t\t\t\tif (task.status === \"completed\") yield {\n\t\t\t\t\t\ttype: \"result\",\n\t\t\t\t\t\tresult: await this.getTaskResult({ taskId }, resultSchema, options)\n\t\t\t\t\t};\n\t\t\t\t\telse if (task.status === \"failed\") yield {\n\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\terror: new McpError(ErrorCode.InternalError, `Task ${taskId} failed`)\n\t\t\t\t\t};\n\t\t\t\t\telse if (task.status === \"cancelled\") yield {\n\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\terror: new McpError(ErrorCode.InternalError, `Task ${taskId} was cancelled`)\n\t\t\t\t\t};\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (task.status === \"input_required\") {\n\t\t\t\t\tyield {\n\t\t\t\t\t\ttype: \"result\",\n\t\t\t\t\t\tresult: await this.getTaskResult({ taskId }, resultSchema, options)\n\t\t\t\t\t};\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tconst pollInterval = task.pollInterval ?? this._options?.defaultTaskPollInterval ?? 1e3;\n\t\t\t\tawait new Promise((resolve) => setTimeout(resolve, pollInterval));\n\t\t\t\toptions?.signal?.throwIfAborted();\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tyield {\n\t\t\t\ttype: \"error\",\n\t\t\t\terror: error instanceof McpError ? error : new McpError(ErrorCode.InternalError, String(error))\n\t\t\t};\n\t\t}\n\t}\n\t/**\n\t* Sends a request and waits for a response.\n\t*\n\t* Do not use this method to emit notifications! Use notification() instead.\n\t*/\n\trequest(request, resultSchema, options) {\n\t\tconst { relatedRequestId, resumptionToken, onresumptiontoken, task, relatedTask } = options ?? {};\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tconst earlyReject = (error) => {\n\t\t\t\treject(error);\n\t\t\t};\n\t\t\tif (!this._transport) {\n\t\t\t\tearlyReject(/* @__PURE__ */ new Error(\"Not connected\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (this._options?.enforceStrictCapabilities === true) try {\n\t\t\t\tthis.assertCapabilityForMethod(request.method);\n\t\t\t\tif (task) this.assertTaskCapability(request.method);\n\t\t\t} catch (e) {\n\t\t\t\tearlyReject(e);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\toptions?.signal?.throwIfAborted();\n\t\t\tconst messageId = this._requestMessageId++;\n\t\t\tconst jsonrpcRequest = {\n\t\t\t\t...request,\n\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\tid: messageId\n\t\t\t};\n\t\t\tif (options?.onprogress) {\n\t\t\t\tthis._progressHandlers.set(messageId, options.onprogress);\n\t\t\t\tjsonrpcRequest.params = {\n\t\t\t\t\t...request.params,\n\t\t\t\t\t_meta: {\n\t\t\t\t\t\t...request.params?._meta || {},\n\t\t\t\t\t\tprogressToken: messageId\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (task) jsonrpcRequest.params = {\n\t\t\t\t...jsonrpcRequest.params,\n\t\t\t\ttask\n\t\t\t};\n\t\t\tif (relatedTask) jsonrpcRequest.params = {\n\t\t\t\t...jsonrpcRequest.params,\n\t\t\t\t_meta: {\n\t\t\t\t\t...jsonrpcRequest.params?._meta || {},\n\t\t\t\t\t[RELATED_TASK_META_KEY]: relatedTask\n\t\t\t\t}\n\t\t\t};\n\t\t\tconst cancel = (reason) => {\n\t\t\t\tthis._responseHandlers.delete(messageId);\n\t\t\t\tthis._progressHandlers.delete(messageId);\n\t\t\t\tthis._cleanupTimeout(messageId);\n\t\t\t\tthis._transport?.send({\n\t\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\t\tmethod: \"notifications/cancelled\",\n\t\t\t\t\tparams: {\n\t\t\t\t\t\trequestId: messageId,\n\t\t\t\t\t\treason: String(reason)\n\t\t\t\t\t}\n\t\t\t\t}, {\n\t\t\t\t\trelatedRequestId,\n\t\t\t\t\tresumptionToken,\n\t\t\t\t\tonresumptiontoken\n\t\t\t\t}).catch((error) => this._onerror(/* @__PURE__ */ new Error(`Failed to send cancellation: ${error}`)));\n\t\t\t\treject(reason instanceof McpError ? reason : new McpError(ErrorCode.RequestTimeout, String(reason)));\n\t\t\t};\n\t\t\tthis._responseHandlers.set(messageId, (response) => {\n\t\t\t\tif (options?.signal?.aborted) return;\n\t\t\t\tif (response instanceof Error) return reject(response);\n\t\t\t\ttry {\n\t\t\t\t\tconst parseResult = safeParse(resultSchema, response.result);\n\t\t\t\t\tif (!parseResult.success) reject(parseResult.error);\n\t\t\t\t\telse resolve(parseResult.data);\n\t\t\t\t} catch (error) {\n\t\t\t\t\treject(error);\n\t\t\t\t}\n\t\t\t});\n\t\t\toptions?.signal?.addEventListener(\"abort\", () => {\n\t\t\t\tcancel(options?.signal?.reason);\n\t\t\t});\n\t\t\tconst timeout = options?.timeout ?? 6e4;\n\t\t\tconst timeoutHandler = () => cancel(McpError.fromError(ErrorCode.RequestTimeout, \"Request timed out\", { timeout }));\n\t\t\tthis._setupTimeout(messageId, timeout, options?.maxTotalTimeout, timeoutHandler, options?.resetTimeoutOnProgress ?? false);\n\t\t\tconst relatedTaskId = relatedTask?.taskId;\n\t\t\tif (relatedTaskId) {\n\t\t\t\tconst responseResolver = (response) => {\n\t\t\t\t\tconst handler = this._responseHandlers.get(messageId);\n\t\t\t\t\tif (handler) handler(response);\n\t\t\t\t\telse this._onerror(/* @__PURE__ */ new Error(`Response handler missing for side-channeled request ${messageId}`));\n\t\t\t\t};\n\t\t\t\tthis._requestResolvers.set(messageId, responseResolver);\n\t\t\t\tthis._enqueueTaskMessage(relatedTaskId, {\n\t\t\t\t\ttype: \"request\",\n\t\t\t\t\tmessage: jsonrpcRequest,\n\t\t\t\t\ttimestamp: Date.now()\n\t\t\t\t}).catch((error) => {\n\t\t\t\t\tthis._cleanupTimeout(messageId);\n\t\t\t\t\treject(error);\n\t\t\t\t});\n\t\t\t} else this._transport.send(jsonrpcRequest, {\n\t\t\t\trelatedRequestId,\n\t\t\t\tresumptionToken,\n\t\t\t\tonresumptiontoken\n\t\t\t}).catch((error) => {\n\t\t\t\tthis._cleanupTimeout(messageId);\n\t\t\t\treject(error);\n\t\t\t});\n\t\t});\n\t}\n\t/**\n\t* Gets the current status of a task.\n\t*\n\t* @experimental Use `client.experimental.tasks.getTask()` to access this method.\n\t*/\n\tasync getTask(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"tasks/get\",\n\t\t\tparams\n\t\t}, GetTaskResultSchema, options);\n\t}\n\t/**\n\t* Retrieves the result of a completed task.\n\t*\n\t* @experimental Use `client.experimental.tasks.getTaskResult()` to access this method.\n\t*/\n\tasync getTaskResult(params, resultSchema, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"tasks/result\",\n\t\t\tparams\n\t\t}, resultSchema, options);\n\t}\n\t/**\n\t* Lists tasks, optionally starting from a pagination cursor.\n\t*\n\t* @experimental Use `client.experimental.tasks.listTasks()` to access this method.\n\t*/\n\tasync listTasks(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"tasks/list\",\n\t\t\tparams\n\t\t}, ListTasksResultSchema, options);\n\t}\n\t/**\n\t* Cancels a specific task.\n\t*\n\t* @experimental Use `client.experimental.tasks.cancelTask()` to access this method.\n\t*/\n\tasync cancelTask(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"tasks/cancel\",\n\t\t\tparams\n\t\t}, CancelTaskResultSchema, options);\n\t}\n\t/**\n\t* Emits a notification, which is a one-way message that does not expect a response.\n\t*/\n\tasync notification(notification, options) {\n\t\tif (!this._transport) throw new Error(\"Not connected\");\n\t\tthis.assertNotificationCapability(notification.method);\n\t\tconst relatedTaskId = options?.relatedTask?.taskId;\n\t\tif (relatedTaskId) {\n\t\t\tconst jsonrpcNotification = {\n\t\t\t\t...notification,\n\t\t\t\tjsonrpc: \"2.0\",\n\t\t\t\tparams: {\n\t\t\t\t\t...notification.params,\n\t\t\t\t\t_meta: {\n\t\t\t\t\t\t...notification.params?._meta || {},\n\t\t\t\t\t\t[RELATED_TASK_META_KEY]: options.relatedTask\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t\tawait this._enqueueTaskMessage(relatedTaskId, {\n\t\t\t\ttype: \"notification\",\n\t\t\t\tmessage: jsonrpcNotification,\n\t\t\t\ttimestamp: Date.now()\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tif ((this._options?.debouncedNotificationMethods ?? []).includes(notification.method) && !notification.params && !options?.relatedRequestId && !options?.relatedTask) {\n\t\t\tif (this._pendingDebouncedNotifications.has(notification.method)) return;\n\t\t\tthis._pendingDebouncedNotifications.add(notification.method);\n\t\t\tPromise.resolve().then(() => {\n\t\t\t\tthis._pendingDebouncedNotifications.delete(notification.method);\n\t\t\t\tif (!this._transport) return;\n\t\t\t\tlet jsonrpcNotification = {\n\t\t\t\t\t...notification,\n\t\t\t\t\tjsonrpc: \"2.0\"\n\t\t\t\t};\n\t\t\t\tif (options?.relatedTask) jsonrpcNotification = {\n\t\t\t\t\t...jsonrpcNotification,\n\t\t\t\t\tparams: {\n\t\t\t\t\t\t...jsonrpcNotification.params,\n\t\t\t\t\t\t_meta: {\n\t\t\t\t\t\t\t...jsonrpcNotification.params?._meta || {},\n\t\t\t\t\t\t\t[RELATED_TASK_META_KEY]: options.relatedTask\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t\tthis._transport?.send(jsonrpcNotification, options).catch((error) => this._onerror(error));\n\t\t\t});\n\t\t\treturn;\n\t\t}\n\t\tlet jsonrpcNotification = {\n\t\t\t...notification,\n\t\t\tjsonrpc: \"2.0\"\n\t\t};\n\t\tif (options?.relatedTask) jsonrpcNotification = {\n\t\t\t...jsonrpcNotification,\n\t\t\tparams: {\n\t\t\t\t...jsonrpcNotification.params,\n\t\t\t\t_meta: {\n\t\t\t\t\t...jsonrpcNotification.params?._meta || {},\n\t\t\t\t\t[RELATED_TASK_META_KEY]: options.relatedTask\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tawait this._transport.send(jsonrpcNotification, options);\n\t}\n\t/**\n\t* Registers a handler to invoke when this protocol object receives a request with the given method.\n\t*\n\t* Note that this will replace any previous request handler for the same method.\n\t*/\n\tsetRequestHandler(requestSchema, handler) {\n\t\tconst method = getMethodLiteral(requestSchema);\n\t\tthis.assertRequestHandlerCapability(method);\n\t\tthis._requestHandlers.set(method, (request, extra) => {\n\t\t\tconst parsed = parseWithCompat(requestSchema, request);\n\t\t\treturn Promise.resolve(handler(parsed, extra));\n\t\t});\n\t}\n\t/**\n\t* Removes the request handler for the given method.\n\t*/\n\tremoveRequestHandler(method) {\n\t\tthis._requestHandlers.delete(method);\n\t}\n\t/**\n\t* Asserts that a request handler has not already been set for the given method, in preparation for a new one being automatically installed.\n\t*/\n\tassertCanSetRequestHandler(method) {\n\t\tif (this._requestHandlers.has(method)) throw new Error(`A request handler for ${method} already exists, which would be overridden`);\n\t}\n\t/**\n\t* Registers a handler to invoke when this protocol object receives a notification with the given method.\n\t*\n\t* Note that this will replace any previous notification handler for the same method.\n\t*/\n\tsetNotificationHandler(notificationSchema, handler) {\n\t\tconst method = getMethodLiteral(notificationSchema);\n\t\tthis._notificationHandlers.set(method, (notification) => {\n\t\t\tconst parsed = parseWithCompat(notificationSchema, notification);\n\t\t\treturn Promise.resolve(handler(parsed));\n\t\t});\n\t}\n\t/**\n\t* Removes the notification handler for the given method.\n\t*/\n\tremoveNotificationHandler(method) {\n\t\tthis._notificationHandlers.delete(method);\n\t}\n\t/**\n\t* Cleans up the progress handler associated with a task.\n\t* This should be called when a task reaches a terminal status.\n\t*/\n\t_cleanupTaskProgressHandler(taskId) {\n\t\tconst progressToken = this._taskProgressTokens.get(taskId);\n\t\tif (progressToken !== void 0) {\n\t\t\tthis._progressHandlers.delete(progressToken);\n\t\t\tthis._taskProgressTokens.delete(taskId);\n\t\t}\n\t}\n\t/**\n\t* Enqueues a task-related message for side-channel delivery via tasks/result.\n\t* @param taskId The task ID to associate the message with\n\t* @param message The message to enqueue\n\t* @param sessionId Optional session ID for binding the operation to a specific session\n\t* @throws Error if taskStore is not configured or if enqueue fails (e.g., queue overflow)\n\t*\n\t* Note: If enqueue fails, it's the TaskMessageQueue implementation's responsibility to handle\n\t* the error appropriately (e.g., by failing the task, logging, etc.). The Protocol layer\n\t* simply propagates the error.\n\t*/\n\tasync _enqueueTaskMessage(taskId, message, sessionId) {\n\t\tif (!this._taskStore || !this._taskMessageQueue) throw new Error(\"Cannot enqueue task message: taskStore and taskMessageQueue are not configured\");\n\t\tconst maxQueueSize = this._options?.maxTaskQueueSize;\n\t\tawait this._taskMessageQueue.enqueue(taskId, message, sessionId, maxQueueSize);\n\t}\n\t/**\n\t* Clears the message queue for a task and rejects any pending request resolvers.\n\t* @param taskId The task ID whose queue should be cleared\n\t* @param sessionId Optional session ID for binding the operation to a specific session\n\t*/\n\tasync _clearTaskQueue(taskId, sessionId) {\n\t\tif (this._taskMessageQueue) {\n\t\t\tconst messages = await this._taskMessageQueue.dequeueAll(taskId, sessionId);\n\t\t\tfor (const message of messages) if (message.type === \"request\" && isJSONRPCRequest(message.message)) {\n\t\t\t\tconst requestId = message.message.id;\n\t\t\t\tconst resolver = this._requestResolvers.get(requestId);\n\t\t\t\tif (resolver) {\n\t\t\t\t\tresolver(new McpError(ErrorCode.InternalError, \"Task cancelled or completed\"));\n\t\t\t\t\tthis._requestResolvers.delete(requestId);\n\t\t\t\t} else this._onerror(/* @__PURE__ */ new Error(`Resolver missing for request ${requestId} during task ${taskId} cleanup`));\n\t\t\t}\n\t\t}\n\t}\n\t/**\n\t* Waits for a task update (new messages or status change) with abort signal support.\n\t* Uses polling to check for updates at the task's configured poll interval.\n\t* @param taskId The task ID to wait for\n\t* @param signal Abort signal to cancel the wait\n\t* @returns Promise that resolves when an update occurs or rejects if aborted\n\t*/\n\tasync _waitForTaskUpdate(taskId, signal) {\n\t\tlet interval = this._options?.defaultTaskPollInterval ?? 1e3;\n\t\ttry {\n\t\t\tconst task = await this._taskStore?.getTask(taskId);\n\t\t\tif (task?.pollInterval) interval = task.pollInterval;\n\t\t} catch {}\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(new McpError(ErrorCode.InvalidRequest, \"Request cancelled\"));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst timeoutId = setTimeout(resolve, interval);\n\t\t\tsignal.addEventListener(\"abort\", () => {\n\t\t\t\tclearTimeout(timeoutId);\n\t\t\t\treject(new McpError(ErrorCode.InvalidRequest, \"Request cancelled\"));\n\t\t\t}, { once: true });\n\t\t});\n\t}\n\trequestTaskStore(request, sessionId) {\n\t\tconst taskStore = this._taskStore;\n\t\tif (!taskStore) throw new Error(\"No task store configured\");\n\t\treturn {\n\t\t\tcreateTask: async (taskParams) => {\n\t\t\t\tif (!request) throw new Error(\"No request provided\");\n\t\t\t\treturn await taskStore.createTask(taskParams, request.id, {\n\t\t\t\t\tmethod: request.method,\n\t\t\t\t\tparams: request.params\n\t\t\t\t}, sessionId);\n\t\t\t},\n\t\t\tgetTask: async (taskId) => {\n\t\t\t\tconst task = await taskStore.getTask(taskId, sessionId);\n\t\t\t\tif (!task) throw new McpError(ErrorCode.InvalidParams, \"Failed to retrieve task: Task not found\");\n\t\t\t\treturn task;\n\t\t\t},\n\t\t\tstoreTaskResult: async (taskId, status, result) => {\n\t\t\t\tawait taskStore.storeTaskResult(taskId, status, result, sessionId);\n\t\t\t\tconst task = await taskStore.getTask(taskId, sessionId);\n\t\t\t\tif (task) {\n\t\t\t\t\tconst notification = TaskStatusNotificationSchema.parse({\n\t\t\t\t\t\tmethod: \"notifications/tasks/status\",\n\t\t\t\t\t\tparams: task\n\t\t\t\t\t});\n\t\t\t\t\tawait this.notification(notification);\n\t\t\t\t\tif (isTerminal(task.status)) this._cleanupTaskProgressHandler(taskId);\n\t\t\t\t}\n\t\t\t},\n\t\t\tgetTaskResult: (taskId) => {\n\t\t\t\treturn taskStore.getTaskResult(taskId, sessionId);\n\t\t\t},\n\t\t\tupdateTaskStatus: async (taskId, status, statusMessage) => {\n\t\t\t\tconst task = await taskStore.getTask(taskId, sessionId);\n\t\t\t\tif (!task) throw new McpError(ErrorCode.InvalidParams, `Task \"${taskId}\" not found - it may have been cleaned up`);\n\t\t\t\tif (isTerminal(task.status)) throw new McpError(ErrorCode.InvalidParams, `Cannot update task \"${taskId}\" from terminal status \"${task.status}\" to \"${status}\". Terminal states (completed, failed, cancelled) cannot transition to other states.`);\n\t\t\t\tawait taskStore.updateTaskStatus(taskId, status, statusMessage, sessionId);\n\t\t\t\tconst updatedTask = await taskStore.getTask(taskId, sessionId);\n\t\t\t\tif (updatedTask) {\n\t\t\t\t\tconst notification = TaskStatusNotificationSchema.parse({\n\t\t\t\t\t\tmethod: \"notifications/tasks/status\",\n\t\t\t\t\t\tparams: updatedTask\n\t\t\t\t\t});\n\t\t\t\t\tawait this.notification(notification);\n\t\t\t\t\tif (isTerminal(updatedTask.status)) this._cleanupTaskProgressHandler(taskId);\n\t\t\t\t}\n\t\t\t},\n\t\t\tlistTasks: (cursor) => {\n\t\t\t\treturn taskStore.listTasks(cursor, sessionId);\n\t\t\t}\n\t\t};\n\t}\n};\nfunction isPlainObject(value) {\n\treturn value !== null && typeof value === \"object\" && !Array.isArray(value);\n}\nfunction mergeCapabilities(base, additional) {\n\tconst result = { ...base };\n\tfor (const key in additional) {\n\t\tconst k = key;\n\t\tconst addValue = additional[k];\n\t\tif (addValue === void 0) continue;\n\t\tconst baseValue = result[k];\n\t\tif (isPlainObject(baseValue) && isPlainObject(addValue)) result[k] = {\n\t\t\t...baseValue,\n\t\t\t...addValue\n\t\t};\n\t\telse result[k] = addValue;\n\t}\n\treturn result;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/code.js\nvar require_code$1 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.regexpCode = exports.getEsmExportName = exports.getProperty = exports.safeStringify = exports.stringify = exports.strConcat = exports.addCodeArg = exports.str = exports._ = exports.nil = exports._Code = exports.Name = exports.IDENTIFIER = exports._CodeOrName = void 0;\n\tvar _CodeOrName = class {};\n\texports._CodeOrName = _CodeOrName;\n\texports.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;\n\tvar Name = class extends _CodeOrName {\n\t\tconstructor(s) {\n\t\t\tsuper();\n\t\t\tif (!exports.IDENTIFIER.test(s)) throw new Error(\"CodeGen: name must be a valid identifier\");\n\t\t\tthis.str = s;\n\t\t}\n\t\ttoString() {\n\t\t\treturn this.str;\n\t\t}\n\t\temptyStr() {\n\t\t\treturn false;\n\t\t}\n\t\tget names() {\n\t\t\treturn { [this.str]: 1 };\n\t\t}\n\t};\n\texports.Name = Name;\n\tvar _Code = class extends _CodeOrName {\n\t\tconstructor(code) {\n\t\t\tsuper();\n\t\t\tthis._items = typeof code === \"string\" ? [code] : code;\n\t\t}\n\t\ttoString() {\n\t\t\treturn this.str;\n\t\t}\n\t\temptyStr() {\n\t\t\tif (this._items.length > 1) return false;\n\t\t\tconst item = this._items[0];\n\t\t\treturn item === \"\" || item === \"\\\"\\\"\";\n\t\t}\n\t\tget str() {\n\t\t\tvar _a;\n\t\t\treturn (_a = this._str) !== null && _a !== void 0 ? _a : this._str = this._items.reduce((s, c) => `${s}${c}`, \"\");\n\t\t}\n\t\tget names() {\n\t\t\tvar _a;\n\t\t\treturn (_a = this._names) !== null && _a !== void 0 ? _a : this._names = this._items.reduce((names, c) => {\n\t\t\t\tif (c instanceof Name) names[c.str] = (names[c.str] || 0) + 1;\n\t\t\t\treturn names;\n\t\t\t}, {});\n\t\t}\n\t};\n\texports._Code = _Code;\n\texports.nil = new _Code(\"\");\n\tfunction _(strs, ...args) {\n\t\tconst code = [strs[0]];\n\t\tlet i = 0;\n\t\twhile (i < args.length) {\n\t\t\taddCodeArg(code, args[i]);\n\t\t\tcode.push(strs[++i]);\n\t\t}\n\t\treturn new _Code(code);\n\t}\n\texports._ = _;\n\tconst plus = new _Code(\"+\");\n\tfunction str(strs, ...args) {\n\t\tconst expr = [safeStringify(strs[0])];\n\t\tlet i = 0;\n\t\twhile (i < args.length) {\n\t\t\texpr.push(plus);\n\t\t\taddCodeArg(expr, args[i]);\n\t\t\texpr.push(plus, safeStringify(strs[++i]));\n\t\t}\n\t\toptimize(expr);\n\t\treturn new _Code(expr);\n\t}\n\texports.str = str;\n\tfunction addCodeArg(code, arg) {\n\t\tif (arg instanceof _Code) code.push(...arg._items);\n\t\telse if (arg instanceof Name) code.push(arg);\n\t\telse code.push(interpolate(arg));\n\t}\n\texports.addCodeArg = addCodeArg;\n\tfunction optimize(expr) {\n\t\tlet i = 1;\n\t\twhile (i < expr.length - 1) {\n\t\t\tif (expr[i] === plus) {\n\t\t\t\tconst res = mergeExprItems(expr[i - 1], expr[i + 1]);\n\t\t\t\tif (res !== void 0) {\n\t\t\t\t\texpr.splice(i - 1, 3, res);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\texpr[i++] = \"+\";\n\t\t\t}\n\t\t\ti++;\n\t\t}\n\t}\n\tfunction mergeExprItems(a, b) {\n\t\tif (b === \"\\\"\\\"\") return a;\n\t\tif (a === \"\\\"\\\"\") return b;\n\t\tif (typeof a == \"string\") {\n\t\t\tif (b instanceof Name || a[a.length - 1] !== \"\\\"\") return;\n\t\t\tif (typeof b != \"string\") return `${a.slice(0, -1)}${b}\"`;\n\t\t\tif (b[0] === \"\\\"\") return a.slice(0, -1) + b.slice(1);\n\t\t\treturn;\n\t\t}\n\t\tif (typeof b == \"string\" && b[0] === \"\\\"\" && !(a instanceof Name)) return `\"${a}${b.slice(1)}`;\n\t}\n\tfunction strConcat(c1, c2) {\n\t\treturn c2.emptyStr() ? c1 : c1.emptyStr() ? c2 : str`${c1}${c2}`;\n\t}\n\texports.strConcat = strConcat;\n\tfunction interpolate(x) {\n\t\treturn typeof x == \"number\" || typeof x == \"boolean\" || x === null ? x : safeStringify(Array.isArray(x) ? x.join(\",\") : x);\n\t}\n\tfunction stringify(x) {\n\t\treturn new _Code(safeStringify(x));\n\t}\n\texports.stringify = stringify;\n\tfunction safeStringify(x) {\n\t\treturn JSON.stringify(x).replace(/\\u2028/g, \"\\\\u2028\").replace(/\\u2029/g, \"\\\\u2029\");\n\t}\n\texports.safeStringify = safeStringify;\n\tfunction getProperty(key) {\n\t\treturn typeof key == \"string\" && exports.IDENTIFIER.test(key) ? new _Code(`.${key}`) : _`[${key}]`;\n\t}\n\texports.getProperty = getProperty;\n\tfunction getEsmExportName(key) {\n\t\tif (typeof key == \"string\" && exports.IDENTIFIER.test(key)) return new _Code(`${key}`);\n\t\tthrow new Error(`CodeGen: invalid export name: ${key}, use explicit $id name mapping`);\n\t}\n\texports.getEsmExportName = getEsmExportName;\n\tfunction regexpCode(rx) {\n\t\treturn new _Code(rx.toString());\n\t}\n\texports.regexpCode = regexpCode;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/scope.js\nvar require_scope = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;\n\tconst code_1 = require_code$1();\n\tvar ValueError = class extends Error {\n\t\tconstructor(name) {\n\t\t\tsuper(`CodeGen: \"code\" for ${name} not defined`);\n\t\t\tthis.value = name.value;\n\t\t}\n\t};\n\tvar UsedValueState;\n\t(function(UsedValueState) {\n\t\tUsedValueState[UsedValueState[\"Started\"] = 0] = \"Started\";\n\t\tUsedValueState[UsedValueState[\"Completed\"] = 1] = \"Completed\";\n\t})(UsedValueState || (exports.UsedValueState = UsedValueState = {}));\n\texports.varKinds = {\n\t\tconst: new code_1.Name(\"const\"),\n\t\tlet: new code_1.Name(\"let\"),\n\t\tvar: new code_1.Name(\"var\")\n\t};\n\tvar Scope = class {\n\t\tconstructor({ prefixes, parent } = {}) {\n\t\t\tthis._names = {};\n\t\t\tthis._prefixes = prefixes;\n\t\t\tthis._parent = parent;\n\t\t}\n\t\ttoName(nameOrPrefix) {\n\t\t\treturn nameOrPrefix instanceof code_1.Name ? nameOrPrefix : this.name(nameOrPrefix);\n\t\t}\n\t\tname(prefix) {\n\t\t\treturn new code_1.Name(this._newName(prefix));\n\t\t}\n\t\t_newName(prefix) {\n\t\t\tconst ng = this._names[prefix] || this._nameGroup(prefix);\n\t\t\treturn `${prefix}${ng.index++}`;\n\t\t}\n\t\t_nameGroup(prefix) {\n\t\t\tvar _a, _b;\n\t\t\tif (((_b = (_a = this._parent) === null || _a === void 0 ? void 0 : _a._prefixes) === null || _b === void 0 ? void 0 : _b.has(prefix)) || this._prefixes && !this._prefixes.has(prefix)) throw new Error(`CodeGen: prefix \"${prefix}\" is not allowed in this scope`);\n\t\t\treturn this._names[prefix] = {\n\t\t\t\tprefix,\n\t\t\t\tindex: 0\n\t\t\t};\n\t\t}\n\t};\n\texports.Scope = Scope;\n\tvar ValueScopeName = class extends code_1.Name {\n\t\tconstructor(prefix, nameStr) {\n\t\t\tsuper(nameStr);\n\t\t\tthis.prefix = prefix;\n\t\t}\n\t\tsetValue(value, { property, itemIndex }) {\n\t\t\tthis.value = value;\n\t\t\tthis.scopePath = (0, code_1._)`.${new code_1.Name(property)}[${itemIndex}]`;\n\t\t}\n\t};\n\texports.ValueScopeName = ValueScopeName;\n\tconst line = (0, code_1._)`\\n`;\n\tvar ValueScope = class extends Scope {\n\t\tconstructor(opts) {\n\t\t\tsuper(opts);\n\t\t\tthis._values = {};\n\t\t\tthis._scope = opts.scope;\n\t\t\tthis.opts = {\n\t\t\t\t...opts,\n\t\t\t\t_n: opts.lines ? line : code_1.nil\n\t\t\t};\n\t\t}\n\t\tget() {\n\t\t\treturn this._scope;\n\t\t}\n\t\tname(prefix) {\n\t\t\treturn new ValueScopeName(prefix, this._newName(prefix));\n\t\t}\n\t\tvalue(nameOrPrefix, value) {\n\t\t\tvar _a;\n\t\t\tif (value.ref === void 0) throw new Error(\"CodeGen: ref must be passed in value\");\n\t\t\tconst name = this.toName(nameOrPrefix);\n\t\t\tconst { prefix } = name;\n\t\t\tconst valueKey = (_a = value.key) !== null && _a !== void 0 ? _a : value.ref;\n\t\t\tlet vs = this._values[prefix];\n\t\t\tif (vs) {\n\t\t\t\tconst _name = vs.get(valueKey);\n\t\t\t\tif (_name) return _name;\n\t\t\t} else vs = this._values[prefix] = /* @__PURE__ */ new Map();\n\t\t\tvs.set(valueKey, name);\n\t\t\tconst s = this._scope[prefix] || (this._scope[prefix] = []);\n\t\t\tconst itemIndex = s.length;\n\t\t\ts[itemIndex] = value.ref;\n\t\t\tname.setValue(value, {\n\t\t\t\tproperty: prefix,\n\t\t\t\titemIndex\n\t\t\t});\n\t\t\treturn name;\n\t\t}\n\t\tgetValue(prefix, keyOrRef) {\n\t\t\tconst vs = this._values[prefix];\n\t\t\tif (!vs) return;\n\t\t\treturn vs.get(keyOrRef);\n\t\t}\n\t\tscopeRefs(scopeName, values = this._values) {\n\t\t\treturn this._reduceValues(values, (name) => {\n\t\t\t\tif (name.scopePath === void 0) throw new Error(`CodeGen: name \"${name}\" has no value`);\n\t\t\t\treturn (0, code_1._)`${scopeName}${name.scopePath}`;\n\t\t\t});\n\t\t}\n\t\tscopeCode(values = this._values, usedValues, getCode) {\n\t\t\treturn this._reduceValues(values, (name) => {\n\t\t\t\tif (name.value === void 0) throw new Error(`CodeGen: name \"${name}\" has no value`);\n\t\t\t\treturn name.value.code;\n\t\t\t}, usedValues, getCode);\n\t\t}\n\t\t_reduceValues(values, valueCode, usedValues = {}, getCode) {\n\t\t\tlet code = code_1.nil;\n\t\t\tfor (const prefix in values) {\n\t\t\t\tconst vs = values[prefix];\n\t\t\t\tif (!vs) continue;\n\t\t\t\tconst nameSet = usedValues[prefix] = usedValues[prefix] || /* @__PURE__ */ new Map();\n\t\t\t\tvs.forEach((name) => {\n\t\t\t\t\tif (nameSet.has(name)) return;\n\t\t\t\t\tnameSet.set(name, UsedValueState.Started);\n\t\t\t\t\tlet c = valueCode(name);\n\t\t\t\t\tif (c) {\n\t\t\t\t\t\tconst def = this.opts.es5 ? exports.varKinds.var : exports.varKinds.const;\n\t\t\t\t\t\tcode = (0, code_1._)`${code}${def} ${name} = ${c};${this.opts._n}`;\n\t\t\t\t\t} else if (c = getCode === null || getCode === void 0 ? void 0 : getCode(name)) code = (0, code_1._)`${code}${c}${this.opts._n}`;\n\t\t\t\t\telse throw new ValueError(name);\n\t\t\t\t\tnameSet.set(name, UsedValueState.Completed);\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn code;\n\t\t}\n\t};\n\texports.ValueScope = ValueScope;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/codegen/index.js\nvar require_codegen = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;\n\tconst code_1 = require_code$1();\n\tconst scope_1 = require_scope();\n\tvar code_2 = require_code$1();\n\tObject.defineProperty(exports, \"_\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2._;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"str\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.str;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"strConcat\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.strConcat;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"nil\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.nil;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"getProperty\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.getProperty;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"stringify\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.stringify;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"regexpCode\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.regexpCode;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"Name\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn code_2.Name;\n\t\t}\n\t});\n\tvar scope_2 = require_scope();\n\tObject.defineProperty(exports, \"Scope\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn scope_2.Scope;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"ValueScope\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn scope_2.ValueScope;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"ValueScopeName\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn scope_2.ValueScopeName;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"varKinds\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn scope_2.varKinds;\n\t\t}\n\t});\n\texports.operators = {\n\t\tGT: new code_1._Code(\">\"),\n\t\tGTE: new code_1._Code(\">=\"),\n\t\tLT: new code_1._Code(\"<\"),\n\t\tLTE: new code_1._Code(\"<=\"),\n\t\tEQ: new code_1._Code(\"===\"),\n\t\tNEQ: new code_1._Code(\"!==\"),\n\t\tNOT: new code_1._Code(\"!\"),\n\t\tOR: new code_1._Code(\"||\"),\n\t\tAND: new code_1._Code(\"&&\"),\n\t\tADD: new code_1._Code(\"+\")\n\t};\n\tvar Node = class {\n\t\toptimizeNodes() {\n\t\t\treturn this;\n\t\t}\n\t\toptimizeNames(_names, _constants) {\n\t\t\treturn this;\n\t\t}\n\t};\n\tvar Def = class extends Node {\n\t\tconstructor(varKind, name, rhs) {\n\t\t\tsuper();\n\t\t\tthis.varKind = varKind;\n\t\t\tthis.name = name;\n\t\t\tthis.rhs = rhs;\n\t\t}\n\t\trender({ es5, _n }) {\n\t\t\tconst varKind = es5 ? scope_1.varKinds.var : this.varKind;\n\t\t\tconst rhs = this.rhs === void 0 ? \"\" : ` = ${this.rhs}`;\n\t\t\treturn `${varKind} ${this.name}${rhs};` + _n;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tif (!names[this.name.str]) return;\n\t\t\tif (this.rhs) this.rhs = optimizeExpr(this.rhs, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\treturn this.rhs instanceof code_1._CodeOrName ? this.rhs.names : {};\n\t\t}\n\t};\n\tvar Assign = class extends Node {\n\t\tconstructor(lhs, rhs, sideEffects) {\n\t\t\tsuper();\n\t\t\tthis.lhs = lhs;\n\t\t\tthis.rhs = rhs;\n\t\t\tthis.sideEffects = sideEffects;\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `${this.lhs} = ${this.rhs};` + _n;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tif (this.lhs instanceof code_1.Name && !names[this.lhs.str] && !this.sideEffects) return;\n\t\t\tthis.rhs = optimizeExpr(this.rhs, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\treturn addExprNames(this.lhs instanceof code_1.Name ? {} : { ...this.lhs.names }, this.rhs);\n\t\t}\n\t};\n\tvar AssignOp = class extends Assign {\n\t\tconstructor(lhs, op, rhs, sideEffects) {\n\t\t\tsuper(lhs, rhs, sideEffects);\n\t\t\tthis.op = op;\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `${this.lhs} ${this.op}= ${this.rhs};` + _n;\n\t\t}\n\t};\n\tvar Label = class extends Node {\n\t\tconstructor(label) {\n\t\t\tsuper();\n\t\t\tthis.label = label;\n\t\t\tthis.names = {};\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `${this.label}:` + _n;\n\t\t}\n\t};\n\tvar Break = class extends Node {\n\t\tconstructor(label) {\n\t\t\tsuper();\n\t\t\tthis.label = label;\n\t\t\tthis.names = {};\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `break${this.label ? ` ${this.label}` : \"\"};` + _n;\n\t\t}\n\t};\n\tvar Throw = class extends Node {\n\t\tconstructor(error) {\n\t\t\tsuper();\n\t\t\tthis.error = error;\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `throw ${this.error};` + _n;\n\t\t}\n\t\tget names() {\n\t\t\treturn this.error.names;\n\t\t}\n\t};\n\tvar AnyCode = class extends Node {\n\t\tconstructor(code) {\n\t\t\tsuper();\n\t\t\tthis.code = code;\n\t\t}\n\t\trender({ _n }) {\n\t\t\treturn `${this.code};` + _n;\n\t\t}\n\t\toptimizeNodes() {\n\t\t\treturn `${this.code}` ? this : void 0;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tthis.code = optimizeExpr(this.code, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\treturn this.code instanceof code_1._CodeOrName ? this.code.names : {};\n\t\t}\n\t};\n\tvar ParentNode = class extends Node {\n\t\tconstructor(nodes = []) {\n\t\t\tsuper();\n\t\t\tthis.nodes = nodes;\n\t\t}\n\t\trender(opts) {\n\t\t\treturn this.nodes.reduce((code, n) => code + n.render(opts), \"\");\n\t\t}\n\t\toptimizeNodes() {\n\t\t\tconst { nodes } = this;\n\t\t\tlet i = nodes.length;\n\t\t\twhile (i--) {\n\t\t\t\tconst n = nodes[i].optimizeNodes();\n\t\t\t\tif (Array.isArray(n)) nodes.splice(i, 1, ...n);\n\t\t\t\telse if (n) nodes[i] = n;\n\t\t\t\telse nodes.splice(i, 1);\n\t\t\t}\n\t\t\treturn nodes.length > 0 ? this : void 0;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tconst { nodes } = this;\n\t\t\tlet i = nodes.length;\n\t\t\twhile (i--) {\n\t\t\t\tconst n = nodes[i];\n\t\t\t\tif (n.optimizeNames(names, constants)) continue;\n\t\t\t\tsubtractNames(names, n.names);\n\t\t\t\tnodes.splice(i, 1);\n\t\t\t}\n\t\t\treturn nodes.length > 0 ? this : void 0;\n\t\t}\n\t\tget names() {\n\t\t\treturn this.nodes.reduce((names, n) => addNames(names, n.names), {});\n\t\t}\n\t};\n\tvar BlockNode = class extends ParentNode {\n\t\trender(opts) {\n\t\t\treturn \"{\" + opts._n + super.render(opts) + \"}\" + opts._n;\n\t\t}\n\t};\n\tvar Root = class extends ParentNode {};\n\tvar Else = class extends BlockNode {};\n\tElse.kind = \"else\";\n\tvar If = class If extends BlockNode {\n\t\tconstructor(condition, nodes) {\n\t\t\tsuper(nodes);\n\t\t\tthis.condition = condition;\n\t\t}\n\t\trender(opts) {\n\t\t\tlet code = `if(${this.condition})` + super.render(opts);\n\t\t\tif (this.else) code += \"else \" + this.else.render(opts);\n\t\t\treturn code;\n\t\t}\n\t\toptimizeNodes() {\n\t\t\tsuper.optimizeNodes();\n\t\t\tconst cond = this.condition;\n\t\t\tif (cond === true) return this.nodes;\n\t\t\tlet e = this.else;\n\t\t\tif (e) {\n\t\t\t\tconst ns = e.optimizeNodes();\n\t\t\t\te = this.else = Array.isArray(ns) ? new Else(ns) : ns;\n\t\t\t}\n\t\t\tif (e) {\n\t\t\t\tif (cond === false) return e instanceof If ? e : e.nodes;\n\t\t\t\tif (this.nodes.length) return this;\n\t\t\t\treturn new If(not(cond), e instanceof If ? [e] : e.nodes);\n\t\t\t}\n\t\t\tif (cond === false || !this.nodes.length) return void 0;\n\t\t\treturn this;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tvar _a;\n\t\t\tthis.else = (_a = this.else) === null || _a === void 0 ? void 0 : _a.optimizeNames(names, constants);\n\t\t\tif (!(super.optimizeNames(names, constants) || this.else)) return;\n\t\t\tthis.condition = optimizeExpr(this.condition, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\tconst names = super.names;\n\t\t\taddExprNames(names, this.condition);\n\t\t\tif (this.else) addNames(names, this.else.names);\n\t\t\treturn names;\n\t\t}\n\t};\n\tIf.kind = \"if\";\n\tvar For = class extends BlockNode {};\n\tFor.kind = \"for\";\n\tvar ForLoop = class extends For {\n\t\tconstructor(iteration) {\n\t\t\tsuper();\n\t\t\tthis.iteration = iteration;\n\t\t}\n\t\trender(opts) {\n\t\t\treturn `for(${this.iteration})` + super.render(opts);\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tif (!super.optimizeNames(names, constants)) return;\n\t\t\tthis.iteration = optimizeExpr(this.iteration, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\treturn addNames(super.names, this.iteration.names);\n\t\t}\n\t};\n\tvar ForRange = class extends For {\n\t\tconstructor(varKind, name, from, to) {\n\t\t\tsuper();\n\t\t\tthis.varKind = varKind;\n\t\t\tthis.name = name;\n\t\t\tthis.from = from;\n\t\t\tthis.to = to;\n\t\t}\n\t\trender(opts) {\n\t\t\tconst varKind = opts.es5 ? scope_1.varKinds.var : this.varKind;\n\t\t\tconst { name, from, to } = this;\n\t\t\treturn `for(${varKind} ${name}=${from}; ${name}<${to}; ${name}++)` + super.render(opts);\n\t\t}\n\t\tget names() {\n\t\t\treturn addExprNames(addExprNames(super.names, this.from), this.to);\n\t\t}\n\t};\n\tvar ForIter = class extends For {\n\t\tconstructor(loop, varKind, name, iterable) {\n\t\t\tsuper();\n\t\t\tthis.loop = loop;\n\t\t\tthis.varKind = varKind;\n\t\t\tthis.name = name;\n\t\t\tthis.iterable = iterable;\n\t\t}\n\t\trender(opts) {\n\t\t\treturn `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(opts);\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tif (!super.optimizeNames(names, constants)) return;\n\t\t\tthis.iterable = optimizeExpr(this.iterable, names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\treturn addNames(super.names, this.iterable.names);\n\t\t}\n\t};\n\tvar Func = class extends BlockNode {\n\t\tconstructor(name, args, async) {\n\t\t\tsuper();\n\t\t\tthis.name = name;\n\t\t\tthis.args = args;\n\t\t\tthis.async = async;\n\t\t}\n\t\trender(opts) {\n\t\t\treturn `${this.async ? \"async \" : \"\"}function ${this.name}(${this.args})` + super.render(opts);\n\t\t}\n\t};\n\tFunc.kind = \"func\";\n\tvar Return = class extends ParentNode {\n\t\trender(opts) {\n\t\t\treturn \"return \" + super.render(opts);\n\t\t}\n\t};\n\tReturn.kind = \"return\";\n\tvar Try = class extends BlockNode {\n\t\trender(opts) {\n\t\t\tlet code = \"try\" + super.render(opts);\n\t\t\tif (this.catch) code += this.catch.render(opts);\n\t\t\tif (this.finally) code += this.finally.render(opts);\n\t\t\treturn code;\n\t\t}\n\t\toptimizeNodes() {\n\t\t\tvar _a, _b;\n\t\t\tsuper.optimizeNodes();\n\t\t\t(_a = this.catch) === null || _a === void 0 || _a.optimizeNodes();\n\t\t\t(_b = this.finally) === null || _b === void 0 || _b.optimizeNodes();\n\t\t\treturn this;\n\t\t}\n\t\toptimizeNames(names, constants) {\n\t\t\tvar _a, _b;\n\t\t\tsuper.optimizeNames(names, constants);\n\t\t\t(_a = this.catch) === null || _a === void 0 || _a.optimizeNames(names, constants);\n\t\t\t(_b = this.finally) === null || _b === void 0 || _b.optimizeNames(names, constants);\n\t\t\treturn this;\n\t\t}\n\t\tget names() {\n\t\t\tconst names = super.names;\n\t\t\tif (this.catch) addNames(names, this.catch.names);\n\t\t\tif (this.finally) addNames(names, this.finally.names);\n\t\t\treturn names;\n\t\t}\n\t};\n\tvar Catch = class extends BlockNode {\n\t\tconstructor(error) {\n\t\t\tsuper();\n\t\t\tthis.error = error;\n\t\t}\n\t\trender(opts) {\n\t\t\treturn `catch(${this.error})` + super.render(opts);\n\t\t}\n\t};\n\tCatch.kind = \"catch\";\n\tvar Finally = class extends BlockNode {\n\t\trender(opts) {\n\t\t\treturn \"finally\" + super.render(opts);\n\t\t}\n\t};\n\tFinally.kind = \"finally\";\n\tvar CodeGen = class {\n\t\tconstructor(extScope, opts = {}) {\n\t\t\tthis._values = {};\n\t\t\tthis._blockStarts = [];\n\t\t\tthis._constants = {};\n\t\t\tthis.opts = {\n\t\t\t\t...opts,\n\t\t\t\t_n: opts.lines ? \"\\n\" : \"\"\n\t\t\t};\n\t\t\tthis._extScope = extScope;\n\t\t\tthis._scope = new scope_1.Scope({ parent: extScope });\n\t\t\tthis._nodes = [new Root()];\n\t\t}\n\t\ttoString() {\n\t\t\treturn this._root.render(this.opts);\n\t\t}\n\t\tname(prefix) {\n\t\t\treturn this._scope.name(prefix);\n\t\t}\n\t\tscopeName(prefix) {\n\t\t\treturn this._extScope.name(prefix);\n\t\t}\n\t\tscopeValue(prefixOrName, value) {\n\t\t\tconst name = this._extScope.value(prefixOrName, value);\n\t\t\t(this._values[name.prefix] || (this._values[name.prefix] = /* @__PURE__ */ new Set())).add(name);\n\t\t\treturn name;\n\t\t}\n\t\tgetScopeValue(prefix, keyOrRef) {\n\t\t\treturn this._extScope.getValue(prefix, keyOrRef);\n\t\t}\n\t\tscopeRefs(scopeName) {\n\t\t\treturn this._extScope.scopeRefs(scopeName, this._values);\n\t\t}\n\t\tscopeCode() {\n\t\t\treturn this._extScope.scopeCode(this._values);\n\t\t}\n\t\t_def(varKind, nameOrPrefix, rhs, constant) {\n\t\t\tconst name = this._scope.toName(nameOrPrefix);\n\t\t\tif (rhs !== void 0 && constant) this._constants[name.str] = rhs;\n\t\t\tthis._leafNode(new Def(varKind, name, rhs));\n\t\t\treturn name;\n\t\t}\n\t\tconst(nameOrPrefix, rhs, _constant) {\n\t\t\treturn this._def(scope_1.varKinds.const, nameOrPrefix, rhs, _constant);\n\t\t}\n\t\tlet(nameOrPrefix, rhs, _constant) {\n\t\t\treturn this._def(scope_1.varKinds.let, nameOrPrefix, rhs, _constant);\n\t\t}\n\t\tvar(nameOrPrefix, rhs, _constant) {\n\t\t\treturn this._def(scope_1.varKinds.var, nameOrPrefix, rhs, _constant);\n\t\t}\n\t\tassign(lhs, rhs, sideEffects) {\n\t\t\treturn this._leafNode(new Assign(lhs, rhs, sideEffects));\n\t\t}\n\t\tadd(lhs, rhs) {\n\t\t\treturn this._leafNode(new AssignOp(lhs, exports.operators.ADD, rhs));\n\t\t}\n\t\tcode(c) {\n\t\t\tif (typeof c == \"function\") c();\n\t\t\telse if (c !== code_1.nil) this._leafNode(new AnyCode(c));\n\t\t\treturn this;\n\t\t}\n\t\tobject(...keyValues) {\n\t\t\tconst code = [\"{\"];\n\t\t\tfor (const [key, value] of keyValues) {\n\t\t\t\tif (code.length > 1) code.push(\",\");\n\t\t\t\tcode.push(key);\n\t\t\t\tif (key !== value || this.opts.es5) {\n\t\t\t\t\tcode.push(\":\");\n\t\t\t\t\t(0, code_1.addCodeArg)(code, value);\n\t\t\t\t}\n\t\t\t}\n\t\t\tcode.push(\"}\");\n\t\t\treturn new code_1._Code(code);\n\t\t}\n\t\tif(condition, thenBody, elseBody) {\n\t\t\tthis._blockNode(new If(condition));\n\t\t\tif (thenBody && elseBody) this.code(thenBody).else().code(elseBody).endIf();\n\t\t\telse if (thenBody) this.code(thenBody).endIf();\n\t\t\telse if (elseBody) throw new Error(\"CodeGen: \\\"else\\\" body without \\\"then\\\" body\");\n\t\t\treturn this;\n\t\t}\n\t\telseIf(condition) {\n\t\t\treturn this._elseNode(new If(condition));\n\t\t}\n\t\telse() {\n\t\t\treturn this._elseNode(new Else());\n\t\t}\n\t\tendIf() {\n\t\t\treturn this._endBlockNode(If, Else);\n\t\t}\n\t\t_for(node, forBody) {\n\t\t\tthis._blockNode(node);\n\t\t\tif (forBody) this.code(forBody).endFor();\n\t\t\treturn this;\n\t\t}\n\t\tfor(iteration, forBody) {\n\t\t\treturn this._for(new ForLoop(iteration), forBody);\n\t\t}\n\t\tforRange(nameOrPrefix, from, to, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.let) {\n\t\t\tconst name = this._scope.toName(nameOrPrefix);\n\t\t\treturn this._for(new ForRange(varKind, name, from, to), () => forBody(name));\n\t\t}\n\t\tforOf(nameOrPrefix, iterable, forBody, varKind = scope_1.varKinds.const) {\n\t\t\tconst name = this._scope.toName(nameOrPrefix);\n\t\t\tif (this.opts.es5) {\n\t\t\t\tconst arr = iterable instanceof code_1.Name ? iterable : this.var(\"_arr\", iterable);\n\t\t\t\treturn this.forRange(\"_i\", 0, (0, code_1._)`${arr}.length`, (i) => {\n\t\t\t\t\tthis.var(name, (0, code_1._)`${arr}[${i}]`);\n\t\t\t\t\tforBody(name);\n\t\t\t\t});\n\t\t\t}\n\t\t\treturn this._for(new ForIter(\"of\", varKind, name, iterable), () => forBody(name));\n\t\t}\n\t\tforIn(nameOrPrefix, obj, forBody, varKind = this.opts.es5 ? scope_1.varKinds.var : scope_1.varKinds.const) {\n\t\t\tif (this.opts.ownProperties) return this.forOf(nameOrPrefix, (0, code_1._)`Object.keys(${obj})`, forBody);\n\t\t\tconst name = this._scope.toName(nameOrPrefix);\n\t\t\treturn this._for(new ForIter(\"in\", varKind, name, obj), () => forBody(name));\n\t\t}\n\t\tendFor() {\n\t\t\treturn this._endBlockNode(For);\n\t\t}\n\t\tlabel(label) {\n\t\t\treturn this._leafNode(new Label(label));\n\t\t}\n\t\tbreak(label) {\n\t\t\treturn this._leafNode(new Break(label));\n\t\t}\n\t\treturn(value) {\n\t\t\tconst node = new Return();\n\t\t\tthis._blockNode(node);\n\t\t\tthis.code(value);\n\t\t\tif (node.nodes.length !== 1) throw new Error(\"CodeGen: \\\"return\\\" should have one node\");\n\t\t\treturn this._endBlockNode(Return);\n\t\t}\n\t\ttry(tryBody, catchCode, finallyCode) {\n\t\t\tif (!catchCode && !finallyCode) throw new Error(\"CodeGen: \\\"try\\\" without \\\"catch\\\" and \\\"finally\\\"\");\n\t\t\tconst node = new Try();\n\t\t\tthis._blockNode(node);\n\t\t\tthis.code(tryBody);\n\t\t\tif (catchCode) {\n\t\t\t\tconst error = this.name(\"e\");\n\t\t\t\tthis._currNode = node.catch = new Catch(error);\n\t\t\t\tcatchCode(error);\n\t\t\t}\n\t\t\tif (finallyCode) {\n\t\t\t\tthis._currNode = node.finally = new Finally();\n\t\t\t\tthis.code(finallyCode);\n\t\t\t}\n\t\t\treturn this._endBlockNode(Catch, Finally);\n\t\t}\n\t\tthrow(error) {\n\t\t\treturn this._leafNode(new Throw(error));\n\t\t}\n\t\tblock(body, nodeCount) {\n\t\t\tthis._blockStarts.push(this._nodes.length);\n\t\t\tif (body) this.code(body).endBlock(nodeCount);\n\t\t\treturn this;\n\t\t}\n\t\tendBlock(nodeCount) {\n\t\t\tconst len = this._blockStarts.pop();\n\t\t\tif (len === void 0) throw new Error(\"CodeGen: not in self-balancing block\");\n\t\t\tconst toClose = this._nodes.length - len;\n\t\t\tif (toClose < 0 || nodeCount !== void 0 && toClose !== nodeCount) throw new Error(`CodeGen: wrong number of nodes: ${toClose} vs ${nodeCount} expected`);\n\t\t\tthis._nodes.length = len;\n\t\t\treturn this;\n\t\t}\n\t\tfunc(name, args = code_1.nil, async, funcBody) {\n\t\t\tthis._blockNode(new Func(name, args, async));\n\t\t\tif (funcBody) this.code(funcBody).endFunc();\n\t\t\treturn this;\n\t\t}\n\t\tendFunc() {\n\t\t\treturn this._endBlockNode(Func);\n\t\t}\n\t\toptimize(n = 1) {\n\t\t\twhile (n-- > 0) {\n\t\t\t\tthis._root.optimizeNodes();\n\t\t\t\tthis._root.optimizeNames(this._root.names, this._constants);\n\t\t\t}\n\t\t}\n\t\t_leafNode(node) {\n\t\t\tthis._currNode.nodes.push(node);\n\t\t\treturn this;\n\t\t}\n\t\t_blockNode(node) {\n\t\t\tthis._currNode.nodes.push(node);\n\t\t\tthis._nodes.push(node);\n\t\t}\n\t\t_endBlockNode(N1, N2) {\n\t\t\tconst n = this._currNode;\n\t\t\tif (n instanceof N1 || N2 && n instanceof N2) {\n\t\t\t\tthis._nodes.pop();\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tthrow new Error(`CodeGen: not in block \"${N2 ? `${N1.kind}/${N2.kind}` : N1.kind}\"`);\n\t\t}\n\t\t_elseNode(node) {\n\t\t\tconst n = this._currNode;\n\t\t\tif (!(n instanceof If)) throw new Error(\"CodeGen: \\\"else\\\" without \\\"if\\\"\");\n\t\t\tthis._currNode = n.else = node;\n\t\t\treturn this;\n\t\t}\n\t\tget _root() {\n\t\t\treturn this._nodes[0];\n\t\t}\n\t\tget _currNode() {\n\t\t\tconst ns = this._nodes;\n\t\t\treturn ns[ns.length - 1];\n\t\t}\n\t\tset _currNode(node) {\n\t\t\tconst ns = this._nodes;\n\t\t\tns[ns.length - 1] = node;\n\t\t}\n\t};\n\texports.CodeGen = CodeGen;\n\tfunction addNames(names, from) {\n\t\tfor (const n in from) names[n] = (names[n] || 0) + (from[n] || 0);\n\t\treturn names;\n\t}\n\tfunction addExprNames(names, from) {\n\t\treturn from instanceof code_1._CodeOrName ? addNames(names, from.names) : names;\n\t}\n\tfunction optimizeExpr(expr, names, constants) {\n\t\tif (expr instanceof code_1.Name) return replaceName(expr);\n\t\tif (!canOptimize(expr)) return expr;\n\t\treturn new code_1._Code(expr._items.reduce((items, c) => {\n\t\t\tif (c instanceof code_1.Name) c = replaceName(c);\n\t\t\tif (c instanceof code_1._Code) items.push(...c._items);\n\t\t\telse items.push(c);\n\t\t\treturn items;\n\t\t}, []));\n\t\tfunction replaceName(n) {\n\t\t\tconst c = constants[n.str];\n\t\t\tif (c === void 0 || names[n.str] !== 1) return n;\n\t\t\tdelete names[n.str];\n\t\t\treturn c;\n\t\t}\n\t\tfunction canOptimize(e) {\n\t\t\treturn e instanceof code_1._Code && e._items.some((c) => c instanceof code_1.Name && names[c.str] === 1 && constants[c.str] !== void 0);\n\t\t}\n\t}\n\tfunction subtractNames(names, from) {\n\t\tfor (const n in from) names[n] = (names[n] || 0) - (from[n] || 0);\n\t}\n\tfunction not(x) {\n\t\treturn typeof x == \"boolean\" || typeof x == \"number\" || x === null ? !x : (0, code_1._)`!${par(x)}`;\n\t}\n\texports.not = not;\n\tconst andCode = mappend(exports.operators.AND);\n\tfunction and(...args) {\n\t\treturn args.reduce(andCode);\n\t}\n\texports.and = and;\n\tconst orCode = mappend(exports.operators.OR);\n\tfunction or(...args) {\n\t\treturn args.reduce(orCode);\n\t}\n\texports.or = or;\n\tfunction mappend(op) {\n\t\treturn (x, y) => x === code_1.nil ? y : y === code_1.nil ? x : (0, code_1._)`${par(x)} ${op} ${par(y)}`;\n\t}\n\tfunction par(x) {\n\t\treturn x instanceof code_1.Name ? x : (0, code_1._)`(${x})`;\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/util.js\nvar require_util = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst code_1 = require_code$1();\n\tfunction toHash(arr) {\n\t\tconst hash = {};\n\t\tfor (const item of arr) hash[item] = true;\n\t\treturn hash;\n\t}\n\texports.toHash = toHash;\n\tfunction alwaysValidSchema(it, schema) {\n\t\tif (typeof schema == \"boolean\") return schema;\n\t\tif (Object.keys(schema).length === 0) return true;\n\t\tcheckUnknownRules(it, schema);\n\t\treturn !schemaHasRules(schema, it.self.RULES.all);\n\t}\n\texports.alwaysValidSchema = alwaysValidSchema;\n\tfunction checkUnknownRules(it, schema = it.schema) {\n\t\tconst { opts, self } = it;\n\t\tif (!opts.strictSchema) return;\n\t\tif (typeof schema === \"boolean\") return;\n\t\tconst rules = self.RULES.keywords;\n\t\tfor (const key in schema) if (!rules[key]) checkStrictMode(it, `unknown keyword: \"${key}\"`);\n\t}\n\texports.checkUnknownRules = checkUnknownRules;\n\tfunction schemaHasRules(schema, rules) {\n\t\tif (typeof schema == \"boolean\") return !schema;\n\t\tfor (const key in schema) if (rules[key]) return true;\n\t\treturn false;\n\t}\n\texports.schemaHasRules = schemaHasRules;\n\tfunction schemaHasRulesButRef(schema, RULES) {\n\t\tif (typeof schema == \"boolean\") return !schema;\n\t\tfor (const key in schema) if (key !== \"$ref\" && RULES.all[key]) return true;\n\t\treturn false;\n\t}\n\texports.schemaHasRulesButRef = schemaHasRulesButRef;\n\tfunction schemaRefOrVal({ topSchemaRef, schemaPath }, schema, keyword, $data) {\n\t\tif (!$data) {\n\t\t\tif (typeof schema == \"number\" || typeof schema == \"boolean\") return schema;\n\t\t\tif (typeof schema == \"string\") return (0, codegen_1._)`${schema}`;\n\t\t}\n\t\treturn (0, codegen_1._)`${topSchemaRef}${schemaPath}${(0, codegen_1.getProperty)(keyword)}`;\n\t}\n\texports.schemaRefOrVal = schemaRefOrVal;\n\tfunction unescapeFragment(str) {\n\t\treturn unescapeJsonPointer(decodeURIComponent(str));\n\t}\n\texports.unescapeFragment = unescapeFragment;\n\tfunction escapeFragment(str) {\n\t\treturn encodeURIComponent(escapeJsonPointer(str));\n\t}\n\texports.escapeFragment = escapeFragment;\n\tfunction escapeJsonPointer(str) {\n\t\tif (typeof str == \"number\") return `${str}`;\n\t\treturn str.replace(/~/g, \"~0\").replace(/\\//g, \"~1\");\n\t}\n\texports.escapeJsonPointer = escapeJsonPointer;\n\tfunction unescapeJsonPointer(str) {\n\t\treturn str.replace(/~1/g, \"/\").replace(/~0/g, \"~\");\n\t}\n\texports.unescapeJsonPointer = unescapeJsonPointer;\n\tfunction eachItem(xs, f) {\n\t\tif (Array.isArray(xs)) for (const x of xs) f(x);\n\t\telse f(xs);\n\t}\n\texports.eachItem = eachItem;\n\tfunction makeMergeEvaluated({ mergeNames, mergeToName, mergeValues, resultToName }) {\n\t\treturn (gen, from, to, toName) => {\n\t\t\tconst res = to === void 0 ? from : to instanceof codegen_1.Name ? (from instanceof codegen_1.Name ? mergeNames(gen, from, to) : mergeToName(gen, from, to), to) : from instanceof codegen_1.Name ? (mergeToName(gen, to, from), from) : mergeValues(from, to);\n\t\t\treturn toName === codegen_1.Name && !(res instanceof codegen_1.Name) ? resultToName(gen, res) : res;\n\t\t};\n\t}\n\texports.mergeEvaluated = {\n\t\tprops: makeMergeEvaluated({\n\t\t\tmergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => {\n\t\t\t\tgen.if((0, codegen_1._)`${from} === true`, () => gen.assign(to, true), () => gen.assign(to, (0, codegen_1._)`${to} || {}`).code((0, codegen_1._)`Object.assign(${to}, ${from})`));\n\t\t\t}),\n\t\t\tmergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => {\n\t\t\t\tif (from === true) gen.assign(to, true);\n\t\t\t\telse {\n\t\t\t\t\tgen.assign(to, (0, codegen_1._)`${to} || {}`);\n\t\t\t\t\tsetEvaluated(gen, to, from);\n\t\t\t\t}\n\t\t\t}),\n\t\t\tmergeValues: (from, to) => from === true ? true : {\n\t\t\t\t...from,\n\t\t\t\t...to\n\t\t\t},\n\t\t\tresultToName: evaluatedPropsToName\n\t\t}),\n\t\titems: makeMergeEvaluated({\n\t\t\tmergeNames: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true && ${from} !== undefined`, () => gen.assign(to, (0, codegen_1._)`${from} === true ? true : ${to} > ${from} ? ${to} : ${from}`)),\n\t\t\tmergeToName: (gen, from, to) => gen.if((0, codegen_1._)`${to} !== true`, () => gen.assign(to, from === true ? true : (0, codegen_1._)`${to} > ${from} ? ${to} : ${from}`)),\n\t\t\tmergeValues: (from, to) => from === true ? true : Math.max(from, to),\n\t\t\tresultToName: (gen, items) => gen.var(\"items\", items)\n\t\t})\n\t};\n\tfunction evaluatedPropsToName(gen, ps) {\n\t\tif (ps === true) return gen.var(\"props\", true);\n\t\tconst props = gen.var(\"props\", (0, codegen_1._)`{}`);\n\t\tif (ps !== void 0) setEvaluated(gen, props, ps);\n\t\treturn props;\n\t}\n\texports.evaluatedPropsToName = evaluatedPropsToName;\n\tfunction setEvaluated(gen, props, ps) {\n\t\tObject.keys(ps).forEach((p) => gen.assign((0, codegen_1._)`${props}${(0, codegen_1.getProperty)(p)}`, true));\n\t}\n\texports.setEvaluated = setEvaluated;\n\tconst snippets = {};\n\tfunction useFunc(gen, f) {\n\t\treturn gen.scopeValue(\"func\", {\n\t\t\tref: f,\n\t\t\tcode: snippets[f.code] || (snippets[f.code] = new code_1._Code(f.code))\n\t\t});\n\t}\n\texports.useFunc = useFunc;\n\tvar Type;\n\t(function(Type) {\n\t\tType[Type[\"Num\"] = 0] = \"Num\";\n\t\tType[Type[\"Str\"] = 1] = \"Str\";\n\t})(Type || (exports.Type = Type = {}));\n\tfunction getErrorPath(dataProp, dataPropType, jsPropertySyntax) {\n\t\tif (dataProp instanceof codegen_1.Name) {\n\t\t\tconst isNumber = dataPropType === Type.Num;\n\t\t\treturn jsPropertySyntax ? isNumber ? (0, codegen_1._)`\"[\" + ${dataProp} + \"]\"` : (0, codegen_1._)`\"['\" + ${dataProp} + \"']\"` : isNumber ? (0, codegen_1._)`\"/\" + ${dataProp}` : (0, codegen_1._)`\"/\" + ${dataProp}.replace(/~/g, \"~0\").replace(/\\\\//g, \"~1\")`;\n\t\t}\n\t\treturn jsPropertySyntax ? (0, codegen_1.getProperty)(dataProp).toString() : \"/\" + escapeJsonPointer(dataProp);\n\t}\n\texports.getErrorPath = getErrorPath;\n\tfunction checkStrictMode(it, msg, mode = it.opts.strictSchema) {\n\t\tif (!mode) return;\n\t\tmsg = `strict mode: ${msg}`;\n\t\tif (mode === true) throw new Error(msg);\n\t\tit.self.logger.warn(msg);\n\t}\n\texports.checkStrictMode = checkStrictMode;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/names.js\nvar require_names = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tdata: new codegen_1.Name(\"data\"),\n\t\tvalCxt: new codegen_1.Name(\"valCxt\"),\n\t\tinstancePath: new codegen_1.Name(\"instancePath\"),\n\t\tparentData: new codegen_1.Name(\"parentData\"),\n\t\tparentDataProperty: new codegen_1.Name(\"parentDataProperty\"),\n\t\trootData: new codegen_1.Name(\"rootData\"),\n\t\tdynamicAnchors: new codegen_1.Name(\"dynamicAnchors\"),\n\t\tvErrors: new codegen_1.Name(\"vErrors\"),\n\t\terrors: new codegen_1.Name(\"errors\"),\n\t\tthis: new codegen_1.Name(\"this\"),\n\t\tself: new codegen_1.Name(\"self\"),\n\t\tscope: new codegen_1.Name(\"scope\"),\n\t\tjson: new codegen_1.Name(\"json\"),\n\t\tjsonPos: new codegen_1.Name(\"jsonPos\"),\n\t\tjsonLen: new codegen_1.Name(\"jsonLen\"),\n\t\tjsonPart: new codegen_1.Name(\"jsonPart\")\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/errors.js\nvar require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst names_1 = require_names();\n\texports.keywordError = { message: ({ keyword }) => (0, codegen_1.str)`must pass \"${keyword}\" keyword validation` };\n\texports.keyword$DataError = { message: ({ keyword, schemaType }) => schemaType ? (0, codegen_1.str)`\"${keyword}\" keyword must be ${schemaType} ($data)` : (0, codegen_1.str)`\"${keyword}\" keyword is invalid ($data)` };\n\tfunction reportError(cxt, error = exports.keywordError, errorPaths, overrideAllErrors) {\n\t\tconst { it } = cxt;\n\t\tconst { gen, compositeRule, allErrors } = it;\n\t\tconst errObj = errorObjectCode(cxt, error, errorPaths);\n\t\tif (overrideAllErrors !== null && overrideAllErrors !== void 0 ? overrideAllErrors : compositeRule || allErrors) addError(gen, errObj);\n\t\telse returnErrors(it, (0, codegen_1._)`[${errObj}]`);\n\t}\n\texports.reportError = reportError;\n\tfunction reportExtraError(cxt, error = exports.keywordError, errorPaths) {\n\t\tconst { it } = cxt;\n\t\tconst { gen, compositeRule, allErrors } = it;\n\t\taddError(gen, errorObjectCode(cxt, error, errorPaths));\n\t\tif (!(compositeRule || allErrors)) returnErrors(it, names_1.default.vErrors);\n\t}\n\texports.reportExtraError = reportExtraError;\n\tfunction resetErrorsCount(gen, errsCount) {\n\t\tgen.assign(names_1.default.errors, errsCount);\n\t\tgen.if((0, codegen_1._)`${names_1.default.vErrors} !== null`, () => gen.if(errsCount, () => gen.assign((0, codegen_1._)`${names_1.default.vErrors}.length`, errsCount), () => gen.assign(names_1.default.vErrors, null)));\n\t}\n\texports.resetErrorsCount = resetErrorsCount;\n\tfunction extendErrors({ gen, keyword, schemaValue, data, errsCount, it }) {\n\t\t/* istanbul ignore if */\n\t\tif (errsCount === void 0) throw new Error(\"ajv implementation error\");\n\t\tconst err = gen.name(\"err\");\n\t\tgen.forRange(\"i\", errsCount, names_1.default.errors, (i) => {\n\t\t\tgen.const(err, (0, codegen_1._)`${names_1.default.vErrors}[${i}]`);\n\t\t\tgen.if((0, codegen_1._)`${err}.instancePath === undefined`, () => gen.assign((0, codegen_1._)`${err}.instancePath`, (0, codegen_1.strConcat)(names_1.default.instancePath, it.errorPath)));\n\t\t\tgen.assign((0, codegen_1._)`${err}.schemaPath`, (0, codegen_1.str)`${it.errSchemaPath}/${keyword}`);\n\t\t\tif (it.opts.verbose) {\n\t\t\t\tgen.assign((0, codegen_1._)`${err}.schema`, schemaValue);\n\t\t\t\tgen.assign((0, codegen_1._)`${err}.data`, data);\n\t\t\t}\n\t\t});\n\t}\n\texports.extendErrors = extendErrors;\n\tfunction addError(gen, errObj) {\n\t\tconst err = gen.const(\"err\", errObj);\n\t\tgen.if((0, codegen_1._)`${names_1.default.vErrors} === null`, () => gen.assign(names_1.default.vErrors, (0, codegen_1._)`[${err}]`), (0, codegen_1._)`${names_1.default.vErrors}.push(${err})`);\n\t\tgen.code((0, codegen_1._)`${names_1.default.errors}++`);\n\t}\n\tfunction returnErrors(it, errs) {\n\t\tconst { gen, validateName, schemaEnv } = it;\n\t\tif (schemaEnv.$async) gen.throw((0, codegen_1._)`new ${it.ValidationError}(${errs})`);\n\t\telse {\n\t\t\tgen.assign((0, codegen_1._)`${validateName}.errors`, errs);\n\t\t\tgen.return(false);\n\t\t}\n\t}\n\tconst E = {\n\t\tkeyword: new codegen_1.Name(\"keyword\"),\n\t\tschemaPath: new codegen_1.Name(\"schemaPath\"),\n\t\tparams: new codegen_1.Name(\"params\"),\n\t\tpropertyName: new codegen_1.Name(\"propertyName\"),\n\t\tmessage: new codegen_1.Name(\"message\"),\n\t\tschema: new codegen_1.Name(\"schema\"),\n\t\tparentSchema: new codegen_1.Name(\"parentSchema\")\n\t};\n\tfunction errorObjectCode(cxt, error, errorPaths) {\n\t\tconst { createErrors } = cxt.it;\n\t\tif (createErrors === false) return (0, codegen_1._)`{}`;\n\t\treturn errorObject(cxt, error, errorPaths);\n\t}\n\tfunction errorObject(cxt, error, errorPaths = {}) {\n\t\tconst { gen, it } = cxt;\n\t\tconst keyValues = [errorInstancePath(it, errorPaths), errorSchemaPath(cxt, errorPaths)];\n\t\textraErrorProps(cxt, error, keyValues);\n\t\treturn gen.object(...keyValues);\n\t}\n\tfunction errorInstancePath({ errorPath }, { instancePath }) {\n\t\tconst instPath = instancePath ? (0, codegen_1.str)`${errorPath}${(0, util_1.getErrorPath)(instancePath, util_1.Type.Str)}` : errorPath;\n\t\treturn [names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, instPath)];\n\t}\n\tfunction errorSchemaPath({ keyword, it: { errSchemaPath } }, { schemaPath, parentSchema }) {\n\t\tlet schPath = parentSchema ? errSchemaPath : (0, codegen_1.str)`${errSchemaPath}/${keyword}`;\n\t\tif (schemaPath) schPath = (0, codegen_1.str)`${schPath}${(0, util_1.getErrorPath)(schemaPath, util_1.Type.Str)}`;\n\t\treturn [E.schemaPath, schPath];\n\t}\n\tfunction extraErrorProps(cxt, { params, message }, keyValues) {\n\t\tconst { keyword, data, schemaValue, it } = cxt;\n\t\tconst { opts, propertyName, topSchemaRef, schemaPath } = it;\n\t\tkeyValues.push([E.keyword, keyword], [E.params, typeof params == \"function\" ? params(cxt) : params || (0, codegen_1._)`{}`]);\n\t\tif (opts.messages) keyValues.push([E.message, typeof message == \"function\" ? message(cxt) : message]);\n\t\tif (opts.verbose) keyValues.push([E.schema, schemaValue], [E.parentSchema, (0, codegen_1._)`${topSchemaRef}${schemaPath}`], [names_1.default.data, data]);\n\t\tif (propertyName) keyValues.push([E.propertyName, propertyName]);\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/boolSchema.js\nvar require_boolSchema = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;\n\tconst errors_1 = require_errors();\n\tconst codegen_1 = require_codegen();\n\tconst names_1 = require_names();\n\tconst boolError = { message: \"boolean schema is false\" };\n\tfunction topBoolOrEmptySchema(it) {\n\t\tconst { gen, schema, validateName } = it;\n\t\tif (schema === false) falseSchemaError(it, false);\n\t\telse if (typeof schema == \"object\" && schema.$async === true) gen.return(names_1.default.data);\n\t\telse {\n\t\t\tgen.assign((0, codegen_1._)`${validateName}.errors`, null);\n\t\t\tgen.return(true);\n\t\t}\n\t}\n\texports.topBoolOrEmptySchema = topBoolOrEmptySchema;\n\tfunction boolOrEmptySchema(it, valid) {\n\t\tconst { gen, schema } = it;\n\t\tif (schema === false) {\n\t\t\tgen.var(valid, false);\n\t\t\tfalseSchemaError(it);\n\t\t} else gen.var(valid, true);\n\t}\n\texports.boolOrEmptySchema = boolOrEmptySchema;\n\tfunction falseSchemaError(it, overrideAllErrors) {\n\t\tconst { gen, data } = it;\n\t\tconst cxt = {\n\t\t\tgen,\n\t\t\tkeyword: \"false schema\",\n\t\t\tdata,\n\t\t\tschema: false,\n\t\t\tschemaCode: false,\n\t\t\tschemaValue: false,\n\t\t\tparams: {},\n\t\t\tit\n\t\t};\n\t\t(0, errors_1.reportError)(cxt, boolError, void 0, overrideAllErrors);\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/rules.js\nvar require_rules = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.getRules = exports.isJSONType = void 0;\n\tconst jsonTypes = new Set([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"integer\",\n\t\t\"boolean\",\n\t\t\"null\",\n\t\t\"object\",\n\t\t\"array\"\n\t]);\n\tfunction isJSONType(x) {\n\t\treturn typeof x == \"string\" && jsonTypes.has(x);\n\t}\n\texports.isJSONType = isJSONType;\n\tfunction getRules() {\n\t\tconst groups = {\n\t\t\tnumber: {\n\t\t\t\ttype: \"number\",\n\t\t\t\trules: []\n\t\t\t},\n\t\t\tstring: {\n\t\t\t\ttype: \"string\",\n\t\t\t\trules: []\n\t\t\t},\n\t\t\tarray: {\n\t\t\t\ttype: \"array\",\n\t\t\t\trules: []\n\t\t\t},\n\t\t\tobject: {\n\t\t\t\ttype: \"object\",\n\t\t\t\trules: []\n\t\t\t}\n\t\t};\n\t\treturn {\n\t\t\ttypes: {\n\t\t\t\t...groups,\n\t\t\t\tinteger: true,\n\t\t\t\tboolean: true,\n\t\t\t\tnull: true\n\t\t\t},\n\t\t\trules: [\n\t\t\t\t{ rules: [] },\n\t\t\t\tgroups.number,\n\t\t\t\tgroups.string,\n\t\t\t\tgroups.array,\n\t\t\t\tgroups.object\n\t\t\t],\n\t\t\tpost: { rules: [] },\n\t\t\tall: {},\n\t\t\tkeywords: {}\n\t\t};\n\t}\n\texports.getRules = getRules;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/applicability.js\nvar require_applicability = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.shouldUseRule = exports.shouldUseGroup = exports.schemaHasRulesForType = void 0;\n\tfunction schemaHasRulesForType({ schema, self }, type) {\n\t\tconst group = self.RULES.types[type];\n\t\treturn group && group !== true && shouldUseGroup(schema, group);\n\t}\n\texports.schemaHasRulesForType = schemaHasRulesForType;\n\tfunction shouldUseGroup(schema, group) {\n\t\treturn group.rules.some((rule) => shouldUseRule(schema, rule));\n\t}\n\texports.shouldUseGroup = shouldUseGroup;\n\tfunction shouldUseRule(schema, rule) {\n\t\tvar _a;\n\t\treturn schema[rule.keyword] !== void 0 || ((_a = rule.definition.implements) === null || _a === void 0 ? void 0 : _a.some((kwd) => schema[kwd] !== void 0));\n\t}\n\texports.shouldUseRule = shouldUseRule;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/dataType.js\nvar require_dataType = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;\n\tconst rules_1 = require_rules();\n\tconst applicability_1 = require_applicability();\n\tconst errors_1 = require_errors();\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tvar DataType;\n\t(function(DataType) {\n\t\tDataType[DataType[\"Correct\"] = 0] = \"Correct\";\n\t\tDataType[DataType[\"Wrong\"] = 1] = \"Wrong\";\n\t})(DataType || (exports.DataType = DataType = {}));\n\tfunction getSchemaTypes(schema) {\n\t\tconst types = getJSONTypes(schema.type);\n\t\tif (types.includes(\"null\")) {\n\t\t\tif (schema.nullable === false) throw new Error(\"type: null contradicts nullable: false\");\n\t\t} else {\n\t\t\tif (!types.length && schema.nullable !== void 0) throw new Error(\"\\\"nullable\\\" cannot be used without \\\"type\\\"\");\n\t\t\tif (schema.nullable === true) types.push(\"null\");\n\t\t}\n\t\treturn types;\n\t}\n\texports.getSchemaTypes = getSchemaTypes;\n\tfunction getJSONTypes(ts) {\n\t\tconst types = Array.isArray(ts) ? ts : ts ? [ts] : [];\n\t\tif (types.every(rules_1.isJSONType)) return types;\n\t\tthrow new Error(\"type must be JSONType or JSONType[]: \" + types.join(\",\"));\n\t}\n\texports.getJSONTypes = getJSONTypes;\n\tfunction coerceAndCheckDataType(it, types) {\n\t\tconst { gen, data, opts } = it;\n\t\tconst coerceTo = coerceToTypes(types, opts.coerceTypes);\n\t\tconst checkTypes = types.length > 0 && !(coerceTo.length === 0 && types.length === 1 && (0, applicability_1.schemaHasRulesForType)(it, types[0]));\n\t\tif (checkTypes) {\n\t\t\tconst wrongType = checkDataTypes(types, data, opts.strictNumbers, DataType.Wrong);\n\t\t\tgen.if(wrongType, () => {\n\t\t\t\tif (coerceTo.length) coerceData(it, types, coerceTo);\n\t\t\t\telse reportTypeError(it);\n\t\t\t});\n\t\t}\n\t\treturn checkTypes;\n\t}\n\texports.coerceAndCheckDataType = coerceAndCheckDataType;\n\tconst COERCIBLE = new Set([\n\t\t\"string\",\n\t\t\"number\",\n\t\t\"integer\",\n\t\t\"boolean\",\n\t\t\"null\"\n\t]);\n\tfunction coerceToTypes(types, coerceTypes) {\n\t\treturn coerceTypes ? types.filter((t) => COERCIBLE.has(t) || coerceTypes === \"array\" && t === \"array\") : [];\n\t}\n\tfunction coerceData(it, types, coerceTo) {\n\t\tconst { gen, data, opts } = it;\n\t\tconst dataType = gen.let(\"dataType\", (0, codegen_1._)`typeof ${data}`);\n\t\tconst coerced = gen.let(\"coerced\", (0, codegen_1._)`undefined`);\n\t\tif (opts.coerceTypes === \"array\") gen.if((0, codegen_1._)`${dataType} == 'object' && Array.isArray(${data}) && ${data}.length == 1`, () => gen.assign(data, (0, codegen_1._)`${data}[0]`).assign(dataType, (0, codegen_1._)`typeof ${data}`).if(checkDataTypes(types, data, opts.strictNumbers), () => gen.assign(coerced, data)));\n\t\tgen.if((0, codegen_1._)`${coerced} !== undefined`);\n\t\tfor (const t of coerceTo) if (COERCIBLE.has(t) || t === \"array\" && opts.coerceTypes === \"array\") coerceSpecificType(t);\n\t\tgen.else();\n\t\treportTypeError(it);\n\t\tgen.endIf();\n\t\tgen.if((0, codegen_1._)`${coerced} !== undefined`, () => {\n\t\t\tgen.assign(data, coerced);\n\t\t\tassignParentData(it, coerced);\n\t\t});\n\t\tfunction coerceSpecificType(t) {\n\t\t\tswitch (t) {\n\t\t\t\tcase \"string\":\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${dataType} == \"number\" || ${dataType} == \"boolean\"`).assign(coerced, (0, codegen_1._)`\"\" + ${data}`).elseIf((0, codegen_1._)`${data} === null`).assign(coerced, (0, codegen_1._)`\"\"`);\n\t\t\t\t\treturn;\n\t\t\t\tcase \"number\":\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${dataType} == \"boolean\" || ${data} === null\n || (${dataType} == \"string\" && ${data} && ${data} == +${data})`).assign(coerced, (0, codegen_1._)`+${data}`);\n\t\t\t\t\treturn;\n\t\t\t\tcase \"integer\":\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${dataType} === \"boolean\" || ${data} === null\n || (${dataType} === \"string\" && ${data} && ${data} == +${data} && !(${data} % 1))`).assign(coerced, (0, codegen_1._)`+${data}`);\n\t\t\t\t\treturn;\n\t\t\t\tcase \"boolean\":\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${data} === \"false\" || ${data} === 0 || ${data} === null`).assign(coerced, false).elseIf((0, codegen_1._)`${data} === \"true\" || ${data} === 1`).assign(coerced, true);\n\t\t\t\t\treturn;\n\t\t\t\tcase \"null\":\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${data} === \"\" || ${data} === 0 || ${data} === false`);\n\t\t\t\t\tgen.assign(coerced, null);\n\t\t\t\t\treturn;\n\t\t\t\tcase \"array\": gen.elseIf((0, codegen_1._)`${dataType} === \"string\" || ${dataType} === \"number\"\n || ${dataType} === \"boolean\" || ${data} === null`).assign(coerced, (0, codegen_1._)`[${data}]`);\n\t\t\t}\n\t\t}\n\t}\n\tfunction assignParentData({ gen, parentData, parentDataProperty }, expr) {\n\t\tgen.if((0, codegen_1._)`${parentData} !== undefined`, () => gen.assign((0, codegen_1._)`${parentData}[${parentDataProperty}]`, expr));\n\t}\n\tfunction checkDataType(dataType, data, strictNums, correct = DataType.Correct) {\n\t\tconst EQ = correct === DataType.Correct ? codegen_1.operators.EQ : codegen_1.operators.NEQ;\n\t\tlet cond;\n\t\tswitch (dataType) {\n\t\t\tcase \"null\": return (0, codegen_1._)`${data} ${EQ} null`;\n\t\t\tcase \"array\":\n\t\t\t\tcond = (0, codegen_1._)`Array.isArray(${data})`;\n\t\t\t\tbreak;\n\t\t\tcase \"object\":\n\t\t\t\tcond = (0, codegen_1._)`${data} && typeof ${data} == \"object\" && !Array.isArray(${data})`;\n\t\t\t\tbreak;\n\t\t\tcase \"integer\":\n\t\t\t\tcond = numCond((0, codegen_1._)`!(${data} % 1) && !isNaN(${data})`);\n\t\t\t\tbreak;\n\t\t\tcase \"number\":\n\t\t\t\tcond = numCond();\n\t\t\t\tbreak;\n\t\t\tdefault: return (0, codegen_1._)`typeof ${data} ${EQ} ${dataType}`;\n\t\t}\n\t\treturn correct === DataType.Correct ? cond : (0, codegen_1.not)(cond);\n\t\tfunction numCond(_cond = codegen_1.nil) {\n\t\t\treturn (0, codegen_1.and)((0, codegen_1._)`typeof ${data} == \"number\"`, _cond, strictNums ? (0, codegen_1._)`isFinite(${data})` : codegen_1.nil);\n\t\t}\n\t}\n\texports.checkDataType = checkDataType;\n\tfunction checkDataTypes(dataTypes, data, strictNums, correct) {\n\t\tif (dataTypes.length === 1) return checkDataType(dataTypes[0], data, strictNums, correct);\n\t\tlet cond;\n\t\tconst types = (0, util_1.toHash)(dataTypes);\n\t\tif (types.array && types.object) {\n\t\t\tconst notObj = (0, codegen_1._)`typeof ${data} != \"object\"`;\n\t\t\tcond = types.null ? notObj : (0, codegen_1._)`!${data} || ${notObj}`;\n\t\t\tdelete types.null;\n\t\t\tdelete types.array;\n\t\t\tdelete types.object;\n\t\t} else cond = codegen_1.nil;\n\t\tif (types.number) delete types.integer;\n\t\tfor (const t in types) cond = (0, codegen_1.and)(cond, checkDataType(t, data, strictNums, correct));\n\t\treturn cond;\n\t}\n\texports.checkDataTypes = checkDataTypes;\n\tconst typeError = {\n\t\tmessage: ({ schema }) => `must be ${schema}`,\n\t\tparams: ({ schema, schemaValue }) => typeof schema == \"string\" ? (0, codegen_1._)`{type: ${schema}}` : (0, codegen_1._)`{type: ${schemaValue}}`\n\t};\n\tfunction reportTypeError(it) {\n\t\tconst cxt = getTypeErrorContext(it);\n\t\t(0, errors_1.reportError)(cxt, typeError);\n\t}\n\texports.reportTypeError = reportTypeError;\n\tfunction getTypeErrorContext(it) {\n\t\tconst { gen, data, schema } = it;\n\t\tconst schemaCode = (0, util_1.schemaRefOrVal)(it, schema, \"type\");\n\t\treturn {\n\t\t\tgen,\n\t\t\tkeyword: \"type\",\n\t\t\tdata,\n\t\t\tschema: schema.type,\n\t\t\tschemaCode,\n\t\t\tschemaValue: schemaCode,\n\t\t\tparentSchema: schema,\n\t\t\tparams: {},\n\t\t\tit\n\t\t};\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/defaults.js\nvar require_defaults = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.assignDefaults = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tfunction assignDefaults(it, ty) {\n\t\tconst { properties, items } = it.schema;\n\t\tif (ty === \"object\" && properties) for (const key in properties) assignDefault(it, key, properties[key].default);\n\t\telse if (ty === \"array\" && Array.isArray(items)) items.forEach((sch, i) => assignDefault(it, i, sch.default));\n\t}\n\texports.assignDefaults = assignDefaults;\n\tfunction assignDefault(it, prop, defaultValue) {\n\t\tconst { gen, compositeRule, data, opts } = it;\n\t\tif (defaultValue === void 0) return;\n\t\tconst childData = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(prop)}`;\n\t\tif (compositeRule) {\n\t\t\t(0, util_1.checkStrictMode)(it, `default is ignored for: ${childData}`);\n\t\t\treturn;\n\t\t}\n\t\tlet condition = (0, codegen_1._)`${childData} === undefined`;\n\t\tif (opts.useDefaults === \"empty\") condition = (0, codegen_1._)`${condition} || ${childData} === null || ${childData} === \"\"`;\n\t\tgen.if(condition, (0, codegen_1._)`${childData} = ${(0, codegen_1.stringify)(defaultValue)}`);\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/code.js\nvar require_code = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst names_1 = require_names();\n\tconst util_2 = require_util();\n\tfunction checkReportMissingProp(cxt, prop) {\n\t\tconst { gen, data, it } = cxt;\n\t\tgen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {\n\t\t\tcxt.setParams({ missingProperty: (0, codegen_1._)`${prop}` }, true);\n\t\t\tcxt.error();\n\t\t});\n\t}\n\texports.checkReportMissingProp = checkReportMissingProp;\n\tfunction checkMissingProp({ gen, data, it: { opts } }, properties, missing) {\n\t\treturn (0, codegen_1.or)(...properties.map((prop) => (0, codegen_1.and)(noPropertyInData(gen, data, prop, opts.ownProperties), (0, codegen_1._)`${missing} = ${prop}`)));\n\t}\n\texports.checkMissingProp = checkMissingProp;\n\tfunction reportMissingProp(cxt, missing) {\n\t\tcxt.setParams({ missingProperty: missing }, true);\n\t\tcxt.error();\n\t}\n\texports.reportMissingProp = reportMissingProp;\n\tfunction hasPropFunc(gen) {\n\t\treturn gen.scopeValue(\"func\", {\n\t\t\tref: Object.prototype.hasOwnProperty,\n\t\t\tcode: (0, codegen_1._)`Object.prototype.hasOwnProperty`\n\t\t});\n\t}\n\texports.hasPropFunc = hasPropFunc;\n\tfunction isOwnProperty(gen, data, property) {\n\t\treturn (0, codegen_1._)`${hasPropFunc(gen)}.call(${data}, ${property})`;\n\t}\n\texports.isOwnProperty = isOwnProperty;\n\tfunction propertyInData(gen, data, property, ownProperties) {\n\t\tconst cond = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(property)} !== undefined`;\n\t\treturn ownProperties ? (0, codegen_1._)`${cond} && ${isOwnProperty(gen, data, property)}` : cond;\n\t}\n\texports.propertyInData = propertyInData;\n\tfunction noPropertyInData(gen, data, property, ownProperties) {\n\t\tconst cond = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(property)} === undefined`;\n\t\treturn ownProperties ? (0, codegen_1.or)(cond, (0, codegen_1.not)(isOwnProperty(gen, data, property))) : cond;\n\t}\n\texports.noPropertyInData = noPropertyInData;\n\tfunction allSchemaProperties(schemaMap) {\n\t\treturn schemaMap ? Object.keys(schemaMap).filter((p) => p !== \"__proto__\") : [];\n\t}\n\texports.allSchemaProperties = allSchemaProperties;\n\tfunction schemaProperties(it, schemaMap) {\n\t\treturn allSchemaProperties(schemaMap).filter((p) => !(0, util_1.alwaysValidSchema)(it, schemaMap[p]));\n\t}\n\texports.schemaProperties = schemaProperties;\n\tfunction callValidateCode({ schemaCode, data, it: { gen, topSchemaRef, schemaPath, errorPath }, it }, func, context, passSchema) {\n\t\tconst dataAndSchema = passSchema ? (0, codegen_1._)`${schemaCode}, ${data}, ${topSchemaRef}${schemaPath}` : data;\n\t\tconst valCxt = [\n\t\t\t[names_1.default.instancePath, (0, codegen_1.strConcat)(names_1.default.instancePath, errorPath)],\n\t\t\t[names_1.default.parentData, it.parentData],\n\t\t\t[names_1.default.parentDataProperty, it.parentDataProperty],\n\t\t\t[names_1.default.rootData, names_1.default.rootData]\n\t\t];\n\t\tif (it.opts.dynamicRef) valCxt.push([names_1.default.dynamicAnchors, names_1.default.dynamicAnchors]);\n\t\tconst args = (0, codegen_1._)`${dataAndSchema}, ${gen.object(...valCxt)}`;\n\t\treturn context !== codegen_1.nil ? (0, codegen_1._)`${func}.call(${context}, ${args})` : (0, codegen_1._)`${func}(${args})`;\n\t}\n\texports.callValidateCode = callValidateCode;\n\tconst newRegExp = (0, codegen_1._)`new RegExp`;\n\tfunction usePattern({ gen, it: { opts } }, pattern) {\n\t\tconst u = opts.unicodeRegExp ? \"u\" : \"\";\n\t\tconst { regExp } = opts.code;\n\t\tconst rx = regExp(pattern, u);\n\t\treturn gen.scopeValue(\"pattern\", {\n\t\t\tkey: rx.toString(),\n\t\t\tref: rx,\n\t\t\tcode: (0, codegen_1._)`${regExp.code === \"new RegExp\" ? newRegExp : (0, util_2.useFunc)(gen, regExp)}(${pattern}, ${u})`\n\t\t});\n\t}\n\texports.usePattern = usePattern;\n\tfunction validateArray(cxt) {\n\t\tconst { gen, data, keyword, it } = cxt;\n\t\tconst valid = gen.name(\"valid\");\n\t\tif (it.allErrors) {\n\t\t\tconst validArr = gen.let(\"valid\", true);\n\t\t\tvalidateItems(() => gen.assign(validArr, false));\n\t\t\treturn validArr;\n\t\t}\n\t\tgen.var(valid, true);\n\t\tvalidateItems(() => gen.break());\n\t\treturn valid;\n\t\tfunction validateItems(notValid) {\n\t\t\tconst len = gen.const(\"len\", (0, codegen_1._)`${data}.length`);\n\t\t\tgen.forRange(\"i\", 0, len, (i) => {\n\t\t\t\tcxt.subschema({\n\t\t\t\t\tkeyword,\n\t\t\t\t\tdataProp: i,\n\t\t\t\t\tdataPropType: util_1.Type.Num\n\t\t\t\t}, valid);\n\t\t\t\tgen.if((0, codegen_1.not)(valid), notValid);\n\t\t\t});\n\t\t}\n\t}\n\texports.validateArray = validateArray;\n\tfunction validateUnion(cxt) {\n\t\tconst { gen, schema, keyword, it } = cxt;\n\t\t/* istanbul ignore if */\n\t\tif (!Array.isArray(schema)) throw new Error(\"ajv implementation error\");\n\t\tif (schema.some((sch) => (0, util_1.alwaysValidSchema)(it, sch)) && !it.opts.unevaluated) return;\n\t\tconst valid = gen.let(\"valid\", false);\n\t\tconst schValid = gen.name(\"_valid\");\n\t\tgen.block(() => schema.forEach((_sch, i) => {\n\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\tkeyword,\n\t\t\t\tschemaProp: i,\n\t\t\t\tcompositeRule: true\n\t\t\t}, schValid);\n\t\t\tgen.assign(valid, (0, codegen_1._)`${valid} || ${schValid}`);\n\t\t\tif (!cxt.mergeValidEvaluated(schCxt, schValid)) gen.if((0, codegen_1.not)(valid));\n\t\t}));\n\t\tcxt.result(valid, () => cxt.reset(), () => cxt.error(true));\n\t}\n\texports.validateUnion = validateUnion;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/keyword.js\nvar require_keyword = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst names_1 = require_names();\n\tconst code_1 = require_code();\n\tconst errors_1 = require_errors();\n\tfunction macroKeywordCode(cxt, def) {\n\t\tconst { gen, keyword, schema, parentSchema, it } = cxt;\n\t\tconst macroSchema = def.macro.call(it.self, schema, parentSchema, it);\n\t\tconst schemaRef = useKeyword(gen, keyword, macroSchema);\n\t\tif (it.opts.validateSchema !== false) it.self.validateSchema(macroSchema, true);\n\t\tconst valid = gen.name(\"valid\");\n\t\tcxt.subschema({\n\t\t\tschema: macroSchema,\n\t\t\tschemaPath: codegen_1.nil,\n\t\t\terrSchemaPath: `${it.errSchemaPath}/${keyword}`,\n\t\t\ttopSchemaRef: schemaRef,\n\t\t\tcompositeRule: true\n\t\t}, valid);\n\t\tcxt.pass(valid, () => cxt.error(true));\n\t}\n\texports.macroKeywordCode = macroKeywordCode;\n\tfunction funcKeywordCode(cxt, def) {\n\t\tvar _a;\n\t\tconst { gen, keyword, schema, parentSchema, $data, it } = cxt;\n\t\tcheckAsyncKeyword(it, def);\n\t\tconst validateRef = useKeyword(gen, keyword, !$data && def.compile ? def.compile.call(it.self, schema, parentSchema, it) : def.validate);\n\t\tconst valid = gen.let(\"valid\");\n\t\tcxt.block$data(valid, validateKeyword);\n\t\tcxt.ok((_a = def.valid) !== null && _a !== void 0 ? _a : valid);\n\t\tfunction validateKeyword() {\n\t\t\tif (def.errors === false) {\n\t\t\t\tassignValid();\n\t\t\t\tif (def.modifying) modifyData(cxt);\n\t\t\t\treportErrs(() => cxt.error());\n\t\t\t} else {\n\t\t\t\tconst ruleErrs = def.async ? validateAsync() : validateSync();\n\t\t\t\tif (def.modifying) modifyData(cxt);\n\t\t\t\treportErrs(() => addErrs(cxt, ruleErrs));\n\t\t\t}\n\t\t}\n\t\tfunction validateAsync() {\n\t\t\tconst ruleErrs = gen.let(\"ruleErrs\", null);\n\t\t\tgen.try(() => assignValid((0, codegen_1._)`await `), (e) => gen.assign(valid, false).if((0, codegen_1._)`${e} instanceof ${it.ValidationError}`, () => gen.assign(ruleErrs, (0, codegen_1._)`${e}.errors`), () => gen.throw(e)));\n\t\t\treturn ruleErrs;\n\t\t}\n\t\tfunction validateSync() {\n\t\t\tconst validateErrs = (0, codegen_1._)`${validateRef}.errors`;\n\t\t\tgen.assign(validateErrs, null);\n\t\t\tassignValid(codegen_1.nil);\n\t\t\treturn validateErrs;\n\t\t}\n\t\tfunction assignValid(_await = def.async ? (0, codegen_1._)`await ` : codegen_1.nil) {\n\t\t\tconst passCxt = it.opts.passContext ? names_1.default.this : names_1.default.self;\n\t\t\tconst passSchema = !(\"compile\" in def && !$data || def.schema === false);\n\t\t\tgen.assign(valid, (0, codegen_1._)`${_await}${(0, code_1.callValidateCode)(cxt, validateRef, passCxt, passSchema)}`, def.modifying);\n\t\t}\n\t\tfunction reportErrs(errors) {\n\t\t\tvar _a;\n\t\t\tgen.if((0, codegen_1.not)((_a = def.valid) !== null && _a !== void 0 ? _a : valid), errors);\n\t\t}\n\t}\n\texports.funcKeywordCode = funcKeywordCode;\n\tfunction modifyData(cxt) {\n\t\tconst { gen, data, it } = cxt;\n\t\tgen.if(it.parentData, () => gen.assign(data, (0, codegen_1._)`${it.parentData}[${it.parentDataProperty}]`));\n\t}\n\tfunction addErrs(cxt, errs) {\n\t\tconst { gen } = cxt;\n\t\tgen.if((0, codegen_1._)`Array.isArray(${errs})`, () => {\n\t\t\tgen.assign(names_1.default.vErrors, (0, codegen_1._)`${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`).assign(names_1.default.errors, (0, codegen_1._)`${names_1.default.vErrors}.length`);\n\t\t\t(0, errors_1.extendErrors)(cxt);\n\t\t}, () => cxt.error());\n\t}\n\tfunction checkAsyncKeyword({ schemaEnv }, def) {\n\t\tif (def.async && !schemaEnv.$async) throw new Error(\"async keyword in sync schema\");\n\t}\n\tfunction useKeyword(gen, keyword, result) {\n\t\tif (result === void 0) throw new Error(`keyword \"${keyword}\" failed to compile`);\n\t\treturn gen.scopeValue(\"keyword\", typeof result == \"function\" ? { ref: result } : {\n\t\t\tref: result,\n\t\t\tcode: (0, codegen_1.stringify)(result)\n\t\t});\n\t}\n\tfunction validSchemaType(schema, schemaType, allowUndefined = false) {\n\t\treturn !schemaType.length || schemaType.some((st) => st === \"array\" ? Array.isArray(schema) : st === \"object\" ? schema && typeof schema == \"object\" && !Array.isArray(schema) : typeof schema == st || allowUndefined && typeof schema == \"undefined\");\n\t}\n\texports.validSchemaType = validSchemaType;\n\tfunction validateKeywordUsage({ schema, opts, self, errSchemaPath }, def, keyword) {\n\t\t/* istanbul ignore if */\n\t\tif (Array.isArray(def.keyword) ? !def.keyword.includes(keyword) : def.keyword !== keyword) throw new Error(\"ajv implementation error\");\n\t\tconst deps = def.dependencies;\n\t\tif (deps === null || deps === void 0 ? void 0 : deps.some((kwd) => !Object.prototype.hasOwnProperty.call(schema, kwd))) throw new Error(`parent schema must have dependencies of ${keyword}: ${deps.join(\",\")}`);\n\t\tif (def.validateSchema) {\n\t\t\tif (!def.validateSchema(schema[keyword])) {\n\t\t\t\tconst msg = `keyword \"${keyword}\" value is invalid at path \"${errSchemaPath}\": ` + self.errorsText(def.validateSchema.errors);\n\t\t\t\tif (opts.validateSchema === \"log\") self.logger.error(msg);\n\t\t\t\telse throw new Error(msg);\n\t\t\t}\n\t\t}\n\t}\n\texports.validateKeywordUsage = validateKeywordUsage;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/subschema.js\nvar require_subschema = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tfunction getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {\n\t\tif (keyword !== void 0 && schema !== void 0) throw new Error(\"both \\\"keyword\\\" and \\\"schema\\\" passed, only one allowed\");\n\t\tif (keyword !== void 0) {\n\t\t\tconst sch = it.schema[keyword];\n\t\t\treturn schemaProp === void 0 ? {\n\t\t\t\tschema: sch,\n\t\t\t\tschemaPath: (0, codegen_1._)`${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}`,\n\t\t\t\terrSchemaPath: `${it.errSchemaPath}/${keyword}`\n\t\t\t} : {\n\t\t\t\tschema: sch[schemaProp],\n\t\t\t\tschemaPath: (0, codegen_1._)`${it.schemaPath}${(0, codegen_1.getProperty)(keyword)}${(0, codegen_1.getProperty)(schemaProp)}`,\n\t\t\t\terrSchemaPath: `${it.errSchemaPath}/${keyword}/${(0, util_1.escapeFragment)(schemaProp)}`\n\t\t\t};\n\t\t}\n\t\tif (schema !== void 0) {\n\t\t\tif (schemaPath === void 0 || errSchemaPath === void 0 || topSchemaRef === void 0) throw new Error(\"\\\"schemaPath\\\", \\\"errSchemaPath\\\" and \\\"topSchemaRef\\\" are required with \\\"schema\\\"\");\n\t\t\treturn {\n\t\t\t\tschema,\n\t\t\t\tschemaPath,\n\t\t\t\ttopSchemaRef,\n\t\t\t\terrSchemaPath\n\t\t\t};\n\t\t}\n\t\tthrow new Error(\"either \\\"keyword\\\" or \\\"schema\\\" must be passed\");\n\t}\n\texports.getSubschema = getSubschema;\n\tfunction extendSubschemaData(subschema, it, { dataProp, dataPropType: dpType, data, dataTypes, propertyName }) {\n\t\tif (data !== void 0 && dataProp !== void 0) throw new Error(\"both \\\"data\\\" and \\\"dataProp\\\" passed, only one allowed\");\n\t\tconst { gen } = it;\n\t\tif (dataProp !== void 0) {\n\t\t\tconst { errorPath, dataPathArr, opts } = it;\n\t\t\tdataContextProps(gen.let(\"data\", (0, codegen_1._)`${it.data}${(0, codegen_1.getProperty)(dataProp)}`, true));\n\t\t\tsubschema.errorPath = (0, codegen_1.str)`${errorPath}${(0, util_1.getErrorPath)(dataProp, dpType, opts.jsPropertySyntax)}`;\n\t\t\tsubschema.parentDataProperty = (0, codegen_1._)`${dataProp}`;\n\t\t\tsubschema.dataPathArr = [...dataPathArr, subschema.parentDataProperty];\n\t\t}\n\t\tif (data !== void 0) {\n\t\t\tdataContextProps(data instanceof codegen_1.Name ? data : gen.let(\"data\", data, true));\n\t\t\tif (propertyName !== void 0) subschema.propertyName = propertyName;\n\t\t}\n\t\tif (dataTypes) subschema.dataTypes = dataTypes;\n\t\tfunction dataContextProps(_nextData) {\n\t\t\tsubschema.data = _nextData;\n\t\t\tsubschema.dataLevel = it.dataLevel + 1;\n\t\t\tsubschema.dataTypes = [];\n\t\t\tit.definedProperties = /* @__PURE__ */ new Set();\n\t\t\tsubschema.parentData = it.data;\n\t\t\tsubschema.dataNames = [...it.dataNames, _nextData];\n\t\t}\n\t}\n\texports.extendSubschemaData = extendSubschemaData;\n\tfunction extendSubschemaMode(subschema, { jtdDiscriminator, jtdMetadata, compositeRule, createErrors, allErrors }) {\n\t\tif (compositeRule !== void 0) subschema.compositeRule = compositeRule;\n\t\tif (createErrors !== void 0) subschema.createErrors = createErrors;\n\t\tif (allErrors !== void 0) subschema.allErrors = allErrors;\n\t\tsubschema.jtdDiscriminator = jtdDiscriminator;\n\t\tsubschema.jtdMetadata = jtdMetadata;\n\t}\n\texports.extendSubschemaMode = extendSubschemaMode;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/fast-deep-equal@3.1.3/node_modules/fast-deep-equal/index.js\nvar require_fast_deep_equal = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = function equal(a, b) {\n\t\tif (a === b) return true;\n\t\tif (a && b && typeof a == \"object\" && typeof b == \"object\") {\n\t\t\tif (a.constructor !== b.constructor) return false;\n\t\t\tvar length, i, keys;\n\t\t\tif (Array.isArray(a)) {\n\t\t\t\tlength = a.length;\n\t\t\t\tif (length != b.length) return false;\n\t\t\t\tfor (i = length; i-- !== 0;) if (!equal(a[i], b[i])) return false;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tif (a.constructor === RegExp) return a.source === b.source && a.flags === b.flags;\n\t\t\tif (a.valueOf !== Object.prototype.valueOf) return a.valueOf() === b.valueOf();\n\t\t\tif (a.toString !== Object.prototype.toString) return a.toString() === b.toString();\n\t\t\tkeys = Object.keys(a);\n\t\t\tlength = keys.length;\n\t\t\tif (length !== Object.keys(b).length) return false;\n\t\t\tfor (i = length; i-- !== 0;) if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;\n\t\t\tfor (i = length; i-- !== 0;) {\n\t\t\t\tvar key = keys[i];\n\t\t\t\tif (!equal(a[key], b[key])) return false;\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\treturn a !== a && b !== b;\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/json-schema-traverse@1.0.0/node_modules/json-schema-traverse/index.js\nvar require_json_schema_traverse = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tvar traverse = module.exports = function(schema, opts, cb) {\n\t\tif (typeof opts == \"function\") {\n\t\t\tcb = opts;\n\t\t\topts = {};\n\t\t}\n\t\tcb = opts.cb || cb;\n\t\tvar pre = typeof cb == \"function\" ? cb : cb.pre || function() {};\n\t\tvar post = cb.post || function() {};\n\t\t_traverse(opts, pre, post, schema, \"\", schema);\n\t};\n\ttraverse.keywords = {\n\t\tadditionalItems: true,\n\t\titems: true,\n\t\tcontains: true,\n\t\tadditionalProperties: true,\n\t\tpropertyNames: true,\n\t\tnot: true,\n\t\tif: true,\n\t\tthen: true,\n\t\telse: true\n\t};\n\ttraverse.arrayKeywords = {\n\t\titems: true,\n\t\tallOf: true,\n\t\tanyOf: true,\n\t\toneOf: true\n\t};\n\ttraverse.propsKeywords = {\n\t\t$defs: true,\n\t\tdefinitions: true,\n\t\tproperties: true,\n\t\tpatternProperties: true,\n\t\tdependencies: true\n\t};\n\ttraverse.skipKeywords = {\n\t\tdefault: true,\n\t\tenum: true,\n\t\tconst: true,\n\t\trequired: true,\n\t\tmaximum: true,\n\t\tminimum: true,\n\t\texclusiveMaximum: true,\n\t\texclusiveMinimum: true,\n\t\tmultipleOf: true,\n\t\tmaxLength: true,\n\t\tminLength: true,\n\t\tpattern: true,\n\t\tformat: true,\n\t\tmaxItems: true,\n\t\tminItems: true,\n\t\tuniqueItems: true,\n\t\tmaxProperties: true,\n\t\tminProperties: true\n\t};\n\tfunction _traverse(opts, pre, post, schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex) {\n\t\tif (schema && typeof schema == \"object\" && !Array.isArray(schema)) {\n\t\t\tpre(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n\t\t\tfor (var key in schema) {\n\t\t\t\tvar sch = schema[key];\n\t\t\t\tif (Array.isArray(sch)) {\n\t\t\t\t\tif (key in traverse.arrayKeywords) for (var i = 0; i < sch.length; i++) _traverse(opts, pre, post, sch[i], jsonPtr + \"/\" + key + \"/\" + i, rootSchema, jsonPtr, key, schema, i);\n\t\t\t\t} else if (key in traverse.propsKeywords) {\n\t\t\t\t\tif (sch && typeof sch == \"object\") for (var prop in sch) _traverse(opts, pre, post, sch[prop], jsonPtr + \"/\" + key + \"/\" + escapeJsonPtr(prop), rootSchema, jsonPtr, key, schema, prop);\n\t\t\t\t} else if (key in traverse.keywords || opts.allKeys && !(key in traverse.skipKeywords)) _traverse(opts, pre, post, sch, jsonPtr + \"/\" + key, rootSchema, jsonPtr, key, schema);\n\t\t\t}\n\t\t\tpost(schema, jsonPtr, rootSchema, parentJsonPtr, parentKeyword, parentSchema, keyIndex);\n\t\t}\n\t}\n\tfunction escapeJsonPtr(str) {\n\t\treturn str.replace(/~/g, \"~0\").replace(/\\//g, \"~1\");\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/resolve.js\nvar require_resolve = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;\n\tconst util_1 = require_util();\n\tconst equal = require_fast_deep_equal();\n\tconst traverse = require_json_schema_traverse();\n\tconst SIMPLE_INLINED = new Set([\n\t\t\"type\",\n\t\t\"format\",\n\t\t\"pattern\",\n\t\t\"maxLength\",\n\t\t\"minLength\",\n\t\t\"maxProperties\",\n\t\t\"minProperties\",\n\t\t\"maxItems\",\n\t\t\"minItems\",\n\t\t\"maximum\",\n\t\t\"minimum\",\n\t\t\"uniqueItems\",\n\t\t\"multipleOf\",\n\t\t\"required\",\n\t\t\"enum\",\n\t\t\"const\"\n\t]);\n\tfunction inlineRef(schema, limit = true) {\n\t\tif (typeof schema == \"boolean\") return true;\n\t\tif (limit === true) return !hasRef(schema);\n\t\tif (!limit) return false;\n\t\treturn countKeys(schema) <= limit;\n\t}\n\texports.inlineRef = inlineRef;\n\tconst REF_KEYWORDS = new Set([\n\t\t\"$ref\",\n\t\t\"$recursiveRef\",\n\t\t\"$recursiveAnchor\",\n\t\t\"$dynamicRef\",\n\t\t\"$dynamicAnchor\"\n\t]);\n\tfunction hasRef(schema) {\n\t\tfor (const key in schema) {\n\t\t\tif (REF_KEYWORDS.has(key)) return true;\n\t\t\tconst sch = schema[key];\n\t\t\tif (Array.isArray(sch) && sch.some(hasRef)) return true;\n\t\t\tif (typeof sch == \"object\" && hasRef(sch)) return true;\n\t\t}\n\t\treturn false;\n\t}\n\tfunction countKeys(schema) {\n\t\tlet count = 0;\n\t\tfor (const key in schema) {\n\t\t\tif (key === \"$ref\") return Infinity;\n\t\t\tcount++;\n\t\t\tif (SIMPLE_INLINED.has(key)) continue;\n\t\t\tif (typeof schema[key] == \"object\") (0, util_1.eachItem)(schema[key], (sch) => count += countKeys(sch));\n\t\t\tif (count === Infinity) return Infinity;\n\t\t}\n\t\treturn count;\n\t}\n\tfunction getFullPath(resolver, id = \"\", normalize) {\n\t\tif (normalize !== false) id = normalizeId(id);\n\t\treturn _getFullPath(resolver, resolver.parse(id));\n\t}\n\texports.getFullPath = getFullPath;\n\tfunction _getFullPath(resolver, p) {\n\t\treturn resolver.serialize(p).split(\"#\")[0] + \"#\";\n\t}\n\texports._getFullPath = _getFullPath;\n\tconst TRAILING_SLASH_HASH = /#\\/?$/;\n\tfunction normalizeId(id) {\n\t\treturn id ? id.replace(TRAILING_SLASH_HASH, \"\") : \"\";\n\t}\n\texports.normalizeId = normalizeId;\n\tfunction resolveUrl(resolver, baseId, id) {\n\t\tid = normalizeId(id);\n\t\treturn resolver.resolve(baseId, id);\n\t}\n\texports.resolveUrl = resolveUrl;\n\tconst ANCHOR = /^[a-z_][-a-z0-9._]*$/i;\n\tfunction getSchemaRefs(schema, baseId) {\n\t\tif (typeof schema == \"boolean\") return {};\n\t\tconst { schemaId, uriResolver } = this.opts;\n\t\tconst schId = normalizeId(schema[schemaId] || baseId);\n\t\tconst baseIds = { \"\": schId };\n\t\tconst pathPrefix = getFullPath(uriResolver, schId, false);\n\t\tconst localRefs = {};\n\t\tconst schemaRefs = /* @__PURE__ */ new Set();\n\t\ttraverse(schema, { allKeys: true }, (sch, jsonPtr, _, parentJsonPtr) => {\n\t\t\tif (parentJsonPtr === void 0) return;\n\t\t\tconst fullPath = pathPrefix + jsonPtr;\n\t\t\tlet innerBaseId = baseIds[parentJsonPtr];\n\t\t\tif (typeof sch[schemaId] == \"string\") innerBaseId = addRef.call(this, sch[schemaId]);\n\t\t\taddAnchor.call(this, sch.$anchor);\n\t\t\taddAnchor.call(this, sch.$dynamicAnchor);\n\t\t\tbaseIds[jsonPtr] = innerBaseId;\n\t\t\tfunction addRef(ref) {\n\t\t\t\tconst _resolve = this.opts.uriResolver.resolve;\n\t\t\t\tref = normalizeId(innerBaseId ? _resolve(innerBaseId, ref) : ref);\n\t\t\t\tif (schemaRefs.has(ref)) throw ambiguos(ref);\n\t\t\t\tschemaRefs.add(ref);\n\t\t\t\tlet schOrRef = this.refs[ref];\n\t\t\t\tif (typeof schOrRef == \"string\") schOrRef = this.refs[schOrRef];\n\t\t\t\tif (typeof schOrRef == \"object\") checkAmbiguosRef(sch, schOrRef.schema, ref);\n\t\t\t\telse if (ref !== normalizeId(fullPath)) if (ref[0] === \"#\") {\n\t\t\t\t\tcheckAmbiguosRef(sch, localRefs[ref], ref);\n\t\t\t\t\tlocalRefs[ref] = sch;\n\t\t\t\t} else this.refs[ref] = fullPath;\n\t\t\t\treturn ref;\n\t\t\t}\n\t\t\tfunction addAnchor(anchor) {\n\t\t\t\tif (typeof anchor == \"string\") {\n\t\t\t\t\tif (!ANCHOR.test(anchor)) throw new Error(`invalid anchor \"${anchor}\"`);\n\t\t\t\t\taddRef.call(this, `#${anchor}`);\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t\treturn localRefs;\n\t\tfunction checkAmbiguosRef(sch1, sch2, ref) {\n\t\t\tif (sch2 !== void 0 && !equal(sch1, sch2)) throw ambiguos(ref);\n\t\t}\n\t\tfunction ambiguos(ref) {\n\t\t\treturn /* @__PURE__ */ new Error(`reference \"${ref}\" resolves to more than one schema`);\n\t\t}\n\t}\n\texports.getSchemaRefs = getSchemaRefs;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/validate/index.js\nvar require_validate = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;\n\tconst boolSchema_1 = require_boolSchema();\n\tconst dataType_1 = require_dataType();\n\tconst applicability_1 = require_applicability();\n\tconst dataType_2 = require_dataType();\n\tconst defaults_1 = require_defaults();\n\tconst keyword_1 = require_keyword();\n\tconst subschema_1 = require_subschema();\n\tconst codegen_1 = require_codegen();\n\tconst names_1 = require_names();\n\tconst resolve_1 = require_resolve();\n\tconst util_1 = require_util();\n\tconst errors_1 = require_errors();\n\tfunction validateFunctionCode(it) {\n\t\tif (isSchemaObj(it)) {\n\t\t\tcheckKeywords(it);\n\t\t\tif (schemaCxtHasRules(it)) {\n\t\t\t\ttopSchemaObjCode(it);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\tvalidateFunction(it, () => (0, boolSchema_1.topBoolOrEmptySchema)(it));\n\t}\n\texports.validateFunctionCode = validateFunctionCode;\n\tfunction validateFunction({ gen, validateName, schema, schemaEnv, opts }, body) {\n\t\tif (opts.code.es5) gen.func(validateName, (0, codegen_1._)`${names_1.default.data}, ${names_1.default.valCxt}`, schemaEnv.$async, () => {\n\t\t\tgen.code((0, codegen_1._)`\"use strict\"; ${funcSourceUrl(schema, opts)}`);\n\t\t\tdestructureValCxtES5(gen, opts);\n\t\t\tgen.code(body);\n\t\t});\n\t\telse gen.func(validateName, (0, codegen_1._)`${names_1.default.data}, ${destructureValCxt(opts)}`, schemaEnv.$async, () => gen.code(funcSourceUrl(schema, opts)).code(body));\n\t}\n\tfunction destructureValCxt(opts) {\n\t\treturn (0, codegen_1._)`{${names_1.default.instancePath}=\"\", ${names_1.default.parentData}, ${names_1.default.parentDataProperty}, ${names_1.default.rootData}=${names_1.default.data}${opts.dynamicRef ? (0, codegen_1._)`, ${names_1.default.dynamicAnchors}={}` : codegen_1.nil}}={}`;\n\t}\n\tfunction destructureValCxtES5(gen, opts) {\n\t\tgen.if(names_1.default.valCxt, () => {\n\t\t\tgen.var(names_1.default.instancePath, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.instancePath}`);\n\t\t\tgen.var(names_1.default.parentData, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.parentData}`);\n\t\t\tgen.var(names_1.default.parentDataProperty, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.parentDataProperty}`);\n\t\t\tgen.var(names_1.default.rootData, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.rootData}`);\n\t\t\tif (opts.dynamicRef) gen.var(names_1.default.dynamicAnchors, (0, codegen_1._)`${names_1.default.valCxt}.${names_1.default.dynamicAnchors}`);\n\t\t}, () => {\n\t\t\tgen.var(names_1.default.instancePath, (0, codegen_1._)`\"\"`);\n\t\t\tgen.var(names_1.default.parentData, (0, codegen_1._)`undefined`);\n\t\t\tgen.var(names_1.default.parentDataProperty, (0, codegen_1._)`undefined`);\n\t\t\tgen.var(names_1.default.rootData, names_1.default.data);\n\t\t\tif (opts.dynamicRef) gen.var(names_1.default.dynamicAnchors, (0, codegen_1._)`{}`);\n\t\t});\n\t}\n\tfunction topSchemaObjCode(it) {\n\t\tconst { schema, opts, gen } = it;\n\t\tvalidateFunction(it, () => {\n\t\t\tif (opts.$comment && schema.$comment) commentKeyword(it);\n\t\t\tcheckNoDefault(it);\n\t\t\tgen.let(names_1.default.vErrors, null);\n\t\t\tgen.let(names_1.default.errors, 0);\n\t\t\tif (opts.unevaluated) resetEvaluated(it);\n\t\t\ttypeAndKeywords(it);\n\t\t\treturnResults(it);\n\t\t});\n\t}\n\tfunction resetEvaluated(it) {\n\t\tconst { gen, validateName } = it;\n\t\tit.evaluated = gen.const(\"evaluated\", (0, codegen_1._)`${validateName}.evaluated`);\n\t\tgen.if((0, codegen_1._)`${it.evaluated}.dynamicProps`, () => gen.assign((0, codegen_1._)`${it.evaluated}.props`, (0, codegen_1._)`undefined`));\n\t\tgen.if((0, codegen_1._)`${it.evaluated}.dynamicItems`, () => gen.assign((0, codegen_1._)`${it.evaluated}.items`, (0, codegen_1._)`undefined`));\n\t}\n\tfunction funcSourceUrl(schema, opts) {\n\t\tconst schId = typeof schema == \"object\" && schema[opts.schemaId];\n\t\treturn schId && (opts.code.source || opts.code.process) ? (0, codegen_1._)`/*# sourceURL=${schId} */` : codegen_1.nil;\n\t}\n\tfunction subschemaCode(it, valid) {\n\t\tif (isSchemaObj(it)) {\n\t\t\tcheckKeywords(it);\n\t\t\tif (schemaCxtHasRules(it)) {\n\t\t\t\tsubSchemaObjCode(it, valid);\n\t\t\t\treturn;\n\t\t\t}\n\t\t}\n\t\t(0, boolSchema_1.boolOrEmptySchema)(it, valid);\n\t}\n\tfunction schemaCxtHasRules({ schema, self }) {\n\t\tif (typeof schema == \"boolean\") return !schema;\n\t\tfor (const key in schema) if (self.RULES.all[key]) return true;\n\t\treturn false;\n\t}\n\tfunction isSchemaObj(it) {\n\t\treturn typeof it.schema != \"boolean\";\n\t}\n\tfunction subSchemaObjCode(it, valid) {\n\t\tconst { schema, gen, opts } = it;\n\t\tif (opts.$comment && schema.$comment) commentKeyword(it);\n\t\tupdateContext(it);\n\t\tcheckAsyncSchema(it);\n\t\tconst errsCount = gen.const(\"_errs\", names_1.default.errors);\n\t\ttypeAndKeywords(it, errsCount);\n\t\tgen.var(valid, (0, codegen_1._)`${errsCount} === ${names_1.default.errors}`);\n\t}\n\tfunction checkKeywords(it) {\n\t\t(0, util_1.checkUnknownRules)(it);\n\t\tcheckRefsAndKeywords(it);\n\t}\n\tfunction typeAndKeywords(it, errsCount) {\n\t\tif (it.opts.jtd) return schemaKeywords(it, [], false, errsCount);\n\t\tconst types = (0, dataType_1.getSchemaTypes)(it.schema);\n\t\tschemaKeywords(it, types, !(0, dataType_1.coerceAndCheckDataType)(it, types), errsCount);\n\t}\n\tfunction checkRefsAndKeywords(it) {\n\t\tconst { schema, errSchemaPath, opts, self } = it;\n\t\tif (schema.$ref && opts.ignoreKeywordsWithRef && (0, util_1.schemaHasRulesButRef)(schema, self.RULES)) self.logger.warn(`$ref: keywords ignored in schema at path \"${errSchemaPath}\"`);\n\t}\n\tfunction checkNoDefault(it) {\n\t\tconst { schema, opts } = it;\n\t\tif (schema.default !== void 0 && opts.useDefaults && opts.strictSchema) (0, util_1.checkStrictMode)(it, \"default is ignored in the schema root\");\n\t}\n\tfunction updateContext(it) {\n\t\tconst schId = it.schema[it.opts.schemaId];\n\t\tif (schId) it.baseId = (0, resolve_1.resolveUrl)(it.opts.uriResolver, it.baseId, schId);\n\t}\n\tfunction checkAsyncSchema(it) {\n\t\tif (it.schema.$async && !it.schemaEnv.$async) throw new Error(\"async schema in sync schema\");\n\t}\n\tfunction commentKeyword({ gen, schemaEnv, schema, errSchemaPath, opts }) {\n\t\tconst msg = schema.$comment;\n\t\tif (opts.$comment === true) gen.code((0, codegen_1._)`${names_1.default.self}.logger.log(${msg})`);\n\t\telse if (typeof opts.$comment == \"function\") {\n\t\t\tconst schemaPath = (0, codegen_1.str)`${errSchemaPath}/$comment`;\n\t\t\tconst rootName = gen.scopeValue(\"root\", { ref: schemaEnv.root });\n\t\t\tgen.code((0, codegen_1._)`${names_1.default.self}.opts.$comment(${msg}, ${schemaPath}, ${rootName}.schema)`);\n\t\t}\n\t}\n\tfunction returnResults(it) {\n\t\tconst { gen, schemaEnv, validateName, ValidationError, opts } = it;\n\t\tif (schemaEnv.$async) gen.if((0, codegen_1._)`${names_1.default.errors} === 0`, () => gen.return(names_1.default.data), () => gen.throw((0, codegen_1._)`new ${ValidationError}(${names_1.default.vErrors})`));\n\t\telse {\n\t\t\tgen.assign((0, codegen_1._)`${validateName}.errors`, names_1.default.vErrors);\n\t\t\tif (opts.unevaluated) assignEvaluated(it);\n\t\t\tgen.return((0, codegen_1._)`${names_1.default.errors} === 0`);\n\t\t}\n\t}\n\tfunction assignEvaluated({ gen, evaluated, props, items }) {\n\t\tif (props instanceof codegen_1.Name) gen.assign((0, codegen_1._)`${evaluated}.props`, props);\n\t\tif (items instanceof codegen_1.Name) gen.assign((0, codegen_1._)`${evaluated}.items`, items);\n\t}\n\tfunction schemaKeywords(it, types, typeErrors, errsCount) {\n\t\tconst { gen, schema, data, allErrors, opts, self } = it;\n\t\tconst { RULES } = self;\n\t\tif (schema.$ref && (opts.ignoreKeywordsWithRef || !(0, util_1.schemaHasRulesButRef)(schema, RULES))) {\n\t\t\tgen.block(() => keywordCode(it, \"$ref\", RULES.all.$ref.definition));\n\t\t\treturn;\n\t\t}\n\t\tif (!opts.jtd) checkStrictTypes(it, types);\n\t\tgen.block(() => {\n\t\t\tfor (const group of RULES.rules) groupKeywords(group);\n\t\t\tgroupKeywords(RULES.post);\n\t\t});\n\t\tfunction groupKeywords(group) {\n\t\t\tif (!(0, applicability_1.shouldUseGroup)(schema, group)) return;\n\t\t\tif (group.type) {\n\t\t\t\tgen.if((0, dataType_2.checkDataType)(group.type, data, opts.strictNumbers));\n\t\t\t\titerateKeywords(it, group);\n\t\t\t\tif (types.length === 1 && types[0] === group.type && typeErrors) {\n\t\t\t\t\tgen.else();\n\t\t\t\t\t(0, dataType_2.reportTypeError)(it);\n\t\t\t\t}\n\t\t\t\tgen.endIf();\n\t\t\t} else iterateKeywords(it, group);\n\t\t\tif (!allErrors) gen.if((0, codegen_1._)`${names_1.default.errors} === ${errsCount || 0}`);\n\t\t}\n\t}\n\tfunction iterateKeywords(it, group) {\n\t\tconst { gen, schema, opts: { useDefaults } } = it;\n\t\tif (useDefaults) (0, defaults_1.assignDefaults)(it, group.type);\n\t\tgen.block(() => {\n\t\t\tfor (const rule of group.rules) if ((0, applicability_1.shouldUseRule)(schema, rule)) keywordCode(it, rule.keyword, rule.definition, group.type);\n\t\t});\n\t}\n\tfunction checkStrictTypes(it, types) {\n\t\tif (it.schemaEnv.meta || !it.opts.strictTypes) return;\n\t\tcheckContextTypes(it, types);\n\t\tif (!it.opts.allowUnionTypes) checkMultipleTypes(it, types);\n\t\tcheckKeywordTypes(it, it.dataTypes);\n\t}\n\tfunction checkContextTypes(it, types) {\n\t\tif (!types.length) return;\n\t\tif (!it.dataTypes.length) {\n\t\t\tit.dataTypes = types;\n\t\t\treturn;\n\t\t}\n\t\ttypes.forEach((t) => {\n\t\t\tif (!includesType(it.dataTypes, t)) strictTypesError(it, `type \"${t}\" not allowed by context \"${it.dataTypes.join(\",\")}\"`);\n\t\t});\n\t\tnarrowSchemaTypes(it, types);\n\t}\n\tfunction checkMultipleTypes(it, ts) {\n\t\tif (ts.length > 1 && !(ts.length === 2 && ts.includes(\"null\"))) strictTypesError(it, \"use allowUnionTypes to allow union type keyword\");\n\t}\n\tfunction checkKeywordTypes(it, ts) {\n\t\tconst rules = it.self.RULES.all;\n\t\tfor (const keyword in rules) {\n\t\t\tconst rule = rules[keyword];\n\t\t\tif (typeof rule == \"object\" && (0, applicability_1.shouldUseRule)(it.schema, rule)) {\n\t\t\t\tconst { type } = rule.definition;\n\t\t\t\tif (type.length && !type.some((t) => hasApplicableType(ts, t))) strictTypesError(it, `missing type \"${type.join(\",\")}\" for keyword \"${keyword}\"`);\n\t\t\t}\n\t\t}\n\t}\n\tfunction hasApplicableType(schTs, kwdT) {\n\t\treturn schTs.includes(kwdT) || kwdT === \"number\" && schTs.includes(\"integer\");\n\t}\n\tfunction includesType(ts, t) {\n\t\treturn ts.includes(t) || t === \"integer\" && ts.includes(\"number\");\n\t}\n\tfunction narrowSchemaTypes(it, withTypes) {\n\t\tconst ts = [];\n\t\tfor (const t of it.dataTypes) if (includesType(withTypes, t)) ts.push(t);\n\t\telse if (withTypes.includes(\"integer\") && t === \"number\") ts.push(\"integer\");\n\t\tit.dataTypes = ts;\n\t}\n\tfunction strictTypesError(it, msg) {\n\t\tconst schemaPath = it.schemaEnv.baseId + it.errSchemaPath;\n\t\tmsg += ` at \"${schemaPath}\" (strictTypes)`;\n\t\t(0, util_1.checkStrictMode)(it, msg, it.opts.strictTypes);\n\t}\n\tvar KeywordCxt = class {\n\t\tconstructor(it, def, keyword) {\n\t\t\t(0, keyword_1.validateKeywordUsage)(it, def, keyword);\n\t\t\tthis.gen = it.gen;\n\t\t\tthis.allErrors = it.allErrors;\n\t\t\tthis.keyword = keyword;\n\t\t\tthis.data = it.data;\n\t\t\tthis.schema = it.schema[keyword];\n\t\t\tthis.$data = def.$data && it.opts.$data && this.schema && this.schema.$data;\n\t\t\tthis.schemaValue = (0, util_1.schemaRefOrVal)(it, this.schema, keyword, this.$data);\n\t\t\tthis.schemaType = def.schemaType;\n\t\t\tthis.parentSchema = it.schema;\n\t\t\tthis.params = {};\n\t\t\tthis.it = it;\n\t\t\tthis.def = def;\n\t\t\tif (this.$data) this.schemaCode = it.gen.const(\"vSchema\", getData(this.$data, it));\n\t\t\telse {\n\t\t\t\tthis.schemaCode = this.schemaValue;\n\t\t\t\tif (!(0, keyword_1.validSchemaType)(this.schema, def.schemaType, def.allowUndefined)) throw new Error(`${keyword} value must be ${JSON.stringify(def.schemaType)}`);\n\t\t\t}\n\t\t\tif (\"code\" in def ? def.trackErrors : def.errors !== false) this.errsCount = it.gen.const(\"_errs\", names_1.default.errors);\n\t\t}\n\t\tresult(condition, successAction, failAction) {\n\t\t\tthis.failResult((0, codegen_1.not)(condition), successAction, failAction);\n\t\t}\n\t\tfailResult(condition, successAction, failAction) {\n\t\t\tthis.gen.if(condition);\n\t\t\tif (failAction) failAction();\n\t\t\telse this.error();\n\t\t\tif (successAction) {\n\t\t\t\tthis.gen.else();\n\t\t\t\tsuccessAction();\n\t\t\t\tif (this.allErrors) this.gen.endIf();\n\t\t\t} else if (this.allErrors) this.gen.endIf();\n\t\t\telse this.gen.else();\n\t\t}\n\t\tpass(condition, failAction) {\n\t\t\tthis.failResult((0, codegen_1.not)(condition), void 0, failAction);\n\t\t}\n\t\tfail(condition) {\n\t\t\tif (condition === void 0) {\n\t\t\t\tthis.error();\n\t\t\t\tif (!this.allErrors) this.gen.if(false);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis.gen.if(condition);\n\t\t\tthis.error();\n\t\t\tif (this.allErrors) this.gen.endIf();\n\t\t\telse this.gen.else();\n\t\t}\n\t\tfail$data(condition) {\n\t\t\tif (!this.$data) return this.fail(condition);\n\t\t\tconst { schemaCode } = this;\n\t\t\tthis.fail((0, codegen_1._)`${schemaCode} !== undefined && (${(0, codegen_1.or)(this.invalid$data(), condition)})`);\n\t\t}\n\t\terror(append, errorParams, errorPaths) {\n\t\t\tif (errorParams) {\n\t\t\t\tthis.setParams(errorParams);\n\t\t\t\tthis._error(append, errorPaths);\n\t\t\t\tthis.setParams({});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tthis._error(append, errorPaths);\n\t\t}\n\t\t_error(append, errorPaths) {\n\t\t\t(append ? errors_1.reportExtraError : errors_1.reportError)(this, this.def.error, errorPaths);\n\t\t}\n\t\t$dataError() {\n\t\t\t(0, errors_1.reportError)(this, this.def.$dataError || errors_1.keyword$DataError);\n\t\t}\n\t\treset() {\n\t\t\tif (this.errsCount === void 0) throw new Error(\"add \\\"trackErrors\\\" to keyword definition\");\n\t\t\t(0, errors_1.resetErrorsCount)(this.gen, this.errsCount);\n\t\t}\n\t\tok(cond) {\n\t\t\tif (!this.allErrors) this.gen.if(cond);\n\t\t}\n\t\tsetParams(obj, assign) {\n\t\t\tif (assign) Object.assign(this.params, obj);\n\t\t\telse this.params = obj;\n\t\t}\n\t\tblock$data(valid, codeBlock, $dataValid = codegen_1.nil) {\n\t\t\tthis.gen.block(() => {\n\t\t\t\tthis.check$data(valid, $dataValid);\n\t\t\t\tcodeBlock();\n\t\t\t});\n\t\t}\n\t\tcheck$data(valid = codegen_1.nil, $dataValid = codegen_1.nil) {\n\t\t\tif (!this.$data) return;\n\t\t\tconst { gen, schemaCode, schemaType, def } = this;\n\t\t\tgen.if((0, codegen_1.or)((0, codegen_1._)`${schemaCode} === undefined`, $dataValid));\n\t\t\tif (valid !== codegen_1.nil) gen.assign(valid, true);\n\t\t\tif (schemaType.length || def.validateSchema) {\n\t\t\t\tgen.elseIf(this.invalid$data());\n\t\t\t\tthis.$dataError();\n\t\t\t\tif (valid !== codegen_1.nil) gen.assign(valid, false);\n\t\t\t}\n\t\t\tgen.else();\n\t\t}\n\t\tinvalid$data() {\n\t\t\tconst { gen, schemaCode, schemaType, def, it } = this;\n\t\t\treturn (0, codegen_1.or)(wrong$DataType(), invalid$DataSchema());\n\t\t\tfunction wrong$DataType() {\n\t\t\t\tif (schemaType.length) {\n\t\t\t\t\t/* istanbul ignore if */\n\t\t\t\t\tif (!(schemaCode instanceof codegen_1.Name)) throw new Error(\"ajv implementation error\");\n\t\t\t\t\tconst st = Array.isArray(schemaType) ? schemaType : [schemaType];\n\t\t\t\t\treturn (0, codegen_1._)`${(0, dataType_2.checkDataTypes)(st, schemaCode, it.opts.strictNumbers, dataType_2.DataType.Wrong)}`;\n\t\t\t\t}\n\t\t\t\treturn codegen_1.nil;\n\t\t\t}\n\t\t\tfunction invalid$DataSchema() {\n\t\t\t\tif (def.validateSchema) {\n\t\t\t\t\tconst validateSchemaRef = gen.scopeValue(\"validate$data\", { ref: def.validateSchema });\n\t\t\t\t\treturn (0, codegen_1._)`!${validateSchemaRef}(${schemaCode})`;\n\t\t\t\t}\n\t\t\t\treturn codegen_1.nil;\n\t\t\t}\n\t\t}\n\t\tsubschema(appl, valid) {\n\t\t\tconst subschema = (0, subschema_1.getSubschema)(this.it, appl);\n\t\t\t(0, subschema_1.extendSubschemaData)(subschema, this.it, appl);\n\t\t\t(0, subschema_1.extendSubschemaMode)(subschema, appl);\n\t\t\tconst nextContext = {\n\t\t\t\t...this.it,\n\t\t\t\t...subschema,\n\t\t\t\titems: void 0,\n\t\t\t\tprops: void 0\n\t\t\t};\n\t\t\tsubschemaCode(nextContext, valid);\n\t\t\treturn nextContext;\n\t\t}\n\t\tmergeEvaluated(schemaCxt, toName) {\n\t\t\tconst { it, gen } = this;\n\t\t\tif (!it.opts.unevaluated) return;\n\t\t\tif (it.props !== true && schemaCxt.props !== void 0) it.props = util_1.mergeEvaluated.props(gen, schemaCxt.props, it.props, toName);\n\t\t\tif (it.items !== true && schemaCxt.items !== void 0) it.items = util_1.mergeEvaluated.items(gen, schemaCxt.items, it.items, toName);\n\t\t}\n\t\tmergeValidEvaluated(schemaCxt, valid) {\n\t\t\tconst { it, gen } = this;\n\t\t\tif (it.opts.unevaluated && (it.props !== true || it.items !== true)) {\n\t\t\t\tgen.if(valid, () => this.mergeEvaluated(schemaCxt, codegen_1.Name));\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\t};\n\texports.KeywordCxt = KeywordCxt;\n\tfunction keywordCode(it, keyword, def, ruleType) {\n\t\tconst cxt = new KeywordCxt(it, def, keyword);\n\t\tif (\"code\" in def) def.code(cxt, ruleType);\n\t\telse if (cxt.$data && def.validate) (0, keyword_1.funcKeywordCode)(cxt, def);\n\t\telse if (\"macro\" in def) (0, keyword_1.macroKeywordCode)(cxt, def);\n\t\telse if (def.compile || def.validate) (0, keyword_1.funcKeywordCode)(cxt, def);\n\t}\n\tconst JSON_POINTER = /^\\/(?:[^~]|~0|~1)*$/;\n\tconst RELATIVE_JSON_POINTER = /^([0-9]+)(#|\\/(?:[^~]|~0|~1)*)?$/;\n\tfunction getData($data, { dataLevel, dataNames, dataPathArr }) {\n\t\tlet jsonPointer;\n\t\tlet data;\n\t\tif ($data === \"\") return names_1.default.rootData;\n\t\tif ($data[0] === \"/\") {\n\t\t\tif (!JSON_POINTER.test($data)) throw new Error(`Invalid JSON-pointer: ${$data}`);\n\t\t\tjsonPointer = $data;\n\t\t\tdata = names_1.default.rootData;\n\t\t} else {\n\t\t\tconst matches = RELATIVE_JSON_POINTER.exec($data);\n\t\t\tif (!matches) throw new Error(`Invalid JSON-pointer: ${$data}`);\n\t\t\tconst up = +matches[1];\n\t\t\tjsonPointer = matches[2];\n\t\t\tif (jsonPointer === \"#\") {\n\t\t\t\tif (up >= dataLevel) throw new Error(errorMsg(\"property/index\", up));\n\t\t\t\treturn dataPathArr[dataLevel - up];\n\t\t\t}\n\t\t\tif (up > dataLevel) throw new Error(errorMsg(\"data\", up));\n\t\t\tdata = dataNames[dataLevel - up];\n\t\t\tif (!jsonPointer) return data;\n\t\t}\n\t\tlet expr = data;\n\t\tconst segments = jsonPointer.split(\"/\");\n\t\tfor (const segment of segments) if (segment) {\n\t\t\tdata = (0, codegen_1._)`${data}${(0, codegen_1.getProperty)((0, util_1.unescapeJsonPointer)(segment))}`;\n\t\t\texpr = (0, codegen_1._)`${expr} && ${data}`;\n\t\t}\n\t\treturn expr;\n\t\tfunction errorMsg(pointerType, up) {\n\t\t\treturn `Cannot access ${pointerType} ${up} levels up, current level is ${dataLevel}`;\n\t\t}\n\t}\n\texports.getData = getData;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/validation_error.js\nvar require_validation_error = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tvar ValidationError = class extends Error {\n\t\tconstructor(errors) {\n\t\t\tsuper(\"validation failed\");\n\t\t\tthis.errors = errors;\n\t\t\tthis.ajv = this.validation = true;\n\t\t}\n\t};\n\texports.default = ValidationError;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/ref_error.js\nvar require_ref_error = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst resolve_1 = require_resolve();\n\tvar MissingRefError = class extends Error {\n\t\tconstructor(resolver, baseId, ref, msg) {\n\t\t\tsuper(msg || `can't resolve reference ${ref} from id ${baseId}`);\n\t\t\tthis.missingRef = (0, resolve_1.resolveUrl)(resolver, baseId, ref);\n\t\t\tthis.missingSchema = (0, resolve_1.normalizeId)((0, resolve_1.getFullPath)(resolver, this.missingRef));\n\t\t}\n\t};\n\texports.default = MissingRefError;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/compile/index.js\nvar require_compile = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst validation_error_1 = require_validation_error();\n\tconst names_1 = require_names();\n\tconst resolve_1 = require_resolve();\n\tconst util_1 = require_util();\n\tconst validate_1 = require_validate();\n\tvar SchemaEnv = class {\n\t\tconstructor(env) {\n\t\t\tvar _a;\n\t\t\tthis.refs = {};\n\t\t\tthis.dynamicAnchors = {};\n\t\t\tlet schema;\n\t\t\tif (typeof env.schema == \"object\") schema = env.schema;\n\t\t\tthis.schema = env.schema;\n\t\t\tthis.schemaId = env.schemaId;\n\t\t\tthis.root = env.root || this;\n\t\t\tthis.baseId = (_a = env.baseId) !== null && _a !== void 0 ? _a : (0, resolve_1.normalizeId)(schema === null || schema === void 0 ? void 0 : schema[env.schemaId || \"$id\"]);\n\t\t\tthis.schemaPath = env.schemaPath;\n\t\t\tthis.localRefs = env.localRefs;\n\t\t\tthis.meta = env.meta;\n\t\t\tthis.$async = schema === null || schema === void 0 ? void 0 : schema.$async;\n\t\t\tthis.refs = {};\n\t\t}\n\t};\n\texports.SchemaEnv = SchemaEnv;\n\tfunction compileSchema(sch) {\n\t\tconst _sch = getCompilingSchema.call(this, sch);\n\t\tif (_sch) return _sch;\n\t\tconst rootId = (0, resolve_1.getFullPath)(this.opts.uriResolver, sch.root.baseId);\n\t\tconst { es5, lines } = this.opts.code;\n\t\tconst { ownProperties } = this.opts;\n\t\tconst gen = new codegen_1.CodeGen(this.scope, {\n\t\t\tes5,\n\t\t\tlines,\n\t\t\townProperties\n\t\t});\n\t\tlet _ValidationError;\n\t\tif (sch.$async) _ValidationError = gen.scopeValue(\"Error\", {\n\t\t\tref: validation_error_1.default,\n\t\t\tcode: (0, codegen_1._)`require(\"ajv/dist/runtime/validation_error\").default`\n\t\t});\n\t\tconst validateName = gen.scopeName(\"validate\");\n\t\tsch.validateName = validateName;\n\t\tconst schemaCxt = {\n\t\t\tgen,\n\t\t\tallErrors: this.opts.allErrors,\n\t\t\tdata: names_1.default.data,\n\t\t\tparentData: names_1.default.parentData,\n\t\t\tparentDataProperty: names_1.default.parentDataProperty,\n\t\t\tdataNames: [names_1.default.data],\n\t\t\tdataPathArr: [codegen_1.nil],\n\t\t\tdataLevel: 0,\n\t\t\tdataTypes: [],\n\t\t\tdefinedProperties: /* @__PURE__ */ new Set(),\n\t\t\ttopSchemaRef: gen.scopeValue(\"schema\", this.opts.code.source === true ? {\n\t\t\t\tref: sch.schema,\n\t\t\t\tcode: (0, codegen_1.stringify)(sch.schema)\n\t\t\t} : { ref: sch.schema }),\n\t\t\tvalidateName,\n\t\t\tValidationError: _ValidationError,\n\t\t\tschema: sch.schema,\n\t\t\tschemaEnv: sch,\n\t\t\trootId,\n\t\t\tbaseId: sch.baseId || rootId,\n\t\t\tschemaPath: codegen_1.nil,\n\t\t\terrSchemaPath: sch.schemaPath || (this.opts.jtd ? \"\" : \"#\"),\n\t\t\terrorPath: (0, codegen_1._)`\"\"`,\n\t\t\topts: this.opts,\n\t\t\tself: this\n\t\t};\n\t\tlet sourceCode;\n\t\ttry {\n\t\t\tthis._compilations.add(sch);\n\t\t\t(0, validate_1.validateFunctionCode)(schemaCxt);\n\t\t\tgen.optimize(this.opts.code.optimize);\n\t\t\tconst validateCode = gen.toString();\n\t\t\tsourceCode = `${gen.scopeRefs(names_1.default.scope)}return ${validateCode}`;\n\t\t\tif (this.opts.code.process) sourceCode = this.opts.code.process(sourceCode, sch);\n\t\t\tconst validate = new Function(`${names_1.default.self}`, `${names_1.default.scope}`, sourceCode)(this, this.scope.get());\n\t\t\tthis.scope.value(validateName, { ref: validate });\n\t\t\tvalidate.errors = null;\n\t\t\tvalidate.schema = sch.schema;\n\t\t\tvalidate.schemaEnv = sch;\n\t\t\tif (sch.$async) validate.$async = true;\n\t\t\tif (this.opts.code.source === true) validate.source = {\n\t\t\t\tvalidateName,\n\t\t\t\tvalidateCode,\n\t\t\t\tscopeValues: gen._values\n\t\t\t};\n\t\t\tif (this.opts.unevaluated) {\n\t\t\t\tconst { props, items } = schemaCxt;\n\t\t\t\tvalidate.evaluated = {\n\t\t\t\t\tprops: props instanceof codegen_1.Name ? void 0 : props,\n\t\t\t\t\titems: items instanceof codegen_1.Name ? void 0 : items,\n\t\t\t\t\tdynamicProps: props instanceof codegen_1.Name,\n\t\t\t\t\tdynamicItems: items instanceof codegen_1.Name\n\t\t\t\t};\n\t\t\t\tif (validate.source) validate.source.evaluated = (0, codegen_1.stringify)(validate.evaluated);\n\t\t\t}\n\t\t\tsch.validate = validate;\n\t\t\treturn sch;\n\t\t} catch (e) {\n\t\t\tdelete sch.validate;\n\t\t\tdelete sch.validateName;\n\t\t\tif (sourceCode) this.logger.error(\"Error compiling schema, function code:\", sourceCode);\n\t\t\tthrow e;\n\t\t} finally {\n\t\t\tthis._compilations.delete(sch);\n\t\t}\n\t}\n\texports.compileSchema = compileSchema;\n\tfunction resolveRef(root, baseId, ref) {\n\t\tvar _a;\n\t\tref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, ref);\n\t\tconst schOrFunc = root.refs[ref];\n\t\tif (schOrFunc) return schOrFunc;\n\t\tlet _sch = resolve.call(this, root, ref);\n\t\tif (_sch === void 0) {\n\t\t\tconst schema = (_a = root.localRefs) === null || _a === void 0 ? void 0 : _a[ref];\n\t\t\tconst { schemaId } = this.opts;\n\t\t\tif (schema) _sch = new SchemaEnv({\n\t\t\t\tschema,\n\t\t\t\tschemaId,\n\t\t\t\troot,\n\t\t\t\tbaseId\n\t\t\t});\n\t\t}\n\t\tif (_sch === void 0) return;\n\t\treturn root.refs[ref] = inlineOrCompile.call(this, _sch);\n\t}\n\texports.resolveRef = resolveRef;\n\tfunction inlineOrCompile(sch) {\n\t\tif ((0, resolve_1.inlineRef)(sch.schema, this.opts.inlineRefs)) return sch.schema;\n\t\treturn sch.validate ? sch : compileSchema.call(this, sch);\n\t}\n\tfunction getCompilingSchema(schEnv) {\n\t\tfor (const sch of this._compilations) if (sameSchemaEnv(sch, schEnv)) return sch;\n\t}\n\texports.getCompilingSchema = getCompilingSchema;\n\tfunction sameSchemaEnv(s1, s2) {\n\t\treturn s1.schema === s2.schema && s1.root === s2.root && s1.baseId === s2.baseId;\n\t}\n\tfunction resolve(root, ref) {\n\t\tlet sch;\n\t\twhile (typeof (sch = this.refs[ref]) == \"string\") ref = sch;\n\t\treturn sch || this.schemas[ref] || resolveSchema.call(this, root, ref);\n\t}\n\tfunction resolveSchema(root, ref) {\n\t\tconst p = this.opts.uriResolver.parse(ref);\n\t\tconst refPath = (0, resolve_1._getFullPath)(this.opts.uriResolver, p);\n\t\tlet baseId = (0, resolve_1.getFullPath)(this.opts.uriResolver, root.baseId, void 0);\n\t\tif (Object.keys(root.schema).length > 0 && refPath === baseId) return getJsonPointer.call(this, p, root);\n\t\tconst id = (0, resolve_1.normalizeId)(refPath);\n\t\tconst schOrRef = this.refs[id] || this.schemas[id];\n\t\tif (typeof schOrRef == \"string\") {\n\t\t\tconst sch = resolveSchema.call(this, root, schOrRef);\n\t\t\tif (typeof (sch === null || sch === void 0 ? void 0 : sch.schema) !== \"object\") return;\n\t\t\treturn getJsonPointer.call(this, p, sch);\n\t\t}\n\t\tif (typeof (schOrRef === null || schOrRef === void 0 ? void 0 : schOrRef.schema) !== \"object\") return;\n\t\tif (!schOrRef.validate) compileSchema.call(this, schOrRef);\n\t\tif (id === (0, resolve_1.normalizeId)(ref)) {\n\t\t\tconst { schema } = schOrRef;\n\t\t\tconst { schemaId } = this.opts;\n\t\t\tconst schId = schema[schemaId];\n\t\t\tif (schId) baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n\t\t\treturn new SchemaEnv({\n\t\t\t\tschema,\n\t\t\t\tschemaId,\n\t\t\t\troot,\n\t\t\t\tbaseId\n\t\t\t});\n\t\t}\n\t\treturn getJsonPointer.call(this, p, schOrRef);\n\t}\n\texports.resolveSchema = resolveSchema;\n\tconst PREVENT_SCOPE_CHANGE = new Set([\n\t\t\"properties\",\n\t\t\"patternProperties\",\n\t\t\"enum\",\n\t\t\"dependencies\",\n\t\t\"definitions\"\n\t]);\n\tfunction getJsonPointer(parsedRef, { baseId, schema, root }) {\n\t\tvar _a;\n\t\tif (((_a = parsedRef.fragment) === null || _a === void 0 ? void 0 : _a[0]) !== \"/\") return;\n\t\tfor (const part of parsedRef.fragment.slice(1).split(\"/\")) {\n\t\t\tif (typeof schema === \"boolean\") return;\n\t\t\tconst partSchema = schema[(0, util_1.unescapeFragment)(part)];\n\t\t\tif (partSchema === void 0) return;\n\t\t\tschema = partSchema;\n\t\t\tconst schId = typeof schema === \"object\" && schema[this.opts.schemaId];\n\t\t\tif (!PREVENT_SCOPE_CHANGE.has(part) && schId) baseId = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schId);\n\t\t}\n\t\tlet env;\n\t\tif (typeof schema != \"boolean\" && schema.$ref && !(0, util_1.schemaHasRulesButRef)(schema, this.RULES)) {\n\t\t\tconst $ref = (0, resolve_1.resolveUrl)(this.opts.uriResolver, baseId, schema.$ref);\n\t\t\tenv = resolveSchema.call(this, root, $ref);\n\t\t}\n\t\tconst { schemaId } = this.opts;\n\t\tenv = env || new SchemaEnv({\n\t\t\tschema,\n\t\t\tschemaId,\n\t\t\troot,\n\t\t\tbaseId\n\t\t});\n\t\tif (env.schema !== env.root.schema) return env;\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/data.json\nvar require_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = {\n\t\t\"$id\": \"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#\",\n\t\t\"description\": \"Meta-schema for $data reference (JSON AnySchema extension proposal)\",\n\t\t\"type\": \"object\",\n\t\t\"required\": [\"$data\"],\n\t\t\"properties\": { \"$data\": {\n\t\t\t\"type\": \"string\",\n\t\t\t\"anyOf\": [{ \"format\": \"relative-json-pointer\" }, { \"format\": \"json-pointer\" }]\n\t\t} },\n\t\t\"additionalProperties\": false\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/utils.js\nvar require_utils = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\t/** @type {(value: string) => boolean} */\n\tconst isUUID = RegExp.prototype.test.bind(/^[\\da-f]{8}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{4}-[\\da-f]{12}$/iu);\n\t/** @type {(value: string) => boolean} */\n\tconst isIPv4 = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\\d|1\\d{2}|[1-9]\\d|\\d)\\.){3}(?:25[0-5]|2[0-4]\\d|1\\d{2}|[1-9]\\d|\\d)$/u);\n\t/** @type {(value: string) => boolean} */\n\tconst isHexPair = RegExp.prototype.test.bind(/^[\\da-f]{2}$/iu);\n\t/** @type {(value: string) => boolean} */\n\tconst isUnreserved = RegExp.prototype.test.bind(/^[\\da-z\\-._~]$/iu);\n\t/** @type {(value: string) => boolean} */\n\tconst isPathCharacter = RegExp.prototype.test.bind(/^[\\da-z\\-._~!$&'()*+,;=:@/]$/iu);\n\t/**\n\t* @param {Array<string>} input\n\t* @returns {string}\n\t*/\n\tfunction stringArrayToHexStripped(input) {\n\t\tlet acc = \"\";\n\t\tlet code = 0;\n\t\tlet i = 0;\n\t\tfor (i = 0; i < input.length; i++) {\n\t\t\tcode = input[i].charCodeAt(0);\n\t\t\tif (code === 48) continue;\n\t\t\tif (!(code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102)) return \"\";\n\t\t\tacc += input[i];\n\t\t\tbreak;\n\t\t}\n\t\tfor (i += 1; i < input.length; i++) {\n\t\t\tcode = input[i].charCodeAt(0);\n\t\t\tif (!(code >= 48 && code <= 57 || code >= 65 && code <= 70 || code >= 97 && code <= 102)) return \"\";\n\t\t\tacc += input[i];\n\t\t}\n\t\treturn acc;\n\t}\n\t/**\n\t* @typedef {Object} GetIPV6Result\n\t* @property {boolean} error - Indicates if there was an error parsing the IPv6 address.\n\t* @property {string} address - The parsed IPv6 address.\n\t* @property {string} [zone] - The zone identifier, if present.\n\t*/\n\t/**\n\t* @param {string} value\n\t* @returns {boolean}\n\t*/\n\tconst nonSimpleDomain = RegExp.prototype.test.bind(/[^!\"$&'()*+,\\-.;=_`a-z{}~]/u);\n\t/**\n\t* @param {Array<string>} buffer\n\t* @returns {boolean}\n\t*/\n\tfunction consumeIsZone(buffer) {\n\t\tbuffer.length = 0;\n\t\treturn true;\n\t}\n\t/**\n\t* @param {Array<string>} buffer\n\t* @param {Array<string>} address\n\t* @param {GetIPV6Result} output\n\t* @returns {boolean}\n\t*/\n\tfunction consumeHextets(buffer, address, output) {\n\t\tif (buffer.length) {\n\t\t\tconst hex = stringArrayToHexStripped(buffer);\n\t\t\tif (hex !== \"\") address.push(hex);\n\t\t\telse {\n\t\t\t\toutput.error = true;\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tbuffer.length = 0;\n\t\t}\n\t\treturn true;\n\t}\n\t/**\n\t* @param {string} input\n\t* @returns {GetIPV6Result}\n\t*/\n\tfunction getIPV6(input) {\n\t\tlet tokenCount = 0;\n\t\tconst output = {\n\t\t\terror: false,\n\t\t\taddress: \"\",\n\t\t\tzone: \"\"\n\t\t};\n\t\t/** @type {Array<string>} */\n\t\tconst address = [];\n\t\t/** @type {Array<string>} */\n\t\tconst buffer = [];\n\t\tlet endipv6Encountered = false;\n\t\tlet endIpv6 = false;\n\t\tlet consume = consumeHextets;\n\t\tfor (let i = 0; i < input.length; i++) {\n\t\t\tconst cursor = input[i];\n\t\t\tif (cursor === \"[\" || cursor === \"]\") continue;\n\t\t\tif (cursor === \":\") {\n\t\t\t\tif (endipv6Encountered === true) endIpv6 = true;\n\t\t\t\tif (!consume(buffer, address, output)) break;\n\t\t\t\tif (++tokenCount > 7) {\n\t\t\t\t\toutput.error = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tif (i > 0 && input[i - 1] === \":\") endipv6Encountered = true;\n\t\t\t\taddress.push(\":\");\n\t\t\t\tcontinue;\n\t\t\t} else if (cursor === \"%\") {\n\t\t\t\tif (!consume(buffer, address, output)) break;\n\t\t\t\tconsume = consumeIsZone;\n\t\t\t} else {\n\t\t\t\tbuffer.push(cursor);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t}\n\t\tif (buffer.length) if (consume === consumeIsZone) output.zone = buffer.join(\"\");\n\t\telse if (endIpv6) address.push(buffer.join(\"\"));\n\t\telse address.push(stringArrayToHexStripped(buffer));\n\t\toutput.address = address.join(\"\");\n\t\treturn output;\n\t}\n\t/**\n\t* @typedef {Object} NormalizeIPv6Result\n\t* @property {string} host - The normalized host.\n\t* @property {string} [escapedHost] - The escaped host.\n\t* @property {boolean} isIPV6 - Indicates if the host is an IPv6 address.\n\t*/\n\t/**\n\t* @param {string} host\n\t* @returns {NormalizeIPv6Result}\n\t*/\n\tfunction normalizeIPv6(host) {\n\t\tif (findToken(host, \":\") < 2) return {\n\t\t\thost,\n\t\t\tisIPV6: false\n\t\t};\n\t\tconst ipv6 = getIPV6(host);\n\t\tif (!ipv6.error) {\n\t\t\tlet newHost = ipv6.address;\n\t\t\tlet escapedHost = ipv6.address;\n\t\t\tif (ipv6.zone) {\n\t\t\t\tnewHost += \"%\" + ipv6.zone;\n\t\t\t\tescapedHost += \"%25\" + ipv6.zone;\n\t\t\t}\n\t\t\treturn {\n\t\t\t\thost: newHost,\n\t\t\t\tisIPV6: true,\n\t\t\t\tescapedHost\n\t\t\t};\n\t\t} else return {\n\t\t\thost,\n\t\t\tisIPV6: false\n\t\t};\n\t}\n\t/**\n\t* @param {string} str\n\t* @param {string} token\n\t* @returns {number}\n\t*/\n\tfunction findToken(str, token) {\n\t\tlet ind = 0;\n\t\tfor (let i = 0; i < str.length; i++) if (str[i] === token) ind++;\n\t\treturn ind;\n\t}\n\t/**\n\t* @param {string} path\n\t* @returns {string}\n\t*\n\t* @see https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.4\n\t*/\n\tfunction removeDotSegments(path) {\n\t\tlet input = path;\n\t\tconst output = [];\n\t\tlet nextSlash = -1;\n\t\tlet len = 0;\n\t\twhile (len = input.length) {\n\t\t\tif (len === 1) if (input === \".\") break;\n\t\t\telse if (input === \"/\") {\n\t\t\t\toutput.push(\"/\");\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\toutput.push(input);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\telse if (len === 2) {\n\t\t\t\tif (input[0] === \".\") {\n\t\t\t\t\tif (input[1] === \".\") break;\n\t\t\t\t\telse if (input[1] === \"/\") {\n\t\t\t\t\t\tinput = input.slice(2);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t} else if (input[0] === \"/\") {\n\t\t\t\t\tif (input[1] === \".\" || input[1] === \"/\") {\n\t\t\t\t\t\toutput.push(\"/\");\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else if (len === 3) {\n\t\t\t\tif (input === \"/..\") {\n\t\t\t\t\tif (output.length !== 0) output.pop();\n\t\t\t\t\toutput.push(\"/\");\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (input[0] === \".\") {\n\t\t\t\tif (input[1] === \".\") {\n\t\t\t\t\tif (input[2] === \"/\") {\n\t\t\t\t\t\tinput = input.slice(3);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t} else if (input[1] === \"/\") {\n\t\t\t\t\tinput = input.slice(2);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else if (input[0] === \"/\") {\n\t\t\t\tif (input[1] === \".\") {\n\t\t\t\t\tif (input[2] === \"/\") {\n\t\t\t\t\t\tinput = input.slice(2);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t} else if (input[2] === \".\") {\n\t\t\t\t\t\tif (input[3] === \"/\") {\n\t\t\t\t\t\t\tinput = input.slice(3);\n\t\t\t\t\t\t\tif (output.length !== 0) output.pop();\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ((nextSlash = input.indexOf(\"/\", 1)) === -1) {\n\t\t\t\toutput.push(input);\n\t\t\t\tbreak;\n\t\t\t} else {\n\t\t\t\toutput.push(input.slice(0, nextSlash));\n\t\t\t\tinput = input.slice(nextSlash);\n\t\t\t}\n\t\t}\n\t\treturn output.join(\"\");\n\t}\n\t/**\n\t* Re-escape RFC 3986 gen-delims that must not appear literally in the host.\n\t* After the URI regex parses, these characters cannot be literal in the host\n\t* field, so any that appear after decoding came from percent-encoding and\n\t* must be restored to prevent authority structure changes.\n\t*\n\t* @param {string} host\n\t* @param {boolean} isIP - true for IPv4/IPv6 hosts (skip colon re-escaping)\n\t* @returns {string}\n\t*/\n\tconst HOST_DELIMS = {\n\t\t\"@\": \"%40\",\n\t\t\"/\": \"%2F\",\n\t\t\"?\": \"%3F\",\n\t\t\"#\": \"%23\",\n\t\t\":\": \"%3A\"\n\t};\n\tconst HOST_DELIM_RE = /[@/?#:]/g;\n\tconst HOST_DELIM_NO_COLON_RE = /[@/?#]/g;\n\tfunction reescapeHostDelimiters(host, isIP) {\n\t\tconst re = isIP ? HOST_DELIM_NO_COLON_RE : HOST_DELIM_RE;\n\t\tre.lastIndex = 0;\n\t\treturn host.replace(re, (ch) => HOST_DELIMS[ch]);\n\t}\n\t/**\n\t* Normalizes percent escapes and optionally decodes only unreserved ASCII bytes.\n\t* Reserved delimiters such as `%2F` and `%2E` stay escaped.\n\t*\n\t* @param {string} input\n\t* @param {boolean} [decodeUnreserved=false]\n\t* @returns {string}\n\t*/\n\tfunction normalizePercentEncoding(input, decodeUnreserved = false) {\n\t\tif (input.indexOf(\"%\") === -1) return input;\n\t\tlet output = \"\";\n\t\tfor (let i = 0; i < input.length; i++) {\n\t\t\tif (input[i] === \"%\" && i + 2 < input.length) {\n\t\t\t\tconst hex = input.slice(i + 1, i + 3);\n\t\t\t\tif (isHexPair(hex)) {\n\t\t\t\t\tconst normalizedHex = hex.toUpperCase();\n\t\t\t\t\tconst decoded = String.fromCharCode(parseInt(normalizedHex, 16));\n\t\t\t\t\tif (decodeUnreserved && isUnreserved(decoded)) output += decoded;\n\t\t\t\t\telse output += \"%\" + normalizedHex;\n\t\t\t\t\ti += 2;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\toutput += input[i];\n\t\t}\n\t\treturn output;\n\t}\n\t/**\n\t* Normalizes path data without turning reserved escapes into live path syntax.\n\t* Valid escapes are uppercased, raw unsafe characters are escaped, and only\n\t* unreserved bytes that are not `.` are decoded.\n\t*\n\t* @param {string} input\n\t* @returns {string}\n\t*/\n\tfunction normalizePathEncoding(input) {\n\t\tlet output = \"\";\n\t\tfor (let i = 0; i < input.length; i++) {\n\t\t\tif (input[i] === \"%\" && i + 2 < input.length) {\n\t\t\t\tconst hex = input.slice(i + 1, i + 3);\n\t\t\t\tif (isHexPair(hex)) {\n\t\t\t\t\tconst normalizedHex = hex.toUpperCase();\n\t\t\t\t\tconst decoded = String.fromCharCode(parseInt(normalizedHex, 16));\n\t\t\t\t\tif (decoded !== \".\" && isUnreserved(decoded)) output += decoded;\n\t\t\t\t\telse output += \"%\" + normalizedHex;\n\t\t\t\t\ti += 2;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (isPathCharacter(input[i])) output += input[i];\n\t\t\telse output += escape(input[i]);\n\t\t}\n\t\treturn output;\n\t}\n\t/**\n\t* Escapes a component while preserving existing valid percent escapes.\n\t*\n\t* @param {string} input\n\t* @returns {string}\n\t*/\n\tfunction escapePreservingEscapes(input) {\n\t\tlet output = \"\";\n\t\tfor (let i = 0; i < input.length; i++) {\n\t\t\tif (input[i] === \"%\" && i + 2 < input.length) {\n\t\t\t\tconst hex = input.slice(i + 1, i + 3);\n\t\t\t\tif (isHexPair(hex)) {\n\t\t\t\t\toutput += \"%\" + hex.toUpperCase();\n\t\t\t\t\ti += 2;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\toutput += escape(input[i]);\n\t\t}\n\t\treturn output;\n\t}\n\t/**\n\t* @param {import('../types/index').URIComponent} component\n\t* @returns {string|undefined}\n\t*/\n\tfunction recomposeAuthority(component) {\n\t\tconst uriTokens = [];\n\t\tif (component.userinfo !== void 0) {\n\t\t\turiTokens.push(component.userinfo);\n\t\t\turiTokens.push(\"@\");\n\t\t}\n\t\tif (component.host !== void 0) {\n\t\t\tlet host = unescape(component.host);\n\t\t\tif (!isIPv4(host)) {\n\t\t\t\tconst ipV6res = normalizeIPv6(host);\n\t\t\t\tif (ipV6res.isIPV6 === true) host = `[${ipV6res.escapedHost}]`;\n\t\t\t\telse host = reescapeHostDelimiters(host, false);\n\t\t\t}\n\t\t\turiTokens.push(host);\n\t\t}\n\t\tif (typeof component.port === \"number\" || typeof component.port === \"string\") {\n\t\t\turiTokens.push(\":\");\n\t\t\turiTokens.push(String(component.port));\n\t\t}\n\t\treturn uriTokens.length ? uriTokens.join(\"\") : void 0;\n\t}\n\tmodule.exports = {\n\t\tnonSimpleDomain,\n\t\trecomposeAuthority,\n\t\treescapeHostDelimiters,\n\t\tnormalizePercentEncoding,\n\t\tnormalizePathEncoding,\n\t\tescapePreservingEscapes,\n\t\tremoveDotSegments,\n\t\tisIPv4,\n\t\tisUUID,\n\t\tnormalizeIPv6,\n\t\tstringArrayToHexStripped\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/lib/schemes.js\nvar require_schemes = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst { isUUID } = require_utils();\n\tconst URN_REG = /([\\da-z][\\d\\-a-z]{0,31}):((?:[\\w!$'()*+,\\-.:;=@]|%[\\da-f]{2})+)/iu;\n\tconst supportedSchemeNames = [\n\t\t\"http\",\n\t\t\"https\",\n\t\t\"ws\",\n\t\t\"wss\",\n\t\t\"urn\",\n\t\t\"urn:uuid\"\n\t];\n\t/** @typedef {supportedSchemeNames[number]} SchemeName */\n\t/**\n\t* @param {string} name\n\t* @returns {name is SchemeName}\n\t*/\n\tfunction isValidSchemeName(name) {\n\t\treturn supportedSchemeNames.indexOf(name) !== -1;\n\t}\n\t/**\n\t* @callback SchemeFn\n\t* @param {import('../types/index').URIComponent} component\n\t* @param {import('../types/index').Options} options\n\t* @returns {import('../types/index').URIComponent}\n\t*/\n\t/**\n\t* @typedef {Object} SchemeHandler\n\t* @property {SchemeName} scheme - The scheme name.\n\t* @property {boolean} [domainHost] - Indicates if the scheme supports domain hosts.\n\t* @property {SchemeFn} parse - Function to parse the URI component for this scheme.\n\t* @property {SchemeFn} serialize - Function to serialize the URI component for this scheme.\n\t* @property {boolean} [skipNormalize] - Indicates if normalization should be skipped for this scheme.\n\t* @property {boolean} [absolutePath] - Indicates if the scheme uses absolute paths.\n\t* @property {boolean} [unicodeSupport] - Indicates if the scheme supports Unicode.\n\t*/\n\t/**\n\t* @param {import('../types/index').URIComponent} wsComponent\n\t* @returns {boolean}\n\t*/\n\tfunction wsIsSecure(wsComponent) {\n\t\tif (wsComponent.secure === true) return true;\n\t\telse if (wsComponent.secure === false) return false;\n\t\telse if (wsComponent.scheme) return wsComponent.scheme.length === 3 && (wsComponent.scheme[0] === \"w\" || wsComponent.scheme[0] === \"W\") && (wsComponent.scheme[1] === \"s\" || wsComponent.scheme[1] === \"S\") && (wsComponent.scheme[2] === \"s\" || wsComponent.scheme[2] === \"S\");\n\t\telse return false;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction httpParse(component) {\n\t\tif (!component.host) component.error = component.error || \"HTTP URIs must have a host.\";\n\t\treturn component;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction httpSerialize(component) {\n\t\tconst secure = String(component.scheme).toLowerCase() === \"https\";\n\t\tif (component.port === (secure ? 443 : 80) || component.port === \"\") component.port = void 0;\n\t\tif (!component.path) component.path = \"/\";\n\t\treturn component;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction wsParse(wsComponent) {\n\t\twsComponent.secure = wsIsSecure(wsComponent);\n\t\twsComponent.resourceName = (wsComponent.path || \"/\") + (wsComponent.query ? \"?\" + wsComponent.query : \"\");\n\t\twsComponent.path = void 0;\n\t\twsComponent.query = void 0;\n\t\treturn wsComponent;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction wsSerialize(wsComponent) {\n\t\tif (wsComponent.port === (wsIsSecure(wsComponent) ? 443 : 80) || wsComponent.port === \"\") wsComponent.port = void 0;\n\t\tif (typeof wsComponent.secure === \"boolean\") {\n\t\t\twsComponent.scheme = wsComponent.secure ? \"wss\" : \"ws\";\n\t\t\twsComponent.secure = void 0;\n\t\t}\n\t\tif (wsComponent.resourceName) {\n\t\t\tconst [path, query] = wsComponent.resourceName.split(\"?\");\n\t\t\twsComponent.path = path && path !== \"/\" ? path : void 0;\n\t\t\twsComponent.query = query;\n\t\t\twsComponent.resourceName = void 0;\n\t\t}\n\t\twsComponent.fragment = void 0;\n\t\treturn wsComponent;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction urnParse(urnComponent, options) {\n\t\tif (!urnComponent.path) {\n\t\t\turnComponent.error = \"URN can not be parsed\";\n\t\t\treturn urnComponent;\n\t\t}\n\t\tconst matches = urnComponent.path.match(URN_REG);\n\t\tif (matches) {\n\t\t\tconst scheme = options.scheme || urnComponent.scheme || \"urn\";\n\t\t\turnComponent.nid = matches[1].toLowerCase();\n\t\t\turnComponent.nss = matches[2];\n\t\t\tconst schemeHandler = getSchemeHandler(`${scheme}:${options.nid || urnComponent.nid}`);\n\t\t\turnComponent.path = void 0;\n\t\t\tif (schemeHandler) urnComponent = schemeHandler.parse(urnComponent, options);\n\t\t} else urnComponent.error = urnComponent.error || \"URN can not be parsed.\";\n\t\treturn urnComponent;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction urnSerialize(urnComponent, options) {\n\t\tif (urnComponent.nid === void 0) throw new Error(\"URN without nid cannot be serialized\");\n\t\tconst scheme = options.scheme || urnComponent.scheme || \"urn\";\n\t\tconst nid = urnComponent.nid.toLowerCase();\n\t\tconst schemeHandler = getSchemeHandler(`${scheme}:${options.nid || nid}`);\n\t\tif (schemeHandler) urnComponent = schemeHandler.serialize(urnComponent, options);\n\t\tconst uriComponent = urnComponent;\n\t\tconst nss = urnComponent.nss;\n\t\turiComponent.path = `${nid || options.nid}:${nss}`;\n\t\toptions.skipEscape = true;\n\t\treturn uriComponent;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction urnuuidParse(urnComponent, options) {\n\t\tconst uuidComponent = urnComponent;\n\t\tuuidComponent.uuid = uuidComponent.nss;\n\t\tuuidComponent.nss = void 0;\n\t\tif (!options.tolerant && (!uuidComponent.uuid || !isUUID(uuidComponent.uuid))) uuidComponent.error = uuidComponent.error || \"UUID is not valid.\";\n\t\treturn uuidComponent;\n\t}\n\t/** @type {SchemeFn} */\n\tfunction urnuuidSerialize(uuidComponent) {\n\t\tconst urnComponent = uuidComponent;\n\t\turnComponent.nss = (uuidComponent.uuid || \"\").toLowerCase();\n\t\treturn urnComponent;\n\t}\n\tconst http = {\n\t\tscheme: \"http\",\n\t\tdomainHost: true,\n\t\tparse: httpParse,\n\t\tserialize: httpSerialize\n\t};\n\tconst https = {\n\t\tscheme: \"https\",\n\t\tdomainHost: http.domainHost,\n\t\tparse: httpParse,\n\t\tserialize: httpSerialize\n\t};\n\tconst ws = {\n\t\tscheme: \"ws\",\n\t\tdomainHost: true,\n\t\tparse: wsParse,\n\t\tserialize: wsSerialize\n\t};\n\tconst SCHEMES = {\n\t\thttp,\n\t\thttps,\n\t\tws,\n\t\twss: {\n\t\t\tscheme: \"wss\",\n\t\t\tdomainHost: ws.domainHost,\n\t\t\tparse: ws.parse,\n\t\t\tserialize: ws.serialize\n\t\t},\n\t\turn: {\n\t\t\tscheme: \"urn\",\n\t\t\tparse: urnParse,\n\t\t\tserialize: urnSerialize,\n\t\t\tskipNormalize: true\n\t\t},\n\t\t\"urn:uuid\": {\n\t\t\tscheme: \"urn:uuid\",\n\t\t\tparse: urnuuidParse,\n\t\t\tserialize: urnuuidSerialize,\n\t\t\tskipNormalize: true\n\t\t}\n\t};\n\tObject.setPrototypeOf(SCHEMES, null);\n\t/**\n\t* @param {string|undefined} scheme\n\t* @returns {SchemeHandler|undefined}\n\t*/\n\tfunction getSchemeHandler(scheme) {\n\t\treturn scheme && (SCHEMES[scheme] || SCHEMES[scheme.toLowerCase()]) || void 0;\n\t}\n\tmodule.exports = {\n\t\twsIsSecure,\n\t\tSCHEMES,\n\t\tisValidSchemeName,\n\t\tgetSchemeHandler\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/fast-uri@3.1.2/node_modules/fast-uri/index.js\nvar require_fast_uri = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst { normalizeIPv6, removeDotSegments, recomposeAuthority, normalizePercentEncoding, normalizePathEncoding, escapePreservingEscapes, reescapeHostDelimiters, isIPv4, nonSimpleDomain } = require_utils();\n\tconst { SCHEMES, getSchemeHandler } = require_schemes();\n\t/**\n\t* @template {import('./types/index').URIComponent|string} T\n\t* @param {T} uri\n\t* @param {import('./types/index').Options} [options]\n\t* @returns {T}\n\t*/\n\tfunction normalize(uri, options) {\n\t\tif (typeof uri === \"string\") uri = normalizeString(uri, options);\n\t\telse if (typeof uri === \"object\") uri = parse(serialize(uri, options), options);\n\t\treturn uri;\n\t}\n\t/**\n\t* @param {string} baseURI\n\t* @param {string} relativeURI\n\t* @param {import('./types/index').Options} [options]\n\t* @returns {string}\n\t*/\n\tfunction resolve(baseURI, relativeURI, options) {\n\t\tconst schemelessOptions = options ? Object.assign({ scheme: \"null\" }, options) : { scheme: \"null\" };\n\t\tconst resolved = resolveComponent(parse(baseURI, schemelessOptions), parse(relativeURI, schemelessOptions), schemelessOptions, true);\n\t\tschemelessOptions.skipEscape = true;\n\t\treturn serialize(resolved, schemelessOptions);\n\t}\n\t/**\n\t* @param {import ('./types/index').URIComponent} base\n\t* @param {import ('./types/index').URIComponent} relative\n\t* @param {import('./types/index').Options} [options]\n\t* @param {boolean} [skipNormalization=false]\n\t* @returns {import ('./types/index').URIComponent}\n\t*/\n\tfunction resolveComponent(base, relative, options, skipNormalization) {\n\t\t/** @type {import('./types/index').URIComponent} */\n\t\tconst target = {};\n\t\tif (!skipNormalization) {\n\t\t\tbase = parse(serialize(base, options), options);\n\t\t\trelative = parse(serialize(relative, options), options);\n\t\t}\n\t\toptions = options || {};\n\t\tif (!options.tolerant && relative.scheme) {\n\t\t\ttarget.scheme = relative.scheme;\n\t\t\ttarget.userinfo = relative.userinfo;\n\t\t\ttarget.host = relative.host;\n\t\t\ttarget.port = relative.port;\n\t\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\t\ttarget.query = relative.query;\n\t\t} else {\n\t\t\tif (relative.userinfo !== void 0 || relative.host !== void 0 || relative.port !== void 0) {\n\t\t\t\ttarget.userinfo = relative.userinfo;\n\t\t\t\ttarget.host = relative.host;\n\t\t\t\ttarget.port = relative.port;\n\t\t\t\ttarget.path = removeDotSegments(relative.path || \"\");\n\t\t\t\ttarget.query = relative.query;\n\t\t\t} else {\n\t\t\t\tif (!relative.path) {\n\t\t\t\t\ttarget.path = base.path;\n\t\t\t\t\tif (relative.query !== void 0) target.query = relative.query;\n\t\t\t\t\telse target.query = base.query;\n\t\t\t\t} else {\n\t\t\t\t\tif (relative.path[0] === \"/\") target.path = removeDotSegments(relative.path);\n\t\t\t\t\telse {\n\t\t\t\t\t\tif ((base.userinfo !== void 0 || base.host !== void 0 || base.port !== void 0) && !base.path) target.path = \"/\" + relative.path;\n\t\t\t\t\t\telse if (!base.path) target.path = relative.path;\n\t\t\t\t\t\telse target.path = base.path.slice(0, base.path.lastIndexOf(\"/\") + 1) + relative.path;\n\t\t\t\t\t\ttarget.path = removeDotSegments(target.path);\n\t\t\t\t\t}\n\t\t\t\t\ttarget.query = relative.query;\n\t\t\t\t}\n\t\t\t\ttarget.userinfo = base.userinfo;\n\t\t\t\ttarget.host = base.host;\n\t\t\t\ttarget.port = base.port;\n\t\t\t}\n\t\t\ttarget.scheme = base.scheme;\n\t\t}\n\t\ttarget.fragment = relative.fragment;\n\t\treturn target;\n\t}\n\t/**\n\t* @param {import ('./types/index').URIComponent|string} uriA\n\t* @param {import ('./types/index').URIComponent|string} uriB\n\t* @param {import ('./types/index').Options} options\n\t* @returns {boolean}\n\t*/\n\tfunction equal(uriA, uriB, options) {\n\t\tconst normalizedA = normalizeComparableURI(uriA, options);\n\t\tconst normalizedB = normalizeComparableURI(uriB, options);\n\t\treturn normalizedA !== void 0 && normalizedB !== void 0 && normalizedA.toLowerCase() === normalizedB.toLowerCase();\n\t}\n\t/**\n\t* @param {Readonly<import('./types/index').URIComponent>} cmpts\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns {string}\n\t*/\n\tfunction serialize(cmpts, opts) {\n\t\tconst component = {\n\t\t\thost: cmpts.host,\n\t\t\tscheme: cmpts.scheme,\n\t\t\tuserinfo: cmpts.userinfo,\n\t\t\tport: cmpts.port,\n\t\t\tpath: cmpts.path,\n\t\t\tquery: cmpts.query,\n\t\t\tnid: cmpts.nid,\n\t\t\tnss: cmpts.nss,\n\t\t\tuuid: cmpts.uuid,\n\t\t\tfragment: cmpts.fragment,\n\t\t\treference: cmpts.reference,\n\t\t\tresourceName: cmpts.resourceName,\n\t\t\tsecure: cmpts.secure,\n\t\t\terror: \"\"\n\t\t};\n\t\tconst options = Object.assign({}, opts);\n\t\tconst uriTokens = [];\n\t\tconst schemeHandler = getSchemeHandler(options.scheme || component.scheme);\n\t\tif (schemeHandler && schemeHandler.serialize) schemeHandler.serialize(component, options);\n\t\tif (component.path !== void 0) if (!options.skipEscape) {\n\t\t\tcomponent.path = escapePreservingEscapes(component.path);\n\t\t\tif (component.scheme !== void 0) component.path = component.path.split(\"%3A\").join(\":\");\n\t\t} else component.path = normalizePercentEncoding(component.path);\n\t\tif (options.reference !== \"suffix\" && component.scheme) uriTokens.push(component.scheme, \":\");\n\t\tconst authority = recomposeAuthority(component);\n\t\tif (authority !== void 0) {\n\t\t\tif (options.reference !== \"suffix\") uriTokens.push(\"//\");\n\t\t\turiTokens.push(authority);\n\t\t\tif (component.path && component.path[0] !== \"/\") uriTokens.push(\"/\");\n\t\t}\n\t\tif (component.path !== void 0) {\n\t\t\tlet s = component.path;\n\t\t\tif (!options.absolutePath && (!schemeHandler || !schemeHandler.absolutePath)) s = removeDotSegments(s);\n\t\t\tif (authority === void 0 && s[0] === \"/\" && s[1] === \"/\") s = \"/%2F\" + s.slice(2);\n\t\t\turiTokens.push(s);\n\t\t}\n\t\tif (component.query !== void 0) uriTokens.push(\"?\", component.query);\n\t\tif (component.fragment !== void 0) uriTokens.push(\"#\", component.fragment);\n\t\treturn uriTokens.join(\"\");\n\t}\n\tconst URI_PARSE = /^(?:([^#/:?]+):)?(?:\\/\\/((?:([^#/?@]*)@)?(\\[[^#/?\\]]+\\]|[^#/:?]*)(?::(\\d*))?))?([^#?]*)(?:\\?([^#]*))?(?:#((?:.|[\\n\\r])*))?/u;\n\t/**\n\t* @param {import('./types/index').URIComponent} parsed\n\t* @param {RegExpMatchArray} matches\n\t* @returns {string|undefined}\n\t*/\n\tfunction getParseError(parsed, matches) {\n\t\tif (matches[2] !== void 0 && parsed.path && parsed.path[0] !== \"/\") return \"URI path must start with \\\"/\\\" when authority is present.\";\n\t\tif (typeof parsed.port === \"number\" && (parsed.port < 0 || parsed.port > 65535)) return \"URI port is malformed.\";\n\t}\n\t/**\n\t* @param {string} uri\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns {{ parsed: import('./types/index').URIComponent, malformedAuthorityOrPort: boolean }}\n\t*/\n\tfunction parseWithStatus(uri, opts) {\n\t\tconst options = Object.assign({}, opts);\n\t\t/** @type {import('./types/index').URIComponent} */\n\t\tconst parsed = {\n\t\t\tscheme: void 0,\n\t\t\tuserinfo: void 0,\n\t\t\thost: \"\",\n\t\t\tport: void 0,\n\t\t\tpath: \"\",\n\t\t\tquery: void 0,\n\t\t\tfragment: void 0\n\t\t};\n\t\tlet malformedAuthorityOrPort = false;\n\t\tlet isIP = false;\n\t\tif (options.reference === \"suffix\") if (options.scheme) uri = options.scheme + \":\" + uri;\n\t\telse uri = \"//\" + uri;\n\t\tconst matches = uri.match(URI_PARSE);\n\t\tif (matches) {\n\t\t\tparsed.scheme = matches[1];\n\t\t\tparsed.userinfo = matches[3];\n\t\t\tparsed.host = matches[4];\n\t\t\tparsed.port = parseInt(matches[5], 10);\n\t\t\tparsed.path = matches[6] || \"\";\n\t\t\tparsed.query = matches[7];\n\t\t\tparsed.fragment = matches[8];\n\t\t\tif (isNaN(parsed.port)) parsed.port = matches[5];\n\t\t\tconst parseError = getParseError(parsed, matches);\n\t\t\tif (parseError !== void 0) {\n\t\t\t\tparsed.error = parsed.error || parseError;\n\t\t\t\tmalformedAuthorityOrPort = true;\n\t\t\t}\n\t\t\tif (parsed.host) if (isIPv4(parsed.host) === false) {\n\t\t\t\tconst ipv6result = normalizeIPv6(parsed.host);\n\t\t\t\tparsed.host = ipv6result.host.toLowerCase();\n\t\t\t\tisIP = ipv6result.isIPV6;\n\t\t\t} else isIP = true;\n\t\t\tif (parsed.scheme === void 0 && parsed.userinfo === void 0 && parsed.host === void 0 && parsed.port === void 0 && parsed.query === void 0 && !parsed.path) parsed.reference = \"same-document\";\n\t\t\telse if (parsed.scheme === void 0) parsed.reference = \"relative\";\n\t\t\telse if (parsed.fragment === void 0) parsed.reference = \"absolute\";\n\t\t\telse parsed.reference = \"uri\";\n\t\t\tif (options.reference && options.reference !== \"suffix\" && options.reference !== parsed.reference) parsed.error = parsed.error || \"URI is not a \" + options.reference + \" reference.\";\n\t\t\tconst schemeHandler = getSchemeHandler(options.scheme || parsed.scheme);\n\t\t\tif (!options.unicodeSupport && (!schemeHandler || !schemeHandler.unicodeSupport)) {\n\t\t\t\tif (parsed.host && (options.domainHost || schemeHandler && schemeHandler.domainHost) && isIP === false && nonSimpleDomain(parsed.host)) try {\n\t\t\t\t\tparsed.host = URL.domainToASCII(parsed.host.toLowerCase());\n\t\t\t\t} catch (e) {\n\t\t\t\t\tparsed.error = parsed.error || \"Host's domain name can not be converted to ASCII: \" + e;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!schemeHandler || schemeHandler && !schemeHandler.skipNormalize) {\n\t\t\t\tif (uri.indexOf(\"%\") !== -1) {\n\t\t\t\t\tif (parsed.scheme !== void 0) parsed.scheme = unescape(parsed.scheme);\n\t\t\t\t\tif (parsed.host !== void 0) parsed.host = reescapeHostDelimiters(unescape(parsed.host), isIP);\n\t\t\t\t}\n\t\t\t\tif (parsed.path) parsed.path = normalizePathEncoding(parsed.path);\n\t\t\t\tif (parsed.fragment) try {\n\t\t\t\t\tparsed.fragment = encodeURI(decodeURIComponent(parsed.fragment));\n\t\t\t\t} catch {\n\t\t\t\t\tparsed.error = parsed.error || \"URI malformed\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (schemeHandler && schemeHandler.parse) schemeHandler.parse(parsed, options);\n\t\t} else parsed.error = parsed.error || \"URI can not be parsed.\";\n\t\treturn {\n\t\t\tparsed,\n\t\t\tmalformedAuthorityOrPort\n\t\t};\n\t}\n\t/**\n\t* @param {string} uri\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns\n\t*/\n\tfunction parse(uri, opts) {\n\t\treturn parseWithStatus(uri, opts).parsed;\n\t}\n\t/**\n\t* @param {string} uri\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns {string}\n\t*/\n\tfunction normalizeString(uri, opts) {\n\t\treturn normalizeStringWithStatus(uri, opts).normalized;\n\t}\n\t/**\n\t* @param {string} uri\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns {{ normalized: string, malformedAuthorityOrPort: boolean }}\n\t*/\n\tfunction normalizeStringWithStatus(uri, opts) {\n\t\tconst { parsed, malformedAuthorityOrPort } = parseWithStatus(uri, opts);\n\t\treturn {\n\t\t\tnormalized: malformedAuthorityOrPort ? uri : serialize(parsed, opts),\n\t\t\tmalformedAuthorityOrPort\n\t\t};\n\t}\n\t/**\n\t* @param {import ('./types/index').URIComponent|string} uri\n\t* @param {import('./types/index').Options} [opts]\n\t* @returns {string|undefined}\n\t*/\n\tfunction normalizeComparableURI(uri, opts) {\n\t\tif (typeof uri === \"string\") {\n\t\t\tconst { normalized, malformedAuthorityOrPort } = normalizeStringWithStatus(uri, opts);\n\t\t\treturn malformedAuthorityOrPort ? void 0 : normalized;\n\t\t}\n\t\tif (typeof uri === \"object\") return serialize(uri, opts);\n\t}\n\tconst fastUri = {\n\t\tSCHEMES,\n\t\tnormalize,\n\t\tresolve,\n\t\tresolveComponent,\n\t\tequal,\n\t\tserialize,\n\t\tparse\n\t};\n\tmodule.exports = fastUri;\n\tmodule.exports.default = fastUri;\n\tmodule.exports.fastUri = fastUri;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/uri.js\nvar require_uri = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst uri = require_fast_uri();\n\turi.code = \"require(\\\"ajv/dist/runtime/uri\\\").default\";\n\texports.default = uri;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/core.js\nvar require_core$1 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;\n\tvar validate_1 = require_validate();\n\tObject.defineProperty(exports, \"KeywordCxt\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn validate_1.KeywordCxt;\n\t\t}\n\t});\n\tvar codegen_1 = require_codegen();\n\tObject.defineProperty(exports, \"_\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1._;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"str\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.str;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"stringify\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.stringify;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"nil\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.nil;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"Name\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.Name;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"CodeGen\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.CodeGen;\n\t\t}\n\t});\n\tconst validation_error_1 = require_validation_error();\n\tconst ref_error_1 = require_ref_error();\n\tconst rules_1 = require_rules();\n\tconst compile_1 = require_compile();\n\tconst codegen_2 = require_codegen();\n\tconst resolve_1 = require_resolve();\n\tconst dataType_1 = require_dataType();\n\tconst util_1 = require_util();\n\tconst $dataRefSchema = require_data();\n\tconst uri_1 = require_uri();\n\tconst defaultRegExp = (str, flags) => new RegExp(str, flags);\n\tdefaultRegExp.code = \"new RegExp\";\n\tconst META_IGNORE_OPTIONS = [\n\t\t\"removeAdditional\",\n\t\t\"useDefaults\",\n\t\t\"coerceTypes\"\n\t];\n\tconst EXT_SCOPE_NAMES = new Set([\n\t\t\"validate\",\n\t\t\"serialize\",\n\t\t\"parse\",\n\t\t\"wrapper\",\n\t\t\"root\",\n\t\t\"schema\",\n\t\t\"keyword\",\n\t\t\"pattern\",\n\t\t\"formats\",\n\t\t\"validate$data\",\n\t\t\"func\",\n\t\t\"obj\",\n\t\t\"Error\"\n\t]);\n\tconst removedOptions = {\n\t\terrorDataPath: \"\",\n\t\tformat: \"`validateFormats: false` can be used instead.\",\n\t\tnullable: \"\\\"nullable\\\" keyword is supported by default.\",\n\t\tjsonPointers: \"Deprecated jsPropertySyntax can be used instead.\",\n\t\textendRefs: \"Deprecated ignoreKeywordsWithRef can be used instead.\",\n\t\tmissingRefs: \"Pass empty schema with $id that should be ignored to ajv.addSchema.\",\n\t\tprocessCode: \"Use option `code: {process: (code, schemaEnv: object) => string}`\",\n\t\tsourceCode: \"Use option `code: {source: true}`\",\n\t\tstrictDefaults: \"It is default now, see option `strict`.\",\n\t\tstrictKeywords: \"It is default now, see option `strict`.\",\n\t\tuniqueItems: \"\\\"uniqueItems\\\" keyword is always validated.\",\n\t\tunknownFormats: \"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).\",\n\t\tcache: \"Map is used as cache, schema object as key.\",\n\t\tserialize: \"Map is used as cache, schema object as key.\",\n\t\tajvErrors: \"It is default now.\"\n\t};\n\tconst deprecatedOptions = {\n\t\tignoreKeywordsWithRef: \"\",\n\t\tjsPropertySyntax: \"\",\n\t\tunicode: \"\\\"minLength\\\"/\\\"maxLength\\\" account for unicode characters by default.\"\n\t};\n\tconst MAX_EXPRESSION = 200;\n\tfunction requiredOptions(o) {\n\t\tvar _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;\n\t\tconst s = o.strict;\n\t\tconst _optz = (_a = o.code) === null || _a === void 0 ? void 0 : _a.optimize;\n\t\tconst optimize = _optz === true || _optz === void 0 ? 1 : _optz || 0;\n\t\tconst regExp = (_c = (_b = o.code) === null || _b === void 0 ? void 0 : _b.regExp) !== null && _c !== void 0 ? _c : defaultRegExp;\n\t\tconst uriResolver = (_d = o.uriResolver) !== null && _d !== void 0 ? _d : uri_1.default;\n\t\treturn {\n\t\t\tstrictSchema: (_f = (_e = o.strictSchema) !== null && _e !== void 0 ? _e : s) !== null && _f !== void 0 ? _f : true,\n\t\t\tstrictNumbers: (_h = (_g = o.strictNumbers) !== null && _g !== void 0 ? _g : s) !== null && _h !== void 0 ? _h : true,\n\t\t\tstrictTypes: (_k = (_j = o.strictTypes) !== null && _j !== void 0 ? _j : s) !== null && _k !== void 0 ? _k : \"log\",\n\t\t\tstrictTuples: (_m = (_l = o.strictTuples) !== null && _l !== void 0 ? _l : s) !== null && _m !== void 0 ? _m : \"log\",\n\t\t\tstrictRequired: (_p = (_o = o.strictRequired) !== null && _o !== void 0 ? _o : s) !== null && _p !== void 0 ? _p : false,\n\t\t\tcode: o.code ? {\n\t\t\t\t...o.code,\n\t\t\t\toptimize,\n\t\t\t\tregExp\n\t\t\t} : {\n\t\t\t\toptimize,\n\t\t\t\tregExp\n\t\t\t},\n\t\t\tloopRequired: (_q = o.loopRequired) !== null && _q !== void 0 ? _q : MAX_EXPRESSION,\n\t\t\tloopEnum: (_r = o.loopEnum) !== null && _r !== void 0 ? _r : MAX_EXPRESSION,\n\t\t\tmeta: (_s = o.meta) !== null && _s !== void 0 ? _s : true,\n\t\t\tmessages: (_t = o.messages) !== null && _t !== void 0 ? _t : true,\n\t\t\tinlineRefs: (_u = o.inlineRefs) !== null && _u !== void 0 ? _u : true,\n\t\t\tschemaId: (_v = o.schemaId) !== null && _v !== void 0 ? _v : \"$id\",\n\t\t\taddUsedSchema: (_w = o.addUsedSchema) !== null && _w !== void 0 ? _w : true,\n\t\t\tvalidateSchema: (_x = o.validateSchema) !== null && _x !== void 0 ? _x : true,\n\t\t\tvalidateFormats: (_y = o.validateFormats) !== null && _y !== void 0 ? _y : true,\n\t\t\tunicodeRegExp: (_z = o.unicodeRegExp) !== null && _z !== void 0 ? _z : true,\n\t\t\tint32range: (_0 = o.int32range) !== null && _0 !== void 0 ? _0 : true,\n\t\t\turiResolver\n\t\t};\n\t}\n\tvar Ajv = class {\n\t\tconstructor(opts = {}) {\n\t\t\tthis.schemas = {};\n\t\t\tthis.refs = {};\n\t\t\tthis.formats = Object.create(null);\n\t\t\tthis._compilations = /* @__PURE__ */ new Set();\n\t\t\tthis._loading = {};\n\t\t\tthis._cache = /* @__PURE__ */ new Map();\n\t\t\topts = this.opts = {\n\t\t\t\t...opts,\n\t\t\t\t...requiredOptions(opts)\n\t\t\t};\n\t\t\tconst { es5, lines } = this.opts.code;\n\t\t\tthis.scope = new codegen_2.ValueScope({\n\t\t\t\tscope: {},\n\t\t\t\tprefixes: EXT_SCOPE_NAMES,\n\t\t\t\tes5,\n\t\t\t\tlines\n\t\t\t});\n\t\t\tthis.logger = getLogger(opts.logger);\n\t\t\tconst formatOpt = opts.validateFormats;\n\t\t\topts.validateFormats = false;\n\t\t\tthis.RULES = (0, rules_1.getRules)();\n\t\t\tcheckOptions.call(this, removedOptions, opts, \"NOT SUPPORTED\");\n\t\t\tcheckOptions.call(this, deprecatedOptions, opts, \"DEPRECATED\", \"warn\");\n\t\t\tthis._metaOpts = getMetaSchemaOptions.call(this);\n\t\t\tif (opts.formats) addInitialFormats.call(this);\n\t\t\tthis._addVocabularies();\n\t\t\tthis._addDefaultMetaSchema();\n\t\t\tif (opts.keywords) addInitialKeywords.call(this, opts.keywords);\n\t\t\tif (typeof opts.meta == \"object\") this.addMetaSchema(opts.meta);\n\t\t\taddInitialSchemas.call(this);\n\t\t\topts.validateFormats = formatOpt;\n\t\t}\n\t\t_addVocabularies() {\n\t\t\tthis.addKeyword(\"$async\");\n\t\t}\n\t\t_addDefaultMetaSchema() {\n\t\t\tconst { $data, meta, schemaId } = this.opts;\n\t\t\tlet _dataRefSchema = $dataRefSchema;\n\t\t\tif (schemaId === \"id\") {\n\t\t\t\t_dataRefSchema = { ...$dataRefSchema };\n\t\t\t\t_dataRefSchema.id = _dataRefSchema.$id;\n\t\t\t\tdelete _dataRefSchema.$id;\n\t\t\t}\n\t\t\tif (meta && $data) this.addMetaSchema(_dataRefSchema, _dataRefSchema[schemaId], false);\n\t\t}\n\t\tdefaultMeta() {\n\t\t\tconst { meta, schemaId } = this.opts;\n\t\t\treturn this.opts.defaultMeta = typeof meta == \"object\" ? meta[schemaId] || meta : void 0;\n\t\t}\n\t\tvalidate(schemaKeyRef, data) {\n\t\t\tlet v;\n\t\t\tif (typeof schemaKeyRef == \"string\") {\n\t\t\t\tv = this.getSchema(schemaKeyRef);\n\t\t\t\tif (!v) throw new Error(`no schema with key or ref \"${schemaKeyRef}\"`);\n\t\t\t} else v = this.compile(schemaKeyRef);\n\t\t\tconst valid = v(data);\n\t\t\tif (!(\"$async\" in v)) this.errors = v.errors;\n\t\t\treturn valid;\n\t\t}\n\t\tcompile(schema, _meta) {\n\t\t\tconst sch = this._addSchema(schema, _meta);\n\t\t\treturn sch.validate || this._compileSchemaEnv(sch);\n\t\t}\n\t\tcompileAsync(schema, meta) {\n\t\t\tif (typeof this.opts.loadSchema != \"function\") throw new Error(\"options.loadSchema should be a function\");\n\t\t\tconst { loadSchema } = this.opts;\n\t\t\treturn runCompileAsync.call(this, schema, meta);\n\t\t\tasync function runCompileAsync(_schema, _meta) {\n\t\t\t\tawait loadMetaSchema.call(this, _schema.$schema);\n\t\t\t\tconst sch = this._addSchema(_schema, _meta);\n\t\t\t\treturn sch.validate || _compileAsync.call(this, sch);\n\t\t\t}\n\t\t\tasync function loadMetaSchema($ref) {\n\t\t\t\tif ($ref && !this.getSchema($ref)) await runCompileAsync.call(this, { $ref }, true);\n\t\t\t}\n\t\t\tasync function _compileAsync(sch) {\n\t\t\t\ttry {\n\t\t\t\t\treturn this._compileSchemaEnv(sch);\n\t\t\t\t} catch (e) {\n\t\t\t\t\tif (!(e instanceof ref_error_1.default)) throw e;\n\t\t\t\t\tcheckLoaded.call(this, e);\n\t\t\t\t\tawait loadMissingSchema.call(this, e.missingSchema);\n\t\t\t\t\treturn _compileAsync.call(this, sch);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction checkLoaded({ missingSchema: ref, missingRef }) {\n\t\t\t\tif (this.refs[ref]) throw new Error(`AnySchema ${ref} is loaded but ${missingRef} cannot be resolved`);\n\t\t\t}\n\t\t\tasync function loadMissingSchema(ref) {\n\t\t\t\tconst _schema = await _loadSchema.call(this, ref);\n\t\t\t\tif (!this.refs[ref]) await loadMetaSchema.call(this, _schema.$schema);\n\t\t\t\tif (!this.refs[ref]) this.addSchema(_schema, ref, meta);\n\t\t\t}\n\t\t\tasync function _loadSchema(ref) {\n\t\t\t\tconst p = this._loading[ref];\n\t\t\t\tif (p) return p;\n\t\t\t\ttry {\n\t\t\t\t\treturn await (this._loading[ref] = loadSchema(ref));\n\t\t\t\t} finally {\n\t\t\t\t\tdelete this._loading[ref];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\taddSchema(schema, key, _meta, _validateSchema = this.opts.validateSchema) {\n\t\t\tif (Array.isArray(schema)) {\n\t\t\t\tfor (const sch of schema) this.addSchema(sch, void 0, _meta, _validateSchema);\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tlet id;\n\t\t\tif (typeof schema === \"object\") {\n\t\t\t\tconst { schemaId } = this.opts;\n\t\t\t\tid = schema[schemaId];\n\t\t\t\tif (id !== void 0 && typeof id != \"string\") throw new Error(`schema ${schemaId} must be string`);\n\t\t\t}\n\t\t\tkey = (0, resolve_1.normalizeId)(key || id);\n\t\t\tthis._checkUnique(key);\n\t\t\tthis.schemas[key] = this._addSchema(schema, _meta, key, _validateSchema, true);\n\t\t\treturn this;\n\t\t}\n\t\taddMetaSchema(schema, key, _validateSchema = this.opts.validateSchema) {\n\t\t\tthis.addSchema(schema, key, true, _validateSchema);\n\t\t\treturn this;\n\t\t}\n\t\tvalidateSchema(schema, throwOrLogError) {\n\t\t\tif (typeof schema == \"boolean\") return true;\n\t\t\tlet $schema;\n\t\t\t$schema = schema.$schema;\n\t\t\tif ($schema !== void 0 && typeof $schema != \"string\") throw new Error(\"$schema must be a string\");\n\t\t\t$schema = $schema || this.opts.defaultMeta || this.defaultMeta();\n\t\t\tif (!$schema) {\n\t\t\t\tthis.logger.warn(\"meta-schema not available\");\n\t\t\t\tthis.errors = null;\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\tconst valid = this.validate($schema, schema);\n\t\t\tif (!valid && throwOrLogError) {\n\t\t\t\tconst message = \"schema is invalid: \" + this.errorsText();\n\t\t\t\tif (this.opts.validateSchema === \"log\") this.logger.error(message);\n\t\t\t\telse throw new Error(message);\n\t\t\t}\n\t\t\treturn valid;\n\t\t}\n\t\tgetSchema(keyRef) {\n\t\t\tlet sch;\n\t\t\twhile (typeof (sch = getSchEnv.call(this, keyRef)) == \"string\") keyRef = sch;\n\t\t\tif (sch === void 0) {\n\t\t\t\tconst { schemaId } = this.opts;\n\t\t\t\tconst root = new compile_1.SchemaEnv({\n\t\t\t\t\tschema: {},\n\t\t\t\t\tschemaId\n\t\t\t\t});\n\t\t\t\tsch = compile_1.resolveSchema.call(this, root, keyRef);\n\t\t\t\tif (!sch) return;\n\t\t\t\tthis.refs[keyRef] = sch;\n\t\t\t}\n\t\t\treturn sch.validate || this._compileSchemaEnv(sch);\n\t\t}\n\t\tremoveSchema(schemaKeyRef) {\n\t\t\tif (schemaKeyRef instanceof RegExp) {\n\t\t\t\tthis._removeAllSchemas(this.schemas, schemaKeyRef);\n\t\t\t\tthis._removeAllSchemas(this.refs, schemaKeyRef);\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tswitch (typeof schemaKeyRef) {\n\t\t\t\tcase \"undefined\":\n\t\t\t\t\tthis._removeAllSchemas(this.schemas);\n\t\t\t\t\tthis._removeAllSchemas(this.refs);\n\t\t\t\t\tthis._cache.clear();\n\t\t\t\t\treturn this;\n\t\t\t\tcase \"string\": {\n\t\t\t\t\tconst sch = getSchEnv.call(this, schemaKeyRef);\n\t\t\t\t\tif (typeof sch == \"object\") this._cache.delete(sch.schema);\n\t\t\t\t\tdelete this.schemas[schemaKeyRef];\n\t\t\t\t\tdelete this.refs[schemaKeyRef];\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tcase \"object\": {\n\t\t\t\t\tconst cacheKey = schemaKeyRef;\n\t\t\t\t\tthis._cache.delete(cacheKey);\n\t\t\t\t\tlet id = schemaKeyRef[this.opts.schemaId];\n\t\t\t\t\tif (id) {\n\t\t\t\t\t\tid = (0, resolve_1.normalizeId)(id);\n\t\t\t\t\t\tdelete this.schemas[id];\n\t\t\t\t\t\tdelete this.refs[id];\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tdefault: throw new Error(\"ajv.removeSchema: invalid parameter\");\n\t\t\t}\n\t\t}\n\t\taddVocabulary(definitions) {\n\t\t\tfor (const def of definitions) this.addKeyword(def);\n\t\t\treturn this;\n\t\t}\n\t\taddKeyword(kwdOrDef, def) {\n\t\t\tlet keyword;\n\t\t\tif (typeof kwdOrDef == \"string\") {\n\t\t\t\tkeyword = kwdOrDef;\n\t\t\t\tif (typeof def == \"object\") {\n\t\t\t\t\tthis.logger.warn(\"these parameters are deprecated, see docs for addKeyword\");\n\t\t\t\t\tdef.keyword = keyword;\n\t\t\t\t}\n\t\t\t} else if (typeof kwdOrDef == \"object\" && def === void 0) {\n\t\t\t\tdef = kwdOrDef;\n\t\t\t\tkeyword = def.keyword;\n\t\t\t\tif (Array.isArray(keyword) && !keyword.length) throw new Error(\"addKeywords: keyword must be string or non-empty array\");\n\t\t\t} else throw new Error(\"invalid addKeywords parameters\");\n\t\t\tcheckKeyword.call(this, keyword, def);\n\t\t\tif (!def) {\n\t\t\t\t(0, util_1.eachItem)(keyword, (kwd) => addRule.call(this, kwd));\n\t\t\t\treturn this;\n\t\t\t}\n\t\t\tkeywordMetaschema.call(this, def);\n\t\t\tconst definition = {\n\t\t\t\t...def,\n\t\t\t\ttype: (0, dataType_1.getJSONTypes)(def.type),\n\t\t\t\tschemaType: (0, dataType_1.getJSONTypes)(def.schemaType)\n\t\t\t};\n\t\t\t(0, util_1.eachItem)(keyword, definition.type.length === 0 ? (k) => addRule.call(this, k, definition) : (k) => definition.type.forEach((t) => addRule.call(this, k, definition, t)));\n\t\t\treturn this;\n\t\t}\n\t\tgetKeyword(keyword) {\n\t\t\tconst rule = this.RULES.all[keyword];\n\t\t\treturn typeof rule == \"object\" ? rule.definition : !!rule;\n\t\t}\n\t\tremoveKeyword(keyword) {\n\t\t\tconst { RULES } = this;\n\t\t\tdelete RULES.keywords[keyword];\n\t\t\tdelete RULES.all[keyword];\n\t\t\tfor (const group of RULES.rules) {\n\t\t\t\tconst i = group.rules.findIndex((rule) => rule.keyword === keyword);\n\t\t\t\tif (i >= 0) group.rules.splice(i, 1);\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\taddFormat(name, format) {\n\t\t\tif (typeof format == \"string\") format = new RegExp(format);\n\t\t\tthis.formats[name] = format;\n\t\t\treturn this;\n\t\t}\n\t\terrorsText(errors = this.errors, { separator = \", \", dataVar = \"data\" } = {}) {\n\t\t\tif (!errors || errors.length === 0) return \"No errors\";\n\t\t\treturn errors.map((e) => `${dataVar}${e.instancePath} ${e.message}`).reduce((text, msg) => text + separator + msg);\n\t\t}\n\t\t$dataMetaSchema(metaSchema, keywordsJsonPointers) {\n\t\t\tconst rules = this.RULES.all;\n\t\t\tmetaSchema = JSON.parse(JSON.stringify(metaSchema));\n\t\t\tfor (const jsonPointer of keywordsJsonPointers) {\n\t\t\t\tconst segments = jsonPointer.split(\"/\").slice(1);\n\t\t\t\tlet keywords = metaSchema;\n\t\t\t\tfor (const seg of segments) keywords = keywords[seg];\n\t\t\t\tfor (const key in rules) {\n\t\t\t\t\tconst rule = rules[key];\n\t\t\t\t\tif (typeof rule != \"object\") continue;\n\t\t\t\t\tconst { $data } = rule.definition;\n\t\t\t\t\tconst schema = keywords[key];\n\t\t\t\t\tif ($data && schema) keywords[key] = schemaOrData(schema);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn metaSchema;\n\t\t}\n\t\t_removeAllSchemas(schemas, regex) {\n\t\t\tfor (const keyRef in schemas) {\n\t\t\t\tconst sch = schemas[keyRef];\n\t\t\t\tif (!regex || regex.test(keyRef)) {\n\t\t\t\t\tif (typeof sch == \"string\") delete schemas[keyRef];\n\t\t\t\t\telse if (sch && !sch.meta) {\n\t\t\t\t\t\tthis._cache.delete(sch.schema);\n\t\t\t\t\t\tdelete schemas[keyRef];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t_addSchema(schema, meta, baseId, validateSchema = this.opts.validateSchema, addSchema = this.opts.addUsedSchema) {\n\t\t\tlet id;\n\t\t\tconst { schemaId } = this.opts;\n\t\t\tif (typeof schema == \"object\") id = schema[schemaId];\n\t\t\telse if (this.opts.jtd) throw new Error(\"schema must be object\");\n\t\t\telse if (typeof schema != \"boolean\") throw new Error(\"schema must be object or boolean\");\n\t\t\tlet sch = this._cache.get(schema);\n\t\t\tif (sch !== void 0) return sch;\n\t\t\tbaseId = (0, resolve_1.normalizeId)(id || baseId);\n\t\t\tconst localRefs = resolve_1.getSchemaRefs.call(this, schema, baseId);\n\t\t\tsch = new compile_1.SchemaEnv({\n\t\t\t\tschema,\n\t\t\t\tschemaId,\n\t\t\t\tmeta,\n\t\t\t\tbaseId,\n\t\t\t\tlocalRefs\n\t\t\t});\n\t\t\tthis._cache.set(sch.schema, sch);\n\t\t\tif (addSchema && !baseId.startsWith(\"#\")) {\n\t\t\t\tif (baseId) this._checkUnique(baseId);\n\t\t\t\tthis.refs[baseId] = sch;\n\t\t\t}\n\t\t\tif (validateSchema) this.validateSchema(schema, true);\n\t\t\treturn sch;\n\t\t}\n\t\t_checkUnique(id) {\n\t\t\tif (this.schemas[id] || this.refs[id]) throw new Error(`schema with key or id \"${id}\" already exists`);\n\t\t}\n\t\t_compileSchemaEnv(sch) {\n\t\t\tif (sch.meta) this._compileMetaSchema(sch);\n\t\t\telse compile_1.compileSchema.call(this, sch);\n\t\t\t/* istanbul ignore if */\n\t\t\tif (!sch.validate) throw new Error(\"ajv implementation error\");\n\t\t\treturn sch.validate;\n\t\t}\n\t\t_compileMetaSchema(sch) {\n\t\t\tconst currentOpts = this.opts;\n\t\t\tthis.opts = this._metaOpts;\n\t\t\ttry {\n\t\t\t\tcompile_1.compileSchema.call(this, sch);\n\t\t\t} finally {\n\t\t\t\tthis.opts = currentOpts;\n\t\t\t}\n\t\t}\n\t};\n\tAjv.ValidationError = validation_error_1.default;\n\tAjv.MissingRefError = ref_error_1.default;\n\texports.default = Ajv;\n\tfunction checkOptions(checkOpts, options, msg, log = \"error\") {\n\t\tfor (const key in checkOpts) {\n\t\t\tconst opt = key;\n\t\t\tif (opt in options) this.logger[log](`${msg}: option ${key}. ${checkOpts[opt]}`);\n\t\t}\n\t}\n\tfunction getSchEnv(keyRef) {\n\t\tkeyRef = (0, resolve_1.normalizeId)(keyRef);\n\t\treturn this.schemas[keyRef] || this.refs[keyRef];\n\t}\n\tfunction addInitialSchemas() {\n\t\tconst optsSchemas = this.opts.schemas;\n\t\tif (!optsSchemas) return;\n\t\tif (Array.isArray(optsSchemas)) this.addSchema(optsSchemas);\n\t\telse for (const key in optsSchemas) this.addSchema(optsSchemas[key], key);\n\t}\n\tfunction addInitialFormats() {\n\t\tfor (const name in this.opts.formats) {\n\t\t\tconst format = this.opts.formats[name];\n\t\t\tif (format) this.addFormat(name, format);\n\t\t}\n\t}\n\tfunction addInitialKeywords(defs) {\n\t\tif (Array.isArray(defs)) {\n\t\t\tthis.addVocabulary(defs);\n\t\t\treturn;\n\t\t}\n\t\tthis.logger.warn(\"keywords option as map is deprecated, pass array\");\n\t\tfor (const keyword in defs) {\n\t\t\tconst def = defs[keyword];\n\t\t\tif (!def.keyword) def.keyword = keyword;\n\t\t\tthis.addKeyword(def);\n\t\t}\n\t}\n\tfunction getMetaSchemaOptions() {\n\t\tconst metaOpts = { ...this.opts };\n\t\tfor (const opt of META_IGNORE_OPTIONS) delete metaOpts[opt];\n\t\treturn metaOpts;\n\t}\n\tconst noLogs = {\n\t\tlog() {},\n\t\twarn() {},\n\t\terror() {}\n\t};\n\tfunction getLogger(logger) {\n\t\tif (logger === false) return noLogs;\n\t\tif (logger === void 0) return console;\n\t\tif (logger.log && logger.warn && logger.error) return logger;\n\t\tthrow new Error(\"logger must implement log, warn and error methods\");\n\t}\n\tconst KEYWORD_NAME = /^[a-z_$][a-z0-9_$:-]*$/i;\n\tfunction checkKeyword(keyword, def) {\n\t\tconst { RULES } = this;\n\t\t(0, util_1.eachItem)(keyword, (kwd) => {\n\t\t\tif (RULES.keywords[kwd]) throw new Error(`Keyword ${kwd} is already defined`);\n\t\t\tif (!KEYWORD_NAME.test(kwd)) throw new Error(`Keyword ${kwd} has invalid name`);\n\t\t});\n\t\tif (!def) return;\n\t\tif (def.$data && !(\"code\" in def || \"validate\" in def)) throw new Error(\"$data keyword must have \\\"code\\\" or \\\"validate\\\" function\");\n\t}\n\tfunction addRule(keyword, definition, dataType) {\n\t\tvar _a;\n\t\tconst post = definition === null || definition === void 0 ? void 0 : definition.post;\n\t\tif (dataType && post) throw new Error(\"keyword with \\\"post\\\" flag cannot have \\\"type\\\"\");\n\t\tconst { RULES } = this;\n\t\tlet ruleGroup = post ? RULES.post : RULES.rules.find(({ type: t }) => t === dataType);\n\t\tif (!ruleGroup) {\n\t\t\truleGroup = {\n\t\t\t\ttype: dataType,\n\t\t\t\trules: []\n\t\t\t};\n\t\t\tRULES.rules.push(ruleGroup);\n\t\t}\n\t\tRULES.keywords[keyword] = true;\n\t\tif (!definition) return;\n\t\tconst rule = {\n\t\t\tkeyword,\n\t\t\tdefinition: {\n\t\t\t\t...definition,\n\t\t\t\ttype: (0, dataType_1.getJSONTypes)(definition.type),\n\t\t\t\tschemaType: (0, dataType_1.getJSONTypes)(definition.schemaType)\n\t\t\t}\n\t\t};\n\t\tif (definition.before) addBeforeRule.call(this, ruleGroup, rule, definition.before);\n\t\telse ruleGroup.rules.push(rule);\n\t\tRULES.all[keyword] = rule;\n\t\t(_a = definition.implements) === null || _a === void 0 || _a.forEach((kwd) => this.addKeyword(kwd));\n\t}\n\tfunction addBeforeRule(ruleGroup, rule, before) {\n\t\tconst i = ruleGroup.rules.findIndex((_rule) => _rule.keyword === before);\n\t\tif (i >= 0) ruleGroup.rules.splice(i, 0, rule);\n\t\telse {\n\t\t\truleGroup.rules.push(rule);\n\t\t\tthis.logger.warn(`rule ${before} is not defined`);\n\t\t}\n\t}\n\tfunction keywordMetaschema(def) {\n\t\tlet { metaSchema } = def;\n\t\tif (metaSchema === void 0) return;\n\t\tif (def.$data && this.opts.$data) metaSchema = schemaOrData(metaSchema);\n\t\tdef.validateSchema = this.compile(metaSchema, true);\n\t}\n\tconst $dataRef = { $ref: \"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#\" };\n\tfunction schemaOrData(schema) {\n\t\treturn { anyOf: [schema, $dataRef] };\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/id.js\nvar require_id = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.default = {\n\t\tkeyword: \"id\",\n\t\tcode() {\n\t\t\tthrow new Error(\"NOT SUPPORTED: keyword \\\"id\\\", use \\\"$id\\\" for schema ID\");\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/ref.js\nvar require_ref = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.callRef = exports.getValidate = void 0;\n\tconst ref_error_1 = require_ref_error();\n\tconst code_1 = require_code();\n\tconst codegen_1 = require_codegen();\n\tconst names_1 = require_names();\n\tconst compile_1 = require_compile();\n\tconst util_1 = require_util();\n\tconst def = {\n\t\tkeyword: \"$ref\",\n\t\tschemaType: \"string\",\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema: $ref, it } = cxt;\n\t\t\tconst { baseId, schemaEnv: env, validateName, opts, self } = it;\n\t\t\tconst { root } = env;\n\t\t\tif (($ref === \"#\" || $ref === \"#/\") && baseId === root.baseId) return callRootRef();\n\t\t\tconst schOrEnv = compile_1.resolveRef.call(self, root, baseId, $ref);\n\t\t\tif (schOrEnv === void 0) throw new ref_error_1.default(it.opts.uriResolver, baseId, $ref);\n\t\t\tif (schOrEnv instanceof compile_1.SchemaEnv) return callValidate(schOrEnv);\n\t\t\treturn inlineRefSchema(schOrEnv);\n\t\t\tfunction callRootRef() {\n\t\t\t\tif (env === root) return callRef(cxt, validateName, env, env.$async);\n\t\t\t\tconst rootName = gen.scopeValue(\"root\", { ref: root });\n\t\t\t\treturn callRef(cxt, (0, codegen_1._)`${rootName}.validate`, root, root.$async);\n\t\t\t}\n\t\t\tfunction callValidate(sch) {\n\t\t\t\tcallRef(cxt, getValidate(cxt, sch), sch, sch.$async);\n\t\t\t}\n\t\t\tfunction inlineRefSchema(sch) {\n\t\t\t\tconst schName = gen.scopeValue(\"schema\", opts.code.source === true ? {\n\t\t\t\t\tref: sch,\n\t\t\t\t\tcode: (0, codegen_1.stringify)(sch)\n\t\t\t\t} : { ref: sch });\n\t\t\t\tconst valid = gen.name(\"valid\");\n\t\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\t\tschema: sch,\n\t\t\t\t\tdataTypes: [],\n\t\t\t\t\tschemaPath: codegen_1.nil,\n\t\t\t\t\ttopSchemaRef: schName,\n\t\t\t\t\terrSchemaPath: $ref\n\t\t\t\t}, valid);\n\t\t\t\tcxt.mergeEvaluated(schCxt);\n\t\t\t\tcxt.ok(valid);\n\t\t\t}\n\t\t}\n\t};\n\tfunction getValidate(cxt, sch) {\n\t\tconst { gen } = cxt;\n\t\treturn sch.validate ? gen.scopeValue(\"validate\", { ref: sch.validate }) : (0, codegen_1._)`${gen.scopeValue(\"wrapper\", { ref: sch })}.validate`;\n\t}\n\texports.getValidate = getValidate;\n\tfunction callRef(cxt, v, sch, $async) {\n\t\tconst { gen, it } = cxt;\n\t\tconst { allErrors, schemaEnv: env, opts } = it;\n\t\tconst passCxt = opts.passContext ? names_1.default.this : codegen_1.nil;\n\t\tif ($async) callAsyncRef();\n\t\telse callSyncRef();\n\t\tfunction callAsyncRef() {\n\t\t\tif (!env.$async) throw new Error(\"async schema referenced by sync schema\");\n\t\t\tconst valid = gen.let(\"valid\");\n\t\t\tgen.try(() => {\n\t\t\t\tgen.code((0, codegen_1._)`await ${(0, code_1.callValidateCode)(cxt, v, passCxt)}`);\n\t\t\t\taddEvaluatedFrom(v);\n\t\t\t\tif (!allErrors) gen.assign(valid, true);\n\t\t\t}, (e) => {\n\t\t\t\tgen.if((0, codegen_1._)`!(${e} instanceof ${it.ValidationError})`, () => gen.throw(e));\n\t\t\t\taddErrorsFrom(e);\n\t\t\t\tif (!allErrors) gen.assign(valid, false);\n\t\t\t});\n\t\t\tcxt.ok(valid);\n\t\t}\n\t\tfunction callSyncRef() {\n\t\t\tcxt.result((0, code_1.callValidateCode)(cxt, v, passCxt), () => addEvaluatedFrom(v), () => addErrorsFrom(v));\n\t\t}\n\t\tfunction addErrorsFrom(source) {\n\t\t\tconst errs = (0, codegen_1._)`${source}.errors`;\n\t\t\tgen.assign(names_1.default.vErrors, (0, codegen_1._)`${names_1.default.vErrors} === null ? ${errs} : ${names_1.default.vErrors}.concat(${errs})`);\n\t\t\tgen.assign(names_1.default.errors, (0, codegen_1._)`${names_1.default.vErrors}.length`);\n\t\t}\n\t\tfunction addEvaluatedFrom(source) {\n\t\t\tvar _a;\n\t\t\tif (!it.opts.unevaluated) return;\n\t\t\tconst schEvaluated = (_a = sch === null || sch === void 0 ? void 0 : sch.validate) === null || _a === void 0 ? void 0 : _a.evaluated;\n\t\t\tif (it.props !== true) if (schEvaluated && !schEvaluated.dynamicProps) {\n\t\t\t\tif (schEvaluated.props !== void 0) it.props = util_1.mergeEvaluated.props(gen, schEvaluated.props, it.props);\n\t\t\t} else {\n\t\t\t\tconst props = gen.var(\"props\", (0, codegen_1._)`${source}.evaluated.props`);\n\t\t\t\tit.props = util_1.mergeEvaluated.props(gen, props, it.props, codegen_1.Name);\n\t\t\t}\n\t\t\tif (it.items !== true) if (schEvaluated && !schEvaluated.dynamicItems) {\n\t\t\t\tif (schEvaluated.items !== void 0) it.items = util_1.mergeEvaluated.items(gen, schEvaluated.items, it.items);\n\t\t\t} else {\n\t\t\t\tconst items = gen.var(\"items\", (0, codegen_1._)`${source}.evaluated.items`);\n\t\t\t\tit.items = util_1.mergeEvaluated.items(gen, items, it.items, codegen_1.Name);\n\t\t\t}\n\t\t}\n\t}\n\texports.callRef = callRef;\n\texports.default = def;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/core/index.js\nvar require_core = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst id_1 = require_id();\n\tconst ref_1 = require_ref();\n\texports.default = [\n\t\t\"$schema\",\n\t\t\"$id\",\n\t\t\"$defs\",\n\t\t\"$vocabulary\",\n\t\t{ keyword: \"$comment\" },\n\t\t\"definitions\",\n\t\tid_1.default,\n\t\tref_1.default\n\t];\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitNumber.js\nvar require_limitNumber = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst ops = codegen_1.operators;\n\tconst KWDs = {\n\t\tmaximum: {\n\t\t\tokStr: \"<=\",\n\t\t\tok: ops.LTE,\n\t\t\tfail: ops.GT\n\t\t},\n\t\tminimum: {\n\t\t\tokStr: \">=\",\n\t\t\tok: ops.GTE,\n\t\t\tfail: ops.LT\n\t\t},\n\t\texclusiveMaximum: {\n\t\t\tokStr: \"<\",\n\t\t\tok: ops.LT,\n\t\t\tfail: ops.GTE\n\t\t},\n\t\texclusiveMinimum: {\n\t\t\tokStr: \">\",\n\t\t\tok: ops.GT,\n\t\t\tfail: ops.LTE\n\t\t}\n\t};\n\texports.default = {\n\t\tkeyword: Object.keys(KWDs),\n\t\ttype: \"number\",\n\t\tschemaType: \"number\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ keyword, schemaCode }) => (0, codegen_1.str)`must be ${KWDs[keyword].okStr} ${schemaCode}`,\n\t\t\tparams: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { keyword, data, schemaCode } = cxt;\n\t\t\tcxt.fail$data((0, codegen_1._)`${data} ${KWDs[keyword].fail} ${schemaCode} || isNaN(${data})`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/multipleOf.js\nvar require_multipleOf = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tkeyword: \"multipleOf\",\n\t\ttype: \"number\",\n\t\tschemaType: \"number\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ schemaCode }) => (0, codegen_1.str)`must be multiple of ${schemaCode}`,\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{multipleOf: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, schemaCode, it } = cxt;\n\t\t\tconst prec = it.opts.multipleOfPrecision;\n\t\t\tconst res = gen.let(\"res\");\n\t\t\tconst invalid = prec ? (0, codegen_1._)`Math.abs(Math.round(${res}) - ${res}) > 1e-${prec}` : (0, codegen_1._)`${res} !== parseInt(${res})`;\n\t\t\tcxt.fail$data((0, codegen_1._)`(${schemaCode} === 0 || (${res} = ${data}/${schemaCode}, ${invalid}))`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/ucs2length.js\nvar require_ucs2length = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tfunction ucs2length(str) {\n\t\tconst len = str.length;\n\t\tlet length = 0;\n\t\tlet pos = 0;\n\t\tlet value;\n\t\twhile (pos < len) {\n\t\t\tlength++;\n\t\t\tvalue = str.charCodeAt(pos++);\n\t\t\tif (value >= 55296 && value <= 56319 && pos < len) {\n\t\t\t\tvalue = str.charCodeAt(pos);\n\t\t\t\tif ((value & 64512) === 56320) pos++;\n\t\t\t}\n\t\t}\n\t\treturn length;\n\t}\n\texports.default = ucs2length;\n\tucs2length.code = \"require(\\\"ajv/dist/runtime/ucs2length\\\").default\";\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitLength.js\nvar require_limitLength = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst ucs2length_1 = require_ucs2length();\n\texports.default = {\n\t\tkeyword: [\"maxLength\", \"minLength\"],\n\t\ttype: \"string\",\n\t\tschemaType: \"number\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage({ keyword, schemaCode }) {\n\t\t\t\tconst comp = keyword === \"maxLength\" ? \"more\" : \"fewer\";\n\t\t\t\treturn (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} characters`;\n\t\t\t},\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { keyword, data, schemaCode, it } = cxt;\n\t\t\tconst op = keyword === \"maxLength\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n\t\t\tconst len = it.opts.unicode === false ? (0, codegen_1._)`${data}.length` : (0, codegen_1._)`${(0, util_1.useFunc)(cxt.gen, ucs2length_1.default)}(${data})`;\n\t\t\tcxt.fail$data((0, codegen_1._)`${len} ${op} ${schemaCode}`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/pattern.js\nvar require_pattern = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst code_1 = require_code();\n\tconst util_1 = require_util();\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tkeyword: \"pattern\",\n\t\ttype: \"string\",\n\t\tschemaType: \"string\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ schemaCode }) => (0, codegen_1.str)`must match pattern \"${schemaCode}\"`,\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{pattern: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, $data, schema, schemaCode, it } = cxt;\n\t\t\tconst u = it.opts.unicodeRegExp ? \"u\" : \"\";\n\t\t\tif ($data) {\n\t\t\t\tconst { regExp } = it.opts.code;\n\t\t\t\tconst regExpCode = regExp.code === \"new RegExp\" ? (0, codegen_1._)`new RegExp` : (0, util_1.useFunc)(gen, regExp);\n\t\t\t\tconst valid = gen.let(\"valid\");\n\t\t\t\tgen.try(() => gen.assign(valid, (0, codegen_1._)`${regExpCode}(${schemaCode}, ${u}).test(${data})`), () => gen.assign(valid, false));\n\t\t\t\tcxt.fail$data((0, codegen_1._)`!${valid}`);\n\t\t\t} else {\n\t\t\t\tconst regExp = (0, code_1.usePattern)(cxt, schema);\n\t\t\t\tcxt.fail$data((0, codegen_1._)`!${regExp}.test(${data})`);\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitProperties.js\nvar require_limitProperties = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tkeyword: [\"maxProperties\", \"minProperties\"],\n\t\ttype: \"object\",\n\t\tschemaType: \"number\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage({ keyword, schemaCode }) {\n\t\t\t\tconst comp = keyword === \"maxProperties\" ? \"more\" : \"fewer\";\n\t\t\t\treturn (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} properties`;\n\t\t\t},\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { keyword, data, schemaCode } = cxt;\n\t\t\tconst op = keyword === \"maxProperties\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n\t\t\tcxt.fail$data((0, codegen_1._)`Object.keys(${data}).length ${op} ${schemaCode}`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/required.js\nvar require_required = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst code_1 = require_code();\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"required\",\n\t\ttype: \"object\",\n\t\tschemaType: \"array\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ params: { missingProperty } }) => (0, codegen_1.str)`must have required property '${missingProperty}'`,\n\t\t\tparams: ({ params: { missingProperty } }) => (0, codegen_1._)`{missingProperty: ${missingProperty}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, schemaCode, data, $data, it } = cxt;\n\t\t\tconst { opts } = it;\n\t\t\tif (!$data && schema.length === 0) return;\n\t\t\tconst useLoop = schema.length >= opts.loopRequired;\n\t\t\tif (it.allErrors) allErrorsMode();\n\t\t\telse exitOnErrorMode();\n\t\t\tif (opts.strictRequired) {\n\t\t\t\tconst props = cxt.parentSchema.properties;\n\t\t\t\tconst { definedProperties } = cxt.it;\n\t\t\t\tfor (const requiredKey of schema) if ((props === null || props === void 0 ? void 0 : props[requiredKey]) === void 0 && !definedProperties.has(requiredKey)) {\n\t\t\t\t\tconst msg = `required property \"${requiredKey}\" is not defined at \"${it.schemaEnv.baseId + it.errSchemaPath}\" (strictRequired)`;\n\t\t\t\t\t(0, util_1.checkStrictMode)(it, msg, it.opts.strictRequired);\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction allErrorsMode() {\n\t\t\t\tif (useLoop || $data) cxt.block$data(codegen_1.nil, loopAllRequired);\n\t\t\t\telse for (const prop of schema) (0, code_1.checkReportMissingProp)(cxt, prop);\n\t\t\t}\n\t\t\tfunction exitOnErrorMode() {\n\t\t\t\tconst missing = gen.let(\"missing\");\n\t\t\t\tif (useLoop || $data) {\n\t\t\t\t\tconst valid = gen.let(\"valid\", true);\n\t\t\t\t\tcxt.block$data(valid, () => loopUntilMissing(missing, valid));\n\t\t\t\t\tcxt.ok(valid);\n\t\t\t\t} else {\n\t\t\t\t\tgen.if((0, code_1.checkMissingProp)(cxt, schema, missing));\n\t\t\t\t\t(0, code_1.reportMissingProp)(cxt, missing);\n\t\t\t\t\tgen.else();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction loopAllRequired() {\n\t\t\t\tgen.forOf(\"prop\", schemaCode, (prop) => {\n\t\t\t\t\tcxt.setParams({ missingProperty: prop });\n\t\t\t\t\tgen.if((0, code_1.noPropertyInData)(gen, data, prop, opts.ownProperties), () => cxt.error());\n\t\t\t\t});\n\t\t\t}\n\t\t\tfunction loopUntilMissing(missing, valid) {\n\t\t\t\tcxt.setParams({ missingProperty: missing });\n\t\t\t\tgen.forOf(missing, schemaCode, () => {\n\t\t\t\t\tgen.assign(valid, (0, code_1.propertyInData)(gen, data, missing, opts.ownProperties));\n\t\t\t\t\tgen.if((0, codegen_1.not)(valid), () => {\n\t\t\t\t\t\tcxt.error();\n\t\t\t\t\t\tgen.break();\n\t\t\t\t\t});\n\t\t\t\t}, codegen_1.nil);\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/limitItems.js\nvar require_limitItems = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tkeyword: [\"maxItems\", \"minItems\"],\n\t\ttype: \"array\",\n\t\tschemaType: \"number\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage({ keyword, schemaCode }) {\n\t\t\t\tconst comp = keyword === \"maxItems\" ? \"more\" : \"fewer\";\n\t\t\t\treturn (0, codegen_1.str)`must NOT have ${comp} than ${schemaCode} items`;\n\t\t\t},\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{limit: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { keyword, data, schemaCode } = cxt;\n\t\t\tconst op = keyword === \"maxItems\" ? codegen_1.operators.GT : codegen_1.operators.LT;\n\t\t\tcxt.fail$data((0, codegen_1._)`${data}.length ${op} ${schemaCode}`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/runtime/equal.js\nvar require_equal = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst equal = require_fast_deep_equal();\n\tequal.code = \"require(\\\"ajv/dist/runtime/equal\\\").default\";\n\texports.default = equal;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js\nvar require_uniqueItems = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst dataType_1 = require_dataType();\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst equal_1 = require_equal();\n\texports.default = {\n\t\tkeyword: \"uniqueItems\",\n\t\ttype: \"array\",\n\t\tschemaType: \"boolean\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ params: { i, j } }) => (0, codegen_1.str)`must NOT have duplicate items (items ## ${j} and ${i} are identical)`,\n\t\t\tparams: ({ params: { i, j } }) => (0, codegen_1._)`{i: ${i}, j: ${j}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, $data, schema, parentSchema, schemaCode, it } = cxt;\n\t\t\tif (!$data && !schema) return;\n\t\t\tconst valid = gen.let(\"valid\");\n\t\t\tconst itemTypes = parentSchema.items ? (0, dataType_1.getSchemaTypes)(parentSchema.items) : [];\n\t\t\tcxt.block$data(valid, validateUniqueItems, (0, codegen_1._)`${schemaCode} === false`);\n\t\t\tcxt.ok(valid);\n\t\t\tfunction validateUniqueItems() {\n\t\t\t\tconst i = gen.let(\"i\", (0, codegen_1._)`${data}.length`);\n\t\t\t\tconst j = gen.let(\"j\");\n\t\t\t\tcxt.setParams({\n\t\t\t\t\ti,\n\t\t\t\t\tj\n\t\t\t\t});\n\t\t\t\tgen.assign(valid, true);\n\t\t\t\tgen.if((0, codegen_1._)`${i} > 1`, () => (canOptimize() ? loopN : loopN2)(i, j));\n\t\t\t}\n\t\t\tfunction canOptimize() {\n\t\t\t\treturn itemTypes.length > 0 && !itemTypes.some((t) => t === \"object\" || t === \"array\");\n\t\t\t}\n\t\t\tfunction loopN(i, j) {\n\t\t\t\tconst item = gen.name(\"item\");\n\t\t\t\tconst wrongType = (0, dataType_1.checkDataTypes)(itemTypes, item, it.opts.strictNumbers, dataType_1.DataType.Wrong);\n\t\t\t\tconst indices = gen.const(\"indices\", (0, codegen_1._)`{}`);\n\t\t\t\tgen.for((0, codegen_1._)`;${i}--;`, () => {\n\t\t\t\t\tgen.let(item, (0, codegen_1._)`${data}[${i}]`);\n\t\t\t\t\tgen.if(wrongType, (0, codegen_1._)`continue`);\n\t\t\t\t\tif (itemTypes.length > 1) gen.if((0, codegen_1._)`typeof ${item} == \"string\"`, (0, codegen_1._)`${item} += \"_\"`);\n\t\t\t\t\tgen.if((0, codegen_1._)`typeof ${indices}[${item}] == \"number\"`, () => {\n\t\t\t\t\t\tgen.assign(j, (0, codegen_1._)`${indices}[${item}]`);\n\t\t\t\t\t\tcxt.error();\n\t\t\t\t\t\tgen.assign(valid, false).break();\n\t\t\t\t\t}).code((0, codegen_1._)`${indices}[${item}] = ${i}`);\n\t\t\t\t});\n\t\t\t}\n\t\t\tfunction loopN2(i, j) {\n\t\t\t\tconst eql = (0, util_1.useFunc)(gen, equal_1.default);\n\t\t\t\tconst outer = gen.name(\"outer\");\n\t\t\t\tgen.label(outer).for((0, codegen_1._)`;${i}--;`, () => gen.for((0, codegen_1._)`${j} = ${i}; ${j}--;`, () => gen.if((0, codegen_1._)`${eql}(${data}[${i}], ${data}[${j}])`, () => {\n\t\t\t\t\tcxt.error();\n\t\t\t\t\tgen.assign(valid, false).break(outer);\n\t\t\t\t})));\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/const.js\nvar require_const = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst equal_1 = require_equal();\n\texports.default = {\n\t\tkeyword: \"const\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: \"must be equal to constant\",\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{allowedValue: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, $data, schemaCode, schema } = cxt;\n\t\t\tif ($data || schema && typeof schema == \"object\") cxt.fail$data((0, codegen_1._)`!${(0, util_1.useFunc)(gen, equal_1.default)}(${data}, ${schemaCode})`);\n\t\t\telse cxt.fail((0, codegen_1._)`${schema} !== ${data}`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/enum.js\nvar require_enum = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst equal_1 = require_equal();\n\texports.default = {\n\t\tkeyword: \"enum\",\n\t\tschemaType: \"array\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: \"must be equal to one of the allowed values\",\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{allowedValues: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, $data, schema, schemaCode, it } = cxt;\n\t\t\tif (!$data && schema.length === 0) throw new Error(\"enum must have non-empty array\");\n\t\t\tconst useLoop = schema.length >= it.opts.loopEnum;\n\t\t\tlet eql;\n\t\t\tconst getEql = () => eql !== null && eql !== void 0 ? eql : eql = (0, util_1.useFunc)(gen, equal_1.default);\n\t\t\tlet valid;\n\t\t\tif (useLoop || $data) {\n\t\t\t\tvalid = gen.let(\"valid\");\n\t\t\t\tcxt.block$data(valid, loopEnum);\n\t\t\t} else {\n\t\t\t\t/* istanbul ignore if */\n\t\t\t\tif (!Array.isArray(schema)) throw new Error(\"ajv implementation error\");\n\t\t\t\tconst vSchema = gen.const(\"vSchema\", schemaCode);\n\t\t\t\tvalid = (0, codegen_1.or)(...schema.map((_x, i) => equalCode(vSchema, i)));\n\t\t\t}\n\t\t\tcxt.pass(valid);\n\t\t\tfunction loopEnum() {\n\t\t\t\tgen.assign(valid, false);\n\t\t\t\tgen.forOf(\"v\", schemaCode, (v) => gen.if((0, codegen_1._)`${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));\n\t\t\t}\n\t\t\tfunction equalCode(vSchema, i) {\n\t\t\t\tconst sch = schema[i];\n\t\t\t\treturn typeof sch === \"object\" && sch !== null ? (0, codegen_1._)`${getEql()}(${data}, ${vSchema}[${i}])` : (0, codegen_1._)`${data} === ${sch}`;\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/validation/index.js\nvar require_validation = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst limitNumber_1 = require_limitNumber();\n\tconst multipleOf_1 = require_multipleOf();\n\tconst limitLength_1 = require_limitLength();\n\tconst pattern_1 = require_pattern();\n\tconst limitProperties_1 = require_limitProperties();\n\tconst required_1 = require_required();\n\tconst limitItems_1 = require_limitItems();\n\tconst uniqueItems_1 = require_uniqueItems();\n\tconst const_1 = require_const();\n\tconst enum_1 = require_enum();\n\texports.default = [\n\t\tlimitNumber_1.default,\n\t\tmultipleOf_1.default,\n\t\tlimitLength_1.default,\n\t\tpattern_1.default,\n\t\tlimitProperties_1.default,\n\t\trequired_1.default,\n\t\tlimitItems_1.default,\n\t\tuniqueItems_1.default,\n\t\t{\n\t\t\tkeyword: \"type\",\n\t\t\tschemaType: [\"string\", \"array\"]\n\t\t},\n\t\t{\n\t\t\tkeyword: \"nullable\",\n\t\t\tschemaType: \"boolean\"\n\t\t},\n\t\tconst_1.default,\n\t\tenum_1.default\n\t];\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js\nvar require_additionalItems = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.validateAdditionalItems = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst def = {\n\t\tkeyword: \"additionalItems\",\n\t\ttype: \"array\",\n\t\tschemaType: [\"boolean\", \"object\"],\n\t\tbefore: \"uniqueItems\",\n\t\terror: {\n\t\t\tmessage: ({ params: { len } }) => (0, codegen_1.str)`must NOT have more than ${len} items`,\n\t\t\tparams: ({ params: { len } }) => (0, codegen_1._)`{limit: ${len}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { parentSchema, it } = cxt;\n\t\t\tconst { items } = parentSchema;\n\t\t\tif (!Array.isArray(items)) {\n\t\t\t\t(0, util_1.checkStrictMode)(it, \"\\\"additionalItems\\\" is ignored when \\\"items\\\" is not an array of schemas\");\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvalidateAdditionalItems(cxt, items);\n\t\t}\n\t};\n\tfunction validateAdditionalItems(cxt, items) {\n\t\tconst { gen, schema, data, keyword, it } = cxt;\n\t\tit.items = true;\n\t\tconst len = gen.const(\"len\", (0, codegen_1._)`${data}.length`);\n\t\tif (schema === false) {\n\t\t\tcxt.setParams({ len: items.length });\n\t\t\tcxt.pass((0, codegen_1._)`${len} <= ${items.length}`);\n\t\t} else if (typeof schema == \"object\" && !(0, util_1.alwaysValidSchema)(it, schema)) {\n\t\t\tconst valid = gen.var(\"valid\", (0, codegen_1._)`${len} <= ${items.length}`);\n\t\t\tgen.if((0, codegen_1.not)(valid), () => validateItems(valid));\n\t\t\tcxt.ok(valid);\n\t\t}\n\t\tfunction validateItems(valid) {\n\t\t\tgen.forRange(\"i\", items.length, len, (i) => {\n\t\t\t\tcxt.subschema({\n\t\t\t\t\tkeyword,\n\t\t\t\t\tdataProp: i,\n\t\t\t\t\tdataPropType: util_1.Type.Num\n\t\t\t\t}, valid);\n\t\t\t\tif (!it.allErrors) gen.if((0, codegen_1.not)(valid), () => gen.break());\n\t\t\t});\n\t\t}\n\t}\n\texports.validateAdditionalItems = validateAdditionalItems;\n\texports.default = def;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items.js\nvar require_items = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.validateTuple = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst code_1 = require_code();\n\tconst def = {\n\t\tkeyword: \"items\",\n\t\ttype: \"array\",\n\t\tschemaType: [\n\t\t\t\"object\",\n\t\t\t\"array\",\n\t\t\t\"boolean\"\n\t\t],\n\t\tbefore: \"uniqueItems\",\n\t\tcode(cxt) {\n\t\t\tconst { schema, it } = cxt;\n\t\t\tif (Array.isArray(schema)) return validateTuple(cxt, \"additionalItems\", schema);\n\t\t\tit.items = true;\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schema)) return;\n\t\t\tcxt.ok((0, code_1.validateArray)(cxt));\n\t\t}\n\t};\n\tfunction validateTuple(cxt, extraItems, schArr = cxt.schema) {\n\t\tconst { gen, parentSchema, data, keyword, it } = cxt;\n\t\tcheckStrictTuple(parentSchema);\n\t\tif (it.opts.unevaluated && schArr.length && it.items !== true) it.items = util_1.mergeEvaluated.items(gen, schArr.length, it.items);\n\t\tconst valid = gen.name(\"valid\");\n\t\tconst len = gen.const(\"len\", (0, codegen_1._)`${data}.length`);\n\t\tschArr.forEach((sch, i) => {\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, sch)) return;\n\t\t\tgen.if((0, codegen_1._)`${len} > ${i}`, () => cxt.subschema({\n\t\t\t\tkeyword,\n\t\t\t\tschemaProp: i,\n\t\t\t\tdataProp: i\n\t\t\t}, valid));\n\t\t\tcxt.ok(valid);\n\t\t});\n\t\tfunction checkStrictTuple(sch) {\n\t\t\tconst { opts, errSchemaPath } = it;\n\t\t\tconst l = schArr.length;\n\t\t\tconst fullTuple = l === sch.minItems && (l === sch.maxItems || sch[extraItems] === false);\n\t\t\tif (opts.strictTuples && !fullTuple) {\n\t\t\t\tconst msg = `\"${keyword}\" is ${l}-tuple, but minItems or maxItems/${extraItems} are not specified or different at path \"${errSchemaPath}\"`;\n\t\t\t\t(0, util_1.checkStrictMode)(it, msg, opts.strictTuples);\n\t\t\t}\n\t\t}\n\t}\n\texports.validateTuple = validateTuple;\n\texports.default = def;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js\nvar require_prefixItems = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst items_1 = require_items();\n\texports.default = {\n\t\tkeyword: \"prefixItems\",\n\t\ttype: \"array\",\n\t\tschemaType: [\"array\"],\n\t\tbefore: \"uniqueItems\",\n\t\tcode: (cxt) => (0, items_1.validateTuple)(cxt, \"items\")\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/items2020.js\nvar require_items2020 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst code_1 = require_code();\n\tconst additionalItems_1 = require_additionalItems();\n\texports.default = {\n\t\tkeyword: \"items\",\n\t\ttype: \"array\",\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\tbefore: \"uniqueItems\",\n\t\terror: {\n\t\t\tmessage: ({ params: { len } }) => (0, codegen_1.str)`must NOT have more than ${len} items`,\n\t\t\tparams: ({ params: { len } }) => (0, codegen_1._)`{limit: ${len}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { schema, parentSchema, it } = cxt;\n\t\t\tconst { prefixItems } = parentSchema;\n\t\t\tit.items = true;\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schema)) return;\n\t\t\tif (prefixItems) (0, additionalItems_1.validateAdditionalItems)(cxt, prefixItems);\n\t\t\telse cxt.ok((0, code_1.validateArray)(cxt));\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/contains.js\nvar require_contains = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"contains\",\n\t\ttype: \"array\",\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\tbefore: \"uniqueItems\",\n\t\ttrackErrors: true,\n\t\terror: {\n\t\t\tmessage: ({ params: { min, max } }) => max === void 0 ? (0, codegen_1.str)`must contain at least ${min} valid item(s)` : (0, codegen_1.str)`must contain at least ${min} and no more than ${max} valid item(s)`,\n\t\t\tparams: ({ params: { min, max } }) => max === void 0 ? (0, codegen_1._)`{minContains: ${min}}` : (0, codegen_1._)`{minContains: ${min}, maxContains: ${max}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, parentSchema, data, it } = cxt;\n\t\t\tlet min;\n\t\t\tlet max;\n\t\t\tconst { minContains, maxContains } = parentSchema;\n\t\t\tif (it.opts.next) {\n\t\t\t\tmin = minContains === void 0 ? 1 : minContains;\n\t\t\t\tmax = maxContains;\n\t\t\t} else min = 1;\n\t\t\tconst len = gen.const(\"len\", (0, codegen_1._)`${data}.length`);\n\t\t\tcxt.setParams({\n\t\t\t\tmin,\n\t\t\t\tmax\n\t\t\t});\n\t\t\tif (max === void 0 && min === 0) {\n\t\t\t\t(0, util_1.checkStrictMode)(it, `\"minContains\" == 0 without \"maxContains\": \"contains\" keyword ignored`);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (max !== void 0 && min > max) {\n\t\t\t\t(0, util_1.checkStrictMode)(it, `\"minContains\" > \"maxContains\" is always invalid`);\n\t\t\t\tcxt.fail();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schema)) {\n\t\t\t\tlet cond = (0, codegen_1._)`${len} >= ${min}`;\n\t\t\t\tif (max !== void 0) cond = (0, codegen_1._)`${cond} && ${len} <= ${max}`;\n\t\t\t\tcxt.pass(cond);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tit.items = true;\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tif (max === void 0 && min === 1) validateItems(valid, () => gen.if(valid, () => gen.break()));\n\t\t\telse if (min === 0) {\n\t\t\t\tgen.let(valid, true);\n\t\t\t\tif (max !== void 0) gen.if((0, codegen_1._)`${data}.length > 0`, validateItemsWithCount);\n\t\t\t} else {\n\t\t\t\tgen.let(valid, false);\n\t\t\t\tvalidateItemsWithCount();\n\t\t\t}\n\t\t\tcxt.result(valid, () => cxt.reset());\n\t\t\tfunction validateItemsWithCount() {\n\t\t\t\tconst schValid = gen.name(\"_valid\");\n\t\t\t\tconst count = gen.let(\"count\", 0);\n\t\t\t\tvalidateItems(schValid, () => gen.if(schValid, () => checkLimits(count)));\n\t\t\t}\n\t\t\tfunction validateItems(_valid, block) {\n\t\t\t\tgen.forRange(\"i\", 0, len, (i) => {\n\t\t\t\t\tcxt.subschema({\n\t\t\t\t\t\tkeyword: \"contains\",\n\t\t\t\t\t\tdataProp: i,\n\t\t\t\t\t\tdataPropType: util_1.Type.Num,\n\t\t\t\t\t\tcompositeRule: true\n\t\t\t\t\t}, _valid);\n\t\t\t\t\tblock();\n\t\t\t\t});\n\t\t\t}\n\t\t\tfunction checkLimits(count) {\n\t\t\t\tgen.code((0, codegen_1._)`${count}++`);\n\t\t\t\tif (max === void 0) gen.if((0, codegen_1._)`${count} >= ${min}`, () => gen.assign(valid, true).break());\n\t\t\t\telse {\n\t\t\t\t\tgen.if((0, codegen_1._)`${count} > ${max}`, () => gen.assign(valid, false).break());\n\t\t\t\t\tif (min === 1) gen.assign(valid, true);\n\t\t\t\t\telse gen.if((0, codegen_1._)`${count} >= ${min}`, () => gen.assign(valid, true));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/dependencies.js\nvar require_dependencies = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst code_1 = require_code();\n\texports.error = {\n\t\tmessage: ({ params: { property, depsCount, deps } }) => {\n\t\t\tconst property_ies = depsCount === 1 ? \"property\" : \"properties\";\n\t\t\treturn (0, codegen_1.str)`must have ${property_ies} ${deps} when property ${property} is present`;\n\t\t},\n\t\tparams: ({ params: { property, depsCount, deps, missingProperty } }) => (0, codegen_1._)`{property: ${property},\n missingProperty: ${missingProperty},\n depsCount: ${depsCount},\n deps: ${deps}}`\n\t};\n\tconst def = {\n\t\tkeyword: \"dependencies\",\n\t\ttype: \"object\",\n\t\tschemaType: \"object\",\n\t\terror: exports.error,\n\t\tcode(cxt) {\n\t\t\tconst [propDeps, schDeps] = splitDependencies(cxt);\n\t\t\tvalidatePropertyDeps(cxt, propDeps);\n\t\t\tvalidateSchemaDeps(cxt, schDeps);\n\t\t}\n\t};\n\tfunction splitDependencies({ schema }) {\n\t\tconst propertyDeps = {};\n\t\tconst schemaDeps = {};\n\t\tfor (const key in schema) {\n\t\t\tif (key === \"__proto__\") continue;\n\t\t\tconst deps = Array.isArray(schema[key]) ? propertyDeps : schemaDeps;\n\t\t\tdeps[key] = schema[key];\n\t\t}\n\t\treturn [propertyDeps, schemaDeps];\n\t}\n\tfunction validatePropertyDeps(cxt, propertyDeps = cxt.schema) {\n\t\tconst { gen, data, it } = cxt;\n\t\tif (Object.keys(propertyDeps).length === 0) return;\n\t\tconst missing = gen.let(\"missing\");\n\t\tfor (const prop in propertyDeps) {\n\t\t\tconst deps = propertyDeps[prop];\n\t\t\tif (deps.length === 0) continue;\n\t\t\tconst hasProperty = (0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties);\n\t\t\tcxt.setParams({\n\t\t\t\tproperty: prop,\n\t\t\t\tdepsCount: deps.length,\n\t\t\t\tdeps: deps.join(\", \")\n\t\t\t});\n\t\t\tif (it.allErrors) gen.if(hasProperty, () => {\n\t\t\t\tfor (const depProp of deps) (0, code_1.checkReportMissingProp)(cxt, depProp);\n\t\t\t});\n\t\t\telse {\n\t\t\t\tgen.if((0, codegen_1._)`${hasProperty} && (${(0, code_1.checkMissingProp)(cxt, deps, missing)})`);\n\t\t\t\t(0, code_1.reportMissingProp)(cxt, missing);\n\t\t\t\tgen.else();\n\t\t\t}\n\t\t}\n\t}\n\texports.validatePropertyDeps = validatePropertyDeps;\n\tfunction validateSchemaDeps(cxt, schemaDeps = cxt.schema) {\n\t\tconst { gen, data, keyword, it } = cxt;\n\t\tconst valid = gen.name(\"valid\");\n\t\tfor (const prop in schemaDeps) {\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schemaDeps[prop])) continue;\n\t\t\tgen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties), () => {\n\t\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\t\tkeyword,\n\t\t\t\t\tschemaProp: prop\n\t\t\t\t}, valid);\n\t\t\t\tcxt.mergeValidEvaluated(schCxt, valid);\n\t\t\t}, () => gen.var(valid, true));\n\t\t\tcxt.ok(valid);\n\t\t}\n\t}\n\texports.validateSchemaDeps = validateSchemaDeps;\n\texports.default = def;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js\nvar require_propertyNames = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"propertyNames\",\n\t\ttype: \"object\",\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\terror: {\n\t\t\tmessage: \"property name must be valid\",\n\t\t\tparams: ({ params }) => (0, codegen_1._)`{propertyName: ${params.propertyName}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, data, it } = cxt;\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schema)) return;\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tgen.forIn(\"key\", data, (key) => {\n\t\t\t\tcxt.setParams({ propertyName: key });\n\t\t\t\tcxt.subschema({\n\t\t\t\t\tkeyword: \"propertyNames\",\n\t\t\t\t\tdata: key,\n\t\t\t\t\tdataTypes: [\"string\"],\n\t\t\t\t\tpropertyName: key,\n\t\t\t\t\tcompositeRule: true\n\t\t\t\t}, valid);\n\t\t\t\tgen.if((0, codegen_1.not)(valid), () => {\n\t\t\t\t\tcxt.error(true);\n\t\t\t\t\tif (!it.allErrors) gen.break();\n\t\t\t\t});\n\t\t\t});\n\t\t\tcxt.ok(valid);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js\nvar require_additionalProperties = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst code_1 = require_code();\n\tconst codegen_1 = require_codegen();\n\tconst names_1 = require_names();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"additionalProperties\",\n\t\ttype: [\"object\"],\n\t\tschemaType: [\"boolean\", \"object\"],\n\t\tallowUndefined: true,\n\t\ttrackErrors: true,\n\t\terror: {\n\t\t\tmessage: \"must NOT have additional properties\",\n\t\t\tparams: ({ params }) => (0, codegen_1._)`{additionalProperty: ${params.additionalProperty}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, parentSchema, data, errsCount, it } = cxt;\n\t\t\t/* istanbul ignore if */\n\t\t\tif (!errsCount) throw new Error(\"ajv implementation error\");\n\t\t\tconst { allErrors, opts } = it;\n\t\t\tit.props = true;\n\t\t\tif (opts.removeAdditional !== \"all\" && (0, util_1.alwaysValidSchema)(it, schema)) return;\n\t\t\tconst props = (0, code_1.allSchemaProperties)(parentSchema.properties);\n\t\t\tconst patProps = (0, code_1.allSchemaProperties)(parentSchema.patternProperties);\n\t\t\tcheckAdditionalProperties();\n\t\t\tcxt.ok((0, codegen_1._)`${errsCount} === ${names_1.default.errors}`);\n\t\t\tfunction checkAdditionalProperties() {\n\t\t\t\tgen.forIn(\"key\", data, (key) => {\n\t\t\t\t\tif (!props.length && !patProps.length) additionalPropertyCode(key);\n\t\t\t\t\telse gen.if(isAdditional(key), () => additionalPropertyCode(key));\n\t\t\t\t});\n\t\t\t}\n\t\t\tfunction isAdditional(key) {\n\t\t\t\tlet definedProp;\n\t\t\t\tif (props.length > 8) {\n\t\t\t\t\tconst propsSchema = (0, util_1.schemaRefOrVal)(it, parentSchema.properties, \"properties\");\n\t\t\t\t\tdefinedProp = (0, code_1.isOwnProperty)(gen, propsSchema, key);\n\t\t\t\t} else if (props.length) definedProp = (0, codegen_1.or)(...props.map((p) => (0, codegen_1._)`${key} === ${p}`));\n\t\t\t\telse definedProp = codegen_1.nil;\n\t\t\t\tif (patProps.length) definedProp = (0, codegen_1.or)(definedProp, ...patProps.map((p) => (0, codegen_1._)`${(0, code_1.usePattern)(cxt, p)}.test(${key})`));\n\t\t\t\treturn (0, codegen_1.not)(definedProp);\n\t\t\t}\n\t\t\tfunction deleteAdditional(key) {\n\t\t\t\tgen.code((0, codegen_1._)`delete ${data}[${key}]`);\n\t\t\t}\n\t\t\tfunction additionalPropertyCode(key) {\n\t\t\t\tif (opts.removeAdditional === \"all\" || opts.removeAdditional && schema === false) {\n\t\t\t\t\tdeleteAdditional(key);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (schema === false) {\n\t\t\t\t\tcxt.setParams({ additionalProperty: key });\n\t\t\t\t\tcxt.error();\n\t\t\t\t\tif (!allErrors) gen.break();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (typeof schema == \"object\" && !(0, util_1.alwaysValidSchema)(it, schema)) {\n\t\t\t\t\tconst valid = gen.name(\"valid\");\n\t\t\t\t\tif (opts.removeAdditional === \"failing\") {\n\t\t\t\t\t\tapplyAdditionalSchema(key, valid, false);\n\t\t\t\t\t\tgen.if((0, codegen_1.not)(valid), () => {\n\t\t\t\t\t\t\tcxt.reset();\n\t\t\t\t\t\t\tdeleteAdditional(key);\n\t\t\t\t\t\t});\n\t\t\t\t\t} else {\n\t\t\t\t\t\tapplyAdditionalSchema(key, valid);\n\t\t\t\t\t\tif (!allErrors) gen.if((0, codegen_1.not)(valid), () => gen.break());\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction applyAdditionalSchema(key, valid, errors) {\n\t\t\t\tconst subschema = {\n\t\t\t\t\tkeyword: \"additionalProperties\",\n\t\t\t\t\tdataProp: key,\n\t\t\t\t\tdataPropType: util_1.Type.Str\n\t\t\t\t};\n\t\t\t\tif (errors === false) Object.assign(subschema, {\n\t\t\t\t\tcompositeRule: true,\n\t\t\t\t\tcreateErrors: false,\n\t\t\t\t\tallErrors: false\n\t\t\t\t});\n\t\t\t\tcxt.subschema(subschema, valid);\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/properties.js\nvar require_properties = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst validate_1 = require_validate();\n\tconst code_1 = require_code();\n\tconst util_1 = require_util();\n\tconst additionalProperties_1 = require_additionalProperties();\n\texports.default = {\n\t\tkeyword: \"properties\",\n\t\ttype: \"object\",\n\t\tschemaType: \"object\",\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, parentSchema, data, it } = cxt;\n\t\t\tif (it.opts.removeAdditional === \"all\" && parentSchema.additionalProperties === void 0) additionalProperties_1.default.code(new validate_1.KeywordCxt(it, additionalProperties_1.default, \"additionalProperties\"));\n\t\t\tconst allProps = (0, code_1.allSchemaProperties)(schema);\n\t\t\tfor (const prop of allProps) it.definedProperties.add(prop);\n\t\t\tif (it.opts.unevaluated && allProps.length && it.props !== true) it.props = util_1.mergeEvaluated.props(gen, (0, util_1.toHash)(allProps), it.props);\n\t\t\tconst properties = allProps.filter((p) => !(0, util_1.alwaysValidSchema)(it, schema[p]));\n\t\t\tif (properties.length === 0) return;\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tfor (const prop of properties) {\n\t\t\t\tif (hasDefault(prop)) applyPropertySchema(prop);\n\t\t\t\telse {\n\t\t\t\t\tgen.if((0, code_1.propertyInData)(gen, data, prop, it.opts.ownProperties));\n\t\t\t\t\tapplyPropertySchema(prop);\n\t\t\t\t\tif (!it.allErrors) gen.else().var(valid, true);\n\t\t\t\t\tgen.endIf();\n\t\t\t\t}\n\t\t\t\tcxt.it.definedProperties.add(prop);\n\t\t\t\tcxt.ok(valid);\n\t\t\t}\n\t\t\tfunction hasDefault(prop) {\n\t\t\t\treturn it.opts.useDefaults && !it.compositeRule && schema[prop].default !== void 0;\n\t\t\t}\n\t\t\tfunction applyPropertySchema(prop) {\n\t\t\t\tcxt.subschema({\n\t\t\t\t\tkeyword: \"properties\",\n\t\t\t\t\tschemaProp: prop,\n\t\t\t\t\tdataProp: prop\n\t\t\t\t}, valid);\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js\nvar require_patternProperties = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst code_1 = require_code();\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst util_2 = require_util();\n\texports.default = {\n\t\tkeyword: \"patternProperties\",\n\t\ttype: \"object\",\n\t\tschemaType: \"object\",\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, data, parentSchema, it } = cxt;\n\t\t\tconst { opts } = it;\n\t\t\tconst patterns = (0, code_1.allSchemaProperties)(schema);\n\t\t\tconst alwaysValidPatterns = patterns.filter((p) => (0, util_1.alwaysValidSchema)(it, schema[p]));\n\t\t\tif (patterns.length === 0 || alwaysValidPatterns.length === patterns.length && (!it.opts.unevaluated || it.props === true)) return;\n\t\t\tconst checkProperties = opts.strictSchema && !opts.allowMatchingProperties && parentSchema.properties;\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tif (it.props !== true && !(it.props instanceof codegen_1.Name)) it.props = (0, util_2.evaluatedPropsToName)(gen, it.props);\n\t\t\tconst { props } = it;\n\t\t\tvalidatePatternProperties();\n\t\t\tfunction validatePatternProperties() {\n\t\t\t\tfor (const pat of patterns) {\n\t\t\t\t\tif (checkProperties) checkMatchingProperties(pat);\n\t\t\t\t\tif (it.allErrors) validateProperties(pat);\n\t\t\t\t\telse {\n\t\t\t\t\t\tgen.var(valid, true);\n\t\t\t\t\t\tvalidateProperties(pat);\n\t\t\t\t\t\tgen.if(valid);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction checkMatchingProperties(pat) {\n\t\t\t\tfor (const prop in checkProperties) if (new RegExp(pat).test(prop)) (0, util_1.checkStrictMode)(it, `property ${prop} matches pattern ${pat} (use allowMatchingProperties)`);\n\t\t\t}\n\t\t\tfunction validateProperties(pat) {\n\t\t\t\tgen.forIn(\"key\", data, (key) => {\n\t\t\t\t\tgen.if((0, codegen_1._)`${(0, code_1.usePattern)(cxt, pat)}.test(${key})`, () => {\n\t\t\t\t\t\tconst alwaysValid = alwaysValidPatterns.includes(pat);\n\t\t\t\t\t\tif (!alwaysValid) cxt.subschema({\n\t\t\t\t\t\t\tkeyword: \"patternProperties\",\n\t\t\t\t\t\t\tschemaProp: pat,\n\t\t\t\t\t\t\tdataProp: key,\n\t\t\t\t\t\t\tdataPropType: util_2.Type.Str\n\t\t\t\t\t\t}, valid);\n\t\t\t\t\t\tif (it.opts.unevaluated && props !== true) gen.assign((0, codegen_1._)`${props}[${key}]`, true);\n\t\t\t\t\t\telse if (!alwaysValid && !it.allErrors) gen.if((0, codegen_1.not)(valid), () => gen.break());\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/not.js\nvar require_not = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"not\",\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\ttrackErrors: true,\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, it } = cxt;\n\t\t\tif ((0, util_1.alwaysValidSchema)(it, schema)) {\n\t\t\t\tcxt.fail();\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tcxt.subschema({\n\t\t\t\tkeyword: \"not\",\n\t\t\t\tcompositeRule: true,\n\t\t\t\tcreateErrors: false,\n\t\t\t\tallErrors: false\n\t\t\t}, valid);\n\t\t\tcxt.failResult(valid, () => cxt.reset(), () => cxt.error());\n\t\t},\n\t\terror: { message: \"must NOT be valid\" }\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/anyOf.js\nvar require_anyOf = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.default = {\n\t\tkeyword: \"anyOf\",\n\t\tschemaType: \"array\",\n\t\ttrackErrors: true,\n\t\tcode: require_code().validateUnion,\n\t\terror: { message: \"must match a schema in anyOf\" }\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/oneOf.js\nvar require_oneOf = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"oneOf\",\n\t\tschemaType: \"array\",\n\t\ttrackErrors: true,\n\t\terror: {\n\t\t\tmessage: \"must match exactly one schema in oneOf\",\n\t\t\tparams: ({ params }) => (0, codegen_1._)`{passingSchemas: ${params.passing}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, parentSchema, it } = cxt;\n\t\t\t/* istanbul ignore if */\n\t\t\tif (!Array.isArray(schema)) throw new Error(\"ajv implementation error\");\n\t\t\tif (it.opts.discriminator && parentSchema.discriminator) return;\n\t\t\tconst schArr = schema;\n\t\t\tconst valid = gen.let(\"valid\", false);\n\t\t\tconst passing = gen.let(\"passing\", null);\n\t\t\tconst schValid = gen.name(\"_valid\");\n\t\t\tcxt.setParams({ passing });\n\t\t\tgen.block(validateOneOf);\n\t\t\tcxt.result(valid, () => cxt.reset(), () => cxt.error(true));\n\t\t\tfunction validateOneOf() {\n\t\t\t\tschArr.forEach((sch, i) => {\n\t\t\t\t\tlet schCxt;\n\t\t\t\t\tif ((0, util_1.alwaysValidSchema)(it, sch)) gen.var(schValid, true);\n\t\t\t\t\telse schCxt = cxt.subschema({\n\t\t\t\t\t\tkeyword: \"oneOf\",\n\t\t\t\t\t\tschemaProp: i,\n\t\t\t\t\t\tcompositeRule: true\n\t\t\t\t\t}, schValid);\n\t\t\t\t\tif (i > 0) gen.if((0, codegen_1._)`${schValid} && ${valid}`).assign(valid, false).assign(passing, (0, codegen_1._)`[${passing}, ${i}]`).else();\n\t\t\t\t\tgen.if(schValid, () => {\n\t\t\t\t\t\tgen.assign(valid, true);\n\t\t\t\t\t\tgen.assign(passing, i);\n\t\t\t\t\t\tif (schCxt) cxt.mergeEvaluated(schCxt, codegen_1.Name);\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/allOf.js\nvar require_allOf = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"allOf\",\n\t\tschemaType: \"array\",\n\t\tcode(cxt) {\n\t\t\tconst { gen, schema, it } = cxt;\n\t\t\t/* istanbul ignore if */\n\t\t\tif (!Array.isArray(schema)) throw new Error(\"ajv implementation error\");\n\t\t\tconst valid = gen.name(\"valid\");\n\t\t\tschema.forEach((sch, i) => {\n\t\t\t\tif ((0, util_1.alwaysValidSchema)(it, sch)) return;\n\t\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\t\tkeyword: \"allOf\",\n\t\t\t\t\tschemaProp: i\n\t\t\t\t}, valid);\n\t\t\t\tcxt.ok(valid);\n\t\t\t\tcxt.mergeEvaluated(schCxt);\n\t\t\t});\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/if.js\nvar require_if = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst util_1 = require_util();\n\tconst def = {\n\t\tkeyword: \"if\",\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\ttrackErrors: true,\n\t\terror: {\n\t\t\tmessage: ({ params }) => (0, codegen_1.str)`must match \"${params.ifClause}\" schema`,\n\t\t\tparams: ({ params }) => (0, codegen_1._)`{failingKeyword: ${params.ifClause}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, parentSchema, it } = cxt;\n\t\t\tif (parentSchema.then === void 0 && parentSchema.else === void 0) (0, util_1.checkStrictMode)(it, \"\\\"if\\\" without \\\"then\\\" and \\\"else\\\" is ignored\");\n\t\t\tconst hasThen = hasSchema(it, \"then\");\n\t\t\tconst hasElse = hasSchema(it, \"else\");\n\t\t\tif (!hasThen && !hasElse) return;\n\t\t\tconst valid = gen.let(\"valid\", true);\n\t\t\tconst schValid = gen.name(\"_valid\");\n\t\t\tvalidateIf();\n\t\t\tcxt.reset();\n\t\t\tif (hasThen && hasElse) {\n\t\t\t\tconst ifClause = gen.let(\"ifClause\");\n\t\t\t\tcxt.setParams({ ifClause });\n\t\t\t\tgen.if(schValid, validateClause(\"then\", ifClause), validateClause(\"else\", ifClause));\n\t\t\t} else if (hasThen) gen.if(schValid, validateClause(\"then\"));\n\t\t\telse gen.if((0, codegen_1.not)(schValid), validateClause(\"else\"));\n\t\t\tcxt.pass(valid, () => cxt.error(true));\n\t\t\tfunction validateIf() {\n\t\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\t\tkeyword: \"if\",\n\t\t\t\t\tcompositeRule: true,\n\t\t\t\t\tcreateErrors: false,\n\t\t\t\t\tallErrors: false\n\t\t\t\t}, schValid);\n\t\t\t\tcxt.mergeEvaluated(schCxt);\n\t\t\t}\n\t\t\tfunction validateClause(keyword, ifClause) {\n\t\t\t\treturn () => {\n\t\t\t\t\tconst schCxt = cxt.subschema({ keyword }, schValid);\n\t\t\t\t\tgen.assign(valid, schValid);\n\t\t\t\t\tcxt.mergeValidEvaluated(schCxt, valid);\n\t\t\t\t\tif (ifClause) gen.assign(ifClause, (0, codegen_1._)`${keyword}`);\n\t\t\t\t\telse cxt.setParams({ ifClause: keyword });\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t};\n\tfunction hasSchema(it, keyword) {\n\t\tconst schema = it.schema[keyword];\n\t\treturn schema !== void 0 && !(0, util_1.alwaysValidSchema)(it, schema);\n\t}\n\texports.default = def;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/thenElse.js\nvar require_thenElse = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: [\"then\", \"else\"],\n\t\tschemaType: [\"object\", \"boolean\"],\n\t\tcode({ keyword, parentSchema, it }) {\n\t\t\tif (parentSchema.if === void 0) (0, util_1.checkStrictMode)(it, `\"${keyword}\" without \"if\" is ignored`);\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/applicator/index.js\nvar require_applicator = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst additionalItems_1 = require_additionalItems();\n\tconst prefixItems_1 = require_prefixItems();\n\tconst items_1 = require_items();\n\tconst items2020_1 = require_items2020();\n\tconst contains_1 = require_contains();\n\tconst dependencies_1 = require_dependencies();\n\tconst propertyNames_1 = require_propertyNames();\n\tconst additionalProperties_1 = require_additionalProperties();\n\tconst properties_1 = require_properties();\n\tconst patternProperties_1 = require_patternProperties();\n\tconst not_1 = require_not();\n\tconst anyOf_1 = require_anyOf();\n\tconst oneOf_1 = require_oneOf();\n\tconst allOf_1 = require_allOf();\n\tconst if_1 = require_if();\n\tconst thenElse_1 = require_thenElse();\n\tfunction getApplicator(draft2020 = false) {\n\t\tconst applicator = [\n\t\t\tnot_1.default,\n\t\t\tanyOf_1.default,\n\t\t\toneOf_1.default,\n\t\t\tallOf_1.default,\n\t\t\tif_1.default,\n\t\t\tthenElse_1.default,\n\t\t\tpropertyNames_1.default,\n\t\t\tadditionalProperties_1.default,\n\t\t\tdependencies_1.default,\n\t\t\tproperties_1.default,\n\t\t\tpatternProperties_1.default\n\t\t];\n\t\tif (draft2020) applicator.push(prefixItems_1.default, items2020_1.default);\n\t\telse applicator.push(additionalItems_1.default, items_1.default);\n\t\tapplicator.push(contains_1.default);\n\t\treturn applicator;\n\t}\n\texports.default = getApplicator;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/format.js\nvar require_format$1 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\texports.default = {\n\t\tkeyword: \"format\",\n\t\ttype: [\"number\", \"string\"],\n\t\tschemaType: \"string\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ schemaCode }) => (0, codegen_1.str)`must match format \"${schemaCode}\"`,\n\t\t\tparams: ({ schemaCode }) => (0, codegen_1._)`{format: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt, ruleType) {\n\t\t\tconst { gen, data, $data, schema, schemaCode, it } = cxt;\n\t\t\tconst { opts, errSchemaPath, schemaEnv, self } = it;\n\t\t\tif (!opts.validateFormats) return;\n\t\t\tif ($data) validate$DataFormat();\n\t\t\telse validateFormat();\n\t\t\tfunction validate$DataFormat() {\n\t\t\t\tconst fmts = gen.scopeValue(\"formats\", {\n\t\t\t\t\tref: self.formats,\n\t\t\t\t\tcode: opts.code.formats\n\t\t\t\t});\n\t\t\t\tconst fDef = gen.const(\"fDef\", (0, codegen_1._)`${fmts}[${schemaCode}]`);\n\t\t\t\tconst fType = gen.let(\"fType\");\n\t\t\t\tconst format = gen.let(\"format\");\n\t\t\t\tgen.if((0, codegen_1._)`typeof ${fDef} == \"object\" && !(${fDef} instanceof RegExp)`, () => gen.assign(fType, (0, codegen_1._)`${fDef}.type || \"string\"`).assign(format, (0, codegen_1._)`${fDef}.validate`), () => gen.assign(fType, (0, codegen_1._)`\"string\"`).assign(format, fDef));\n\t\t\t\tcxt.fail$data((0, codegen_1.or)(unknownFmt(), invalidFmt()));\n\t\t\t\tfunction unknownFmt() {\n\t\t\t\t\tif (opts.strictSchema === false) return codegen_1.nil;\n\t\t\t\t\treturn (0, codegen_1._)`${schemaCode} && !${format}`;\n\t\t\t\t}\n\t\t\t\tfunction invalidFmt() {\n\t\t\t\t\tconst callFormat = schemaEnv.$async ? (0, codegen_1._)`(${fDef}.async ? await ${format}(${data}) : ${format}(${data}))` : (0, codegen_1._)`${format}(${data})`;\n\t\t\t\t\tconst validData = (0, codegen_1._)`(typeof ${format} == \"function\" ? ${callFormat} : ${format}.test(${data}))`;\n\t\t\t\t\treturn (0, codegen_1._)`${format} && ${format} !== true && ${fType} === ${ruleType} && !${validData}`;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfunction validateFormat() {\n\t\t\t\tconst formatDef = self.formats[schema];\n\t\t\t\tif (!formatDef) {\n\t\t\t\t\tunknownFormat();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (formatDef === true) return;\n\t\t\t\tconst [fmtType, format, fmtRef] = getFormat(formatDef);\n\t\t\t\tif (fmtType === ruleType) cxt.pass(validCondition());\n\t\t\t\tfunction unknownFormat() {\n\t\t\t\t\tif (opts.strictSchema === false) {\n\t\t\t\t\t\tself.logger.warn(unknownMsg());\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tthrow new Error(unknownMsg());\n\t\t\t\t\tfunction unknownMsg() {\n\t\t\t\t\t\treturn `unknown format \"${schema}\" ignored in schema at path \"${errSchemaPath}\"`;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tfunction getFormat(fmtDef) {\n\t\t\t\t\tconst code = fmtDef instanceof RegExp ? (0, codegen_1.regexpCode)(fmtDef) : opts.code.formats ? (0, codegen_1._)`${opts.code.formats}${(0, codegen_1.getProperty)(schema)}` : void 0;\n\t\t\t\t\tconst fmt = gen.scopeValue(\"formats\", {\n\t\t\t\t\t\tkey: schema,\n\t\t\t\t\t\tref: fmtDef,\n\t\t\t\t\t\tcode\n\t\t\t\t\t});\n\t\t\t\t\tif (typeof fmtDef == \"object\" && !(fmtDef instanceof RegExp)) return [\n\t\t\t\t\t\tfmtDef.type || \"string\",\n\t\t\t\t\t\tfmtDef.validate,\n\t\t\t\t\t\t(0, codegen_1._)`${fmt}.validate`\n\t\t\t\t\t];\n\t\t\t\t\treturn [\n\t\t\t\t\t\t\"string\",\n\t\t\t\t\t\tfmtDef,\n\t\t\t\t\t\tfmt\n\t\t\t\t\t];\n\t\t\t\t}\n\t\t\t\tfunction validCondition() {\n\t\t\t\t\tif (typeof formatDef == \"object\" && !(formatDef instanceof RegExp) && formatDef.async) {\n\t\t\t\t\t\tif (!schemaEnv.$async) throw new Error(\"async format in sync schema\");\n\t\t\t\t\t\treturn (0, codegen_1._)`await ${fmtRef}(${data})`;\n\t\t\t\t\t}\n\t\t\t\t\treturn typeof format == \"function\" ? (0, codegen_1._)`${fmtRef}(${data})` : (0, codegen_1._)`${fmtRef}.test(${data})`;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/format/index.js\nvar require_format = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.default = [require_format$1().default];\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/metadata.js\nvar require_metadata = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.contentVocabulary = exports.metadataVocabulary = void 0;\n\texports.metadataVocabulary = [\n\t\t\"title\",\n\t\t\"description\",\n\t\t\"default\",\n\t\t\"deprecated\",\n\t\t\"readOnly\",\n\t\t\"writeOnly\",\n\t\t\"examples\"\n\t];\n\texports.contentVocabulary = [\n\t\t\"contentMediaType\",\n\t\t\"contentEncoding\",\n\t\t\"contentSchema\"\n\t];\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/draft7.js\nvar require_draft7 = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst core_1 = require_core();\n\tconst validation_1 = require_validation();\n\tconst applicator_1 = require_applicator();\n\tconst format_1 = require_format();\n\tconst metadata_1 = require_metadata();\n\texports.default = [\n\t\tcore_1.default,\n\t\tvalidation_1.default,\n\t\t(0, applicator_1.default)(),\n\t\tformat_1.default,\n\t\tmetadata_1.metadataVocabulary,\n\t\tmetadata_1.contentVocabulary\n\t];\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/types.js\nvar require_types = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.DiscrError = void 0;\n\tvar DiscrError;\n\t(function(DiscrError) {\n\t\tDiscrError[\"Tag\"] = \"tag\";\n\t\tDiscrError[\"Mapping\"] = \"mapping\";\n\t})(DiscrError || (exports.DiscrError = DiscrError = {}));\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/vocabularies/discriminator/index.js\nvar require_discriminator = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst codegen_1 = require_codegen();\n\tconst types_1 = require_types();\n\tconst compile_1 = require_compile();\n\tconst ref_error_1 = require_ref_error();\n\tconst util_1 = require_util();\n\texports.default = {\n\t\tkeyword: \"discriminator\",\n\t\ttype: \"object\",\n\t\tschemaType: \"object\",\n\t\terror: {\n\t\t\tmessage: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag ? `tag \"${tagName}\" must be string` : `value of tag \"${tagName}\" must be in oneOf`,\n\t\t\tparams: ({ params: { discrError, tag, tagName } }) => (0, codegen_1._)`{error: ${discrError}, tag: ${tagName}, tagValue: ${tag}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, schema, parentSchema, it } = cxt;\n\t\t\tconst { oneOf } = parentSchema;\n\t\t\tif (!it.opts.discriminator) throw new Error(\"discriminator: requires discriminator option\");\n\t\t\tconst tagName = schema.propertyName;\n\t\t\tif (typeof tagName != \"string\") throw new Error(\"discriminator: requires propertyName\");\n\t\t\tif (schema.mapping) throw new Error(\"discriminator: mapping is not supported\");\n\t\t\tif (!oneOf) throw new Error(\"discriminator: requires oneOf keyword\");\n\t\t\tconst valid = gen.let(\"valid\", false);\n\t\t\tconst tag = gen.const(\"tag\", (0, codegen_1._)`${data}${(0, codegen_1.getProperty)(tagName)}`);\n\t\t\tgen.if((0, codegen_1._)`typeof ${tag} == \"string\"`, () => validateMapping(), () => cxt.error(false, {\n\t\t\t\tdiscrError: types_1.DiscrError.Tag,\n\t\t\t\ttag,\n\t\t\t\ttagName\n\t\t\t}));\n\t\t\tcxt.ok(valid);\n\t\t\tfunction validateMapping() {\n\t\t\t\tconst mapping = getMapping();\n\t\t\t\tgen.if(false);\n\t\t\t\tfor (const tagValue in mapping) {\n\t\t\t\t\tgen.elseIf((0, codegen_1._)`${tag} === ${tagValue}`);\n\t\t\t\t\tgen.assign(valid, applyTagSchema(mapping[tagValue]));\n\t\t\t\t}\n\t\t\t\tgen.else();\n\t\t\t\tcxt.error(false, {\n\t\t\t\t\tdiscrError: types_1.DiscrError.Mapping,\n\t\t\t\t\ttag,\n\t\t\t\t\ttagName\n\t\t\t\t});\n\t\t\t\tgen.endIf();\n\t\t\t}\n\t\t\tfunction applyTagSchema(schemaProp) {\n\t\t\t\tconst _valid = gen.name(\"valid\");\n\t\t\t\tconst schCxt = cxt.subschema({\n\t\t\t\t\tkeyword: \"oneOf\",\n\t\t\t\t\tschemaProp\n\t\t\t\t}, _valid);\n\t\t\t\tcxt.mergeEvaluated(schCxt, codegen_1.Name);\n\t\t\t\treturn _valid;\n\t\t\t}\n\t\t\tfunction getMapping() {\n\t\t\t\tvar _a;\n\t\t\t\tconst oneOfMapping = {};\n\t\t\t\tconst topRequired = hasRequired(parentSchema);\n\t\t\t\tlet tagRequired = true;\n\t\t\t\tfor (let i = 0; i < oneOf.length; i++) {\n\t\t\t\t\tlet sch = oneOf[i];\n\t\t\t\t\tif ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {\n\t\t\t\t\t\tconst ref = sch.$ref;\n\t\t\t\t\t\tsch = compile_1.resolveRef.call(it.self, it.schemaEnv.root, it.baseId, ref);\n\t\t\t\t\t\tif (sch instanceof compile_1.SchemaEnv) sch = sch.schema;\n\t\t\t\t\t\tif (sch === void 0) throw new ref_error_1.default(it.opts.uriResolver, it.baseId, ref);\n\t\t\t\t\t}\n\t\t\t\t\tconst propSch = (_a = sch === null || sch === void 0 ? void 0 : sch.properties) === null || _a === void 0 ? void 0 : _a[tagName];\n\t\t\t\t\tif (typeof propSch != \"object\") throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have \"properties/${tagName}\"`);\n\t\t\t\t\ttagRequired = tagRequired && (topRequired || hasRequired(sch));\n\t\t\t\t\taddMappings(propSch, i);\n\t\t\t\t}\n\t\t\t\tif (!tagRequired) throw new Error(`discriminator: \"${tagName}\" must be required`);\n\t\t\t\treturn oneOfMapping;\n\t\t\t\tfunction hasRequired({ required }) {\n\t\t\t\t\treturn Array.isArray(required) && required.includes(tagName);\n\t\t\t\t}\n\t\t\t\tfunction addMappings(sch, i) {\n\t\t\t\t\tif (sch.const) addMapping(sch.const, i);\n\t\t\t\t\telse if (sch.enum) for (const tagValue of sch.enum) addMapping(tagValue, i);\n\t\t\t\t\telse throw new Error(`discriminator: \"properties/${tagName}\" must have \"const\" or \"enum\"`);\n\t\t\t\t}\n\t\t\t\tfunction addMapping(tagValue, i) {\n\t\t\t\t\tif (typeof tagValue != \"string\" || tagValue in oneOfMapping) throw new Error(`discriminator: \"${tagName}\" values must be unique strings`);\n\t\t\t\t\toneOfMapping[tagValue] = i;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/refs/json-schema-draft-07.json\nvar require_json_schema_draft_07 = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = {\n\t\t\"$schema\": \"http://json-schema.org/draft-07/schema#\",\n\t\t\"$id\": \"http://json-schema.org/draft-07/schema#\",\n\t\t\"title\": \"Core schema meta-schema\",\n\t\t\"definitions\": {\n\t\t\t\"schemaArray\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\t\"minItems\": 1,\n\t\t\t\t\"items\": { \"$ref\": \"#\" }\n\t\t\t},\n\t\t\t\"nonNegativeInteger\": {\n\t\t\t\t\"type\": \"integer\",\n\t\t\t\t\"minimum\": 0\n\t\t\t},\n\t\t\t\"nonNegativeIntegerDefault0\": { \"allOf\": [{ \"$ref\": \"#/definitions/nonNegativeInteger\" }, { \"default\": 0 }] },\n\t\t\t\"simpleTypes\": { \"enum\": [\n\t\t\t\t\"array\",\n\t\t\t\t\"boolean\",\n\t\t\t\t\"integer\",\n\t\t\t\t\"null\",\n\t\t\t\t\"number\",\n\t\t\t\t\"object\",\n\t\t\t\t\"string\"\n\t\t\t] },\n\t\t\t\"stringArray\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\t\"items\": { \"type\": \"string\" },\n\t\t\t\t\"uniqueItems\": true,\n\t\t\t\t\"default\": []\n\t\t\t}\n\t\t},\n\t\t\"type\": [\"object\", \"boolean\"],\n\t\t\"properties\": {\n\t\t\t\"$id\": {\n\t\t\t\t\"type\": \"string\",\n\t\t\t\t\"format\": \"uri-reference\"\n\t\t\t},\n\t\t\t\"$schema\": {\n\t\t\t\t\"type\": \"string\",\n\t\t\t\t\"format\": \"uri\"\n\t\t\t},\n\t\t\t\"$ref\": {\n\t\t\t\t\"type\": \"string\",\n\t\t\t\t\"format\": \"uri-reference\"\n\t\t\t},\n\t\t\t\"$comment\": { \"type\": \"string\" },\n\t\t\t\"title\": { \"type\": \"string\" },\n\t\t\t\"description\": { \"type\": \"string\" },\n\t\t\t\"default\": true,\n\t\t\t\"readOnly\": {\n\t\t\t\t\"type\": \"boolean\",\n\t\t\t\t\"default\": false\n\t\t\t},\n\t\t\t\"examples\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\t\"items\": true\n\t\t\t},\n\t\t\t\"multipleOf\": {\n\t\t\t\t\"type\": \"number\",\n\t\t\t\t\"exclusiveMinimum\": 0\n\t\t\t},\n\t\t\t\"maximum\": { \"type\": \"number\" },\n\t\t\t\"exclusiveMaximum\": { \"type\": \"number\" },\n\t\t\t\"minimum\": { \"type\": \"number\" },\n\t\t\t\"exclusiveMinimum\": { \"type\": \"number\" },\n\t\t\t\"maxLength\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n\t\t\t\"minLength\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n\t\t\t\"pattern\": {\n\t\t\t\t\"type\": \"string\",\n\t\t\t\t\"format\": \"regex\"\n\t\t\t},\n\t\t\t\"additionalItems\": { \"$ref\": \"#\" },\n\t\t\t\"items\": {\n\t\t\t\t\"anyOf\": [{ \"$ref\": \"#\" }, { \"$ref\": \"#/definitions/schemaArray\" }],\n\t\t\t\t\"default\": true\n\t\t\t},\n\t\t\t\"maxItems\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n\t\t\t\"minItems\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n\t\t\t\"uniqueItems\": {\n\t\t\t\t\"type\": \"boolean\",\n\t\t\t\t\"default\": false\n\t\t\t},\n\t\t\t\"contains\": { \"$ref\": \"#\" },\n\t\t\t\"maxProperties\": { \"$ref\": \"#/definitions/nonNegativeInteger\" },\n\t\t\t\"minProperties\": { \"$ref\": \"#/definitions/nonNegativeIntegerDefault0\" },\n\t\t\t\"required\": { \"$ref\": \"#/definitions/stringArray\" },\n\t\t\t\"additionalProperties\": { \"$ref\": \"#\" },\n\t\t\t\"definitions\": {\n\t\t\t\t\"type\": \"object\",\n\t\t\t\t\"additionalProperties\": { \"$ref\": \"#\" },\n\t\t\t\t\"default\": {}\n\t\t\t},\n\t\t\t\"properties\": {\n\t\t\t\t\"type\": \"object\",\n\t\t\t\t\"additionalProperties\": { \"$ref\": \"#\" },\n\t\t\t\t\"default\": {}\n\t\t\t},\n\t\t\t\"patternProperties\": {\n\t\t\t\t\"type\": \"object\",\n\t\t\t\t\"additionalProperties\": { \"$ref\": \"#\" },\n\t\t\t\t\"propertyNames\": { \"format\": \"regex\" },\n\t\t\t\t\"default\": {}\n\t\t\t},\n\t\t\t\"dependencies\": {\n\t\t\t\t\"type\": \"object\",\n\t\t\t\t\"additionalProperties\": { \"anyOf\": [{ \"$ref\": \"#\" }, { \"$ref\": \"#/definitions/stringArray\" }] }\n\t\t\t},\n\t\t\t\"propertyNames\": { \"$ref\": \"#\" },\n\t\t\t\"const\": true,\n\t\t\t\"enum\": {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\t\"items\": true,\n\t\t\t\t\"minItems\": 1,\n\t\t\t\t\"uniqueItems\": true\n\t\t\t},\n\t\t\t\"type\": { \"anyOf\": [{ \"$ref\": \"#/definitions/simpleTypes\" }, {\n\t\t\t\t\"type\": \"array\",\n\t\t\t\t\"items\": { \"$ref\": \"#/definitions/simpleTypes\" },\n\t\t\t\t\"minItems\": 1,\n\t\t\t\t\"uniqueItems\": true\n\t\t\t}] },\n\t\t\t\"format\": { \"type\": \"string\" },\n\t\t\t\"contentMediaType\": { \"type\": \"string\" },\n\t\t\t\"contentEncoding\": { \"type\": \"string\" },\n\t\t\t\"if\": { \"$ref\": \"#\" },\n\t\t\t\"then\": { \"$ref\": \"#\" },\n\t\t\t\"else\": { \"$ref\": \"#\" },\n\t\t\t\"allOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n\t\t\t\"anyOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n\t\t\t\"oneOf\": { \"$ref\": \"#/definitions/schemaArray\" },\n\t\t\t\"not\": { \"$ref\": \"#\" }\n\t\t},\n\t\t\"default\": true\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv@8.20.0/node_modules/ajv/dist/ajv.js\nvar require_ajv = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.MissingRefError = exports.ValidationError = exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = exports.Ajv = void 0;\n\tconst core_1 = require_core$1();\n\tconst draft7_1 = require_draft7();\n\tconst discriminator_1 = require_discriminator();\n\tconst draft7MetaSchema = require_json_schema_draft_07();\n\tconst META_SUPPORT_DATA = [\"/properties\"];\n\tconst META_SCHEMA_ID = \"http://json-schema.org/draft-07/schema\";\n\tvar Ajv = class extends core_1.default {\n\t\t_addVocabularies() {\n\t\t\tsuper._addVocabularies();\n\t\t\tdraft7_1.default.forEach((v) => this.addVocabulary(v));\n\t\t\tif (this.opts.discriminator) this.addKeyword(discriminator_1.default);\n\t\t}\n\t\t_addDefaultMetaSchema() {\n\t\t\tsuper._addDefaultMetaSchema();\n\t\t\tif (!this.opts.meta) return;\n\t\t\tconst metaSchema = this.opts.$data ? this.$dataMetaSchema(draft7MetaSchema, META_SUPPORT_DATA) : draft7MetaSchema;\n\t\t\tthis.addMetaSchema(metaSchema, META_SCHEMA_ID, false);\n\t\t\tthis.refs[\"http://json-schema.org/schema\"] = META_SCHEMA_ID;\n\t\t}\n\t\tdefaultMeta() {\n\t\t\treturn this.opts.defaultMeta = super.defaultMeta() || (this.getSchema(META_SCHEMA_ID) ? META_SCHEMA_ID : void 0);\n\t\t}\n\t};\n\texports.Ajv = Ajv;\n\tmodule.exports = exports = Ajv;\n\tmodule.exports.Ajv = Ajv;\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.default = Ajv;\n\tvar validate_1 = require_validate();\n\tObject.defineProperty(exports, \"KeywordCxt\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn validate_1.KeywordCxt;\n\t\t}\n\t});\n\tvar codegen_1 = require_codegen();\n\tObject.defineProperty(exports, \"_\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1._;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"str\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.str;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"stringify\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.stringify;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"nil\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.nil;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"Name\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.Name;\n\t\t}\n\t});\n\tObject.defineProperty(exports, \"CodeGen\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn codegen_1.CodeGen;\n\t\t}\n\t});\n\tvar validation_error_1 = require_validation_error();\n\tObject.defineProperty(exports, \"ValidationError\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn validation_error_1.default;\n\t\t}\n\t});\n\tvar ref_error_1 = require_ref_error();\n\tObject.defineProperty(exports, \"MissingRefError\", {\n\t\tenumerable: true,\n\t\tget: function() {\n\t\t\treturn ref_error_1.default;\n\t\t}\n\t});\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/formats.js\nvar require_formats = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.formatNames = exports.fastFormats = exports.fullFormats = void 0;\n\tfunction fmtDef(validate, compare) {\n\t\treturn {\n\t\t\tvalidate,\n\t\t\tcompare\n\t\t};\n\t}\n\texports.fullFormats = {\n\t\tdate: fmtDef(date, compareDate),\n\t\ttime: fmtDef(getTime(true), compareTime),\n\t\t\"date-time\": fmtDef(getDateTime(true), compareDateTime),\n\t\t\"iso-time\": fmtDef(getTime(), compareIsoTime),\n\t\t\"iso-date-time\": fmtDef(getDateTime(), compareIsoDateTime),\n\t\tduration: /^P(?!$)((\\d+Y)?(\\d+M)?(\\d+D)?(T(?=\\d)(\\d+H)?(\\d+M)?(\\d+S)?)?|(\\d+W)?)$/,\n\t\turi,\n\t\t\"uri-reference\": /^(?:[a-z][a-z0-9+\\-.]*:)?(?:\\/?\\/(?:(?:[a-z0-9\\-._~!$&'()*+,;=:]|%[0-9a-f]{2})*@)?(?:\\[(?:(?:(?:(?:[0-9a-f]{1,4}:){6}|::(?:[0-9a-f]{1,4}:){5}|(?:[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){4}|(?:(?:[0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){3}|(?:(?:[0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::(?:[0-9a-f]{1,4}:){2}|(?:(?:[0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:|(?:(?:[0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::)(?:[0-9a-f]{1,4}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0-9a-f]{1,4}){1,3})|((:[0-9a-f]{1,4})?:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){3}(((:[0-9a-f]{1,4}){1,4})|((:[0-9a-f]{1,4}){0,2}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){2}(((:[0-9a-f]{1,4}){1,5})|((:[0-9a-f]{1,4}){0,3}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(([0-9a-f]{1,4}:){1}(((:[0-9a-f]{1,4}){1,6})|((:[0-9a-f]{1,4}){0,4}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:))|(:(((:[0-9a-f]{1,4}){1,7})|((:[0-9a-f]{1,4}){0,5}:((25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)(\\.(25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]?\\d)){3}))|:)))$/i,\n\t\tregex,\n\t\tuuid: /^(?:urn:uuid:)?[0-9a-f]{8}-(?:[0-9a-f]{4}-){3}[0-9a-f]{12}$/i,\n\t\t\"json-pointer\": /^(?:\\/(?:[^~/]|~0|~1)*)*$/,\n\t\t\"json-pointer-uri-fragment\": /^#(?:\\/(?:[a-z0-9_\\-.!$&'()*+,;:=@]|%[0-9a-f]{2}|~0|~1)*)*$/i,\n\t\t\"relative-json-pointer\": /^(?:0|[1-9][0-9]*)(?:#|(?:\\/(?:[^~/]|~0|~1)*)*)$/,\n\t\tbyte,\n\t\tint32: {\n\t\t\ttype: \"number\",\n\t\t\tvalidate: validateInt32\n\t\t},\n\t\tint64: {\n\t\t\ttype: \"number\",\n\t\t\tvalidate: validateInt64\n\t\t},\n\t\tfloat: {\n\t\t\ttype: \"number\",\n\t\t\tvalidate: validateNumber\n\t\t},\n\t\tdouble: {\n\t\t\ttype: \"number\",\n\t\t\tvalidate: validateNumber\n\t\t},\n\t\tpassword: true,\n\t\tbinary: true\n\t};\n\texports.fastFormats = {\n\t\t...exports.fullFormats,\n\t\tdate: fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d$/, compareDate),\n\t\ttime: fmtDef(/^(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)$/i, compareTime),\n\t\t\"date-time\": fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\dt(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)$/i, compareDateTime),\n\t\t\"iso-time\": fmtDef(/^(?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)?$/i, compareIsoTime),\n\t\t\"iso-date-time\": fmtDef(/^\\d\\d\\d\\d-[0-1]\\d-[0-3]\\d[t\\s](?:[0-2]\\d:[0-5]\\d:[0-5]\\d|23:59:60)(?:\\.\\d+)?(?:z|[+-]\\d\\d(?::?\\d\\d)?)?$/i, compareIsoDateTime),\n\t\turi: /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\/)?[^\\s]*$/i,\n\t\t\"uri-reference\": /^(?:(?:[a-z][a-z0-9+\\-.]*:)?\\/?\\/)?(?:[^\\\\\\s#][^\\s#]*)?(?:#[^\\\\\\s]*)?$/i,\n\t\temail: /^[a-z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?(?:\\.[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?)*$/i\n\t};\n\texports.formatNames = Object.keys(exports.fullFormats);\n\tfunction isLeapYear(year) {\n\t\treturn year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);\n\t}\n\tconst DATE = /^(\\d\\d\\d\\d)-(\\d\\d)-(\\d\\d)$/;\n\tconst DAYS = [\n\t\t0,\n\t\t31,\n\t\t28,\n\t\t31,\n\t\t30,\n\t\t31,\n\t\t30,\n\t\t31,\n\t\t31,\n\t\t30,\n\t\t31,\n\t\t30,\n\t\t31\n\t];\n\tfunction date(str) {\n\t\tconst matches = DATE.exec(str);\n\t\tif (!matches) return false;\n\t\tconst year = +matches[1];\n\t\tconst month = +matches[2];\n\t\tconst day = +matches[3];\n\t\treturn month >= 1 && month <= 12 && day >= 1 && day <= (month === 2 && isLeapYear(year) ? 29 : DAYS[month]);\n\t}\n\tfunction compareDate(d1, d2) {\n\t\tif (!(d1 && d2)) return void 0;\n\t\tif (d1 > d2) return 1;\n\t\tif (d1 < d2) return -1;\n\t\treturn 0;\n\t}\n\tconst TIME = /^(\\d\\d):(\\d\\d):(\\d\\d(?:\\.\\d+)?)(z|([+-])(\\d\\d)(?::?(\\d\\d))?)?$/i;\n\tfunction getTime(strictTimeZone) {\n\t\treturn function time(str) {\n\t\t\tconst matches = TIME.exec(str);\n\t\t\tif (!matches) return false;\n\t\t\tconst hr = +matches[1];\n\t\t\tconst min = +matches[2];\n\t\t\tconst sec = +matches[3];\n\t\t\tconst tz = matches[4];\n\t\t\tconst tzSign = matches[5] === \"-\" ? -1 : 1;\n\t\t\tconst tzH = +(matches[6] || 0);\n\t\t\tconst tzM = +(matches[7] || 0);\n\t\t\tif (tzH > 23 || tzM > 59 || strictTimeZone && !tz) return false;\n\t\t\tif (hr <= 23 && min <= 59 && sec < 60) return true;\n\t\t\tconst utcMin = min - tzM * tzSign;\n\t\t\tconst utcHr = hr - tzH * tzSign - (utcMin < 0 ? 1 : 0);\n\t\t\treturn (utcHr === 23 || utcHr === -1) && (utcMin === 59 || utcMin === -1) && sec < 61;\n\t\t};\n\t}\n\tfunction compareTime(s1, s2) {\n\t\tif (!(s1 && s2)) return void 0;\n\t\tconst t1 = (/* @__PURE__ */ new Date(\"2020-01-01T\" + s1)).valueOf();\n\t\tconst t2 = (/* @__PURE__ */ new Date(\"2020-01-01T\" + s2)).valueOf();\n\t\tif (!(t1 && t2)) return void 0;\n\t\treturn t1 - t2;\n\t}\n\tfunction compareIsoTime(t1, t2) {\n\t\tif (!(t1 && t2)) return void 0;\n\t\tconst a1 = TIME.exec(t1);\n\t\tconst a2 = TIME.exec(t2);\n\t\tif (!(a1 && a2)) return void 0;\n\t\tt1 = a1[1] + a1[2] + a1[3];\n\t\tt2 = a2[1] + a2[2] + a2[3];\n\t\tif (t1 > t2) return 1;\n\t\tif (t1 < t2) return -1;\n\t\treturn 0;\n\t}\n\tconst DATE_TIME_SEPARATOR = /t|\\s/i;\n\tfunction getDateTime(strictTimeZone) {\n\t\tconst time = getTime(strictTimeZone);\n\t\treturn function date_time(str) {\n\t\t\tconst dateTime = str.split(DATE_TIME_SEPARATOR);\n\t\t\treturn dateTime.length === 2 && date(dateTime[0]) && time(dateTime[1]);\n\t\t};\n\t}\n\tfunction compareDateTime(dt1, dt2) {\n\t\tif (!(dt1 && dt2)) return void 0;\n\t\tconst d1 = new Date(dt1).valueOf();\n\t\tconst d2 = new Date(dt2).valueOf();\n\t\tif (!(d1 && d2)) return void 0;\n\t\treturn d1 - d2;\n\t}\n\tfunction compareIsoDateTime(dt1, dt2) {\n\t\tif (!(dt1 && dt2)) return void 0;\n\t\tconst [d1, t1] = dt1.split(DATE_TIME_SEPARATOR);\n\t\tconst [d2, t2] = dt2.split(DATE_TIME_SEPARATOR);\n\t\tconst res = compareDate(d1, d2);\n\t\tif (res === void 0) return void 0;\n\t\treturn res || compareTime(t1, t2);\n\t}\n\tconst NOT_URI_FRAGMENT = /\\/|:/;\n\tconst URI = /^(?:[a-z][a-z0-9+\\-.]*:)(?:\\/?\\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]{2})*)?(?:#(?:[a-z0-9\\-._~!$&'()*+,;=:@/?]|%[0-9a-f]{2})*)?$/i;\n\tfunction uri(str) {\n\t\treturn NOT_URI_FRAGMENT.test(str) && URI.test(str);\n\t}\n\tconst BYTE = /^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/gm;\n\tfunction byte(str) {\n\t\tBYTE.lastIndex = 0;\n\t\treturn BYTE.test(str);\n\t}\n\tconst MIN_INT32 = -(2 ** 31);\n\tconst MAX_INT32 = 2 ** 31 - 1;\n\tfunction validateInt32(value) {\n\t\treturn Number.isInteger(value) && value <= MAX_INT32 && value >= MIN_INT32;\n\t}\n\tfunction validateInt64(value) {\n\t\treturn Number.isInteger(value);\n\t}\n\tfunction validateNumber() {\n\t\treturn true;\n\t}\n\tconst Z_ANCHOR = /[^\\\\]\\\\Z/;\n\tfunction regex(str) {\n\t\tif (Z_ANCHOR.test(str)) return false;\n\t\ttry {\n\t\t\tnew RegExp(str);\n\t\t\treturn true;\n\t\t} catch (e) {\n\t\t\treturn false;\n\t\t}\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/limit.js\nvar require_limit = /* @__PURE__ */ __commonJSMin(((exports) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.formatLimitDefinition = void 0;\n\tconst ajv_1 = require_ajv();\n\tconst codegen_1 = require_codegen();\n\tconst ops = codegen_1.operators;\n\tconst KWDs = {\n\t\tformatMaximum: {\n\t\t\tokStr: \"<=\",\n\t\t\tok: ops.LTE,\n\t\t\tfail: ops.GT\n\t\t},\n\t\tformatMinimum: {\n\t\t\tokStr: \">=\",\n\t\t\tok: ops.GTE,\n\t\t\tfail: ops.LT\n\t\t},\n\t\tformatExclusiveMaximum: {\n\t\t\tokStr: \"<\",\n\t\t\tok: ops.LT,\n\t\t\tfail: ops.GTE\n\t\t},\n\t\tformatExclusiveMinimum: {\n\t\t\tokStr: \">\",\n\t\t\tok: ops.GT,\n\t\t\tfail: ops.LTE\n\t\t}\n\t};\n\texports.formatLimitDefinition = {\n\t\tkeyword: Object.keys(KWDs),\n\t\ttype: \"string\",\n\t\tschemaType: \"string\",\n\t\t$data: true,\n\t\terror: {\n\t\t\tmessage: ({ keyword, schemaCode }) => (0, codegen_1.str)`should be ${KWDs[keyword].okStr} ${schemaCode}`,\n\t\t\tparams: ({ keyword, schemaCode }) => (0, codegen_1._)`{comparison: ${KWDs[keyword].okStr}, limit: ${schemaCode}}`\n\t\t},\n\t\tcode(cxt) {\n\t\t\tconst { gen, data, schemaCode, keyword, it } = cxt;\n\t\t\tconst { opts, self } = it;\n\t\t\tif (!opts.validateFormats) return;\n\t\t\tconst fCxt = new ajv_1.KeywordCxt(it, self.RULES.all.format.definition, \"format\");\n\t\t\tif (fCxt.$data) validate$DataFormat();\n\t\t\telse validateFormat();\n\t\t\tfunction validate$DataFormat() {\n\t\t\t\tconst fmts = gen.scopeValue(\"formats\", {\n\t\t\t\t\tref: self.formats,\n\t\t\t\t\tcode: opts.code.formats\n\t\t\t\t});\n\t\t\t\tconst fmt = gen.const(\"fmt\", (0, codegen_1._)`${fmts}[${fCxt.schemaCode}]`);\n\t\t\t\tcxt.fail$data((0, codegen_1.or)((0, codegen_1._)`typeof ${fmt} != \"object\"`, (0, codegen_1._)`${fmt} instanceof RegExp`, (0, codegen_1._)`typeof ${fmt}.compare != \"function\"`, compareCode(fmt)));\n\t\t\t}\n\t\t\tfunction validateFormat() {\n\t\t\t\tconst format = fCxt.schema;\n\t\t\t\tconst fmtDef = self.formats[format];\n\t\t\t\tif (!fmtDef || fmtDef === true) return;\n\t\t\t\tif (typeof fmtDef != \"object\" || fmtDef instanceof RegExp || typeof fmtDef.compare != \"function\") throw new Error(`\"${keyword}\": format \"${format}\" does not define \"compare\" function`);\n\t\t\t\tconst fmt = gen.scopeValue(\"formats\", {\n\t\t\t\t\tkey: format,\n\t\t\t\t\tref: fmtDef,\n\t\t\t\t\tcode: opts.code.formats ? (0, codegen_1._)`${opts.code.formats}${(0, codegen_1.getProperty)(format)}` : void 0\n\t\t\t\t});\n\t\t\t\tcxt.fail$data(compareCode(fmt));\n\t\t\t}\n\t\t\tfunction compareCode(fmt) {\n\t\t\t\treturn (0, codegen_1._)`${fmt}.compare(${data}, ${schemaCode}) ${KWDs[keyword].fail} 0`;\n\t\t\t}\n\t\t},\n\t\tdependencies: [\"format\"]\n\t};\n\tconst formatLimitPlugin = (ajv) => {\n\t\tajv.addKeyword(exports.formatLimitDefinition);\n\t\treturn ajv;\n\t};\n\texports.default = formatLimitPlugin;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/ajv-formats@3.0.1_ajv@8.20.0/node_modules/ajv-formats/dist/index.js\nvar require_dist = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\tconst formats_1 = require_formats();\n\tconst limit_1 = require_limit();\n\tconst codegen_1 = require_codegen();\n\tconst fullName = new codegen_1.Name(\"fullFormats\");\n\tconst fastName = new codegen_1.Name(\"fastFormats\");\n\tconst formatsPlugin = (ajv, opts = { keywords: true }) => {\n\t\tif (Array.isArray(opts)) {\n\t\t\taddFormats(ajv, opts, formats_1.fullFormats, fullName);\n\t\t\treturn ajv;\n\t\t}\n\t\tconst [formats, exportName] = opts.mode === \"fast\" ? [formats_1.fastFormats, fastName] : [formats_1.fullFormats, fullName];\n\t\taddFormats(ajv, opts.formats || formats_1.formatNames, formats, exportName);\n\t\tif (opts.keywords) (0, limit_1.default)(ajv);\n\t\treturn ajv;\n\t};\n\tformatsPlugin.get = (name, mode = \"full\") => {\n\t\tconst f = (mode === \"fast\" ? formats_1.fastFormats : formats_1.fullFormats)[name];\n\t\tif (!f) throw new Error(`Unknown format \"${name}\"`);\n\t\treturn f;\n\t};\n\tfunction addFormats(ajv, list, fs, exportName) {\n\t\tvar _a;\n\t\tvar _b;\n\t\t(_a = (_b = ajv.opts.code).formats) !== null && _a !== void 0 || (_b.formats = (0, codegen_1._)`require(\"ajv-formats/dist/formats\").${exportName}`);\n\t\tfor (const f of list) ajv.addFormat(f, fs[f]);\n\t}\n\tmodule.exports = exports = formatsPlugin;\n\tObject.defineProperty(exports, \"__esModule\", { value: true });\n\texports.default = formatsPlugin;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/validation/ajv-provider.js\nvar import_ajv = /* @__PURE__ */ __toESM(require_ajv(), 1);\nvar import_dist = /* @__PURE__ */ __toESM(require_dist(), 1);\nfunction createDefaultAjvInstance() {\n\tconst ajv = new import_ajv.default({\n\t\tstrict: false,\n\t\tvalidateFormats: true,\n\t\tvalidateSchema: false,\n\t\tallErrors: true\n\t});\n\t(0, import_dist.default)(ajv);\n\treturn ajv;\n}\n/**\n* @example\n* ```typescript\n* // Use with default AJV instance (recommended)\n* import { AjvJsonSchemaValidator } from '@modelcontextprotocol/sdk/validation/ajv';\n* const validator = new AjvJsonSchemaValidator();\n*\n* // Use with custom AJV instance\n* import { Ajv } from 'ajv';\n* const ajv = new Ajv({ strict: true, allErrors: true });\n* const validator = new AjvJsonSchemaValidator(ajv);\n* ```\n*/\nvar AjvJsonSchemaValidator = class {\n\t/**\n\t* Create an AJV validator\n\t*\n\t* @param ajv - Optional pre-configured AJV instance. If not provided, a default instance will be created.\n\t*\n\t* @example\n\t* ```typescript\n\t* // Use default configuration (recommended for most cases)\n\t* import { AjvJsonSchemaValidator } from '@modelcontextprotocol/sdk/validation/ajv';\n\t* const validator = new AjvJsonSchemaValidator();\n\t*\n\t* // Or provide custom AJV instance for advanced configuration\n\t* import { Ajv } from 'ajv';\n\t* import addFormats from 'ajv-formats';\n\t*\n\t* const ajv = new Ajv({ validateFormats: true });\n\t* addFormats(ajv);\n\t* const validator = new AjvJsonSchemaValidator(ajv);\n\t* ```\n\t*/\n\tconstructor(ajv) {\n\t\tthis._ajv = ajv ?? createDefaultAjvInstance();\n\t}\n\t/**\n\t* Create a validator for the given JSON Schema\n\t*\n\t* The validator is compiled once and can be reused multiple times.\n\t* If the schema has an $id, it will be cached by AJV automatically.\n\t*\n\t* @param schema - Standard JSON Schema object\n\t* @returns A validator function that validates input data\n\t*/\n\tgetValidator(schema) {\n\t\tconst ajvValidator = \"$id\" in schema && typeof schema.$id === \"string\" ? this._ajv.getSchema(schema.$id) ?? this._ajv.compile(schema) : this._ajv.compile(schema);\n\t\treturn (input) => {\n\t\t\tif (ajvValidator(input)) return {\n\t\t\t\tvalid: true,\n\t\t\t\tdata: input,\n\t\t\t\terrorMessage: void 0\n\t\t\t};\n\t\t\telse return {\n\t\t\t\tvalid: false,\n\t\t\t\tdata: void 0,\n\t\t\t\terrorMessage: this._ajv.errorsText(ajvValidator.errors)\n\t\t\t};\n\t\t};\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/client.js\n/**\n* Experimental client task features for MCP SDK.\n* WARNING: These APIs are experimental and may change without notice.\n*\n* @experimental\n*/\n/**\n* Experimental task features for MCP clients.\n*\n* Access via `client.experimental.tasks`:\n* ```typescript\n* const stream = client.experimental.tasks.callToolStream({ name: 'tool', arguments: {} });\n* const task = await client.experimental.tasks.getTask(taskId);\n* ```\n*\n* @experimental\n*/\nvar ExperimentalClientTasks = class {\n\tconstructor(_client) {\n\t\tthis._client = _client;\n\t}\n\t/**\n\t* Calls a tool and returns an AsyncGenerator that yields response messages.\n\t* The generator is guaranteed to end with either a 'result' or 'error' message.\n\t*\n\t* This method provides streaming access to tool execution, allowing you to\n\t* observe intermediate task status updates for long-running tool calls.\n\t* Automatically validates structured output if the tool has an outputSchema.\n\t*\n\t* @example\n\t* ```typescript\n\t* const stream = client.experimental.tasks.callToolStream({ name: 'myTool', arguments: {} });\n\t* for await (const message of stream) {\n\t* switch (message.type) {\n\t* case 'taskCreated':\n\t* console.log('Tool execution started:', message.task.taskId);\n\t* break;\n\t* case 'taskStatus':\n\t* console.log('Tool status:', message.task.status);\n\t* break;\n\t* case 'result':\n\t* console.log('Tool result:', message.result);\n\t* break;\n\t* case 'error':\n\t* console.error('Tool error:', message.error);\n\t* break;\n\t* }\n\t* }\n\t* ```\n\t*\n\t* @param params - Tool call parameters (name and arguments)\n\t* @param resultSchema - Zod schema for validating the result (defaults to CallToolResultSchema)\n\t* @param options - Optional request options (timeout, signal, task creation params, etc.)\n\t* @returns AsyncGenerator that yields ResponseMessage objects\n\t*\n\t* @experimental\n\t*/\n\tasync *callToolStream(params, resultSchema = CallToolResultSchema, options) {\n\t\tconst clientInternal = this._client;\n\t\tconst optionsWithTask = {\n\t\t\t...options,\n\t\t\ttask: options?.task ?? (clientInternal.isToolTask(params.name) ? {} : void 0)\n\t\t};\n\t\tconst stream = clientInternal.requestStream({\n\t\t\tmethod: \"tools/call\",\n\t\t\tparams\n\t\t}, resultSchema, optionsWithTask);\n\t\tconst validator = clientInternal.getToolOutputValidator(params.name);\n\t\tfor await (const message of stream) {\n\t\t\tif (message.type === \"result\" && validator) {\n\t\t\t\tconst result = message.result;\n\t\t\t\tif (!result.structuredContent && !result.isError) {\n\t\t\t\t\tyield {\n\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\terror: new McpError(ErrorCode.InvalidRequest, `Tool ${params.name} has an output schema but did not return structured content`)\n\t\t\t\t\t};\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tif (result.structuredContent) try {\n\t\t\t\t\tconst validationResult = validator(result.structuredContent);\n\t\t\t\t\tif (!validationResult.valid) {\n\t\t\t\t\t\tyield {\n\t\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\t\terror: new McpError(ErrorCode.InvalidParams, `Structured content does not match the tool's output schema: ${validationResult.errorMessage}`)\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\tif (error instanceof McpError) {\n\t\t\t\t\t\tyield {\n\t\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\t\terror\n\t\t\t\t\t\t};\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\t\t\t\t\tyield {\n\t\t\t\t\t\ttype: \"error\",\n\t\t\t\t\t\terror: new McpError(ErrorCode.InvalidParams, `Failed to validate structured content: ${error instanceof Error ? error.message : String(error)}`)\n\t\t\t\t\t};\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t}\n\t\t\tyield message;\n\t\t}\n\t}\n\t/**\n\t* Gets the current status of a task.\n\t*\n\t* @param taskId - The task identifier\n\t* @param options - Optional request options\n\t* @returns The task status\n\t*\n\t* @experimental\n\t*/\n\tasync getTask(taskId, options) {\n\t\treturn this._client.getTask({ taskId }, options);\n\t}\n\t/**\n\t* Retrieves the result of a completed task.\n\t*\n\t* @param taskId - The task identifier\n\t* @param resultSchema - Zod schema for validating the result\n\t* @param options - Optional request options\n\t* @returns The task result\n\t*\n\t* @experimental\n\t*/\n\tasync getTaskResult(taskId, resultSchema, options) {\n\t\treturn this._client.getTaskResult({ taskId }, resultSchema, options);\n\t}\n\t/**\n\t* Lists tasks with optional pagination.\n\t*\n\t* @param cursor - Optional pagination cursor\n\t* @param options - Optional request options\n\t* @returns List of tasks with optional next cursor\n\t*\n\t* @experimental\n\t*/\n\tasync listTasks(cursor, options) {\n\t\treturn this._client.listTasks(cursor ? { cursor } : void 0, options);\n\t}\n\t/**\n\t* Cancels a running task.\n\t*\n\t* @param taskId - The task identifier\n\t* @param options - Optional request options\n\t*\n\t* @experimental\n\t*/\n\tasync cancelTask(taskId, options) {\n\t\treturn this._client.cancelTask({ taskId }, options);\n\t}\n\t/**\n\t* Sends a request and returns an AsyncGenerator that yields response messages.\n\t* The generator is guaranteed to end with either a 'result' or 'error' message.\n\t*\n\t* This method provides streaming access to request processing, allowing you to\n\t* observe intermediate task status updates for task-augmented requests.\n\t*\n\t* @param request - The request to send\n\t* @param resultSchema - Zod schema for validating the result\n\t* @param options - Optional request options (timeout, signal, task creation params, etc.)\n\t* @returns AsyncGenerator that yields ResponseMessage objects\n\t*\n\t* @experimental\n\t*/\n\trequestStream(request, resultSchema, options) {\n\t\treturn this._client.requestStream(request, resultSchema, options);\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/experimental/tasks/helpers.js\n/**\n* Experimental task capability assertion helpers.\n* WARNING: These APIs are experimental and may change without notice.\n*\n* @experimental\n*/\n/**\n* Asserts that task creation is supported for tools/call.\n* Used by Client.assertTaskCapability and Server.assertTaskHandlerCapability.\n*\n* @param requests - The task requests capability object\n* @param method - The method being checked\n* @param entityName - 'Server' or 'Client' for error messages\n* @throws Error if the capability is not supported\n*\n* @experimental\n*/\nfunction assertToolsCallTaskCapability(requests, method, entityName) {\n\tif (!requests) throw new Error(`${entityName} does not support task creation (required for ${method})`);\n\tswitch (method) {\n\t\tcase \"tools/call\":\n\t\t\tif (!requests.tools?.call) throw new Error(`${entityName} does not support task creation for tools/call (required for ${method})`);\n\t\t\tbreak;\n\t\tdefault: break;\n\t}\n}\n/**\n* Asserts that task creation is supported for sampling/createMessage or elicitation/create.\n* Used by Server.assertTaskCapability and Client.assertTaskHandlerCapability.\n*\n* @param requests - The task requests capability object\n* @param method - The method being checked\n* @param entityName - 'Server' or 'Client' for error messages\n* @throws Error if the capability is not supported\n*\n* @experimental\n*/\nfunction assertClientRequestTaskCapability(requests, method, entityName) {\n\tif (!requests) throw new Error(`${entityName} does not support task creation (required for ${method})`);\n\tswitch (method) {\n\t\tcase \"sampling/createMessage\":\n\t\t\tif (!requests.sampling?.createMessage) throw new Error(`${entityName} does not support task creation for sampling/createMessage (required for ${method})`);\n\t\t\tbreak;\n\t\tcase \"elicitation/create\":\n\t\t\tif (!requests.elicitation?.create) throw new Error(`${entityName} does not support task creation for elicitation/create (required for ${method})`);\n\t\t\tbreak;\n\t\tdefault: break;\n\t}\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/client/index.js\n/**\n* Elicitation default application helper. Applies defaults to the data based on the schema.\n*\n* @param schema - The schema to apply defaults to.\n* @param data - The data to apply defaults to.\n*/\nfunction applyElicitationDefaults(schema, data) {\n\tif (!schema || data === null || typeof data !== \"object\") return;\n\tif (schema.type === \"object\" && schema.properties && typeof schema.properties === \"object\") {\n\t\tconst obj = data;\n\t\tconst props = schema.properties;\n\t\tfor (const key of Object.keys(props)) {\n\t\t\tconst propSchema = props[key];\n\t\t\tif (obj[key] === void 0 && Object.prototype.hasOwnProperty.call(propSchema, \"default\")) obj[key] = propSchema.default;\n\t\t\tif (obj[key] !== void 0) applyElicitationDefaults(propSchema, obj[key]);\n\t\t}\n\t}\n\tif (Array.isArray(schema.anyOf)) {\n\t\tfor (const sub of schema.anyOf) if (typeof sub !== \"boolean\") applyElicitationDefaults(sub, data);\n\t}\n\tif (Array.isArray(schema.oneOf)) {\n\t\tfor (const sub of schema.oneOf) if (typeof sub !== \"boolean\") applyElicitationDefaults(sub, data);\n\t}\n}\n/**\n* Determines which elicitation modes are supported based on declared client capabilities.\n*\n* According to the spec:\n* - An empty elicitation capability object defaults to form mode support (backwards compatibility)\n* - URL mode is only supported if explicitly declared\n*\n* @param capabilities - The client's elicitation capabilities\n* @returns An object indicating which modes are supported\n*/\nfunction getSupportedElicitationModes(capabilities) {\n\tif (!capabilities) return {\n\t\tsupportsFormMode: false,\n\t\tsupportsUrlMode: false\n\t};\n\tconst hasFormCapability = capabilities.form !== void 0;\n\tconst hasUrlCapability = capabilities.url !== void 0;\n\treturn {\n\t\tsupportsFormMode: hasFormCapability || !hasFormCapability && !hasUrlCapability,\n\t\tsupportsUrlMode: hasUrlCapability\n\t};\n}\n/**\n* An MCP client on top of a pluggable transport.\n*\n* The client will automatically begin the initialization flow with the server when connect() is called.\n*\n* To use with custom types, extend the base Request/Notification/Result types and pass them as type parameters:\n*\n* ```typescript\n* // Custom schemas\n* const CustomRequestSchema = RequestSchema.extend({...})\n* const CustomNotificationSchema = NotificationSchema.extend({...})\n* const CustomResultSchema = ResultSchema.extend({...})\n*\n* // Type aliases\n* type CustomRequest = z.infer<typeof CustomRequestSchema>\n* type CustomNotification = z.infer<typeof CustomNotificationSchema>\n* type CustomResult = z.infer<typeof CustomResultSchema>\n*\n* // Create typed client\n* const client = new Client<CustomRequest, CustomNotification, CustomResult>({\n* name: \"CustomClient\",\n* version: \"1.0.0\"\n* })\n* ```\n*/\nvar Client = class extends Protocol {\n\t/**\n\t* Initializes this client with the given name and version information.\n\t*/\n\tconstructor(_clientInfo, options) {\n\t\tsuper(options);\n\t\tthis._clientInfo = _clientInfo;\n\t\tthis._cachedToolOutputValidators = /* @__PURE__ */ new Map();\n\t\tthis._cachedKnownTaskTools = /* @__PURE__ */ new Set();\n\t\tthis._cachedRequiredTaskTools = /* @__PURE__ */ new Set();\n\t\tthis._listChangedDebounceTimers = /* @__PURE__ */ new Map();\n\t\tthis._capabilities = options?.capabilities ?? {};\n\t\tthis._jsonSchemaValidator = options?.jsonSchemaValidator ?? new AjvJsonSchemaValidator();\n\t\tif (options?.listChanged) this._pendingListChangedConfig = options.listChanged;\n\t}\n\t/**\n\t* Set up handlers for list changed notifications based on config and server capabilities.\n\t* This should only be called after initialization when server capabilities are known.\n\t* Handlers are silently skipped if the server doesn't advertise the corresponding listChanged capability.\n\t* @internal\n\t*/\n\t_setupListChangedHandlers(config) {\n\t\tif (config.tools && this._serverCapabilities?.tools?.listChanged) this._setupListChangedHandler(\"tools\", ToolListChangedNotificationSchema, config.tools, async () => {\n\t\t\treturn (await this.listTools()).tools;\n\t\t});\n\t\tif (config.prompts && this._serverCapabilities?.prompts?.listChanged) this._setupListChangedHandler(\"prompts\", PromptListChangedNotificationSchema, config.prompts, async () => {\n\t\t\treturn (await this.listPrompts()).prompts;\n\t\t});\n\t\tif (config.resources && this._serverCapabilities?.resources?.listChanged) this._setupListChangedHandler(\"resources\", ResourceListChangedNotificationSchema, config.resources, async () => {\n\t\t\treturn (await this.listResources()).resources;\n\t\t});\n\t}\n\t/**\n\t* Access experimental features.\n\t*\n\t* WARNING: These APIs are experimental and may change without notice.\n\t*\n\t* @experimental\n\t*/\n\tget experimental() {\n\t\tif (!this._experimental) this._experimental = { tasks: new ExperimentalClientTasks(this) };\n\t\treturn this._experimental;\n\t}\n\t/**\n\t* Registers new capabilities. This can only be called before connecting to a transport.\n\t*\n\t* The new capabilities will be merged with any existing capabilities previously given (e.g., at initialization).\n\t*/\n\tregisterCapabilities(capabilities) {\n\t\tif (this.transport) throw new Error(\"Cannot register capabilities after connecting to transport\");\n\t\tthis._capabilities = mergeCapabilities(this._capabilities, capabilities);\n\t}\n\t/**\n\t* Override request handler registration to enforce client-side validation for elicitation.\n\t*/\n\tsetRequestHandler(requestSchema, handler) {\n\t\tconst methodSchema = getObjectShape(requestSchema)?.method;\n\t\tif (!methodSchema) throw new Error(\"Schema is missing a method literal\");\n\t\tlet methodValue;\n\t\tif (isZ4Schema(methodSchema)) {\n\t\t\tconst v4Schema = methodSchema;\n\t\t\tmethodValue = (v4Schema._zod?.def)?.value ?? v4Schema.value;\n\t\t} else {\n\t\t\tconst v3Schema = methodSchema;\n\t\t\tmethodValue = v3Schema._def?.value ?? v3Schema.value;\n\t\t}\n\t\tif (typeof methodValue !== \"string\") throw new Error(\"Schema method literal must be a string\");\n\t\tconst method = methodValue;\n\t\tif (method === \"elicitation/create\") {\n\t\t\tconst wrappedHandler = async (request, extra) => {\n\t\t\t\tconst validatedRequest = safeParse(ElicitRequestSchema, request);\n\t\t\t\tif (!validatedRequest.success) {\n\t\t\t\t\tconst errorMessage = validatedRequest.error instanceof Error ? validatedRequest.error.message : String(validatedRequest.error);\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid elicitation request: ${errorMessage}`);\n\t\t\t\t}\n\t\t\t\tconst { params } = validatedRequest.data;\n\t\t\t\tparams.mode = params.mode ?? \"form\";\n\t\t\t\tconst { supportsFormMode, supportsUrlMode } = getSupportedElicitationModes(this._capabilities.elicitation);\n\t\t\t\tif (params.mode === \"form\" && !supportsFormMode) throw new McpError(ErrorCode.InvalidParams, \"Client does not support form-mode elicitation requests\");\n\t\t\t\tif (params.mode === \"url\" && !supportsUrlMode) throw new McpError(ErrorCode.InvalidParams, \"Client does not support URL-mode elicitation requests\");\n\t\t\t\tconst result = await Promise.resolve(handler(request, extra));\n\t\t\t\tif (params.task) {\n\t\t\t\t\tconst taskValidationResult = safeParse(CreateTaskResultSchema, result);\n\t\t\t\t\tif (!taskValidationResult.success) {\n\t\t\t\t\t\tconst errorMessage = taskValidationResult.error instanceof Error ? taskValidationResult.error.message : String(taskValidationResult.error);\n\t\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid task creation result: ${errorMessage}`);\n\t\t\t\t\t}\n\t\t\t\t\treturn taskValidationResult.data;\n\t\t\t\t}\n\t\t\t\tconst validationResult = safeParse(ElicitResultSchema, result);\n\t\t\t\tif (!validationResult.success) {\n\t\t\t\t\tconst errorMessage = validationResult.error instanceof Error ? validationResult.error.message : String(validationResult.error);\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid elicitation result: ${errorMessage}`);\n\t\t\t\t}\n\t\t\t\tconst validatedResult = validationResult.data;\n\t\t\t\tconst requestedSchema = params.mode === \"form\" ? params.requestedSchema : void 0;\n\t\t\t\tif (params.mode === \"form\" && validatedResult.action === \"accept\" && validatedResult.content && requestedSchema) {\n\t\t\t\t\tif (this._capabilities.elicitation?.form?.applyDefaults) try {\n\t\t\t\t\t\tapplyElicitationDefaults(requestedSchema, validatedResult.content);\n\t\t\t\t\t} catch {}\n\t\t\t\t}\n\t\t\t\treturn validatedResult;\n\t\t\t};\n\t\t\treturn super.setRequestHandler(requestSchema, wrappedHandler);\n\t\t}\n\t\tif (method === \"sampling/createMessage\") {\n\t\t\tconst wrappedHandler = async (request, extra) => {\n\t\t\t\tconst validatedRequest = safeParse(CreateMessageRequestSchema, request);\n\t\t\t\tif (!validatedRequest.success) {\n\t\t\t\t\tconst errorMessage = validatedRequest.error instanceof Error ? validatedRequest.error.message : String(validatedRequest.error);\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid sampling request: ${errorMessage}`);\n\t\t\t\t}\n\t\t\t\tconst { params } = validatedRequest.data;\n\t\t\t\tconst result = await Promise.resolve(handler(request, extra));\n\t\t\t\tif (params.task) {\n\t\t\t\t\tconst taskValidationResult = safeParse(CreateTaskResultSchema, result);\n\t\t\t\t\tif (!taskValidationResult.success) {\n\t\t\t\t\t\tconst errorMessage = taskValidationResult.error instanceof Error ? taskValidationResult.error.message : String(taskValidationResult.error);\n\t\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid task creation result: ${errorMessage}`);\n\t\t\t\t\t}\n\t\t\t\t\treturn taskValidationResult.data;\n\t\t\t\t}\n\t\t\t\tconst validationResult = safeParse(params.tools || params.toolChoice ? CreateMessageResultWithToolsSchema : CreateMessageResultSchema, result);\n\t\t\t\tif (!validationResult.success) {\n\t\t\t\t\tconst errorMessage = validationResult.error instanceof Error ? validationResult.error.message : String(validationResult.error);\n\t\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Invalid sampling result: ${errorMessage}`);\n\t\t\t\t}\n\t\t\t\treturn validationResult.data;\n\t\t\t};\n\t\t\treturn super.setRequestHandler(requestSchema, wrappedHandler);\n\t\t}\n\t\treturn super.setRequestHandler(requestSchema, handler);\n\t}\n\tassertCapability(capability, method) {\n\t\tif (!this._serverCapabilities?.[capability]) throw new Error(`Server does not support ${capability} (required for ${method})`);\n\t}\n\tasync connect(transport, options) {\n\t\tawait super.connect(transport);\n\t\tif (transport.sessionId !== void 0) return;\n\t\ttry {\n\t\t\tconst result = await this.request({\n\t\t\t\tmethod: \"initialize\",\n\t\t\t\tparams: {\n\t\t\t\t\tprotocolVersion: LATEST_PROTOCOL_VERSION,\n\t\t\t\t\tcapabilities: this._capabilities,\n\t\t\t\t\tclientInfo: this._clientInfo\n\t\t\t\t}\n\t\t\t}, InitializeResultSchema, options);\n\t\t\tif (result === void 0) throw new Error(`Server sent invalid initialize result: ${result}`);\n\t\t\tif (!SUPPORTED_PROTOCOL_VERSIONS.includes(result.protocolVersion)) throw new Error(`Server's protocol version is not supported: ${result.protocolVersion}`);\n\t\t\tthis._serverCapabilities = result.capabilities;\n\t\t\tthis._serverVersion = result.serverInfo;\n\t\t\tif (transport.setProtocolVersion) transport.setProtocolVersion(result.protocolVersion);\n\t\t\tthis._instructions = result.instructions;\n\t\t\tawait this.notification({ method: \"notifications/initialized\" });\n\t\t\tif (this._pendingListChangedConfig) {\n\t\t\t\tthis._setupListChangedHandlers(this._pendingListChangedConfig);\n\t\t\t\tthis._pendingListChangedConfig = void 0;\n\t\t\t}\n\t\t} catch (error) {\n\t\t\tthis.close();\n\t\t\tthrow error;\n\t\t}\n\t}\n\t/**\n\t* After initialization has completed, this will be populated with the server's reported capabilities.\n\t*/\n\tgetServerCapabilities() {\n\t\treturn this._serverCapabilities;\n\t}\n\t/**\n\t* After initialization has completed, this will be populated with information about the server's name and version.\n\t*/\n\tgetServerVersion() {\n\t\treturn this._serverVersion;\n\t}\n\t/**\n\t* After initialization has completed, this may be populated with information about the server's instructions.\n\t*/\n\tgetInstructions() {\n\t\treturn this._instructions;\n\t}\n\tassertCapabilityForMethod(method) {\n\t\tswitch (method) {\n\t\t\tcase \"logging/setLevel\":\n\t\t\t\tif (!this._serverCapabilities?.logging) throw new Error(`Server does not support logging (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"prompts/get\":\n\t\t\tcase \"prompts/list\":\n\t\t\t\tif (!this._serverCapabilities?.prompts) throw new Error(`Server does not support prompts (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"resources/list\":\n\t\t\tcase \"resources/templates/list\":\n\t\t\tcase \"resources/read\":\n\t\t\tcase \"resources/subscribe\":\n\t\t\tcase \"resources/unsubscribe\":\n\t\t\t\tif (!this._serverCapabilities?.resources) throw new Error(`Server does not support resources (required for ${method})`);\n\t\t\t\tif (method === \"resources/subscribe\" && !this._serverCapabilities.resources.subscribe) throw new Error(`Server does not support resource subscriptions (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"tools/call\":\n\t\t\tcase \"tools/list\":\n\t\t\t\tif (!this._serverCapabilities?.tools) throw new Error(`Server does not support tools (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"completion/complete\":\n\t\t\t\tif (!this._serverCapabilities?.completions) throw new Error(`Server does not support completions (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"initialize\": break;\n\t\t\tcase \"ping\": break;\n\t\t}\n\t}\n\tassertNotificationCapability(method) {\n\t\tswitch (method) {\n\t\t\tcase \"notifications/roots/list_changed\":\n\t\t\t\tif (!this._capabilities.roots?.listChanged) throw new Error(`Client does not support roots list changed notifications (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"notifications/initialized\": break;\n\t\t\tcase \"notifications/cancelled\": break;\n\t\t\tcase \"notifications/progress\": break;\n\t\t}\n\t}\n\tassertRequestHandlerCapability(method) {\n\t\tif (!this._capabilities) return;\n\t\tswitch (method) {\n\t\t\tcase \"sampling/createMessage\":\n\t\t\t\tif (!this._capabilities.sampling) throw new Error(`Client does not support sampling capability (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"elicitation/create\":\n\t\t\t\tif (!this._capabilities.elicitation) throw new Error(`Client does not support elicitation capability (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"roots/list\":\n\t\t\t\tif (!this._capabilities.roots) throw new Error(`Client does not support roots capability (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"tasks/get\":\n\t\t\tcase \"tasks/list\":\n\t\t\tcase \"tasks/result\":\n\t\t\tcase \"tasks/cancel\":\n\t\t\t\tif (!this._capabilities.tasks) throw new Error(`Client does not support tasks capability (required for ${method})`);\n\t\t\t\tbreak;\n\t\t\tcase \"ping\": break;\n\t\t}\n\t}\n\tassertTaskCapability(method) {\n\t\tassertToolsCallTaskCapability(this._serverCapabilities?.tasks?.requests, method, \"Server\");\n\t}\n\tassertTaskHandlerCapability(method) {\n\t\tif (!this._capabilities) return;\n\t\tassertClientRequestTaskCapability(this._capabilities.tasks?.requests, method, \"Client\");\n\t}\n\tasync ping(options) {\n\t\treturn this.request({ method: \"ping\" }, EmptyResultSchema, options);\n\t}\n\tasync complete(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"completion/complete\",\n\t\t\tparams\n\t\t}, CompleteResultSchema, options);\n\t}\n\tasync setLoggingLevel(level, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"logging/setLevel\",\n\t\t\tparams: { level }\n\t\t}, EmptyResultSchema, options);\n\t}\n\tasync getPrompt(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"prompts/get\",\n\t\t\tparams\n\t\t}, GetPromptResultSchema, options);\n\t}\n\tasync listPrompts(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"prompts/list\",\n\t\t\tparams\n\t\t}, ListPromptsResultSchema, options);\n\t}\n\tasync listResources(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"resources/list\",\n\t\t\tparams\n\t\t}, ListResourcesResultSchema, options);\n\t}\n\tasync listResourceTemplates(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"resources/templates/list\",\n\t\t\tparams\n\t\t}, ListResourceTemplatesResultSchema, options);\n\t}\n\tasync readResource(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"resources/read\",\n\t\t\tparams\n\t\t}, ReadResourceResultSchema, options);\n\t}\n\tasync subscribeResource(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"resources/subscribe\",\n\t\t\tparams\n\t\t}, EmptyResultSchema, options);\n\t}\n\tasync unsubscribeResource(params, options) {\n\t\treturn this.request({\n\t\t\tmethod: \"resources/unsubscribe\",\n\t\t\tparams\n\t\t}, EmptyResultSchema, options);\n\t}\n\t/**\n\t* Calls a tool and waits for the result. Automatically validates structured output if the tool has an outputSchema.\n\t*\n\t* For task-based execution with streaming behavior, use client.experimental.tasks.callToolStream() instead.\n\t*/\n\tasync callTool(params, resultSchema = CallToolResultSchema, options) {\n\t\tif (this.isToolTaskRequired(params.name)) throw new McpError(ErrorCode.InvalidRequest, `Tool \"${params.name}\" requires task-based execution. Use client.experimental.tasks.callToolStream() instead.`);\n\t\tconst result = await this.request({\n\t\t\tmethod: \"tools/call\",\n\t\t\tparams\n\t\t}, resultSchema, options);\n\t\tconst validator = this.getToolOutputValidator(params.name);\n\t\tif (validator) {\n\t\t\tif (!result.structuredContent && !result.isError) throw new McpError(ErrorCode.InvalidRequest, `Tool ${params.name} has an output schema but did not return structured content`);\n\t\t\tif (result.structuredContent) try {\n\t\t\t\tconst validationResult = validator(result.structuredContent);\n\t\t\t\tif (!validationResult.valid) throw new McpError(ErrorCode.InvalidParams, `Structured content does not match the tool's output schema: ${validationResult.errorMessage}`);\n\t\t\t} catch (error) {\n\t\t\t\tif (error instanceof McpError) throw error;\n\t\t\t\tthrow new McpError(ErrorCode.InvalidParams, `Failed to validate structured content: ${error instanceof Error ? error.message : String(error)}`);\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tisToolTask(toolName) {\n\t\tif (!this._serverCapabilities?.tasks?.requests?.tools?.call) return false;\n\t\treturn this._cachedKnownTaskTools.has(toolName);\n\t}\n\t/**\n\t* Check if a tool requires task-based execution.\n\t* Unlike isToolTask which includes 'optional' tools, this only checks for 'required'.\n\t*/\n\tisToolTaskRequired(toolName) {\n\t\treturn this._cachedRequiredTaskTools.has(toolName);\n\t}\n\t/**\n\t* Cache validators for tool output schemas.\n\t* Called after listTools() to pre-compile validators for better performance.\n\t*/\n\tcacheToolMetadata(tools) {\n\t\tthis._cachedToolOutputValidators.clear();\n\t\tthis._cachedKnownTaskTools.clear();\n\t\tthis._cachedRequiredTaskTools.clear();\n\t\tfor (const tool of tools) {\n\t\t\tif (tool.outputSchema) {\n\t\t\t\tconst toolValidator = this._jsonSchemaValidator.getValidator(tool.outputSchema);\n\t\t\t\tthis._cachedToolOutputValidators.set(tool.name, toolValidator);\n\t\t\t}\n\t\t\tconst taskSupport = tool.execution?.taskSupport;\n\t\t\tif (taskSupport === \"required\" || taskSupport === \"optional\") this._cachedKnownTaskTools.add(tool.name);\n\t\t\tif (taskSupport === \"required\") this._cachedRequiredTaskTools.add(tool.name);\n\t\t}\n\t}\n\t/**\n\t* Get cached validator for a tool\n\t*/\n\tgetToolOutputValidator(toolName) {\n\t\treturn this._cachedToolOutputValidators.get(toolName);\n\t}\n\tasync listTools(params, options) {\n\t\tconst result = await this.request({\n\t\t\tmethod: \"tools/list\",\n\t\t\tparams\n\t\t}, ListToolsResultSchema, options);\n\t\tthis.cacheToolMetadata(result.tools);\n\t\treturn result;\n\t}\n\t/**\n\t* Set up a single list changed handler.\n\t* @internal\n\t*/\n\t_setupListChangedHandler(listType, notificationSchema, options, fetcher) {\n\t\tconst parseResult = ListChangedOptionsBaseSchema.safeParse(options);\n\t\tif (!parseResult.success) throw new Error(`Invalid ${listType} listChanged options: ${parseResult.error.message}`);\n\t\tif (typeof options.onChanged !== \"function\") throw new Error(`Invalid ${listType} listChanged options: onChanged must be a function`);\n\t\tconst { autoRefresh, debounceMs } = parseResult.data;\n\t\tconst { onChanged } = options;\n\t\tconst refresh = async () => {\n\t\t\tif (!autoRefresh) {\n\t\t\t\tonChanged(null, null);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\ttry {\n\t\t\t\tonChanged(null, await fetcher());\n\t\t\t} catch (e) {\n\t\t\t\tonChanged(e instanceof Error ? e : new Error(String(e)), null);\n\t\t\t}\n\t\t};\n\t\tconst handler = () => {\n\t\t\tif (debounceMs) {\n\t\t\t\tconst existingTimer = this._listChangedDebounceTimers.get(listType);\n\t\t\t\tif (existingTimer) clearTimeout(existingTimer);\n\t\t\t\tconst timer = setTimeout(refresh, debounceMs);\n\t\t\t\tthis._listChangedDebounceTimers.set(listType, timer);\n\t\t\t} else refresh();\n\t\t};\n\t\tthis.setNotificationHandler(notificationSchema, handler);\n\t}\n\tasync sendRootsListChanged() {\n\t\treturn this.notification({ method: \"notifications/roots/list_changed\" });\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/transport.js\n/**\n* Normalizes HeadersInit to a plain Record<string, string> for manipulation.\n* Handles Headers objects, arrays of tuples, and plain objects.\n*/\nfunction normalizeHeaders(headers) {\n\tif (!headers) return {};\n\tif (headers instanceof Headers) return Object.fromEntries(headers.entries());\n\tif (Array.isArray(headers)) return Object.fromEntries(headers);\n\treturn { ...headers };\n}\n/**\n* Creates a fetch function that includes base RequestInit options.\n* This ensures requests inherit settings like credentials, mode, headers, etc. from the base init.\n*\n* @param baseFetch - The base fetch function to wrap (defaults to global fetch)\n* @param baseInit - The base RequestInit to merge with each request\n* @returns A wrapped fetch function that merges base options with call-specific options\n*/\nfunction createFetchWithInit(baseFetch = fetch, baseInit) {\n\tif (!baseInit) return baseFetch;\n\treturn async (url, init) => {\n\t\treturn baseFetch(url, {\n\t\t\t...baseInit,\n\t\t\t...init,\n\t\t\theaders: init?.headers ? {\n\t\t\t\t...normalizeHeaders(baseInit.headers),\n\t\t\t\t...normalizeHeaders(init.headers)\n\t\t\t} : baseInit.headers\n\t\t});\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/pkce-challenge@5.0.1/node_modules/pkce-challenge/dist/index.node.js\nlet crypto$1;\ncrypto$1 = globalThis.crypto?.webcrypto ?? globalThis.crypto ?? import(\"node:crypto\").then((m) => m.webcrypto);\n/**\n* Creates an array of length `size` of random bytes\n* @param size\n* @returns Array of random ints (0 to 255)\n*/\nasync function getRandomValues(size) {\n\treturn (await crypto$1).getRandomValues(new Uint8Array(size));\n}\n/** Generate cryptographically strong random string\n* @param size The desired length of the string\n* @returns The random string\n*/\nasync function random(size) {\n\tconst mask = \"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-._~\";\n\tconst evenDistCutoff = Math.pow(2, 8) - Math.pow(2, 8) % 66;\n\tlet result = \"\";\n\twhile (result.length < size) {\n\t\tconst randomBytes = await getRandomValues(size - result.length);\n\t\tfor (const randomByte of randomBytes) if (randomByte < evenDistCutoff) result += mask[randomByte % 66];\n\t}\n\treturn result;\n}\n/** Generate a PKCE challenge verifier\n* @param length Length of the verifier\n* @returns A random verifier `length` characters long\n*/\nasync function generateVerifier(length) {\n\treturn await random(length);\n}\n/** Generate a PKCE code challenge from a code verifier\n* @param code_verifier\n* @returns The base64 url encoded code challenge\n*/\nasync function generateChallenge(code_verifier) {\n\tconst buffer = await (await crypto$1).subtle.digest(\"SHA-256\", new TextEncoder().encode(code_verifier));\n\treturn btoa(String.fromCharCode(...new Uint8Array(buffer))).replace(/\\//g, \"_\").replace(/\\+/g, \"-\").replace(/=/g, \"\");\n}\n/** Generate a PKCE challenge pair\n* @param length Length of the verifer (between 43-128). Defaults to 43.\n* @returns PKCE challenge pair\n*/\nasync function pkceChallenge(length) {\n\tif (!length) length = 43;\n\tif (length < 43 || length > 128) throw `Expected a length between 43 and 128. Received ${length}.`;\n\tconst verifier = await generateVerifier(length);\n\treturn {\n\t\tcode_verifier: verifier,\n\t\tcode_challenge: await generateChallenge(verifier)\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth.js\n/**\n* Reusable URL validation that disallows javascript: scheme\n*/\nconst SafeUrlSchema = z$1.url().superRefine((val, ctx) => {\n\tif (!URL.canParse(val)) {\n\t\tctx.addIssue({\n\t\t\tcode: z$1.ZodIssueCode.custom,\n\t\t\tmessage: \"URL must be parseable\",\n\t\t\tfatal: true\n\t\t});\n\t\treturn z$1.NEVER;\n\t}\n}).refine((url) => {\n\tconst u = new URL(url);\n\treturn u.protocol !== \"javascript:\" && u.protocol !== \"data:\" && u.protocol !== \"vbscript:\";\n}, { message: \"URL cannot use javascript:, data:, or vbscript: scheme\" });\n/**\n* RFC 9728 OAuth Protected Resource Metadata\n*/\nconst OAuthProtectedResourceMetadataSchema = z$1.looseObject({\n\tresource: z$1.string().url(),\n\tauthorization_servers: z$1.array(SafeUrlSchema).optional(),\n\tjwks_uri: z$1.string().url().optional(),\n\tscopes_supported: z$1.array(z$1.string()).optional(),\n\tbearer_methods_supported: z$1.array(z$1.string()).optional(),\n\tresource_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tresource_name: z$1.string().optional(),\n\tresource_documentation: z$1.string().optional(),\n\tresource_policy_uri: z$1.string().url().optional(),\n\tresource_tos_uri: z$1.string().url().optional(),\n\ttls_client_certificate_bound_access_tokens: z$1.boolean().optional(),\n\tauthorization_details_types_supported: z$1.array(z$1.string()).optional(),\n\tdpop_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tdpop_bound_access_tokens_required: z$1.boolean().optional()\n});\n/**\n* RFC 8414 OAuth 2.0 Authorization Server Metadata\n*/\nconst OAuthMetadataSchema = z$1.looseObject({\n\tissuer: z$1.string(),\n\tauthorization_endpoint: SafeUrlSchema,\n\ttoken_endpoint: SafeUrlSchema,\n\tregistration_endpoint: SafeUrlSchema.optional(),\n\tscopes_supported: z$1.array(z$1.string()).optional(),\n\tresponse_types_supported: z$1.array(z$1.string()),\n\tresponse_modes_supported: z$1.array(z$1.string()).optional(),\n\tgrant_types_supported: z$1.array(z$1.string()).optional(),\n\ttoken_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),\n\ttoken_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tservice_documentation: SafeUrlSchema.optional(),\n\trevocation_endpoint: SafeUrlSchema.optional(),\n\trevocation_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),\n\trevocation_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tintrospection_endpoint: z$1.string().optional(),\n\tintrospection_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),\n\tintrospection_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tcode_challenge_methods_supported: z$1.array(z$1.string()).optional(),\n\tclient_id_metadata_document_supported: z$1.boolean().optional()\n});\n/**\n* OpenID Connect Discovery 1.0 Provider Metadata\n* see: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata\n*/\nconst OpenIdProviderMetadataSchema = z$1.looseObject({\n\tissuer: z$1.string(),\n\tauthorization_endpoint: SafeUrlSchema,\n\ttoken_endpoint: SafeUrlSchema,\n\tuserinfo_endpoint: SafeUrlSchema.optional(),\n\tjwks_uri: SafeUrlSchema,\n\tregistration_endpoint: SafeUrlSchema.optional(),\n\tscopes_supported: z$1.array(z$1.string()).optional(),\n\tresponse_types_supported: z$1.array(z$1.string()),\n\tresponse_modes_supported: z$1.array(z$1.string()).optional(),\n\tgrant_types_supported: z$1.array(z$1.string()).optional(),\n\tacr_values_supported: z$1.array(z$1.string()).optional(),\n\tsubject_types_supported: z$1.array(z$1.string()),\n\tid_token_signing_alg_values_supported: z$1.array(z$1.string()),\n\tid_token_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tid_token_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),\n\tuserinfo_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tuserinfo_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tuserinfo_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),\n\trequest_object_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\trequest_object_encryption_alg_values_supported: z$1.array(z$1.string()).optional(),\n\trequest_object_encryption_enc_values_supported: z$1.array(z$1.string()).optional(),\n\ttoken_endpoint_auth_methods_supported: z$1.array(z$1.string()).optional(),\n\ttoken_endpoint_auth_signing_alg_values_supported: z$1.array(z$1.string()).optional(),\n\tdisplay_values_supported: z$1.array(z$1.string()).optional(),\n\tclaim_types_supported: z$1.array(z$1.string()).optional(),\n\tclaims_supported: z$1.array(z$1.string()).optional(),\n\tservice_documentation: z$1.string().optional(),\n\tclaims_locales_supported: z$1.array(z$1.string()).optional(),\n\tui_locales_supported: z$1.array(z$1.string()).optional(),\n\tclaims_parameter_supported: z$1.boolean().optional(),\n\trequest_parameter_supported: z$1.boolean().optional(),\n\trequest_uri_parameter_supported: z$1.boolean().optional(),\n\trequire_request_uri_registration: z$1.boolean().optional(),\n\top_policy_uri: SafeUrlSchema.optional(),\n\top_tos_uri: SafeUrlSchema.optional(),\n\tclient_id_metadata_document_supported: z$1.boolean().optional()\n});\n/**\n* OpenID Connect Discovery metadata that may include OAuth 2.0 fields\n* This schema represents the real-world scenario where OIDC providers\n* return a mix of OpenID Connect and OAuth 2.0 metadata fields\n*/\nconst OpenIdProviderDiscoveryMetadataSchema = z$1.object({\n\t...OpenIdProviderMetadataSchema.shape,\n\t...OAuthMetadataSchema.pick({ code_challenge_methods_supported: true }).shape\n});\n/**\n* OAuth 2.1 token response\n*/\nconst OAuthTokensSchema = z$1.object({\n\taccess_token: z$1.string(),\n\tid_token: z$1.string().optional(),\n\ttoken_type: z$1.string(),\n\texpires_in: z$1.coerce.number().optional(),\n\tscope: z$1.string().optional(),\n\trefresh_token: z$1.string().optional()\n}).strip();\n/**\n* OAuth 2.1 error response\n*/\nconst OAuthErrorResponseSchema = z$1.object({\n\terror: z$1.string(),\n\terror_description: z$1.string().optional(),\n\terror_uri: z$1.string().optional()\n});\n/**\n* Optional version of SafeUrlSchema that allows empty string for retrocompatibility on tos_uri and logo_uri\n*/\nconst OptionalSafeUrlSchema = SafeUrlSchema.optional().or(z$1.literal(\"\").transform(() => void 0));\n/**\n* RFC 7591 OAuth 2.0 Dynamic Client Registration metadata\n*/\nconst OAuthClientMetadataSchema = z$1.object({\n\tredirect_uris: z$1.array(SafeUrlSchema),\n\ttoken_endpoint_auth_method: z$1.string().optional(),\n\tgrant_types: z$1.array(z$1.string()).optional(),\n\tresponse_types: z$1.array(z$1.string()).optional(),\n\tclient_name: z$1.string().optional(),\n\tclient_uri: SafeUrlSchema.optional(),\n\tlogo_uri: OptionalSafeUrlSchema,\n\tscope: z$1.string().optional(),\n\tcontacts: z$1.array(z$1.string()).optional(),\n\ttos_uri: OptionalSafeUrlSchema,\n\tpolicy_uri: z$1.string().optional(),\n\tjwks_uri: SafeUrlSchema.optional(),\n\tjwks: z$1.any().optional(),\n\tsoftware_id: z$1.string().optional(),\n\tsoftware_version: z$1.string().optional(),\n\tsoftware_statement: z$1.string().optional()\n}).strip();\n/**\n* RFC 7591 OAuth 2.0 Dynamic Client Registration client information\n*/\nconst OAuthClientInformationSchema = z$1.object({\n\tclient_id: z$1.string(),\n\tclient_secret: z$1.string().optional(),\n\tclient_id_issued_at: z$1.number().optional(),\n\tclient_secret_expires_at: z$1.number().optional()\n}).strip();\n/**\n* RFC 7591 OAuth 2.0 Dynamic Client Registration full response (client information plus metadata)\n*/\nconst OAuthClientInformationFullSchema = OAuthClientMetadataSchema.merge(OAuthClientInformationSchema);\nz$1.object({\n\terror: z$1.string(),\n\terror_description: z$1.string().optional()\n}).strip();\nz$1.object({\n\ttoken: z$1.string(),\n\ttoken_type_hint: z$1.string().optional()\n}).strip();\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/auth-utils.js\n/**\n* Utilities for handling OAuth resource URIs.\n*/\n/**\n* Converts a server URL to a resource URL by removing the fragment.\n* RFC 8707 section 2 states that resource URIs \"MUST NOT include a fragment component\".\n* Keeps everything else unchanged (scheme, domain, port, path, query).\n*/\nfunction resourceUrlFromServerUrl(url) {\n\tconst resourceURL = typeof url === \"string\" ? new URL(url) : new URL(url.href);\n\tresourceURL.hash = \"\";\n\treturn resourceURL;\n}\n/**\n* Checks if a requested resource URL matches a configured resource URL.\n* A requested resource matches if it has the same scheme, domain, port,\n* and its path starts with the configured resource's path.\n*\n* @param requestedResource The resource URL being requested\n* @param configuredResource The resource URL that has been configured\n* @returns true if the requested resource matches the configured resource, false otherwise\n*/\nfunction checkResourceAllowed({ requestedResource, configuredResource }) {\n\tconst requested = typeof requestedResource === \"string\" ? new URL(requestedResource) : new URL(requestedResource.href);\n\tconst configured = typeof configuredResource === \"string\" ? new URL(configuredResource) : new URL(configuredResource.href);\n\tif (requested.origin !== configured.origin) return false;\n\tif (requested.pathname.length < configured.pathname.length) return false;\n\tconst requestedPath = requested.pathname.endsWith(\"/\") ? requested.pathname : requested.pathname + \"/\";\n\tconst configuredPath = configured.pathname.endsWith(\"/\") ? configured.pathname : configured.pathname + \"/\";\n\treturn requestedPath.startsWith(configuredPath);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/server/auth/errors.js\n/**\n* Base class for all OAuth errors\n*/\nvar OAuthError = class extends Error {\n\tconstructor(message, errorUri) {\n\t\tsuper(message);\n\t\tthis.errorUri = errorUri;\n\t\tthis.name = this.constructor.name;\n\t}\n\t/**\n\t* Converts the error to a standard OAuth error response object\n\t*/\n\ttoResponseObject() {\n\t\tconst response = {\n\t\t\terror: this.errorCode,\n\t\t\terror_description: this.message\n\t\t};\n\t\tif (this.errorUri) response.error_uri = this.errorUri;\n\t\treturn response;\n\t}\n\tget errorCode() {\n\t\treturn this.constructor.errorCode;\n\t}\n};\n/**\n* Invalid request error - The request is missing a required parameter,\n* includes an invalid parameter value, includes a parameter more than once,\n* or is otherwise malformed.\n*/\nvar InvalidRequestError = class extends OAuthError {};\nInvalidRequestError.errorCode = \"invalid_request\";\n/**\n* Invalid client error - Client authentication failed (e.g., unknown client, no client\n* authentication included, or unsupported authentication method).\n*/\nvar InvalidClientError = class extends OAuthError {};\nInvalidClientError.errorCode = \"invalid_client\";\n/**\n* Invalid grant error - The provided authorization grant or refresh token is\n* invalid, expired, revoked, does not match the redirection URI used in the\n* authorization request, or was issued to another client.\n*/\nvar InvalidGrantError = class extends OAuthError {};\nInvalidGrantError.errorCode = \"invalid_grant\";\n/**\n* Unauthorized client error - The authenticated client is not authorized to use\n* this authorization grant type.\n*/\nvar UnauthorizedClientError = class extends OAuthError {};\nUnauthorizedClientError.errorCode = \"unauthorized_client\";\n/**\n* Unsupported grant type error - The authorization grant type is not supported\n* by the authorization server.\n*/\nvar UnsupportedGrantTypeError = class extends OAuthError {};\nUnsupportedGrantTypeError.errorCode = \"unsupported_grant_type\";\n/**\n* Invalid scope error - The requested scope is invalid, unknown, malformed, or\n* exceeds the scope granted by the resource owner.\n*/\nvar InvalidScopeError = class extends OAuthError {};\nInvalidScopeError.errorCode = \"invalid_scope\";\n/**\n* Access denied error - The resource owner or authorization server denied the request.\n*/\nvar AccessDeniedError = class extends OAuthError {};\nAccessDeniedError.errorCode = \"access_denied\";\n/**\n* Server error - The authorization server encountered an unexpected condition\n* that prevented it from fulfilling the request.\n*/\nvar ServerError = class extends OAuthError {};\nServerError.errorCode = \"server_error\";\n/**\n* Temporarily unavailable error - The authorization server is currently unable to\n* handle the request due to a temporary overloading or maintenance of the server.\n*/\nvar TemporarilyUnavailableError = class extends OAuthError {};\nTemporarilyUnavailableError.errorCode = \"temporarily_unavailable\";\n/**\n* Unsupported response type error - The authorization server does not support\n* obtaining an authorization code using this method.\n*/\nvar UnsupportedResponseTypeError = class extends OAuthError {};\nUnsupportedResponseTypeError.errorCode = \"unsupported_response_type\";\n/**\n* Unsupported token type error - The authorization server does not support\n* the requested token type.\n*/\nvar UnsupportedTokenTypeError = class extends OAuthError {};\nUnsupportedTokenTypeError.errorCode = \"unsupported_token_type\";\n/**\n* Invalid token error - The access token provided is expired, revoked, malformed,\n* or invalid for other reasons.\n*/\nvar InvalidTokenError = class extends OAuthError {};\nInvalidTokenError.errorCode = \"invalid_token\";\n/**\n* Method not allowed error - The HTTP method used is not allowed for this endpoint.\n* (Custom, non-standard error)\n*/\nvar MethodNotAllowedError = class extends OAuthError {};\nMethodNotAllowedError.errorCode = \"method_not_allowed\";\n/**\n* Too many requests error - Rate limit exceeded.\n* (Custom, non-standard error based on RFC 6585)\n*/\nvar TooManyRequestsError = class extends OAuthError {};\nTooManyRequestsError.errorCode = \"too_many_requests\";\n/**\n* Invalid client metadata error - The client metadata is invalid.\n* (Custom error for dynamic client registration - RFC 7591)\n*/\nvar InvalidClientMetadataError = class extends OAuthError {};\nInvalidClientMetadataError.errorCode = \"invalid_client_metadata\";\n/**\n* Insufficient scope error - The request requires higher privileges than provided by the access token.\n*/\nvar InsufficientScopeError = class extends OAuthError {};\nInsufficientScopeError.errorCode = \"insufficient_scope\";\n/**\n* Invalid target error - The requested resource is invalid, missing, unknown, or malformed.\n* (Custom error for resource indicators - RFC 8707)\n*/\nvar InvalidTargetError = class extends OAuthError {};\nInvalidTargetError.errorCode = \"invalid_target\";\n/**\n* A full list of all OAuthErrors, enabling parsing from error responses\n*/\nconst OAUTH_ERRORS = {\n\t[InvalidRequestError.errorCode]: InvalidRequestError,\n\t[InvalidClientError.errorCode]: InvalidClientError,\n\t[InvalidGrantError.errorCode]: InvalidGrantError,\n\t[UnauthorizedClientError.errorCode]: UnauthorizedClientError,\n\t[UnsupportedGrantTypeError.errorCode]: UnsupportedGrantTypeError,\n\t[InvalidScopeError.errorCode]: InvalidScopeError,\n\t[AccessDeniedError.errorCode]: AccessDeniedError,\n\t[ServerError.errorCode]: ServerError,\n\t[TemporarilyUnavailableError.errorCode]: TemporarilyUnavailableError,\n\t[UnsupportedResponseTypeError.errorCode]: UnsupportedResponseTypeError,\n\t[UnsupportedTokenTypeError.errorCode]: UnsupportedTokenTypeError,\n\t[InvalidTokenError.errorCode]: InvalidTokenError,\n\t[MethodNotAllowedError.errorCode]: MethodNotAllowedError,\n\t[TooManyRequestsError.errorCode]: TooManyRequestsError,\n\t[InvalidClientMetadataError.errorCode]: InvalidClientMetadataError,\n\t[InsufficientScopeError.errorCode]: InsufficientScopeError,\n\t[InvalidTargetError.errorCode]: InvalidTargetError\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/client/auth.js\nvar UnauthorizedError = class extends Error {\n\tconstructor(message) {\n\t\tsuper(message ?? \"Unauthorized\");\n\t}\n};\nfunction isClientAuthMethod(method) {\n\treturn [\n\t\t\"client_secret_basic\",\n\t\t\"client_secret_post\",\n\t\t\"none\"\n\t].includes(method);\n}\nconst AUTHORIZATION_CODE_RESPONSE_TYPE = \"code\";\nconst AUTHORIZATION_CODE_CHALLENGE_METHOD = \"S256\";\n/**\n* Determines the best client authentication method to use based on server support and client configuration.\n*\n* Priority order (highest to lowest):\n* 1. client_secret_basic (if client secret is available)\n* 2. client_secret_post (if client secret is available)\n* 3. none (for public clients)\n*\n* @param clientInformation - OAuth client information containing credentials\n* @param supportedMethods - Authentication methods supported by the authorization server\n* @returns The selected authentication method\n*/\nfunction selectClientAuthMethod(clientInformation, supportedMethods) {\n\tconst hasClientSecret = clientInformation.client_secret !== void 0;\n\tif (\"token_endpoint_auth_method\" in clientInformation && clientInformation.token_endpoint_auth_method && isClientAuthMethod(clientInformation.token_endpoint_auth_method) && (supportedMethods.length === 0 || supportedMethods.includes(clientInformation.token_endpoint_auth_method))) return clientInformation.token_endpoint_auth_method;\n\tif (supportedMethods.length === 0) return hasClientSecret ? \"client_secret_basic\" : \"none\";\n\tif (hasClientSecret && supportedMethods.includes(\"client_secret_basic\")) return \"client_secret_basic\";\n\tif (hasClientSecret && supportedMethods.includes(\"client_secret_post\")) return \"client_secret_post\";\n\tif (supportedMethods.includes(\"none\")) return \"none\";\n\treturn hasClientSecret ? \"client_secret_post\" : \"none\";\n}\n/**\n* Applies client authentication to the request based on the specified method.\n*\n* Implements OAuth 2.1 client authentication methods:\n* - client_secret_basic: HTTP Basic authentication (RFC 6749 Section 2.3.1)\n* - client_secret_post: Credentials in request body (RFC 6749 Section 2.3.1)\n* - none: Public client authentication (RFC 6749 Section 2.1)\n*\n* @param method - The authentication method to use\n* @param clientInformation - OAuth client information containing credentials\n* @param headers - HTTP headers object to modify\n* @param params - URL search parameters to modify\n* @throws {Error} When required credentials are missing\n*/\nfunction applyClientAuthentication(method, clientInformation, headers, params) {\n\tconst { client_id, client_secret } = clientInformation;\n\tswitch (method) {\n\t\tcase \"client_secret_basic\":\n\t\t\tapplyBasicAuth(client_id, client_secret, headers);\n\t\t\treturn;\n\t\tcase \"client_secret_post\":\n\t\t\tapplyPostAuth(client_id, client_secret, params);\n\t\t\treturn;\n\t\tcase \"none\":\n\t\t\tapplyPublicAuth(client_id, params);\n\t\t\treturn;\n\t\tdefault: throw new Error(`Unsupported client authentication method: ${method}`);\n\t}\n}\n/**\n* Applies HTTP Basic authentication (RFC 6749 Section 2.3.1)\n*/\nfunction applyBasicAuth(clientId, clientSecret, headers) {\n\tif (!clientSecret) throw new Error(\"client_secret_basic authentication requires a client_secret\");\n\tconst credentials = btoa(`${clientId}:${clientSecret}`);\n\theaders.set(\"Authorization\", `Basic ${credentials}`);\n}\n/**\n* Applies POST body authentication (RFC 6749 Section 2.3.1)\n*/\nfunction applyPostAuth(clientId, clientSecret, params) {\n\tparams.set(\"client_id\", clientId);\n\tif (clientSecret) params.set(\"client_secret\", clientSecret);\n}\n/**\n* Applies public client authentication (RFC 6749 Section 2.1)\n*/\nfunction applyPublicAuth(clientId, params) {\n\tparams.set(\"client_id\", clientId);\n}\n/**\n* Parses an OAuth error response from a string or Response object.\n*\n* If the input is a standard OAuth2.0 error response, it will be parsed according to the spec\n* and an instance of the appropriate OAuthError subclass will be returned.\n* If parsing fails, it falls back to a generic ServerError that includes\n* the response status (if available) and original content.\n*\n* @param input - A Response object or string containing the error response\n* @returns A Promise that resolves to an OAuthError instance\n*/\nasync function parseErrorResponse(input) {\n\tconst statusCode = input instanceof Response ? input.status : void 0;\n\tconst body = input instanceof Response ? await input.text() : input;\n\ttry {\n\t\tconst { error, error_description, error_uri } = OAuthErrorResponseSchema.parse(JSON.parse(body));\n\t\treturn new (OAUTH_ERRORS[error] || ServerError)(error_description || \"\", error_uri);\n\t} catch (error) {\n\t\treturn new ServerError(`${statusCode ? `HTTP ${statusCode}: ` : \"\"}Invalid OAuth error response: ${error}. Raw body: ${body}`);\n\t}\n}\n/**\n* Orchestrates the full auth flow with a server.\n*\n* This can be used as a single entry point for all authorization functionality,\n* instead of linking together the other lower-level functions in this module.\n*/\nasync function auth(provider, options) {\n\ttry {\n\t\treturn await authInternal(provider, options);\n\t} catch (error) {\n\t\tif (error instanceof InvalidClientError || error instanceof UnauthorizedClientError) {\n\t\t\tawait provider.invalidateCredentials?.(\"all\");\n\t\t\treturn await authInternal(provider, options);\n\t\t} else if (error instanceof InvalidGrantError) {\n\t\t\tawait provider.invalidateCredentials?.(\"tokens\");\n\t\t\treturn await authInternal(provider, options);\n\t\t}\n\t\tthrow error;\n\t}\n}\nasync function authInternal(provider, { serverUrl, authorizationCode, scope, resourceMetadataUrl, fetchFn }) {\n\tconst cachedState = await provider.discoveryState?.();\n\tlet resourceMetadata;\n\tlet authorizationServerUrl;\n\tlet metadata;\n\tlet effectiveResourceMetadataUrl = resourceMetadataUrl;\n\tif (!effectiveResourceMetadataUrl && cachedState?.resourceMetadataUrl) effectiveResourceMetadataUrl = new URL(cachedState.resourceMetadataUrl);\n\tif (cachedState?.authorizationServerUrl) {\n\t\tauthorizationServerUrl = cachedState.authorizationServerUrl;\n\t\tresourceMetadata = cachedState.resourceMetadata;\n\t\tmetadata = cachedState.authorizationServerMetadata ?? await discoverAuthorizationServerMetadata(authorizationServerUrl, { fetchFn });\n\t\tif (!resourceMetadata) try {\n\t\t\tresourceMetadata = await discoverOAuthProtectedResourceMetadata(serverUrl, { resourceMetadataUrl: effectiveResourceMetadataUrl }, fetchFn);\n\t\t} catch {}\n\t\tif (metadata !== cachedState.authorizationServerMetadata || resourceMetadata !== cachedState.resourceMetadata) await provider.saveDiscoveryState?.({\n\t\t\tauthorizationServerUrl: String(authorizationServerUrl),\n\t\t\tresourceMetadataUrl: effectiveResourceMetadataUrl?.toString(),\n\t\t\tresourceMetadata,\n\t\t\tauthorizationServerMetadata: metadata\n\t\t});\n\t} else {\n\t\tconst serverInfo = await discoverOAuthServerInfo(serverUrl, {\n\t\t\tresourceMetadataUrl: effectiveResourceMetadataUrl,\n\t\t\tfetchFn\n\t\t});\n\t\tauthorizationServerUrl = serverInfo.authorizationServerUrl;\n\t\tmetadata = serverInfo.authorizationServerMetadata;\n\t\tresourceMetadata = serverInfo.resourceMetadata;\n\t\tawait provider.saveDiscoveryState?.({\n\t\t\tauthorizationServerUrl: String(authorizationServerUrl),\n\t\t\tresourceMetadataUrl: effectiveResourceMetadataUrl?.toString(),\n\t\t\tresourceMetadata,\n\t\t\tauthorizationServerMetadata: metadata\n\t\t});\n\t}\n\tconst resource = await selectResourceURL(serverUrl, provider, resourceMetadata);\n\tconst resolvedScope = scope || resourceMetadata?.scopes_supported?.join(\" \") || provider.clientMetadata.scope;\n\tlet clientInformation = await Promise.resolve(provider.clientInformation());\n\tif (!clientInformation) {\n\t\tif (authorizationCode !== void 0) throw new Error(\"Existing OAuth client information is required when exchanging an authorization code\");\n\t\tconst supportsUrlBasedClientId = metadata?.client_id_metadata_document_supported === true;\n\t\tconst clientMetadataUrl = provider.clientMetadataUrl;\n\t\tif (clientMetadataUrl && !isHttpsUrl(clientMetadataUrl)) throw new InvalidClientMetadataError(`clientMetadataUrl must be a valid HTTPS URL with a non-root pathname, got: ${clientMetadataUrl}`);\n\t\tif (supportsUrlBasedClientId && clientMetadataUrl) {\n\t\t\tclientInformation = { client_id: clientMetadataUrl };\n\t\t\tawait provider.saveClientInformation?.(clientInformation);\n\t\t} else {\n\t\t\tif (!provider.saveClientInformation) throw new Error(\"OAuth client information must be saveable for dynamic registration\");\n\t\t\tconst fullInformation = await registerClient(authorizationServerUrl, {\n\t\t\t\tmetadata,\n\t\t\t\tclientMetadata: provider.clientMetadata,\n\t\t\t\tscope: resolvedScope,\n\t\t\t\tfetchFn\n\t\t\t});\n\t\t\tawait provider.saveClientInformation(fullInformation);\n\t\t\tclientInformation = fullInformation;\n\t\t}\n\t}\n\tconst nonInteractiveFlow = !provider.redirectUrl;\n\tif (authorizationCode !== void 0 || nonInteractiveFlow) {\n\t\tconst tokens = await fetchToken(provider, authorizationServerUrl, {\n\t\t\tmetadata,\n\t\t\tresource,\n\t\t\tauthorizationCode,\n\t\t\tfetchFn\n\t\t});\n\t\tawait provider.saveTokens(tokens);\n\t\treturn \"AUTHORIZED\";\n\t}\n\tconst tokens = await provider.tokens();\n\tif (tokens?.refresh_token) try {\n\t\tconst newTokens = await refreshAuthorization(authorizationServerUrl, {\n\t\t\tmetadata,\n\t\t\tclientInformation,\n\t\t\trefreshToken: tokens.refresh_token,\n\t\t\tresource,\n\t\t\taddClientAuthentication: provider.addClientAuthentication,\n\t\t\tfetchFn\n\t\t});\n\t\tawait provider.saveTokens(newTokens);\n\t\treturn \"AUTHORIZED\";\n\t} catch (error) {\n\t\tif (!(error instanceof OAuthError) || error instanceof ServerError) {} else throw error;\n\t}\n\tconst state = provider.state ? await provider.state() : void 0;\n\tconst { authorizationUrl, codeVerifier } = await startAuthorization(authorizationServerUrl, {\n\t\tmetadata,\n\t\tclientInformation,\n\t\tstate,\n\t\tredirectUrl: provider.redirectUrl,\n\t\tscope: resolvedScope,\n\t\tresource\n\t});\n\tawait provider.saveCodeVerifier(codeVerifier);\n\tawait provider.redirectToAuthorization(authorizationUrl);\n\treturn \"REDIRECT\";\n}\n/**\n* SEP-991: URL-based Client IDs\n* Validate that the client_id is a valid URL with https scheme\n*/\nfunction isHttpsUrl(value) {\n\tif (!value) return false;\n\ttry {\n\t\tconst url = new URL(value);\n\t\treturn url.protocol === \"https:\" && url.pathname !== \"/\";\n\t} catch {\n\t\treturn false;\n\t}\n}\nasync function selectResourceURL(serverUrl, provider, resourceMetadata) {\n\tconst defaultResource = resourceUrlFromServerUrl(serverUrl);\n\tif (provider.validateResourceURL) return await provider.validateResourceURL(defaultResource, resourceMetadata?.resource);\n\tif (!resourceMetadata) return;\n\tif (!checkResourceAllowed({\n\t\trequestedResource: defaultResource,\n\t\tconfiguredResource: resourceMetadata.resource\n\t})) throw new Error(`Protected resource ${resourceMetadata.resource} does not match expected ${defaultResource} (or origin)`);\n\treturn new URL(resourceMetadata.resource);\n}\n/**\n* Extract resource_metadata, scope, and error from WWW-Authenticate header.\n*/\nfunction extractWWWAuthenticateParams(res) {\n\tconst authenticateHeader = res.headers.get(\"WWW-Authenticate\");\n\tif (!authenticateHeader) return {};\n\tconst [type, scheme] = authenticateHeader.split(\" \");\n\tif (type.toLowerCase() !== \"bearer\" || !scheme) return {};\n\tconst resourceMetadataMatch = extractFieldFromWwwAuth(res, \"resource_metadata\") || void 0;\n\tlet resourceMetadataUrl;\n\tif (resourceMetadataMatch) try {\n\t\tresourceMetadataUrl = new URL(resourceMetadataMatch);\n\t} catch {}\n\tconst scope = extractFieldFromWwwAuth(res, \"scope\") || void 0;\n\tconst error = extractFieldFromWwwAuth(res, \"error\") || void 0;\n\treturn {\n\t\tresourceMetadataUrl,\n\t\tscope,\n\t\terror\n\t};\n}\n/**\n* Extracts a specific field's value from the WWW-Authenticate header string.\n*\n* @param response The HTTP response object containing the headers.\n* @param fieldName The name of the field to extract (e.g., \"realm\", \"nonce\").\n* @returns The field value\n*/\nfunction extractFieldFromWwwAuth(response, fieldName) {\n\tconst wwwAuthHeader = response.headers.get(\"WWW-Authenticate\");\n\tif (!wwwAuthHeader) return null;\n\tconst pattern = new RegExp(`${fieldName}=(?:\"([^\"]+)\"|([^\\\\s,]+))`);\n\tconst match = wwwAuthHeader.match(pattern);\n\tif (match) return match[1] || match[2];\n\treturn null;\n}\n/**\n* Looks up RFC 9728 OAuth 2.0 Protected Resource Metadata.\n*\n* If the server returns a 404 for the well-known endpoint, this function will\n* return `undefined`. Any other errors will be thrown as exceptions.\n*/\nasync function discoverOAuthProtectedResourceMetadata(serverUrl, opts, fetchFn = fetch) {\n\tconst response = await discoverMetadataWithFallback(serverUrl, \"oauth-protected-resource\", fetchFn, {\n\t\tprotocolVersion: opts?.protocolVersion,\n\t\tmetadataUrl: opts?.resourceMetadataUrl\n\t});\n\tif (!response || response.status === 404) {\n\t\tawait response?.body?.cancel();\n\t\tthrow new Error(`Resource server does not implement OAuth 2.0 Protected Resource Metadata.`);\n\t}\n\tif (!response.ok) {\n\t\tawait response.body?.cancel();\n\t\tthrow new Error(`HTTP ${response.status} trying to load well-known OAuth protected resource metadata.`);\n\t}\n\treturn OAuthProtectedResourceMetadataSchema.parse(await response.json());\n}\n/**\n* Helper function to handle fetch with CORS retry logic\n*/\nasync function fetchWithCorsRetry(url, headers, fetchFn = fetch) {\n\ttry {\n\t\treturn await fetchFn(url, { headers });\n\t} catch (error) {\n\t\tif (error instanceof TypeError) if (headers) return fetchWithCorsRetry(url, void 0, fetchFn);\n\t\telse return;\n\t\tthrow error;\n\t}\n}\n/**\n* Constructs the well-known path for auth-related metadata discovery\n*/\nfunction buildWellKnownPath(wellKnownPrefix, pathname = \"\", options = {}) {\n\tif (pathname.endsWith(\"/\")) pathname = pathname.slice(0, -1);\n\treturn options.prependPathname ? `${pathname}/.well-known/${wellKnownPrefix}` : `/.well-known/${wellKnownPrefix}${pathname}`;\n}\n/**\n* Tries to discover OAuth metadata at a specific URL\n*/\nasync function tryMetadataDiscovery(url, protocolVersion, fetchFn = fetch) {\n\treturn await fetchWithCorsRetry(url, { \"MCP-Protocol-Version\": protocolVersion }, fetchFn);\n}\n/**\n* Determines if fallback to root discovery should be attempted\n*/\nfunction shouldAttemptFallback(response, pathname) {\n\treturn !response || response.status >= 400 && response.status < 500 && pathname !== \"/\";\n}\n/**\n* Generic function for discovering OAuth metadata with fallback support\n*/\nasync function discoverMetadataWithFallback(serverUrl, wellKnownType, fetchFn, opts) {\n\tconst issuer = new URL(serverUrl);\n\tconst protocolVersion = opts?.protocolVersion ?? \"2025-11-25\";\n\tlet url;\n\tif (opts?.metadataUrl) url = new URL(opts.metadataUrl);\n\telse {\n\t\tconst wellKnownPath = buildWellKnownPath(wellKnownType, issuer.pathname);\n\t\turl = new URL(wellKnownPath, opts?.metadataServerUrl ?? issuer);\n\t\turl.search = issuer.search;\n\t}\n\tlet response = await tryMetadataDiscovery(url, protocolVersion, fetchFn);\n\tif (!opts?.metadataUrl && shouldAttemptFallback(response, issuer.pathname)) response = await tryMetadataDiscovery(new URL(`/.well-known/${wellKnownType}`, issuer), protocolVersion, fetchFn);\n\treturn response;\n}\n/**\n* Builds a list of discovery URLs to try for authorization server metadata.\n* URLs are returned in priority order:\n* 1. OAuth metadata at the given URL\n* 2. OIDC metadata endpoints at the given URL\n*/\nfunction buildDiscoveryUrls(authorizationServerUrl) {\n\tconst url = typeof authorizationServerUrl === \"string\" ? new URL(authorizationServerUrl) : authorizationServerUrl;\n\tconst hasPath = url.pathname !== \"/\";\n\tconst urlsToTry = [];\n\tif (!hasPath) {\n\t\turlsToTry.push({\n\t\t\turl: new URL(\"/.well-known/oauth-authorization-server\", url.origin),\n\t\t\ttype: \"oauth\"\n\t\t});\n\t\turlsToTry.push({\n\t\t\turl: new URL(`/.well-known/openid-configuration`, url.origin),\n\t\t\ttype: \"oidc\"\n\t\t});\n\t\treturn urlsToTry;\n\t}\n\tlet pathname = url.pathname;\n\tif (pathname.endsWith(\"/\")) pathname = pathname.slice(0, -1);\n\turlsToTry.push({\n\t\turl: new URL(`/.well-known/oauth-authorization-server${pathname}`, url.origin),\n\t\ttype: \"oauth\"\n\t});\n\turlsToTry.push({\n\t\turl: new URL(`/.well-known/openid-configuration${pathname}`, url.origin),\n\t\ttype: \"oidc\"\n\t});\n\turlsToTry.push({\n\t\turl: new URL(`${pathname}/.well-known/openid-configuration`, url.origin),\n\t\ttype: \"oidc\"\n\t});\n\treturn urlsToTry;\n}\n/**\n* Discovers authorization server metadata with support for RFC 8414 OAuth 2.0 Authorization Server Metadata\n* and OpenID Connect Discovery 1.0 specifications.\n*\n* This function implements a fallback strategy for authorization server discovery:\n* 1. Attempts RFC 8414 OAuth metadata discovery first\n* 2. If OAuth discovery fails, falls back to OpenID Connect Discovery\n*\n* @param authorizationServerUrl - The authorization server URL obtained from the MCP Server's\n* protected resource metadata, or the MCP server's URL if the\n* metadata was not found.\n* @param options - Configuration options\n* @param options.fetchFn - Optional fetch function for making HTTP requests, defaults to global fetch\n* @param options.protocolVersion - MCP protocol version to use, defaults to LATEST_PROTOCOL_VERSION\n* @returns Promise resolving to authorization server metadata, or undefined if discovery fails\n*/\nasync function discoverAuthorizationServerMetadata(authorizationServerUrl, { fetchFn = fetch, protocolVersion = LATEST_PROTOCOL_VERSION } = {}) {\n\tconst headers = {\n\t\t\"MCP-Protocol-Version\": protocolVersion,\n\t\tAccept: \"application/json\"\n\t};\n\tconst urlsToTry = buildDiscoveryUrls(authorizationServerUrl);\n\tfor (const { url: endpointUrl, type } of urlsToTry) {\n\t\tconst response = await fetchWithCorsRetry(endpointUrl, headers, fetchFn);\n\t\tif (!response)\n /**\n\t\t* CORS error occurred - don't throw as the endpoint may not allow CORS,\n\t\t* continue trying other possible endpoints\n\t\t*/\n\t\tcontinue;\n\t\tif (!response.ok) {\n\t\t\tawait response.body?.cancel();\n\t\t\tif (response.status >= 400 && response.status < 500) continue;\n\t\t\tthrow new Error(`HTTP ${response.status} trying to load ${type === \"oauth\" ? \"OAuth\" : \"OpenID provider\"} metadata from ${endpointUrl}`);\n\t\t}\n\t\tif (type === \"oauth\") return OAuthMetadataSchema.parse(await response.json());\n\t\telse return OpenIdProviderDiscoveryMetadataSchema.parse(await response.json());\n\t}\n}\n/**\n* Discovers the authorization server for an MCP server following\n* {@link https://datatracker.ietf.org/doc/html/rfc9728 | RFC 9728} (OAuth 2.0 Protected\n* Resource Metadata), with fallback to treating the server URL as the\n* authorization server.\n*\n* This function combines two discovery steps into one call:\n* 1. Probes `/.well-known/oauth-protected-resource` on the MCP server to find the\n* authorization server URL (RFC 9728).\n* 2. Fetches authorization server metadata from that URL (RFC 8414 / OpenID Connect Discovery).\n*\n* Use this when you need the authorization server metadata for operations outside the\n* {@linkcode auth} orchestrator, such as token refresh or token revocation.\n*\n* @param serverUrl - The MCP resource server URL\n* @param opts - Optional configuration\n* @param opts.resourceMetadataUrl - Override URL for the protected resource metadata endpoint\n* @param opts.fetchFn - Custom fetch function for HTTP requests\n* @returns Authorization server URL, metadata, and resource metadata (if available)\n*/\nasync function discoverOAuthServerInfo(serverUrl, opts) {\n\tlet resourceMetadata;\n\tlet authorizationServerUrl;\n\ttry {\n\t\tresourceMetadata = await discoverOAuthProtectedResourceMetadata(serverUrl, { resourceMetadataUrl: opts?.resourceMetadataUrl }, opts?.fetchFn);\n\t\tif (resourceMetadata.authorization_servers && resourceMetadata.authorization_servers.length > 0) authorizationServerUrl = resourceMetadata.authorization_servers[0];\n\t} catch {}\n\tif (!authorizationServerUrl) authorizationServerUrl = String(new URL(\"/\", serverUrl));\n\tconst authorizationServerMetadata = await discoverAuthorizationServerMetadata(authorizationServerUrl, { fetchFn: opts?.fetchFn });\n\treturn {\n\t\tauthorizationServerUrl,\n\t\tauthorizationServerMetadata,\n\t\tresourceMetadata\n\t};\n}\n/**\n* Begins the authorization flow with the given server, by generating a PKCE challenge and constructing the authorization URL.\n*/\nasync function startAuthorization(authorizationServerUrl, { metadata, clientInformation, redirectUrl, scope, state, resource }) {\n\tlet authorizationUrl;\n\tif (metadata) {\n\t\tauthorizationUrl = new URL(metadata.authorization_endpoint);\n\t\tif (!metadata.response_types_supported.includes(AUTHORIZATION_CODE_RESPONSE_TYPE)) throw new Error(`Incompatible auth server: does not support response type ${AUTHORIZATION_CODE_RESPONSE_TYPE}`);\n\t\tif (metadata.code_challenge_methods_supported && !metadata.code_challenge_methods_supported.includes(AUTHORIZATION_CODE_CHALLENGE_METHOD)) throw new Error(`Incompatible auth server: does not support code challenge method ${AUTHORIZATION_CODE_CHALLENGE_METHOD}`);\n\t} else authorizationUrl = new URL(\"/authorize\", authorizationServerUrl);\n\tconst challenge = await pkceChallenge();\n\tconst codeVerifier = challenge.code_verifier;\n\tconst codeChallenge = challenge.code_challenge;\n\tauthorizationUrl.searchParams.set(\"response_type\", AUTHORIZATION_CODE_RESPONSE_TYPE);\n\tauthorizationUrl.searchParams.set(\"client_id\", clientInformation.client_id);\n\tauthorizationUrl.searchParams.set(\"code_challenge\", codeChallenge);\n\tauthorizationUrl.searchParams.set(\"code_challenge_method\", AUTHORIZATION_CODE_CHALLENGE_METHOD);\n\tauthorizationUrl.searchParams.set(\"redirect_uri\", String(redirectUrl));\n\tif (state) authorizationUrl.searchParams.set(\"state\", state);\n\tif (scope) authorizationUrl.searchParams.set(\"scope\", scope);\n\tif (scope?.includes(\"offline_access\")) authorizationUrl.searchParams.append(\"prompt\", \"consent\");\n\tif (resource) authorizationUrl.searchParams.set(\"resource\", resource.href);\n\treturn {\n\t\tauthorizationUrl,\n\t\tcodeVerifier\n\t};\n}\n/**\n* Prepares token request parameters for an authorization code exchange.\n*\n* This is the default implementation used by fetchToken when the provider\n* doesn't implement prepareTokenRequest.\n*\n* @param authorizationCode - The authorization code received from the authorization endpoint\n* @param codeVerifier - The PKCE code verifier\n* @param redirectUri - The redirect URI used in the authorization request\n* @returns URLSearchParams for the authorization_code grant\n*/\nfunction prepareAuthorizationCodeRequest(authorizationCode, codeVerifier, redirectUri) {\n\treturn new URLSearchParams({\n\t\tgrant_type: \"authorization_code\",\n\t\tcode: authorizationCode,\n\t\tcode_verifier: codeVerifier,\n\t\tredirect_uri: String(redirectUri)\n\t});\n}\n/**\n* Internal helper to execute a token request with the given parameters.\n* Used by exchangeAuthorization, refreshAuthorization, and fetchToken.\n*/\nasync function executeTokenRequest(authorizationServerUrl, { metadata, tokenRequestParams, clientInformation, addClientAuthentication, resource, fetchFn }) {\n\tconst tokenUrl = metadata?.token_endpoint ? new URL(metadata.token_endpoint) : new URL(\"/token\", authorizationServerUrl);\n\tconst headers = new Headers({\n\t\t\"Content-Type\": \"application/x-www-form-urlencoded\",\n\t\tAccept: \"application/json\"\n\t});\n\tif (resource) tokenRequestParams.set(\"resource\", resource.href);\n\tif (addClientAuthentication) await addClientAuthentication(headers, tokenRequestParams, tokenUrl, metadata);\n\telse if (clientInformation) applyClientAuthentication(selectClientAuthMethod(clientInformation, metadata?.token_endpoint_auth_methods_supported ?? []), clientInformation, headers, tokenRequestParams);\n\tconst response = await (fetchFn ?? fetch)(tokenUrl, {\n\t\tmethod: \"POST\",\n\t\theaders,\n\t\tbody: tokenRequestParams\n\t});\n\tif (!response.ok) throw await parseErrorResponse(response);\n\treturn OAuthTokensSchema.parse(await response.json());\n}\n/**\n* Exchange a refresh token for an updated access token.\n*\n* Supports multiple client authentication methods as specified in OAuth 2.1:\n* - Automatically selects the best authentication method based on server support\n* - Preserves the original refresh token if a new one is not returned\n*\n* @param authorizationServerUrl - The authorization server's base URL\n* @param options - Configuration object containing client info, refresh token, etc.\n* @returns Promise resolving to OAuth tokens (preserves original refresh_token if not replaced)\n* @throws {Error} When token refresh fails or authentication is invalid\n*/\nasync function refreshAuthorization(authorizationServerUrl, { metadata, clientInformation, refreshToken, resource, addClientAuthentication, fetchFn }) {\n\treturn {\n\t\trefresh_token: refreshToken,\n\t\t...await executeTokenRequest(authorizationServerUrl, {\n\t\t\tmetadata,\n\t\t\ttokenRequestParams: new URLSearchParams({\n\t\t\t\tgrant_type: \"refresh_token\",\n\t\t\t\trefresh_token: refreshToken\n\t\t\t}),\n\t\t\tclientInformation,\n\t\t\taddClientAuthentication,\n\t\t\tresource,\n\t\t\tfetchFn\n\t\t})\n\t};\n}\n/**\n* Unified token fetching that works with any grant type via provider.prepareTokenRequest().\n*\n* This function provides a single entry point for obtaining tokens regardless of the\n* OAuth grant type. The provider's prepareTokenRequest() method determines which grant\n* to use and supplies the grant-specific parameters.\n*\n* @param provider - OAuth client provider that implements prepareTokenRequest()\n* @param authorizationServerUrl - The authorization server's base URL\n* @param options - Configuration for the token request\n* @returns Promise resolving to OAuth tokens\n* @throws {Error} When provider doesn't implement prepareTokenRequest or token fetch fails\n*\n* @example\n* // Provider for client_credentials:\n* class MyProvider implements OAuthClientProvider {\n* prepareTokenRequest(scope) {\n* const params = new URLSearchParams({ grant_type: 'client_credentials' });\n* if (scope) params.set('scope', scope);\n* return params;\n* }\n* // ... other methods\n* }\n*\n* const tokens = await fetchToken(provider, authServerUrl, { metadata });\n*/\nasync function fetchToken(provider, authorizationServerUrl, { metadata, resource, authorizationCode, fetchFn } = {}) {\n\tconst scope = provider.clientMetadata.scope;\n\tlet tokenRequestParams;\n\tif (provider.prepareTokenRequest) tokenRequestParams = await provider.prepareTokenRequest(scope);\n\tif (!tokenRequestParams) {\n\t\tif (!authorizationCode) throw new Error(\"Either provider.prepareTokenRequest() or authorizationCode is required\");\n\t\tif (!provider.redirectUrl) throw new Error(\"redirectUrl is required for authorization_code flow\");\n\t\ttokenRequestParams = prepareAuthorizationCodeRequest(authorizationCode, await provider.codeVerifier(), provider.redirectUrl);\n\t}\n\tconst clientInformation = await provider.clientInformation();\n\treturn executeTokenRequest(authorizationServerUrl, {\n\t\tmetadata,\n\t\ttokenRequestParams,\n\t\tclientInformation: clientInformation ?? void 0,\n\t\taddClientAuthentication: provider.addClientAuthentication,\n\t\tresource,\n\t\tfetchFn\n\t});\n}\n/**\n* Performs OAuth 2.0 Dynamic Client Registration according to RFC 7591.\n*\n* If `scope` is provided, it overrides `clientMetadata.scope` in the registration\n* request body. This allows callers to apply the Scope Selection Strategy (SEP-835)\n* consistently across both DCR and the subsequent authorization request.\n*/\nasync function registerClient(authorizationServerUrl, { metadata, clientMetadata, scope, fetchFn }) {\n\tlet registrationUrl;\n\tif (metadata) {\n\t\tif (!metadata.registration_endpoint) throw new Error(\"Incompatible auth server: does not support dynamic client registration\");\n\t\tregistrationUrl = new URL(metadata.registration_endpoint);\n\t} else registrationUrl = new URL(\"/register\", authorizationServerUrl);\n\tconst response = await (fetchFn ?? fetch)(registrationUrl, {\n\t\tmethod: \"POST\",\n\t\theaders: { \"Content-Type\": \"application/json\" },\n\t\tbody: JSON.stringify({\n\t\t\t...clientMetadata,\n\t\t\t...scope !== void 0 ? { scope } : {}\n\t\t})\n\t});\n\tif (!response.ok) throw await parseErrorResponse(response);\n\treturn OAuthClientInformationFullSchema.parse(await response.json());\n}\n//#endregion\n//#region ../../node_modules/.pnpm/eventsource-parser@3.0.8/node_modules/eventsource-parser/dist/index.js\nvar ParseError = class extends Error {\n\tconstructor(message, options) {\n\t\tsuper(message), this.name = \"ParseError\", this.type = options.type, this.field = options.field, this.value = options.value, this.line = options.line;\n\t}\n};\nconst LF = 10, CR = 13, SPACE = 32;\nfunction noop(_arg) {}\nfunction createParser(callbacks) {\n\tif (typeof callbacks == \"function\") throw new TypeError(\"`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?\");\n\tconst { onEvent = noop, onError = noop, onRetry = noop, onComment } = callbacks, pendingFragments = [];\n\tlet isFirstChunk = !0, id, data = \"\", dataLines = 0, eventType;\n\tfunction feed(chunk) {\n\t\tif (isFirstChunk && (isFirstChunk = !1, chunk.charCodeAt(0) === 239 && chunk.charCodeAt(1) === 187 && chunk.charCodeAt(2) === 191 && (chunk = chunk.slice(3))), pendingFragments.length === 0) {\n\t\t\tconst trailing2 = processLines(chunk);\n\t\t\ttrailing2 !== \"\" && pendingFragments.push(trailing2);\n\t\t\treturn;\n\t\t}\n\t\tif (chunk.indexOf(`\n`) === -1 && chunk.indexOf(\"\\r\") === -1) {\n\t\t\tpendingFragments.push(chunk);\n\t\t\treturn;\n\t\t}\n\t\tpendingFragments.push(chunk);\n\t\tconst input = pendingFragments.join(\"\");\n\t\tpendingFragments.length = 0;\n\t\tconst trailing = processLines(input);\n\t\ttrailing !== \"\" && pendingFragments.push(trailing);\n\t}\n\tfunction processLines(chunk) {\n\t\tlet searchIndex = 0;\n\t\tif (chunk.indexOf(\"\\r\") === -1) {\n\t\t\tlet lfIndex = chunk.indexOf(`\n`, searchIndex);\n\t\t\tfor (; lfIndex !== -1;) {\n\t\t\t\tif (searchIndex === lfIndex) {\n\t\t\t\t\tdataLines > 0 && onEvent({\n\t\t\t\t\t\tid,\n\t\t\t\t\t\tevent: eventType,\n\t\t\t\t\t\tdata\n\t\t\t\t\t}), id = void 0, data = \"\", dataLines = 0, eventType = void 0, searchIndex = lfIndex + 1, lfIndex = chunk.indexOf(`\n`, searchIndex);\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tconst firstCharCode = chunk.charCodeAt(searchIndex);\n\t\t\t\tif (isDataPrefix(chunk, searchIndex, firstCharCode)) {\n\t\t\t\t\tconst valueStart = chunk.charCodeAt(searchIndex + 5) === SPACE ? searchIndex + 6 : searchIndex + 5, value = chunk.slice(valueStart, lfIndex);\n\t\t\t\t\tif (dataLines === 0 && chunk.charCodeAt(lfIndex + 1) === LF) {\n\t\t\t\t\t\tonEvent({\n\t\t\t\t\t\t\tid,\n\t\t\t\t\t\t\tevent: eventType,\n\t\t\t\t\t\t\tdata: value\n\t\t\t\t\t\t}), id = void 0, data = \"\", eventType = void 0, searchIndex = lfIndex + 2, lfIndex = chunk.indexOf(`\n`, searchIndex);\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tdata = dataLines === 0 ? value : `${data}\n${value}`, dataLines++;\n\t\t\t\t} else isEventPrefix(chunk, searchIndex, firstCharCode) ? eventType = chunk.slice(chunk.charCodeAt(searchIndex + 6) === SPACE ? searchIndex + 7 : searchIndex + 6, lfIndex) || void 0 : parseLine(chunk, searchIndex, lfIndex);\n\t\t\t\tsearchIndex = lfIndex + 1, lfIndex = chunk.indexOf(`\n`, searchIndex);\n\t\t\t}\n\t\t\treturn chunk.slice(searchIndex);\n\t\t}\n\t\tfor (; searchIndex < chunk.length;) {\n\t\t\tconst crIndex = chunk.indexOf(\"\\r\", searchIndex), lfIndex = chunk.indexOf(`\n`, searchIndex);\n\t\t\tlet lineEnd = -1;\n\t\t\tif (crIndex !== -1 && lfIndex !== -1 ? lineEnd = crIndex < lfIndex ? crIndex : lfIndex : crIndex !== -1 ? crIndex === chunk.length - 1 ? lineEnd = -1 : lineEnd = crIndex : lfIndex !== -1 && (lineEnd = lfIndex), lineEnd === -1) break;\n\t\t\tparseLine(chunk, searchIndex, lineEnd), searchIndex = lineEnd + 1, chunk.charCodeAt(searchIndex - 1) === CR && chunk.charCodeAt(searchIndex) === LF && searchIndex++;\n\t\t}\n\t\treturn chunk.slice(searchIndex);\n\t}\n\tfunction parseLine(chunk, start, end) {\n\t\tif (start === end) {\n\t\t\tdispatchEvent();\n\t\t\treturn;\n\t\t}\n\t\tconst firstCharCode = chunk.charCodeAt(start);\n\t\tif (isDataPrefix(chunk, start, firstCharCode)) {\n\t\t\tconst valueStart = chunk.charCodeAt(start + 5) === SPACE ? start + 6 : start + 5, value2 = chunk.slice(valueStart, end);\n\t\t\tdata = dataLines === 0 ? value2 : `${data}\n${value2}`, dataLines++;\n\t\t\treturn;\n\t\t}\n\t\tif (isEventPrefix(chunk, start, firstCharCode)) {\n\t\t\teventType = chunk.slice(chunk.charCodeAt(start + 6) === SPACE ? start + 7 : start + 6, end) || void 0;\n\t\t\treturn;\n\t\t}\n\t\tif (firstCharCode === 105 && chunk.charCodeAt(start + 1) === 100 && chunk.charCodeAt(start + 2) === 58) {\n\t\t\tconst value2 = chunk.slice(chunk.charCodeAt(start + 3) === SPACE ? start + 4 : start + 3, end);\n\t\t\tid = value2.includes(\"\\0\") ? void 0 : value2;\n\t\t\treturn;\n\t\t}\n\t\tif (firstCharCode === 58) {\n\t\t\tif (onComment) onComment(chunk.slice(start, end).slice(chunk.charCodeAt(start + 1) === SPACE ? 2 : 1));\n\t\t\treturn;\n\t\t}\n\t\tconst line = chunk.slice(start, end), fieldSeparatorIndex = line.indexOf(\":\");\n\t\tif (fieldSeparatorIndex === -1) {\n\t\t\tprocessField(line, \"\", line);\n\t\t\treturn;\n\t\t}\n\t\tconst field = line.slice(0, fieldSeparatorIndex), offset = line.charCodeAt(fieldSeparatorIndex + 1) === SPACE ? 2 : 1;\n\t\tprocessField(field, line.slice(fieldSeparatorIndex + offset), line);\n\t}\n\tfunction processField(field, value, line) {\n\t\tswitch (field) {\n\t\t\tcase \"event\":\n\t\t\t\teventType = value || void 0;\n\t\t\t\tbreak;\n\t\t\tcase \"data\":\n\t\t\t\tdata = dataLines === 0 ? value : `${data}\n${value}`, dataLines++;\n\t\t\t\tbreak;\n\t\t\tcase \"id\":\n\t\t\t\tid = value.includes(\"\\0\") ? void 0 : value;\n\t\t\t\tbreak;\n\t\t\tcase \"retry\":\n\t\t\t\t/^\\d+$/.test(value) ? onRetry(parseInt(value, 10)) : onError(new ParseError(`Invalid \\`retry\\` value: \"${value}\"`, {\n\t\t\t\t\ttype: \"invalid-retry\",\n\t\t\t\t\tvalue,\n\t\t\t\t\tline\n\t\t\t\t}));\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tonError(new ParseError(`Unknown field \"${field.length > 20 ? `${field.slice(0, 20)}\\u2026` : field}\"`, {\n\t\t\t\t\ttype: \"unknown-field\",\n\t\t\t\t\tfield,\n\t\t\t\t\tvalue,\n\t\t\t\t\tline\n\t\t\t\t}));\n\t\t\t\tbreak;\n\t\t}\n\t}\n\tfunction dispatchEvent() {\n\t\tdataLines > 0 && onEvent({\n\t\t\tid,\n\t\t\tevent: eventType,\n\t\t\tdata\n\t\t}), id = void 0, data = \"\", dataLines = 0, eventType = void 0;\n\t}\n\tfunction reset(options = {}) {\n\t\tif (options.consume && pendingFragments.length > 0) {\n\t\t\tconst incompleteLine = pendingFragments.join(\"\");\n\t\t\tparseLine(incompleteLine, 0, incompleteLine.length);\n\t\t}\n\t\tisFirstChunk = !0, id = void 0, data = \"\", dataLines = 0, eventType = void 0, pendingFragments.length = 0;\n\t}\n\treturn {\n\t\tfeed,\n\t\treset\n\t};\n}\nfunction isDataPrefix(chunk, i, firstCharCode) {\n\treturn firstCharCode === 100 && chunk.charCodeAt(i + 1) === 97 && chunk.charCodeAt(i + 2) === 116 && chunk.charCodeAt(i + 3) === 97 && chunk.charCodeAt(i + 4) === 58;\n}\nfunction isEventPrefix(chunk, i, firstCharCode) {\n\treturn firstCharCode === 101 && chunk.charCodeAt(i + 1) === 118 && chunk.charCodeAt(i + 2) === 101 && chunk.charCodeAt(i + 3) === 110 && chunk.charCodeAt(i + 4) === 116 && chunk.charCodeAt(i + 5) === 58;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/eventsource-parser@3.0.8/node_modules/eventsource-parser/dist/stream.js\nvar EventSourceParserStream = class extends TransformStream {\n\tconstructor({ onError, onRetry, onComment } = {}) {\n\t\tlet parser;\n\t\tsuper({\n\t\t\tstart(controller) {\n\t\t\t\tparser = createParser({\n\t\t\t\t\tonEvent: (event) => {\n\t\t\t\t\t\tcontroller.enqueue(event);\n\t\t\t\t\t},\n\t\t\t\t\tonError(error) {\n\t\t\t\t\t\tonError === \"terminate\" ? controller.error(error) : typeof onError == \"function\" && onError(error);\n\t\t\t\t\t},\n\t\t\t\t\tonRetry,\n\t\t\t\t\tonComment\n\t\t\t\t});\n\t\t\t},\n\t\t\ttransform(chunk) {\n\t\t\t\tparser.feed(chunk);\n\t\t\t}\n\t\t});\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/client/streamableHttp.js\nconst DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS = {\n\tinitialReconnectionDelay: 1e3,\n\tmaxReconnectionDelay: 3e4,\n\treconnectionDelayGrowFactor: 1.5,\n\tmaxRetries: 2\n};\nvar StreamableHTTPError = class extends Error {\n\tconstructor(code, message) {\n\t\tsuper(`Streamable HTTP error: ${message}`);\n\t\tthis.code = code;\n\t}\n};\n/**\n* Client transport for Streamable HTTP: this implements the MCP Streamable HTTP transport specification.\n* It will connect to a server using HTTP POST for sending messages and HTTP GET with Server-Sent Events\n* for receiving messages.\n*/\nvar StreamableHTTPClientTransport = class {\n\tconstructor(url, opts) {\n\t\tthis._hasCompletedAuthFlow = false;\n\t\tthis._url = url;\n\t\tthis._resourceMetadataUrl = void 0;\n\t\tthis._scope = void 0;\n\t\tthis._requestInit = opts?.requestInit;\n\t\tthis._authProvider = opts?.authProvider;\n\t\tthis._fetch = opts?.fetch;\n\t\tthis._fetchWithInit = createFetchWithInit(opts?.fetch, opts?.requestInit);\n\t\tthis._sessionId = opts?.sessionId;\n\t\tthis._reconnectionOptions = opts?.reconnectionOptions ?? DEFAULT_STREAMABLE_HTTP_RECONNECTION_OPTIONS;\n\t}\n\tasync _authThenStart() {\n\t\tif (!this._authProvider) throw new UnauthorizedError(\"No auth provider\");\n\t\tlet result;\n\t\ttry {\n\t\t\tresult = await auth(this._authProvider, {\n\t\t\t\tserverUrl: this._url,\n\t\t\t\tresourceMetadataUrl: this._resourceMetadataUrl,\n\t\t\t\tscope: this._scope,\n\t\t\t\tfetchFn: this._fetchWithInit\n\t\t\t});\n\t\t} catch (error) {\n\t\t\tthis.onerror?.(error);\n\t\t\tthrow error;\n\t\t}\n\t\tif (result !== \"AUTHORIZED\") throw new UnauthorizedError();\n\t\treturn await this._startOrAuthSse({ resumptionToken: void 0 });\n\t}\n\tasync _commonHeaders() {\n\t\tconst headers = {};\n\t\tif (this._authProvider) {\n\t\t\tconst tokens = await this._authProvider.tokens();\n\t\t\tif (tokens) headers[\"Authorization\"] = `Bearer ${tokens.access_token}`;\n\t\t}\n\t\tif (this._sessionId) headers[\"mcp-session-id\"] = this._sessionId;\n\t\tif (this._protocolVersion) headers[\"mcp-protocol-version\"] = this._protocolVersion;\n\t\tconst extraHeaders = normalizeHeaders(this._requestInit?.headers);\n\t\treturn new Headers({\n\t\t\t...headers,\n\t\t\t...extraHeaders\n\t\t});\n\t}\n\tasync _startOrAuthSse(options) {\n\t\tconst { resumptionToken } = options;\n\t\ttry {\n\t\t\tconst headers = await this._commonHeaders();\n\t\t\theaders.set(\"Accept\", \"text/event-stream\");\n\t\t\tif (resumptionToken) headers.set(\"last-event-id\", resumptionToken);\n\t\t\tconst response = await (this._fetch ?? fetch)(this._url, {\n\t\t\t\tmethod: \"GET\",\n\t\t\t\theaders,\n\t\t\t\tsignal: this._abortController?.signal\n\t\t\t});\n\t\t\tif (!response.ok) {\n\t\t\t\tawait response.body?.cancel();\n\t\t\t\tif (response.status === 401 && this._authProvider) return await this._authThenStart();\n\t\t\t\tif (response.status === 405) return;\n\t\t\t\tthrow new StreamableHTTPError(response.status, `Failed to open SSE stream: ${response.statusText}`);\n\t\t\t}\n\t\t\tthis._handleSseStream(response.body, options, true);\n\t\t} catch (error) {\n\t\t\tthis.onerror?.(error);\n\t\t\tthrow error;\n\t\t}\n\t}\n\t/**\n\t* Calculates the next reconnection delay using backoff algorithm\n\t*\n\t* @param attempt Current reconnection attempt count for the specific stream\n\t* @returns Time to wait in milliseconds before next reconnection attempt\n\t*/\n\t_getNextReconnectionDelay(attempt) {\n\t\tif (this._serverRetryMs !== void 0) return this._serverRetryMs;\n\t\tconst initialDelay = this._reconnectionOptions.initialReconnectionDelay;\n\t\tconst growFactor = this._reconnectionOptions.reconnectionDelayGrowFactor;\n\t\tconst maxDelay = this._reconnectionOptions.maxReconnectionDelay;\n\t\treturn Math.min(initialDelay * Math.pow(growFactor, attempt), maxDelay);\n\t}\n\t/**\n\t* Schedule a reconnection attempt using server-provided retry interval or backoff\n\t*\n\t* @param lastEventId The ID of the last received event for resumability\n\t* @param attemptCount Current reconnection attempt count for this specific stream\n\t*/\n\t_scheduleReconnection(options, attemptCount = 0) {\n\t\tconst maxRetries = this._reconnectionOptions.maxRetries;\n\t\tif (attemptCount >= maxRetries) {\n\t\t\tthis.onerror?.(/* @__PURE__ */ new Error(`Maximum reconnection attempts (${maxRetries}) exceeded.`));\n\t\t\treturn;\n\t\t}\n\t\tconst delay = this._getNextReconnectionDelay(attemptCount);\n\t\tthis._reconnectionTimeout = setTimeout(() => {\n\t\t\tthis._startOrAuthSse(options).catch((error) => {\n\t\t\t\tthis.onerror?.(/* @__PURE__ */ new Error(`Failed to reconnect SSE stream: ${error instanceof Error ? error.message : String(error)}`));\n\t\t\t\tthis._scheduleReconnection(options, attemptCount + 1);\n\t\t\t});\n\t\t}, delay);\n\t}\n\t_handleSseStream(stream, options, isReconnectable) {\n\t\tif (!stream) return;\n\t\tconst { onresumptiontoken, replayMessageId } = options;\n\t\tlet lastEventId;\n\t\tlet hasPrimingEvent = false;\n\t\tlet receivedResponse = false;\n\t\tconst processStream = async () => {\n\t\t\ttry {\n\t\t\t\tconst reader = stream.pipeThrough(new TextDecoderStream()).pipeThrough(new EventSourceParserStream({ onRetry: (retryMs) => {\n\t\t\t\t\tthis._serverRetryMs = retryMs;\n\t\t\t\t} })).getReader();\n\t\t\t\twhile (true) {\n\t\t\t\t\tconst { value: event, done } = await reader.read();\n\t\t\t\t\tif (done) break;\n\t\t\t\t\tif (event.id) {\n\t\t\t\t\t\tlastEventId = event.id;\n\t\t\t\t\t\thasPrimingEvent = true;\n\t\t\t\t\t\tonresumptiontoken?.(event.id);\n\t\t\t\t\t}\n\t\t\t\t\tif (!event.data) continue;\n\t\t\t\t\tif (!event.event || event.event === \"message\") try {\n\t\t\t\t\t\tconst message = JSONRPCMessageSchema.parse(JSON.parse(event.data));\n\t\t\t\t\t\tif (isJSONRPCResultResponse(message)) {\n\t\t\t\t\t\t\treceivedResponse = true;\n\t\t\t\t\t\t\tif (replayMessageId !== void 0) message.id = replayMessageId;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tthis.onmessage?.(message);\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\tthis.onerror?.(error);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif ((isReconnectable || hasPrimingEvent) && !receivedResponse && this._abortController && !this._abortController.signal.aborted) this._scheduleReconnection({\n\t\t\t\t\tresumptionToken: lastEventId,\n\t\t\t\t\tonresumptiontoken,\n\t\t\t\t\treplayMessageId\n\t\t\t\t}, 0);\n\t\t\t} catch (error) {\n\t\t\t\tthis.onerror?.(/* @__PURE__ */ new Error(`SSE stream disconnected: ${error}`));\n\t\t\t\tif ((isReconnectable || hasPrimingEvent) && !receivedResponse && this._abortController && !this._abortController.signal.aborted) try {\n\t\t\t\t\tthis._scheduleReconnection({\n\t\t\t\t\t\tresumptionToken: lastEventId,\n\t\t\t\t\t\tonresumptiontoken,\n\t\t\t\t\t\treplayMessageId\n\t\t\t\t\t}, 0);\n\t\t\t\t} catch (error) {\n\t\t\t\t\tthis.onerror?.(/* @__PURE__ */ new Error(`Failed to reconnect: ${error instanceof Error ? error.message : String(error)}`));\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t\tprocessStream();\n\t}\n\tasync start() {\n\t\tif (this._abortController) throw new Error(\"StreamableHTTPClientTransport already started! If using Client class, note that connect() calls start() automatically.\");\n\t\tthis._abortController = new AbortController();\n\t}\n\t/**\n\t* Call this method after the user has finished authorizing via their user agent and is redirected back to the MCP client application. This will exchange the authorization code for an access token, enabling the next connection attempt to successfully auth.\n\t*/\n\tasync finishAuth(authorizationCode) {\n\t\tif (!this._authProvider) throw new UnauthorizedError(\"No auth provider\");\n\t\tif (await auth(this._authProvider, {\n\t\t\tserverUrl: this._url,\n\t\t\tauthorizationCode,\n\t\t\tresourceMetadataUrl: this._resourceMetadataUrl,\n\t\t\tscope: this._scope,\n\t\t\tfetchFn: this._fetchWithInit\n\t\t}) !== \"AUTHORIZED\") throw new UnauthorizedError(\"Failed to authorize\");\n\t}\n\tasync close() {\n\t\tif (this._reconnectionTimeout) {\n\t\t\tclearTimeout(this._reconnectionTimeout);\n\t\t\tthis._reconnectionTimeout = void 0;\n\t\t}\n\t\tthis._abortController?.abort();\n\t\tthis.onclose?.();\n\t}\n\tasync send(message, options) {\n\t\ttry {\n\t\t\tconst { resumptionToken, onresumptiontoken } = options || {};\n\t\t\tif (resumptionToken) {\n\t\t\t\tthis._startOrAuthSse({\n\t\t\t\t\tresumptionToken,\n\t\t\t\t\treplayMessageId: isJSONRPCRequest(message) ? message.id : void 0\n\t\t\t\t}).catch((err) => this.onerror?.(err));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst headers = await this._commonHeaders();\n\t\t\theaders.set(\"content-type\", \"application/json\");\n\t\t\theaders.set(\"accept\", \"application/json, text/event-stream\");\n\t\t\tconst init = {\n\t\t\t\t...this._requestInit,\n\t\t\t\tmethod: \"POST\",\n\t\t\t\theaders,\n\t\t\t\tbody: JSON.stringify(message),\n\t\t\t\tsignal: this._abortController?.signal\n\t\t\t};\n\t\t\tconst response = await (this._fetch ?? fetch)(this._url, init);\n\t\t\tconst sessionId = response.headers.get(\"mcp-session-id\");\n\t\t\tif (sessionId) this._sessionId = sessionId;\n\t\t\tif (!response.ok) {\n\t\t\t\tconst text = await response.text().catch(() => null);\n\t\t\t\tif (response.status === 401 && this._authProvider) {\n\t\t\t\t\tif (this._hasCompletedAuthFlow) throw new StreamableHTTPError(401, \"Server returned 401 after successful authentication\");\n\t\t\t\t\tconst { resourceMetadataUrl, scope } = extractWWWAuthenticateParams(response);\n\t\t\t\t\tthis._resourceMetadataUrl = resourceMetadataUrl;\n\t\t\t\t\tthis._scope = scope;\n\t\t\t\t\tif (await auth(this._authProvider, {\n\t\t\t\t\t\tserverUrl: this._url,\n\t\t\t\t\t\tresourceMetadataUrl: this._resourceMetadataUrl,\n\t\t\t\t\t\tscope: this._scope,\n\t\t\t\t\t\tfetchFn: this._fetchWithInit\n\t\t\t\t\t}) !== \"AUTHORIZED\") throw new UnauthorizedError();\n\t\t\t\t\tthis._hasCompletedAuthFlow = true;\n\t\t\t\t\treturn this.send(message);\n\t\t\t\t}\n\t\t\t\tif (response.status === 403 && this._authProvider) {\n\t\t\t\t\tconst { resourceMetadataUrl, scope, error } = extractWWWAuthenticateParams(response);\n\t\t\t\t\tif (error === \"insufficient_scope\") {\n\t\t\t\t\t\tconst wwwAuthHeader = response.headers.get(\"WWW-Authenticate\");\n\t\t\t\t\t\tif (this._lastUpscopingHeader === wwwAuthHeader) throw new StreamableHTTPError(403, \"Server returned 403 after trying upscoping\");\n\t\t\t\t\t\tif (scope) this._scope = scope;\n\t\t\t\t\t\tif (resourceMetadataUrl) this._resourceMetadataUrl = resourceMetadataUrl;\n\t\t\t\t\t\tthis._lastUpscopingHeader = wwwAuthHeader ?? void 0;\n\t\t\t\t\t\tif (await auth(this._authProvider, {\n\t\t\t\t\t\t\tserverUrl: this._url,\n\t\t\t\t\t\t\tresourceMetadataUrl: this._resourceMetadataUrl,\n\t\t\t\t\t\t\tscope: this._scope,\n\t\t\t\t\t\t\tfetchFn: this._fetch\n\t\t\t\t\t\t}) !== \"AUTHORIZED\") throw new UnauthorizedError();\n\t\t\t\t\t\treturn this.send(message);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tthrow new StreamableHTTPError(response.status, `Error POSTing to endpoint: ${text}`);\n\t\t\t}\n\t\t\tthis._hasCompletedAuthFlow = false;\n\t\t\tthis._lastUpscopingHeader = void 0;\n\t\t\tif (response.status === 202) {\n\t\t\t\tawait response.body?.cancel();\n\t\t\t\tif (isInitializedNotification(message)) this._startOrAuthSse({ resumptionToken: void 0 }).catch((err) => this.onerror?.(err));\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tconst hasRequests = (Array.isArray(message) ? message : [message]).filter((msg) => \"method\" in msg && \"id\" in msg && msg.id !== void 0).length > 0;\n\t\t\tconst contentType = response.headers.get(\"content-type\");\n\t\t\tif (hasRequests) if (contentType?.includes(\"text/event-stream\")) this._handleSseStream(response.body, { onresumptiontoken }, false);\n\t\t\telse if (contentType?.includes(\"application/json\")) {\n\t\t\t\tconst data = await response.json();\n\t\t\t\tconst responseMessages = Array.isArray(data) ? data.map((msg) => JSONRPCMessageSchema.parse(msg)) : [JSONRPCMessageSchema.parse(data)];\n\t\t\t\tfor (const msg of responseMessages) this.onmessage?.(msg);\n\t\t\t} else {\n\t\t\t\tawait response.body?.cancel();\n\t\t\t\tthrow new StreamableHTTPError(-1, `Unexpected content type: ${contentType}`);\n\t\t\t}\n\t\t\telse await response.body?.cancel();\n\t\t} catch (error) {\n\t\t\tthis.onerror?.(error);\n\t\t\tthrow error;\n\t\t}\n\t}\n\tget sessionId() {\n\t\treturn this._sessionId;\n\t}\n\t/**\n\t* Terminates the current session by sending a DELETE request to the server.\n\t*\n\t* Clients that no longer need a particular session\n\t* (e.g., because the user is leaving the client application) SHOULD send an\n\t* HTTP DELETE to the MCP endpoint with the Mcp-Session-Id header to explicitly\n\t* terminate the session.\n\t*\n\t* The server MAY respond with HTTP 405 Method Not Allowed, indicating that\n\t* the server does not allow clients to terminate sessions.\n\t*/\n\tasync terminateSession() {\n\t\tif (!this._sessionId) return;\n\t\ttry {\n\t\t\tconst headers = await this._commonHeaders();\n\t\t\tconst init = {\n\t\t\t\t...this._requestInit,\n\t\t\t\tmethod: \"DELETE\",\n\t\t\t\theaders,\n\t\t\t\tsignal: this._abortController?.signal\n\t\t\t};\n\t\t\tconst response = await (this._fetch ?? fetch)(this._url, init);\n\t\t\tawait response.body?.cancel();\n\t\t\tif (!response.ok && response.status !== 405) throw new StreamableHTTPError(response.status, `Failed to terminate session: ${response.statusText}`);\n\t\t\tthis._sessionId = void 0;\n\t\t} catch (error) {\n\t\t\tthis.onerror?.(error);\n\t\t\tthrow error;\n\t\t}\n\t}\n\tsetProtocolVersion(version) {\n\t\tthis._protocolVersion = version;\n\t}\n\tget protocolVersion() {\n\t\treturn this._protocolVersion;\n\t}\n\t/**\n\t* Resume an SSE stream from a previous event ID.\n\t* Opens a GET SSE connection with Last-Event-ID header to replay missed events.\n\t*\n\t* @param lastEventId The event ID to resume from\n\t* @param options Optional callback to receive new resumption tokens\n\t*/\n\tasync resumeStream(lastEventId, options) {\n\t\tawait this._startOrAuthSse({\n\t\t\tresumptionToken: lastEventId,\n\t\t\tonresumptiontoken: options?.onresumptiontoken\n\t\t});\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js\nvar require_windows = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = isexe;\n\tisexe.sync = sync;\n\tvar fs$2 = __require(\"fs\");\n\tfunction checkPathExt(path, options) {\n\t\tvar pathext = options.pathExt !== void 0 ? options.pathExt : process.env.PATHEXT;\n\t\tif (!pathext) return true;\n\t\tpathext = pathext.split(\";\");\n\t\tif (pathext.indexOf(\"\") !== -1) return true;\n\t\tfor (var i = 0; i < pathext.length; i++) {\n\t\t\tvar p = pathext[i].toLowerCase();\n\t\t\tif (p && path.substr(-p.length).toLowerCase() === p) return true;\n\t\t}\n\t\treturn false;\n\t}\n\tfunction checkStat(stat, path, options) {\n\t\tif (!stat.isSymbolicLink() && !stat.isFile()) return false;\n\t\treturn checkPathExt(path, options);\n\t}\n\tfunction isexe(path, options, cb) {\n\t\tfs$2.stat(path, function(er, stat) {\n\t\t\tcb(er, er ? false : checkStat(stat, path, options));\n\t\t});\n\t}\n\tfunction sync(path, options) {\n\t\treturn checkStat(fs$2.statSync(path), path, options);\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js\nvar require_mode = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = isexe;\n\tisexe.sync = sync;\n\tvar fs$1 = __require(\"fs\");\n\tfunction isexe(path, options, cb) {\n\t\tfs$1.stat(path, function(er, stat) {\n\t\t\tcb(er, er ? false : checkStat(stat, options));\n\t\t});\n\t}\n\tfunction sync(path, options) {\n\t\treturn checkStat(fs$1.statSync(path), options);\n\t}\n\tfunction checkStat(stat, options) {\n\t\treturn stat.isFile() && checkMode(stat, options);\n\t}\n\tfunction checkMode(stat, options) {\n\t\tvar mod = stat.mode;\n\t\tvar uid = stat.uid;\n\t\tvar gid = stat.gid;\n\t\tvar myUid = options.uid !== void 0 ? options.uid : process.getuid && process.getuid();\n\t\tvar myGid = options.gid !== void 0 ? options.gid : process.getgid && process.getgid();\n\t\tvar u = parseInt(\"100\", 8);\n\t\tvar g = parseInt(\"010\", 8);\n\t\tvar o = parseInt(\"001\", 8);\n\t\tvar ug = u | g;\n\t\treturn mod & o || mod & g && gid === myGid || mod & u && uid === myUid || mod & ug && myUid === 0;\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js\nvar require_isexe = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\t__require(\"fs\");\n\tvar core;\n\tif (process.platform === \"win32\" || global.TESTING_WINDOWS) core = require_windows();\n\telse core = require_mode();\n\tmodule.exports = isexe;\n\tisexe.sync = sync;\n\tfunction isexe(path, options, cb) {\n\t\tif (typeof options === \"function\") {\n\t\t\tcb = options;\n\t\t\toptions = {};\n\t\t}\n\t\tif (!cb) {\n\t\t\tif (typeof Promise !== \"function\") throw new TypeError(\"callback not provided\");\n\t\t\treturn new Promise(function(resolve, reject) {\n\t\t\t\tisexe(path, options || {}, function(er, is) {\n\t\t\t\t\tif (er) reject(er);\n\t\t\t\t\telse resolve(is);\n\t\t\t\t});\n\t\t\t});\n\t\t}\n\t\tcore(path, options || {}, function(er, is) {\n\t\t\tif (er) {\n\t\t\t\tif (er.code === \"EACCES\" || options && options.ignoreErrors) {\n\t\t\t\t\ter = null;\n\t\t\t\t\tis = false;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcb(er, is);\n\t\t});\n\t}\n\tfunction sync(path, options) {\n\t\ttry {\n\t\t\treturn core.sync(path, options || {});\n\t\t} catch (er) {\n\t\t\tif (options && options.ignoreErrors || er.code === \"EACCES\") return false;\n\t\t\telse throw er;\n\t\t}\n\t}\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/which@2.0.2/node_modules/which/which.js\nvar require_which = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst isWindows = process.platform === \"win32\" || process.env.OSTYPE === \"cygwin\" || process.env.OSTYPE === \"msys\";\n\tconst path$2 = __require(\"path\");\n\tconst COLON = isWindows ? \";\" : \":\";\n\tconst isexe = require_isexe();\n\tconst getNotFoundError = (cmd) => Object.assign(/* @__PURE__ */ new Error(`not found: ${cmd}`), { code: \"ENOENT\" });\n\tconst getPathInfo = (cmd, opt) => {\n\t\tconst colon = opt.colon || COLON;\n\t\tconst pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? [\"\"] : [...isWindows ? [process.cwd()] : [], ...(opt.path || process.env.PATH || \"\").split(colon)];\n\t\tconst pathExtExe = isWindows ? opt.pathExt || process.env.PATHEXT || \".EXE;.CMD;.BAT;.COM\" : \"\";\n\t\tconst pathExt = isWindows ? pathExtExe.split(colon) : [\"\"];\n\t\tif (isWindows) {\n\t\t\tif (cmd.indexOf(\".\") !== -1 && pathExt[0] !== \"\") pathExt.unshift(\"\");\n\t\t}\n\t\treturn {\n\t\t\tpathEnv,\n\t\t\tpathExt,\n\t\t\tpathExtExe\n\t\t};\n\t};\n\tconst which = (cmd, opt, cb) => {\n\t\tif (typeof opt === \"function\") {\n\t\t\tcb = opt;\n\t\t\topt = {};\n\t\t}\n\t\tif (!opt) opt = {};\n\t\tconst { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);\n\t\tconst found = [];\n\t\tconst step = (i) => new Promise((resolve, reject) => {\n\t\t\tif (i === pathEnv.length) return opt.all && found.length ? resolve(found) : reject(getNotFoundError(cmd));\n\t\t\tconst ppRaw = pathEnv[i];\n\t\t\tconst pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n\t\t\tconst pCmd = path$2.join(pathPart, cmd);\n\t\t\tresolve(subStep(!pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd, i, 0));\n\t\t});\n\t\tconst subStep = (p, i, ii) => new Promise((resolve, reject) => {\n\t\t\tif (ii === pathExt.length) return resolve(step(i + 1));\n\t\t\tconst ext = pathExt[ii];\n\t\t\tisexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n\t\t\t\tif (!er && is) if (opt.all) found.push(p + ext);\n\t\t\t\telse return resolve(p + ext);\n\t\t\t\treturn resolve(subStep(p, i, ii + 1));\n\t\t\t});\n\t\t});\n\t\treturn cb ? step(0).then((res) => cb(null, res), cb) : step(0);\n\t};\n\tconst whichSync = (cmd, opt) => {\n\t\topt = opt || {};\n\t\tconst { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt);\n\t\tconst found = [];\n\t\tfor (let i = 0; i < pathEnv.length; i++) {\n\t\t\tconst ppRaw = pathEnv[i];\n\t\t\tconst pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw;\n\t\t\tconst pCmd = path$2.join(pathPart, cmd);\n\t\t\tconst p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd : pCmd;\n\t\t\tfor (let j = 0; j < pathExt.length; j++) {\n\t\t\t\tconst cur = p + pathExt[j];\n\t\t\t\ttry {\n\t\t\t\t\tif (isexe.sync(cur, { pathExt: pathExtExe })) if (opt.all) found.push(cur);\n\t\t\t\t\telse return cur;\n\t\t\t\t} catch (ex) {}\n\t\t\t}\n\t\t}\n\t\tif (opt.all && found.length) return found;\n\t\tif (opt.nothrow) return null;\n\t\tthrow getNotFoundError(cmd);\n\t};\n\tmodule.exports = which;\n\twhich.sync = whichSync;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js\nvar require_path_key = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst pathKey = (options = {}) => {\n\t\tconst environment = options.env || process.env;\n\t\tif ((options.platform || process.platform) !== \"win32\") return \"PATH\";\n\t\treturn Object.keys(environment).reverse().find((key) => key.toUpperCase() === \"PATH\") || \"Path\";\n\t};\n\tmodule.exports = pathKey;\n\tmodule.exports.default = pathKey;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/resolveCommand.js\nvar require_resolveCommand = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst path$1 = __require(\"path\");\n\tconst which = require_which();\n\tconst getPathKey = require_path_key();\n\tfunction resolveCommandAttempt(parsed, withoutPathExt) {\n\t\tconst env = parsed.options.env || process.env;\n\t\tconst cwd = process.cwd();\n\t\tconst hasCustomCwd = parsed.options.cwd != null;\n\t\tconst shouldSwitchCwd = hasCustomCwd && process.chdir !== void 0 && !process.chdir.disabled;\n\t\tif (shouldSwitchCwd) try {\n\t\t\tprocess.chdir(parsed.options.cwd);\n\t\t} catch (err) {}\n\t\tlet resolved;\n\t\ttry {\n\t\t\tresolved = which.sync(parsed.command, {\n\t\t\t\tpath: env[getPathKey({ env })],\n\t\t\t\tpathExt: withoutPathExt ? path$1.delimiter : void 0\n\t\t\t});\n\t\t} catch (e) {} finally {\n\t\t\tif (shouldSwitchCwd) process.chdir(cwd);\n\t\t}\n\t\tif (resolved) resolved = path$1.resolve(hasCustomCwd ? parsed.options.cwd : \"\", resolved);\n\t\treturn resolved;\n\t}\n\tfunction resolveCommand(parsed) {\n\t\treturn resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n\t}\n\tmodule.exports = resolveCommand;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/escape.js\nvar require_escape = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\tfunction escapeCommand(arg) {\n\t\targ = arg.replace(metaCharsRegExp, \"^$1\");\n\t\treturn arg;\n\t}\n\tfunction escapeArgument(arg, doubleEscapeMetaChars) {\n\t\targ = `${arg}`;\n\t\targ = arg.replace(/(?=(\\\\+?)?)\\1\"/g, \"$1$1\\\\\\\"\");\n\t\targ = arg.replace(/(?=(\\\\+?)?)\\1$/, \"$1$1\");\n\t\targ = `\"${arg}\"`;\n\t\targ = arg.replace(metaCharsRegExp, \"^$1\");\n\t\tif (doubleEscapeMetaChars) arg = arg.replace(metaCharsRegExp, \"^$1\");\n\t\treturn arg;\n\t}\n\tmodule.exports.command = escapeCommand;\n\tmodule.exports.argument = escapeArgument;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js\nvar require_shebang_regex = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tmodule.exports = /^#!(.*)/;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js\nvar require_shebang_command = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst shebangRegex = require_shebang_regex();\n\tmodule.exports = (string = \"\") => {\n\t\tconst match = string.match(shebangRegex);\n\t\tif (!match) return null;\n\t\tconst [path, argument] = match[0].replace(/#! ?/, \"\").split(\" \");\n\t\tconst binary = path.split(\"/\").pop();\n\t\tif (binary === \"env\") return argument;\n\t\treturn argument ? `${binary} ${argument}` : binary;\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/util/readShebang.js\nvar require_readShebang = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst fs = __require(\"fs\");\n\tconst shebangCommand = require_shebang_command();\n\tfunction readShebang(command) {\n\t\tconst size = 150;\n\t\tconst buffer = Buffer.alloc(size);\n\t\tlet fd;\n\t\ttry {\n\t\t\tfd = fs.openSync(command, \"r\");\n\t\t\tfs.readSync(fd, buffer, 0, size, 0);\n\t\t\tfs.closeSync(fd);\n\t\t} catch (e) {}\n\t\treturn shebangCommand(buffer.toString());\n\t}\n\tmodule.exports = readShebang;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/parse.js\nvar require_parse = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst path = __require(\"path\");\n\tconst resolveCommand = require_resolveCommand();\n\tconst escape = require_escape();\n\tconst readShebang = require_readShebang();\n\tconst isWin = process.platform === \"win32\";\n\tconst isExecutableRegExp = /\\.(?:com|exe)$/i;\n\tconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\tfunction detectShebang(parsed) {\n\t\tparsed.file = resolveCommand(parsed);\n\t\tconst shebang = parsed.file && readShebang(parsed.file);\n\t\tif (shebang) {\n\t\t\tparsed.args.unshift(parsed.file);\n\t\t\tparsed.command = shebang;\n\t\t\treturn resolveCommand(parsed);\n\t\t}\n\t\treturn parsed.file;\n\t}\n\tfunction parseNonShell(parsed) {\n\t\tif (!isWin) return parsed;\n\t\tconst commandFile = detectShebang(parsed);\n\t\tconst needsShell = !isExecutableRegExp.test(commandFile);\n\t\tif (parsed.options.forceShell || needsShell) {\n\t\t\tconst needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\t\t\tparsed.command = path.normalize(parsed.command);\n\t\t\tparsed.command = escape.command(parsed.command);\n\t\t\tparsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\t\t\tparsed.args = [\n\t\t\t\t\"/d\",\n\t\t\t\t\"/s\",\n\t\t\t\t\"/c\",\n\t\t\t\t`\"${[parsed.command].concat(parsed.args).join(\" \")}\"`\n\t\t\t];\n\t\t\tparsed.command = process.env.comspec || \"cmd.exe\";\n\t\t\tparsed.options.windowsVerbatimArguments = true;\n\t\t}\n\t\treturn parsed;\n\t}\n\tfunction parse(command, args, options) {\n\t\tif (args && !Array.isArray(args)) {\n\t\t\toptions = args;\n\t\t\targs = null;\n\t\t}\n\t\targs = args ? args.slice(0) : [];\n\t\toptions = Object.assign({}, options);\n\t\tconst parsed = {\n\t\t\tcommand,\n\t\t\targs,\n\t\t\toptions,\n\t\t\tfile: void 0,\n\t\t\toriginal: {\n\t\t\t\tcommand,\n\t\t\t\targs\n\t\t\t}\n\t\t};\n\t\treturn options.shell ? parsed : parseNonShell(parsed);\n\t}\n\tmodule.exports = parse;\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/cross-spawn@7.0.6/node_modules/cross-spawn/lib/enoent.js\nvar require_enoent = /* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst isWin = process.platform === \"win32\";\n\tfunction notFoundError(original, syscall) {\n\t\treturn Object.assign(/* @__PURE__ */ new Error(`${syscall} ${original.command} ENOENT`), {\n\t\t\tcode: \"ENOENT\",\n\t\t\terrno: \"ENOENT\",\n\t\t\tsyscall: `${syscall} ${original.command}`,\n\t\t\tpath: original.command,\n\t\t\tspawnargs: original.args\n\t\t});\n\t}\n\tfunction hookChildProcess(cp, parsed) {\n\t\tif (!isWin) return;\n\t\tconst originalEmit = cp.emit;\n\t\tcp.emit = function(name, arg1) {\n\t\t\tif (name === \"exit\") {\n\t\t\t\tconst err = verifyENOENT(arg1, parsed);\n\t\t\t\tif (err) return originalEmit.call(cp, \"error\", err);\n\t\t\t}\n\t\t\treturn originalEmit.apply(cp, arguments);\n\t\t};\n\t}\n\tfunction verifyENOENT(status, parsed) {\n\t\tif (isWin && status === 1 && !parsed.file) return notFoundError(parsed.original, \"spawn\");\n\t\treturn null;\n\t}\n\tfunction verifyENOENTSync(status, parsed) {\n\t\tif (isWin && status === 1 && !parsed.file) return notFoundError(parsed.original, \"spawnSync\");\n\t\treturn null;\n\t}\n\tmodule.exports = {\n\t\thookChildProcess,\n\t\tverifyENOENT,\n\t\tverifyENOENTSync,\n\t\tnotFoundError\n\t};\n}));\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/shared/stdio.js\nvar import_cross_spawn = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {\n\tconst cp = __require(\"child_process\");\n\tconst parse = require_parse();\n\tconst enoent = require_enoent();\n\tfunction spawn(command, args, options) {\n\t\tconst parsed = parse(command, args, options);\n\t\tconst spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\t\tenoent.hookChildProcess(spawned, parsed);\n\t\treturn spawned;\n\t}\n\tfunction spawnSync(command, args, options) {\n\t\tconst parsed = parse(command, args, options);\n\t\tconst result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\t\tresult.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\t\treturn result;\n\t}\n\tmodule.exports = spawn;\n\tmodule.exports.spawn = spawn;\n\tmodule.exports.sync = spawnSync;\n\tmodule.exports._parse = parse;\n\tmodule.exports._enoent = enoent;\n})))(), 1);\n/**\n* Buffers a continuous stdio stream into discrete JSON-RPC messages.\n*/\nvar ReadBuffer = class {\n\tappend(chunk) {\n\t\tthis._buffer = this._buffer ? Buffer.concat([this._buffer, chunk]) : chunk;\n\t}\n\treadMessage() {\n\t\tif (!this._buffer) return null;\n\t\tconst index = this._buffer.indexOf(\"\\n\");\n\t\tif (index === -1) return null;\n\t\tconst line = this._buffer.toString(\"utf8\", 0, index).replace(/\\r$/, \"\");\n\t\tthis._buffer = this._buffer.subarray(index + 1);\n\t\treturn deserializeMessage(line);\n\t}\n\tclear() {\n\t\tthis._buffer = void 0;\n\t}\n};\nfunction deserializeMessage(line) {\n\treturn JSONRPCMessageSchema.parse(JSON.parse(line));\n}\nfunction serializeMessage(message) {\n\treturn JSON.stringify(message) + \"\\n\";\n}\n//#endregion\n//#region ../../node_modules/.pnpm/@modelcontextprotocol+sdk@1.29.0_zod@4.4.3/node_modules/@modelcontextprotocol/sdk/dist/esm/client/stdio.js\n/**\n* Environment variables to inherit by default, if an environment is not explicitly given.\n*/\nconst DEFAULT_INHERITED_ENV_VARS = process$1.platform === \"win32\" ? [\n\t\"APPDATA\",\n\t\"HOMEDRIVE\",\n\t\"HOMEPATH\",\n\t\"LOCALAPPDATA\",\n\t\"PATH\",\n\t\"PROCESSOR_ARCHITECTURE\",\n\t\"SYSTEMDRIVE\",\n\t\"SYSTEMROOT\",\n\t\"TEMP\",\n\t\"USERNAME\",\n\t\"USERPROFILE\",\n\t\"PROGRAMFILES\"\n] : [\n\t\"HOME\",\n\t\"LOGNAME\",\n\t\"PATH\",\n\t\"SHELL\",\n\t\"TERM\",\n\t\"USER\"\n];\n/**\n* Returns a default environment object including only environment variables deemed safe to inherit.\n*/\nfunction getDefaultEnvironment() {\n\tconst env = {};\n\tfor (const key of DEFAULT_INHERITED_ENV_VARS) {\n\t\tconst value = process$1.env[key];\n\t\tif (value === void 0) continue;\n\t\tif (value.startsWith(\"()\")) continue;\n\t\tenv[key] = value;\n\t}\n\treturn env;\n}\n/**\n* Client transport for stdio: this will connect to a server by spawning a process and communicating with it over stdin/stdout.\n*\n* This transport is only available in Node.js environments.\n*/\nvar StdioClientTransport = class {\n\tconstructor(server) {\n\t\tthis._readBuffer = new ReadBuffer();\n\t\tthis._stderrStream = null;\n\t\tthis._serverParams = server;\n\t\tif (server.stderr === \"pipe\" || server.stderr === \"overlapped\") this._stderrStream = new PassThrough();\n\t}\n\t/**\n\t* Starts the server process and prepares to communicate with it.\n\t*/\n\tasync start() {\n\t\tif (this._process) throw new Error(\"StdioClientTransport already started! If using Client class, note that connect() calls start() automatically.\");\n\t\treturn new Promise((resolve, reject) => {\n\t\t\tthis._process = (0, import_cross_spawn.default)(this._serverParams.command, this._serverParams.args ?? [], {\n\t\t\t\tenv: {\n\t\t\t\t\t...getDefaultEnvironment(),\n\t\t\t\t\t...this._serverParams.env\n\t\t\t\t},\n\t\t\t\tstdio: [\n\t\t\t\t\t\"pipe\",\n\t\t\t\t\t\"pipe\",\n\t\t\t\t\tthis._serverParams.stderr ?? \"inherit\"\n\t\t\t\t],\n\t\t\t\tshell: false,\n\t\t\t\twindowsHide: process$1.platform === \"win32\",\n\t\t\t\tcwd: this._serverParams.cwd\n\t\t\t});\n\t\t\tthis._process.on(\"error\", (error) => {\n\t\t\t\treject(error);\n\t\t\t\tthis.onerror?.(error);\n\t\t\t});\n\t\t\tthis._process.on(\"spawn\", () => {\n\t\t\t\tresolve();\n\t\t\t});\n\t\t\tthis._process.on(\"close\", (_code) => {\n\t\t\t\tthis._process = void 0;\n\t\t\t\tthis.onclose?.();\n\t\t\t});\n\t\t\tthis._process.stdin?.on(\"error\", (error) => {\n\t\t\t\tthis.onerror?.(error);\n\t\t\t});\n\t\t\tthis._process.stdout?.on(\"data\", (chunk) => {\n\t\t\t\tthis._readBuffer.append(chunk);\n\t\t\t\tthis.processReadBuffer();\n\t\t\t});\n\t\t\tthis._process.stdout?.on(\"error\", (error) => {\n\t\t\t\tthis.onerror?.(error);\n\t\t\t});\n\t\t\tif (this._stderrStream && this._process.stderr) this._process.stderr.pipe(this._stderrStream);\n\t\t});\n\t}\n\t/**\n\t* The stderr stream of the child process, if `StdioServerParameters.stderr` was set to \"pipe\" or \"overlapped\".\n\t*\n\t* If stderr piping was requested, a PassThrough stream is returned _immediately_, allowing callers to\n\t* attach listeners before the start method is invoked. This prevents loss of any early\n\t* error output emitted by the child process.\n\t*/\n\tget stderr() {\n\t\tif (this._stderrStream) return this._stderrStream;\n\t\treturn this._process?.stderr ?? null;\n\t}\n\t/**\n\t* The child process pid spawned by this transport.\n\t*\n\t* This is only available after the transport has been started.\n\t*/\n\tget pid() {\n\t\treturn this._process?.pid ?? null;\n\t}\n\tprocessReadBuffer() {\n\t\twhile (true) try {\n\t\t\tconst message = this._readBuffer.readMessage();\n\t\t\tif (message === null) break;\n\t\t\tthis.onmessage?.(message);\n\t\t} catch (error) {\n\t\t\tthis.onerror?.(error);\n\t\t}\n\t}\n\tasync close() {\n\t\tif (this._process) {\n\t\t\tconst processToClose = this._process;\n\t\t\tthis._process = void 0;\n\t\t\tconst closePromise = new Promise((resolve) => {\n\t\t\t\tprocessToClose.once(\"close\", () => {\n\t\t\t\t\tresolve();\n\t\t\t\t});\n\t\t\t});\n\t\t\ttry {\n\t\t\t\tprocessToClose.stdin?.end();\n\t\t\t} catch {}\n\t\t\tawait Promise.race([closePromise, new Promise((resolve) => setTimeout(resolve, 2e3).unref())]);\n\t\t\tif (processToClose.exitCode === null) {\n\t\t\t\ttry {\n\t\t\t\t\tprocessToClose.kill(\"SIGTERM\");\n\t\t\t\t} catch {}\n\t\t\t\tawait Promise.race([closePromise, new Promise((resolve) => setTimeout(resolve, 2e3).unref())]);\n\t\t\t}\n\t\t\tif (processToClose.exitCode === null) try {\n\t\t\t\tprocessToClose.kill(\"SIGKILL\");\n\t\t\t} catch {}\n\t\t}\n\t\tthis._readBuffer.clear();\n\t}\n\tsend(message) {\n\t\treturn new Promise((resolve) => {\n\t\t\tif (!this._process?.stdin) throw new Error(\"Not connected\");\n\t\t\tconst json = serializeMessage(message);\n\t\t\tif (this._process.stdin.write(json)) resolve();\n\t\t\telse this._process.stdin.once(\"drain\", resolve);\n\t\t});\n\t}\n};\n//#endregion\n//#region ../mcp/dist/index.mjs\nconst MCP = Symbol.for(\"keystroke.mcp\");\nfunction defineMcp(def) {\n\tconst key = def.key?.trim();\n\tif (!key) throw new Error(\"defineMcp requires key (e.g. defineMcp({ key: \\\"exa\\\", ... }))\");\n\tif (def.credentials?.length && !def.auth) throw new Error(`defineMcp(\"${key}\") declares credentials but no auth mapper`);\n\treturn {\n\t\t...def,\n\t\tkey,\n\t\t[MCP]: true\n\t};\n}\nfunction isMcp(value) {\n\treturn typeof value === \"object\" && value !== null && MCP in value && value[MCP] === true;\n}\nfunction formatMcpResult(result) {\n\tconst parts = [];\n\tif (result.structuredContent !== void 0) parts.push(`Structured content:\\n${JSON.stringify(result.structuredContent, null, 2)}`);\n\tfor (const item of result.content ?? []) {\n\t\tif (item.type === \"text\") {\n\t\t\tparts.push(item.text);\n\t\t\tcontinue;\n\t\t}\n\t\tif (item.type === \"image\") {\n\t\t\tparts.push(`[Image: ${item.mimeType}, ${item.data.length} base64 chars]`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (item.type === \"audio\") {\n\t\t\tparts.push(`[Audio: ${item.mimeType}, ${item.data.length} base64 chars]`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (item.type === \"resource\") {\n\t\t\tconst resource = item.resource;\n\t\t\tif (\"text\" in resource) parts.push(`[Resource: ${resource.uri}]\\n${resource.text}`);\n\t\t\telse parts.push(`[Resource: ${resource.uri}, ${resource.blob.length} base64 chars]`);\n\t\t\tcontinue;\n\t\t}\n\t\tif (item.type === \"resource_link\") {\n\t\t\tconst description = item.description ? ` - ${item.description}` : \"\";\n\t\t\tparts.push(`[Resource link: ${item.name} (${item.uri})${description}]`);\n\t\t\tcontinue;\n\t\t}\n\t\tparts.push(JSON.stringify(item));\n\t}\n\tif (parts.length === 0 && \"toolResult\" in result) parts.push(JSON.stringify(result.toolResult, null, 2));\n\treturn parts.filter(Boolean).join(\"\\n\\n\") || \"(MCP tool returned no content)\";\n}\nfunction createToolName(serverName, toolName) {\n\treturn `mcp__${sanitizeToolNamePart(serverName)}__${sanitizeToolNamePart(toolName)}`;\n}\nfunction sanitizeToolNamePart(value) {\n\treturn value.replace(/[^A-Za-z0-9_-]/g, \"_\").replace(/^_+|_+$/g, \"\") || \"unnamed\";\n}\nfunction normalizeInputSchema(schema) {\n\treturn {\n\t\t...schema,\n\t\ttype: schema.type ?? \"object\",\n\t\tproperties: schema.properties ?? {},\n\t\t...schema.required !== void 0 ? { required: schema.required } : {}\n\t};\n}\nfunction createToolDescription$1(serverName, tool) {\n\tconst originalName = tool.name;\n\tconst title = tool.title ?? tool.annotations?.title;\n\tconst parts = [`MCP tool \"${originalName}\" from server \"${serverName}\".`];\n\tif (title && title !== originalName) parts.push(`Title: ${title}.`);\n\tif (tool.description) parts.push(tool.description);\n\treturn parts.join(\" \");\n}\nfunction mcpToolsToAgentTools(serverName, client, tools) {\n\tconst names = /* @__PURE__ */ new Set();\n\treturn tools.map((tool) => {\n\t\tconst toolName = createToolName(serverName, tool.name);\n\t\tif (names.has(toolName)) throw new Error(`MCP tools from server \"${serverName}\" produced duplicate tool name \"${toolName}\".`);\n\t\tnames.add(toolName);\n\t\treturn {\n\t\t\tname: toolName,\n\t\t\tlabel: tool.title ?? tool.name,\n\t\t\tdescription: createToolDescription$1(serverName, tool),\n\t\t\tparameters: normalizeInputSchema(tool.inputSchema),\n\t\t\tasync execute(_toolCallId, args, signal) {\n\t\t\t\tif (signal?.aborted) throw new Error(\"Operation aborted\");\n\t\t\t\tconst result = await client.callTool({\n\t\t\t\t\tname: tool.name,\n\t\t\t\t\targuments: args\n\t\t\t\t}, void 0, { signal });\n\t\t\t\tconst formatted = formatMcpResult(result);\n\t\t\t\tif (result.isError) throw new Error(formatted);\n\t\t\t\treturn {\n\t\t\t\t\tcontent: [{\n\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\ttext: formatted\n\t\t\t\t\t}],\n\t\t\t\t\tdetails: {}\n\t\t\t\t};\n\t\t\t}\n\t\t};\n\t});\n}\nfunction createMcpConnection(name, tools, close) {\n\tconst toolByName = new Map(tools.map((tool) => [tool.name, tool]));\n\treturn {\n\t\tname,\n\t\ttools,\n\t\tasync callTool(toolName, args, options) {\n\t\t\tconst agentName = toolName.startsWith(\"mcp__\") ? toolName : createToolName(name, toolName);\n\t\t\tconst tool = toolByName.get(agentName);\n\t\t\tif (!tool) throw new Error(`MCP tool \"${toolName}\" not found on server \"${name}\"`);\n\t\t\treturn tool.execute(randomUUID(), args, options?.signal);\n\t\t},\n\t\tclose\n\t};\n}\nasync function connectMcpServer(name, options) {\n\tconst url = options.url instanceof URL ? options.url : new URL(options.url);\n\tconst requestInit = mergeRequestInit(options.requestInit, options.headers);\n\tconst transport = await createTransport(url, options.transport ?? \"streamable-http\", requestInit, options.fetch);\n\tconst client = new Client({\n\t\tname: options.clientName ?? \"keystroke\",\n\t\tversion: options.clientVersion ?? \"0.0.0\"\n\t});\n\ttry {\n\t\tawait client.connect(transport);\n\t\tconst { tools } = await client.listTools();\n\t\treturn createMcpConnection(name, mcpToolsToAgentTools(name, client, tools), () => client.close());\n\t} catch (error) {\n\t\tawait client.close().catch(() => void 0);\n\t\tthrow error;\n\t}\n}\nasync function createTransport(url, transport, requestInit, fetchImpl) {\n\tif (transport === \"sse\") {\n\t\tconst { SSEClientTransport } = await import(\"./sse-CHTxH40f.mjs\");\n\t\treturn new SSEClientTransport(url, {\n\t\t\trequestInit,\n\t\t\tfetch: fetchImpl\n\t\t});\n\t}\n\treturn new StreamableHTTPClientTransport(url, {\n\t\trequestInit,\n\t\tfetch: fetchImpl\n\t});\n}\nfunction mergeRequestInit(requestInit, headers) {\n\tif (!headers) return requestInit ?? {};\n\tconst mergedHeaders = new Headers(requestInit?.headers);\n\tfor (const [key, value] of Object.entries(headers)) mergedHeaders.set(key, value);\n\treturn {\n\t\t...requestInit,\n\t\theaders: mergedHeaders\n\t};\n}\nasync function connectMcpStdio(name, options) {\n\tconst transport = new StdioClientTransport({\n\t\tcommand: options.command,\n\t\targs: options.args,\n\t\tenv: options.env,\n\t\tcwd: options.cwd,\n\t\tstderr: options.stderr\n\t});\n\tconst client = new Client({\n\t\tname: options.clientName ?? \"keystroke\",\n\t\tversion: options.clientVersion ?? \"0.0.0\"\n\t});\n\ttry {\n\t\tawait client.connect(transport);\n\t\tconst { tools } = await client.listTools();\n\t\treturn createMcpConnection(name, mcpToolsToAgentTools(name, client, tools), async () => {\n\t\t\tawait transport.close();\n\t\t\tawait client.close();\n\t\t});\n\t} catch (error) {\n\t\tawait transport.close().catch(() => void 0);\n\t\tawait client.close().catch(() => void 0);\n\t\tthrow error;\n\t}\n}\nasync function connectMcpDefinition(def, auth) {\n\tconst common = {\n\t\tclientName: def.clientName,\n\t\tclientVersion: def.clientVersion\n\t};\n\tif (def.transport.type === \"http\") return connectMcpServer(def.key, {\n\t\turl: applyAuthSearchParams(def.transport.url, auth?.searchParams),\n\t\ttransport: def.transport.transport,\n\t\theaders: auth?.headers,\n\t\trequestInit: def.requestInit,\n\t\tfetch: def.fetch,\n\t\t...common\n\t});\n\treturn connectMcpStdio(def.key, {\n\t\tcommand: def.transport.command,\n\t\targs: def.transport.args,\n\t\tcwd: def.transport.cwd,\n\t\tstderr: def.transport.stderr,\n\t\tenv: auth?.env,\n\t\t...common\n\t});\n}\nfunction applyAuthSearchParams(url, searchParams) {\n\tif (!searchParams) return url;\n\tconst resolved = url instanceof URL ? new URL(url) : new URL(url);\n\tfor (const [key, value] of Object.entries(searchParams)) resolved.searchParams.set(key, value);\n\treturn resolved;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/entity.js\nconst entityKind = Symbol.for(\"drizzle:entityKind\");\nfunction is(value, type) {\n\tif (!value || typeof value !== \"object\") return false;\n\tif (value instanceof type) return true;\n\tif (!Object.prototype.hasOwnProperty.call(type, entityKind)) throw new Error(`Class \"${type.name ?? \"<unknown>\"}\" doesn't look like a Drizzle entity. If this is incorrect and the class is provided by Drizzle, please report this as a bug.`);\n\tlet cls = Object.getPrototypeOf(value).constructor;\n\tif (cls) while (cls) {\n\t\tif (entityKind in cls && cls[entityKind] === type[entityKind]) return true;\n\t\tcls = Object.getPrototypeOf(cls);\n\t}\n\treturn false;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/column.js\nvar Column = class {\n\tconstructor(table, config) {\n\t\tthis.table = table;\n\t\tthis.config = config;\n\t\tthis.name = config.name;\n\t\tthis.keyAsName = config.keyAsName;\n\t\tthis.notNull = config.notNull;\n\t\tthis.default = config.default;\n\t\tthis.defaultFn = config.defaultFn;\n\t\tthis.onUpdateFn = config.onUpdateFn;\n\t\tthis.hasDefault = config.hasDefault;\n\t\tthis.primary = config.primaryKey;\n\t\tthis.isUnique = config.isUnique;\n\t\tthis.uniqueName = config.uniqueName;\n\t\tthis.uniqueType = config.uniqueType;\n\t\tthis.dataType = config.dataType;\n\t\tthis.columnType = config.columnType;\n\t\tthis.generated = config.generated;\n\t\tthis.generatedIdentity = config.generatedIdentity;\n\t}\n\tstatic [entityKind] = \"Column\";\n\tname;\n\tkeyAsName;\n\tprimary;\n\tnotNull;\n\tdefault;\n\tdefaultFn;\n\tonUpdateFn;\n\thasDefault;\n\tisUnique;\n\tuniqueName;\n\tuniqueType;\n\tdataType;\n\tcolumnType;\n\tenumValues = void 0;\n\tgenerated = void 0;\n\tgeneratedIdentity = void 0;\n\tconfig;\n\tmapFromDriverValue(value) {\n\t\treturn value;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn value;\n\t}\n\tshouldDisableInsert() {\n\t\treturn this.config.generated !== void 0 && this.config.generated.type !== \"byDefault\";\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/column-builder.js\nvar ColumnBuilder = class {\n\tstatic [entityKind] = \"ColumnBuilder\";\n\tconfig;\n\tconstructor(name, dataType, columnType) {\n\t\tthis.config = {\n\t\t\tname,\n\t\t\tkeyAsName: name === \"\",\n\t\t\tnotNull: false,\n\t\t\tdefault: void 0,\n\t\t\thasDefault: false,\n\t\t\tprimaryKey: false,\n\t\t\tisUnique: false,\n\t\t\tuniqueName: void 0,\n\t\t\tuniqueType: void 0,\n\t\t\tdataType,\n\t\t\tcolumnType,\n\t\t\tgenerated: void 0\n\t\t};\n\t}\n\t/**\n\t* Changes the data type of the column. Commonly used with `json` columns. Also, useful for branded types.\n\t*\n\t* @example\n\t* ```ts\n\t* const users = pgTable('users', {\n\t* \tid: integer('id').$type<UserId>().primaryKey(),\n\t* \tdetails: json('details').$type<UserDetails>().notNull(),\n\t* });\n\t* ```\n\t*/\n\t$type() {\n\t\treturn this;\n\t}\n\t/**\n\t* Adds a `not null` clause to the column definition.\n\t*\n\t* Affects the `select` model of the table - columns *without* `not null` will be nullable on select.\n\t*/\n\tnotNull() {\n\t\tthis.config.notNull = true;\n\t\treturn this;\n\t}\n\t/**\n\t* Adds a `default <value>` clause to the column definition.\n\t*\n\t* Affects the `insert` model of the table - columns *with* `default` are optional on insert.\n\t*\n\t* If you need to set a dynamic default value, use {@link $defaultFn} instead.\n\t*/\n\tdefault(value) {\n\t\tthis.config.default = value;\n\t\tthis.config.hasDefault = true;\n\t\treturn this;\n\t}\n\t/**\n\t* Adds a dynamic default value to the column.\n\t* The function will be called when the row is inserted, and the returned value will be used as the column value.\n\t*\n\t* **Note:** This value does not affect the `drizzle-kit` behavior, it is only used at runtime in `drizzle-orm`.\n\t*/\n\t$defaultFn(fn) {\n\t\tthis.config.defaultFn = fn;\n\t\tthis.config.hasDefault = true;\n\t\treturn this;\n\t}\n\t/**\n\t* Alias for {@link $defaultFn}.\n\t*/\n\t$default = this.$defaultFn;\n\t/**\n\t* Adds a dynamic update value to the column.\n\t* The function will be called when the row is updated, and the returned value will be used as the column value if none is provided.\n\t* If no `default` (or `$defaultFn`) value is provided, the function will be called when the row is inserted as well, and the returned value will be used as the column value.\n\t*\n\t* **Note:** This value does not affect the `drizzle-kit` behavior, it is only used at runtime in `drizzle-orm`.\n\t*/\n\t$onUpdateFn(fn) {\n\t\tthis.config.onUpdateFn = fn;\n\t\tthis.config.hasDefault = true;\n\t\treturn this;\n\t}\n\t/**\n\t* Alias for {@link $onUpdateFn}.\n\t*/\n\t$onUpdate = this.$onUpdateFn;\n\t/**\n\t* Adds a `primary key` clause to the column definition. This implicitly makes the column `not null`.\n\t*\n\t* In SQLite, `integer primary key` implicitly makes the column auto-incrementing.\n\t*/\n\tprimaryKey() {\n\t\tthis.config.primaryKey = true;\n\t\tthis.config.notNull = true;\n\t\treturn this;\n\t}\n\t/** @internal Sets the name of the column to the key within the table definition if a name was not given. */\n\tsetName(name) {\n\t\tif (this.config.name !== \"\") return;\n\t\tthis.config.name = name;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/table.utils.js\nconst TableName = Symbol.for(\"drizzle:Name\");\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/foreign-keys.js\nvar ForeignKeyBuilder$1 = class {\n\tstatic [entityKind] = \"PgForeignKeyBuilder\";\n\t/** @internal */\n\treference;\n\t/** @internal */\n\t_onUpdate = \"no action\";\n\t/** @internal */\n\t_onDelete = \"no action\";\n\tconstructor(config, actions) {\n\t\tthis.reference = () => {\n\t\t\tconst { name, columns, foreignColumns } = config();\n\t\t\treturn {\n\t\t\t\tname,\n\t\t\t\tcolumns,\n\t\t\t\tforeignTable: foreignColumns[0].table,\n\t\t\t\tforeignColumns\n\t\t\t};\n\t\t};\n\t\tif (actions) {\n\t\t\tthis._onUpdate = actions.onUpdate;\n\t\t\tthis._onDelete = actions.onDelete;\n\t\t}\n\t}\n\tonUpdate(action) {\n\t\tthis._onUpdate = action === void 0 ? \"no action\" : action;\n\t\treturn this;\n\t}\n\tonDelete(action) {\n\t\tthis._onDelete = action === void 0 ? \"no action\" : action;\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new ForeignKey$1(table, this);\n\t}\n};\nvar ForeignKey$1 = class {\n\tconstructor(table, builder) {\n\t\tthis.table = table;\n\t\tthis.reference = builder.reference;\n\t\tthis.onUpdate = builder._onUpdate;\n\t\tthis.onDelete = builder._onDelete;\n\t}\n\tstatic [entityKind] = \"PgForeignKey\";\n\treference;\n\tonUpdate;\n\tonDelete;\n\tgetName() {\n\t\tconst { name, columns, foreignColumns } = this.reference();\n\t\tconst columnNames = columns.map((column) => column.name);\n\t\tconst foreignColumnNames = foreignColumns.map((column) => column.name);\n\t\tconst chunks = [\n\t\t\tthis.table[TableName],\n\t\t\t...columnNames,\n\t\t\tforeignColumns[0].table[TableName],\n\t\t\t...foreignColumnNames\n\t\t];\n\t\treturn name ?? `${chunks.join(\"_\")}_fk`;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/tracing-utils.js\nfunction iife(fn, ...args) {\n\treturn fn(...args);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/unique-constraint.js\nfunction uniqueKeyName$1(table, columns) {\n\treturn `${table[TableName]}_${columns.join(\"_\")}_unique`;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/utils/array.js\nfunction parsePgArrayValue(arrayString, startFrom, inQuotes) {\n\tfor (let i = startFrom; i < arrayString.length; i++) {\n\t\tconst char = arrayString[i];\n\t\tif (char === \"\\\\\") {\n\t\t\ti++;\n\t\t\tcontinue;\n\t\t}\n\t\tif (char === \"\\\"\") return [arrayString.slice(startFrom, i).replace(/\\\\/g, \"\"), i + 1];\n\t\tif (inQuotes) continue;\n\t\tif (char === \",\" || char === \"}\") return [arrayString.slice(startFrom, i).replace(/\\\\/g, \"\"), i];\n\t}\n\treturn [arrayString.slice(startFrom).replace(/\\\\/g, \"\"), arrayString.length];\n}\nfunction parsePgNestedArray(arrayString, startFrom = 0) {\n\tconst result = [];\n\tlet i = startFrom;\n\tlet lastCharIsComma = false;\n\twhile (i < arrayString.length) {\n\t\tconst char = arrayString[i];\n\t\tif (char === \",\") {\n\t\t\tif (lastCharIsComma || i === startFrom) result.push(\"\");\n\t\t\tlastCharIsComma = true;\n\t\t\ti++;\n\t\t\tcontinue;\n\t\t}\n\t\tlastCharIsComma = false;\n\t\tif (char === \"\\\\\") {\n\t\t\ti += 2;\n\t\t\tcontinue;\n\t\t}\n\t\tif (char === \"\\\"\") {\n\t\t\tconst [value2, startFrom2] = parsePgArrayValue(arrayString, i + 1, true);\n\t\t\tresult.push(value2);\n\t\t\ti = startFrom2;\n\t\t\tcontinue;\n\t\t}\n\t\tif (char === \"}\") return [result, i + 1];\n\t\tif (char === \"{\") {\n\t\t\tconst [value2, startFrom2] = parsePgNestedArray(arrayString, i + 1);\n\t\t\tresult.push(value2);\n\t\t\ti = startFrom2;\n\t\t\tcontinue;\n\t\t}\n\t\tconst [value, newStartFrom] = parsePgArrayValue(arrayString, i, false);\n\t\tresult.push(value);\n\t\ti = newStartFrom;\n\t}\n\treturn [result, i];\n}\nfunction parsePgArray(arrayString) {\n\tconst [result] = parsePgNestedArray(arrayString, 1);\n\treturn result;\n}\nfunction makePgArray(array) {\n\treturn `{${array.map((item) => {\n\t\tif (Array.isArray(item)) return makePgArray(item);\n\t\tif (typeof item === \"string\") return `\"${item.replace(/\\\\/g, \"\\\\\\\\\").replace(/\"/g, \"\\\\\\\"\")}\"`;\n\t\treturn `${item}`;\n\t}).join(\",\")}}`;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/common.js\nvar PgColumnBuilder = class extends ColumnBuilder {\n\tforeignKeyConfigs = [];\n\tstatic [entityKind] = \"PgColumnBuilder\";\n\tarray(size) {\n\t\treturn new PgArrayBuilder(this.config.name, this, size);\n\t}\n\treferences(ref, actions = {}) {\n\t\tthis.foreignKeyConfigs.push({\n\t\t\tref,\n\t\t\tactions\n\t\t});\n\t\treturn this;\n\t}\n\tunique(name, config) {\n\t\tthis.config.isUnique = true;\n\t\tthis.config.uniqueName = name;\n\t\tthis.config.uniqueType = config?.nulls;\n\t\treturn this;\n\t}\n\tgeneratedAlwaysAs(as) {\n\t\tthis.config.generated = {\n\t\t\tas,\n\t\t\ttype: \"always\",\n\t\t\tmode: \"stored\"\n\t\t};\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuildForeignKeys(column, table) {\n\t\treturn this.foreignKeyConfigs.map(({ ref, actions }) => {\n\t\t\treturn iife((ref2, actions2) => {\n\t\t\t\tconst builder = new ForeignKeyBuilder$1(() => {\n\t\t\t\t\tconst foreignColumn = ref2();\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcolumns: [column],\n\t\t\t\t\t\tforeignColumns: [foreignColumn]\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t\tif (actions2.onUpdate) builder.onUpdate(actions2.onUpdate);\n\t\t\t\tif (actions2.onDelete) builder.onDelete(actions2.onDelete);\n\t\t\t\treturn builder.build(table);\n\t\t\t}, ref, actions);\n\t\t});\n\t}\n\t/** @internal */\n\tbuildExtraConfigColumn(table) {\n\t\treturn new ExtraConfigColumn(table, this.config);\n\t}\n};\nvar PgColumn = class extends Column {\n\tconstructor(table, config) {\n\t\tif (!config.uniqueName) config.uniqueName = uniqueKeyName$1(table, [config.name]);\n\t\tsuper(table, config);\n\t\tthis.table = table;\n\t}\n\tstatic [entityKind] = \"PgColumn\";\n};\nvar ExtraConfigColumn = class extends PgColumn {\n\tstatic [entityKind] = \"ExtraConfigColumn\";\n\tgetSQLType() {\n\t\treturn this.getSQLType();\n\t}\n\tindexConfig = {\n\t\torder: this.config.order ?? \"asc\",\n\t\tnulls: this.config.nulls ?? \"last\",\n\t\topClass: this.config.opClass\n\t};\n\tdefaultConfig = {\n\t\torder: \"asc\",\n\t\tnulls: \"last\",\n\t\topClass: void 0\n\t};\n\tasc() {\n\t\tthis.indexConfig.order = \"asc\";\n\t\treturn this;\n\t}\n\tdesc() {\n\t\tthis.indexConfig.order = \"desc\";\n\t\treturn this;\n\t}\n\tnullsFirst() {\n\t\tthis.indexConfig.nulls = \"first\";\n\t\treturn this;\n\t}\n\tnullsLast() {\n\t\tthis.indexConfig.nulls = \"last\";\n\t\treturn this;\n\t}\n\t/**\n\t* ### PostgreSQL documentation quote\n\t*\n\t* > An operator class with optional parameters can be specified for each column of an index.\n\t* The operator class identifies the operators to be used by the index for that column.\n\t* For example, a B-tree index on four-byte integers would use the int4_ops class;\n\t* this operator class includes comparison functions for four-byte integers.\n\t* In practice the default operator class for the column's data type is usually sufficient.\n\t* The main point of having operator classes is that for some data types, there could be more than one meaningful ordering.\n\t* For example, we might want to sort a complex-number data type either by absolute value or by real part.\n\t* We could do this by defining two operator classes for the data type and then selecting the proper class when creating an index.\n\t* More information about operator classes check:\n\t*\n\t* ### Useful links\n\t* https://www.postgresql.org/docs/current/sql-createindex.html\n\t*\n\t* https://www.postgresql.org/docs/current/indexes-opclass.html\n\t*\n\t* https://www.postgresql.org/docs/current/xindex.html\n\t*\n\t* ### Additional types\n\t* If you have the `pg_vector` extension installed in your database, you can use the\n\t* `vector_l2_ops`, `vector_ip_ops`, `vector_cosine_ops`, `vector_l1_ops`, `bit_hamming_ops`, `bit_jaccard_ops`, `halfvec_l2_ops`, `sparsevec_l2_ops` options, which are predefined types.\n\t*\n\t* **You can always specify any string you want in the operator class, in case Drizzle doesn't have it natively in its types**\n\t*\n\t* @param opClass\n\t* @returns\n\t*/\n\top(opClass) {\n\t\tthis.indexConfig.opClass = opClass;\n\t\treturn this;\n\t}\n};\nvar IndexedColumn = class {\n\tstatic [entityKind] = \"IndexedColumn\";\n\tconstructor(name, keyAsName, type, indexConfig) {\n\t\tthis.name = name;\n\t\tthis.keyAsName = keyAsName;\n\t\tthis.type = type;\n\t\tthis.indexConfig = indexConfig;\n\t}\n\tname;\n\tkeyAsName;\n\ttype;\n\tindexConfig;\n};\nvar PgArrayBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgArrayBuilder\";\n\tconstructor(name, baseBuilder, size) {\n\t\tsuper(name, \"array\", \"PgArray\");\n\t\tthis.config.baseBuilder = baseBuilder;\n\t\tthis.config.size = size;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\tconst baseColumn = this.config.baseBuilder.build(table);\n\t\treturn new PgArray(table, this.config, baseColumn);\n\t}\n};\nvar PgArray = class PgArray extends PgColumn {\n\tconstructor(table, config, baseColumn, range) {\n\t\tsuper(table, config);\n\t\tthis.baseColumn = baseColumn;\n\t\tthis.range = range;\n\t\tthis.size = config.size;\n\t}\n\tsize;\n\tstatic [entityKind] = \"PgArray\";\n\tgetSQLType() {\n\t\treturn `${this.baseColumn.getSQLType()}[${typeof this.size === \"number\" ? this.size : \"\"}]`;\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") value = parsePgArray(value);\n\t\treturn value.map((v) => this.baseColumn.mapFromDriverValue(v));\n\t}\n\tmapToDriverValue(value, isNestedArray = false) {\n\t\tconst a = value.map((v) => v === null ? null : is(this.baseColumn, PgArray) ? this.baseColumn.mapToDriverValue(v, true) : this.baseColumn.mapToDriverValue(v));\n\t\tif (isNestedArray) return a;\n\t\treturn makePgArray(a);\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/enum.js\nvar PgEnumObjectColumnBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgEnumObjectColumnBuilder\";\n\tconstructor(name, enumInstance) {\n\t\tsuper(name, \"string\", \"PgEnumObjectColumn\");\n\t\tthis.config.enum = enumInstance;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgEnumObjectColumn(table, this.config);\n\t}\n};\nvar PgEnumObjectColumn = class extends PgColumn {\n\tstatic [entityKind] = \"PgEnumObjectColumn\";\n\tenum;\n\tenumValues = this.config.enum.enumValues;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.enum = config.enum;\n\t}\n\tgetSQLType() {\n\t\treturn this.enum.enumName;\n\t}\n};\nconst isPgEnumSym = Symbol.for(\"drizzle:isPgEnum\");\nfunction isPgEnum(obj) {\n\treturn !!obj && typeof obj === \"function\" && isPgEnumSym in obj && obj[isPgEnumSym] === true;\n}\nvar PgEnumColumnBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgEnumColumnBuilder\";\n\tconstructor(name, enumInstance) {\n\t\tsuper(name, \"string\", \"PgEnumColumn\");\n\t\tthis.config.enum = enumInstance;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgEnumColumn(table, this.config);\n\t}\n};\nvar PgEnumColumn = class extends PgColumn {\n\tstatic [entityKind] = \"PgEnumColumn\";\n\tenum = this.config.enum;\n\tenumValues = this.config.enum.enumValues;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.enum = config.enum;\n\t}\n\tgetSQLType() {\n\t\treturn this.enum.enumName;\n\t}\n};\nfunction pgEnum(enumName, input) {\n\treturn Array.isArray(input) ? pgEnumWithSchema(enumName, [...input], void 0) : pgEnumObjectWithSchema(enumName, input, void 0);\n}\nfunction pgEnumWithSchema(enumName, values, schema) {\n\tconst enumInstance = Object.assign((name) => new PgEnumColumnBuilder(name ?? \"\", enumInstance), {\n\t\tenumName,\n\t\tenumValues: values,\n\t\tschema,\n\t\t[isPgEnumSym]: true\n\t});\n\treturn enumInstance;\n}\nfunction pgEnumObjectWithSchema(enumName, values, schema) {\n\tconst enumInstance = Object.assign((name) => new PgEnumObjectColumnBuilder(name ?? \"\", enumInstance), {\n\t\tenumName,\n\t\tenumValues: Object.values(values),\n\t\tschema,\n\t\t[isPgEnumSym]: true\n\t});\n\treturn enumInstance;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/subquery.js\nvar Subquery = class {\n\tstatic [entityKind] = \"Subquery\";\n\tconstructor(sql, fields, alias, isWith = false, usedTables = []) {\n\t\tthis._ = {\n\t\t\tbrand: \"Subquery\",\n\t\t\tsql,\n\t\t\tselectedFields: fields,\n\t\t\talias,\n\t\t\tisWith,\n\t\t\tusedTables\n\t\t};\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/tracing.js\nconst tracer = { startActiveSpan(name, fn) {\n\treturn fn();\n} };\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/view-common.js\nconst ViewBaseConfig = Symbol.for(\"drizzle:ViewBaseConfig\");\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/table.js\nconst Schema = Symbol.for(\"drizzle:Schema\");\nconst Columns = Symbol.for(\"drizzle:Columns\");\nconst ExtraConfigColumns = Symbol.for(\"drizzle:ExtraConfigColumns\");\nconst OriginalName = Symbol.for(\"drizzle:OriginalName\");\nconst BaseName = Symbol.for(\"drizzle:BaseName\");\nconst IsAlias = Symbol.for(\"drizzle:IsAlias\");\nconst ExtraConfigBuilder = Symbol.for(\"drizzle:ExtraConfigBuilder\");\nconst IsDrizzleTable = Symbol.for(\"drizzle:IsDrizzleTable\");\nvar Table = class {\n\tstatic [entityKind] = \"Table\";\n\t/** @internal */\n\tstatic Symbol = {\n\t\tName: TableName,\n\t\tSchema,\n\t\tOriginalName,\n\t\tColumns,\n\t\tExtraConfigColumns,\n\t\tBaseName,\n\t\tIsAlias,\n\t\tExtraConfigBuilder\n\t};\n\t/**\n\t* @internal\n\t* Can be changed if the table is aliased.\n\t*/\n\t[TableName];\n\t/**\n\t* @internal\n\t* Used to store the original name of the table, before any aliasing.\n\t*/\n\t[OriginalName];\n\t/** @internal */\n\t[Schema];\n\t/** @internal */\n\t[Columns];\n\t/** @internal */\n\t[ExtraConfigColumns];\n\t/**\n\t* @internal\n\t* Used to store the table name before the transformation via the `tableCreator` functions.\n\t*/\n\t[BaseName];\n\t/** @internal */\n\t[IsAlias] = false;\n\t/** @internal */\n\t[IsDrizzleTable] = true;\n\t/** @internal */\n\t[ExtraConfigBuilder] = void 0;\n\tconstructor(name, schema, baseName) {\n\t\tthis[TableName] = this[OriginalName] = name;\n\t\tthis[Schema] = schema;\n\t\tthis[BaseName] = baseName;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sql/sql.js\nfunction isSQLWrapper(value) {\n\treturn value !== null && value !== void 0 && typeof value.getSQL === \"function\";\n}\nfunction mergeQueries(queries) {\n\tconst result = {\n\t\tsql: \"\",\n\t\tparams: []\n\t};\n\tfor (const query of queries) {\n\t\tresult.sql += query.sql;\n\t\tresult.params.push(...query.params);\n\t\tif (query.typings?.length) {\n\t\t\tif (!result.typings) result.typings = [];\n\t\t\tresult.typings.push(...query.typings);\n\t\t}\n\t}\n\treturn result;\n}\nvar StringChunk = class {\n\tstatic [entityKind] = \"StringChunk\";\n\tvalue;\n\tconstructor(value) {\n\t\tthis.value = Array.isArray(value) ? value : [value];\n\t}\n\tgetSQL() {\n\t\treturn new SQL([this]);\n\t}\n};\nvar SQL = class SQL {\n\tconstructor(queryChunks) {\n\t\tthis.queryChunks = queryChunks;\n\t\tfor (const chunk of queryChunks) if (is(chunk, Table)) {\n\t\t\tconst schemaName = chunk[Table.Symbol.Schema];\n\t\t\tthis.usedTables.push(schemaName === void 0 ? chunk[Table.Symbol.Name] : schemaName + \".\" + chunk[Table.Symbol.Name]);\n\t\t}\n\t}\n\tstatic [entityKind] = \"SQL\";\n\t/** @internal */\n\tdecoder = noopDecoder;\n\tshouldInlineParams = false;\n\t/** @internal */\n\tusedTables = [];\n\tappend(query) {\n\t\tthis.queryChunks.push(...query.queryChunks);\n\t\treturn this;\n\t}\n\ttoQuery(config) {\n\t\treturn tracer.startActiveSpan(\"drizzle.buildSQL\", (span) => {\n\t\t\tconst query = this.buildQueryFromSourceParams(this.queryChunks, config);\n\t\t\tspan?.setAttributes({\n\t\t\t\t\"drizzle.query.text\": query.sql,\n\t\t\t\t\"drizzle.query.params\": JSON.stringify(query.params)\n\t\t\t});\n\t\t\treturn query;\n\t\t});\n\t}\n\tbuildQueryFromSourceParams(chunks, _config) {\n\t\tconst config = Object.assign({}, _config, {\n\t\t\tinlineParams: _config.inlineParams || this.shouldInlineParams,\n\t\t\tparamStartIndex: _config.paramStartIndex || { value: 0 }\n\t\t});\n\t\tconst { casing, escapeName, escapeParam, prepareTyping, inlineParams, paramStartIndex } = config;\n\t\treturn mergeQueries(chunks.map((chunk) => {\n\t\t\tif (is(chunk, StringChunk)) return {\n\t\t\t\tsql: chunk.value.join(\"\"),\n\t\t\t\tparams: []\n\t\t\t};\n\t\t\tif (is(chunk, Name)) return {\n\t\t\t\tsql: escapeName(chunk.value),\n\t\t\t\tparams: []\n\t\t\t};\n\t\t\tif (chunk === void 0) return {\n\t\t\t\tsql: \"\",\n\t\t\t\tparams: []\n\t\t\t};\n\t\t\tif (Array.isArray(chunk)) {\n\t\t\t\tconst result = [new StringChunk(\"(\")];\n\t\t\t\tfor (const [i, p] of chunk.entries()) {\n\t\t\t\t\tresult.push(p);\n\t\t\t\t\tif (i < chunk.length - 1) result.push(new StringChunk(\", \"));\n\t\t\t\t}\n\t\t\t\tresult.push(new StringChunk(\")\"));\n\t\t\t\treturn this.buildQueryFromSourceParams(result, config);\n\t\t\t}\n\t\t\tif (is(chunk, SQL)) return this.buildQueryFromSourceParams(chunk.queryChunks, {\n\t\t\t\t...config,\n\t\t\t\tinlineParams: inlineParams || chunk.shouldInlineParams\n\t\t\t});\n\t\t\tif (is(chunk, Table)) {\n\t\t\t\tconst schemaName = chunk[Table.Symbol.Schema];\n\t\t\t\tconst tableName = chunk[Table.Symbol.Name];\n\t\t\t\treturn {\n\t\t\t\t\tsql: schemaName === void 0 || chunk[IsAlias] ? escapeName(tableName) : escapeName(schemaName) + \".\" + escapeName(tableName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (is(chunk, Column)) {\n\t\t\t\tconst columnName = casing.getColumnCasing(chunk);\n\t\t\t\tif (_config.invokeSource === \"indexes\") return {\n\t\t\t\t\tsql: escapeName(columnName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t\tconst schemaName = chunk.table[Table.Symbol.Schema];\n\t\t\t\treturn {\n\t\t\t\t\tsql: chunk.table[IsAlias] || schemaName === void 0 ? escapeName(chunk.table[Table.Symbol.Name]) + \".\" + escapeName(columnName) : escapeName(schemaName) + \".\" + escapeName(chunk.table[Table.Symbol.Name]) + \".\" + escapeName(columnName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (is(chunk, View)) {\n\t\t\t\tconst schemaName = chunk[ViewBaseConfig].schema;\n\t\t\t\tconst viewName = chunk[ViewBaseConfig].name;\n\t\t\t\treturn {\n\t\t\t\t\tsql: schemaName === void 0 || chunk[ViewBaseConfig].isAlias ? escapeName(viewName) : escapeName(schemaName) + \".\" + escapeName(viewName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (is(chunk, Param)) {\n\t\t\t\tif (is(chunk.value, Placeholder)) return {\n\t\t\t\t\tsql: escapeParam(paramStartIndex.value++, chunk),\n\t\t\t\t\tparams: [chunk],\n\t\t\t\t\ttypings: [\"none\"]\n\t\t\t\t};\n\t\t\t\tconst mappedValue = chunk.value === null ? null : chunk.encoder.mapToDriverValue(chunk.value);\n\t\t\t\tif (is(mappedValue, SQL)) return this.buildQueryFromSourceParams([mappedValue], config);\n\t\t\t\tif (inlineParams) return {\n\t\t\t\t\tsql: this.mapInlineParam(mappedValue, config),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t\tlet typings = [\"none\"];\n\t\t\t\tif (prepareTyping) typings = [prepareTyping(chunk.encoder)];\n\t\t\t\treturn {\n\t\t\t\t\tsql: escapeParam(paramStartIndex.value++, mappedValue),\n\t\t\t\t\tparams: [mappedValue],\n\t\t\t\t\ttypings\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (is(chunk, Placeholder)) return {\n\t\t\t\tsql: escapeParam(paramStartIndex.value++, chunk),\n\t\t\t\tparams: [chunk],\n\t\t\t\ttypings: [\"none\"]\n\t\t\t};\n\t\t\tif (is(chunk, SQL.Aliased) && chunk.fieldAlias !== void 0) return {\n\t\t\t\tsql: escapeName(chunk.fieldAlias),\n\t\t\t\tparams: []\n\t\t\t};\n\t\t\tif (is(chunk, Subquery)) {\n\t\t\t\tif (chunk._.isWith) return {\n\t\t\t\t\tsql: escapeName(chunk._.alias),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t\treturn this.buildQueryFromSourceParams([\n\t\t\t\t\tnew StringChunk(\"(\"),\n\t\t\t\t\tchunk._.sql,\n\t\t\t\t\tnew StringChunk(\") \"),\n\t\t\t\t\tnew Name(chunk._.alias)\n\t\t\t\t], config);\n\t\t\t}\n\t\t\tif (isPgEnum(chunk)) {\n\t\t\t\tif (chunk.schema) return {\n\t\t\t\t\tsql: escapeName(chunk.schema) + \".\" + escapeName(chunk.enumName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t\treturn {\n\t\t\t\t\tsql: escapeName(chunk.enumName),\n\t\t\t\t\tparams: []\n\t\t\t\t};\n\t\t\t}\n\t\t\tif (isSQLWrapper(chunk)) {\n\t\t\t\tif (chunk.shouldOmitSQLParens?.()) return this.buildQueryFromSourceParams([chunk.getSQL()], config);\n\t\t\t\treturn this.buildQueryFromSourceParams([\n\t\t\t\t\tnew StringChunk(\"(\"),\n\t\t\t\t\tchunk.getSQL(),\n\t\t\t\t\tnew StringChunk(\")\")\n\t\t\t\t], config);\n\t\t\t}\n\t\t\tif (inlineParams) return {\n\t\t\t\tsql: this.mapInlineParam(chunk, config),\n\t\t\t\tparams: []\n\t\t\t};\n\t\t\treturn {\n\t\t\t\tsql: escapeParam(paramStartIndex.value++, chunk),\n\t\t\t\tparams: [chunk],\n\t\t\t\ttypings: [\"none\"]\n\t\t\t};\n\t\t}));\n\t}\n\tmapInlineParam(chunk, { escapeString }) {\n\t\tif (chunk === null) return \"null\";\n\t\tif (typeof chunk === \"number\" || typeof chunk === \"boolean\") return chunk.toString();\n\t\tif (typeof chunk === \"string\") return escapeString(chunk);\n\t\tif (typeof chunk === \"object\") {\n\t\t\tconst mappedValueAsString = chunk.toString();\n\t\t\tif (mappedValueAsString === \"[object Object]\") return escapeString(JSON.stringify(chunk));\n\t\t\treturn escapeString(mappedValueAsString);\n\t\t}\n\t\tthrow new Error(\"Unexpected param value: \" + chunk);\n\t}\n\tgetSQL() {\n\t\treturn this;\n\t}\n\tas(alias) {\n\t\tif (alias === void 0) return this;\n\t\treturn new SQL.Aliased(this, alias);\n\t}\n\tmapWith(decoder) {\n\t\tthis.decoder = typeof decoder === \"function\" ? { mapFromDriverValue: decoder } : decoder;\n\t\treturn this;\n\t}\n\tinlineParams() {\n\t\tthis.shouldInlineParams = true;\n\t\treturn this;\n\t}\n\t/**\n\t* This method is used to conditionally include a part of the query.\n\t*\n\t* @param condition - Condition to check\n\t* @returns itself if the condition is `true`, otherwise `undefined`\n\t*/\n\tif(condition) {\n\t\treturn condition ? this : void 0;\n\t}\n};\nvar Name = class {\n\tconstructor(value) {\n\t\tthis.value = value;\n\t}\n\tstatic [entityKind] = \"Name\";\n\tbrand;\n\tgetSQL() {\n\t\treturn new SQL([this]);\n\t}\n};\nfunction isDriverValueEncoder(value) {\n\treturn typeof value === \"object\" && value !== null && \"mapToDriverValue\" in value && typeof value.mapToDriverValue === \"function\";\n}\nconst noopDecoder = { mapFromDriverValue: (value) => value };\nconst noopEncoder = { mapToDriverValue: (value) => value };\n({\n\t...noopDecoder,\n\t...noopEncoder\n});\nvar Param = class {\n\t/**\n\t* @param value - Parameter value\n\t* @param encoder - Encoder to convert the value to a driver parameter\n\t*/\n\tconstructor(value, encoder = noopEncoder) {\n\t\tthis.value = value;\n\t\tthis.encoder = encoder;\n\t}\n\tstatic [entityKind] = \"Param\";\n\tbrand;\n\tgetSQL() {\n\t\treturn new SQL([this]);\n\t}\n};\nfunction sql(strings, ...params) {\n\tconst queryChunks = [];\n\tif (params.length > 0 || strings.length > 0 && strings[0] !== \"\") queryChunks.push(new StringChunk(strings[0]));\n\tfor (const [paramIndex, param2] of params.entries()) queryChunks.push(param2, new StringChunk(strings[paramIndex + 1]));\n\treturn new SQL(queryChunks);\n}\n((sql2) => {\n\tfunction empty() {\n\t\treturn new SQL([]);\n\t}\n\tsql2.empty = empty;\n\tfunction fromList(list) {\n\t\treturn new SQL(list);\n\t}\n\tsql2.fromList = fromList;\n\tfunction raw(str) {\n\t\treturn new SQL([new StringChunk(str)]);\n\t}\n\tsql2.raw = raw;\n\tfunction join(chunks, separator) {\n\t\tconst result = [];\n\t\tfor (const [i, chunk] of chunks.entries()) {\n\t\t\tif (i > 0 && separator !== void 0) result.push(separator);\n\t\t\tresult.push(chunk);\n\t\t}\n\t\treturn new SQL(result);\n\t}\n\tsql2.join = join;\n\tfunction identifier(value) {\n\t\treturn new Name(value);\n\t}\n\tsql2.identifier = identifier;\n\tfunction placeholder2(name2) {\n\t\treturn new Placeholder(name2);\n\t}\n\tsql2.placeholder = placeholder2;\n\tfunction param2(value, encoder) {\n\t\treturn new Param(value, encoder);\n\t}\n\tsql2.param = param2;\n})(sql || (sql = {}));\n((SQL2) => {\n\tclass Aliased {\n\t\tconstructor(sql2, fieldAlias) {\n\t\t\tthis.sql = sql2;\n\t\t\tthis.fieldAlias = fieldAlias;\n\t\t}\n\t\tstatic [entityKind] = \"SQL.Aliased\";\n\t\t/** @internal */\n\t\tisSelectionField = false;\n\t\tgetSQL() {\n\t\t\treturn this.sql;\n\t\t}\n\t\t/** @internal */\n\t\tclone() {\n\t\t\treturn new Aliased(this.sql, this.fieldAlias);\n\t\t}\n\t}\n\tSQL2.Aliased = Aliased;\n})(SQL || (SQL = {}));\nvar Placeholder = class {\n\tconstructor(name2) {\n\t\tthis.name = name2;\n\t}\n\tstatic [entityKind] = \"Placeholder\";\n\tgetSQL() {\n\t\treturn new SQL([this]);\n\t}\n};\nconst IsDrizzleView = Symbol.for(\"drizzle:IsDrizzleView\");\nvar View = class {\n\tstatic [entityKind] = \"View\";\n\t/** @internal */\n\t[ViewBaseConfig];\n\t/** @internal */\n\t[IsDrizzleView] = true;\n\tconstructor({ name: name2, schema, selectedFields, query }) {\n\t\tthis[ViewBaseConfig] = {\n\t\t\tname: name2,\n\t\t\toriginalName: name2,\n\t\t\tschema,\n\t\t\tselectedFields,\n\t\t\tquery,\n\t\t\tisExisting: !query,\n\t\t\tisAlias: false\n\t\t};\n\t}\n\tgetSQL() {\n\t\treturn new SQL([this]);\n\t}\n};\nColumn.prototype.getSQL = function() {\n\treturn new SQL([this]);\n};\nTable.prototype.getSQL = function() {\n\treturn new SQL([this]);\n};\nSubquery.prototype.getSQL = function() {\n\treturn new SQL([this]);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/utils.js\nfunction getColumnNameAndConfig(a, b) {\n\treturn {\n\t\tname: typeof a === \"string\" && a.length > 0 ? a : \"\",\n\t\tconfig: typeof a === \"object\" ? a : b\n\t};\n}\nconst textDecoder = typeof TextDecoder === \"undefined\" ? null : new TextDecoder();\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/int.common.js\nvar PgIntColumnBaseBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgIntColumnBaseBuilder\";\n\tgeneratedAlwaysAsIdentity(sequence) {\n\t\tif (sequence) {\n\t\t\tconst { name, ...options } = sequence;\n\t\t\tthis.config.generatedIdentity = {\n\t\t\t\ttype: \"always\",\n\t\t\t\tsequenceName: name,\n\t\t\t\tsequenceOptions: options\n\t\t\t};\n\t\t} else this.config.generatedIdentity = { type: \"always\" };\n\t\tthis.config.hasDefault = true;\n\t\tthis.config.notNull = true;\n\t\treturn this;\n\t}\n\tgeneratedByDefaultAsIdentity(sequence) {\n\t\tif (sequence) {\n\t\t\tconst { name, ...options } = sequence;\n\t\t\tthis.config.generatedIdentity = {\n\t\t\t\ttype: \"byDefault\",\n\t\t\t\tsequenceName: name,\n\t\t\t\tsequenceOptions: options\n\t\t\t};\n\t\t} else this.config.generatedIdentity = { type: \"byDefault\" };\n\t\tthis.config.hasDefault = true;\n\t\tthis.config.notNull = true;\n\t\treturn this;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/bigint.js\nvar PgBigInt53Builder = class extends PgIntColumnBaseBuilder {\n\tstatic [entityKind] = \"PgBigInt53Builder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgBigInt53\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBigInt53(table, this.config);\n\t}\n};\nvar PgBigInt53 = class extends PgColumn {\n\tstatic [entityKind] = \"PgBigInt53\";\n\tgetSQLType() {\n\t\treturn \"bigint\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"number\") return value;\n\t\treturn Number(value);\n\t}\n};\nvar PgBigInt64Builder = class extends PgIntColumnBaseBuilder {\n\tstatic [entityKind] = \"PgBigInt64Builder\";\n\tconstructor(name) {\n\t\tsuper(name, \"bigint\", \"PgBigInt64\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBigInt64(table, this.config);\n\t}\n};\nvar PgBigInt64 = class extends PgColumn {\n\tstatic [entityKind] = \"PgBigInt64\";\n\tgetSQLType() {\n\t\treturn \"bigint\";\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn BigInt(value);\n\t}\n};\nfunction bigint(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config.mode === \"number\") return new PgBigInt53Builder(name);\n\treturn new PgBigInt64Builder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/bigserial.js\nvar PgBigSerial53Builder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgBigSerial53Builder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgBigSerial53\");\n\t\tthis.config.hasDefault = true;\n\t\tthis.config.notNull = true;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBigSerial53(table, this.config);\n\t}\n};\nvar PgBigSerial53 = class extends PgColumn {\n\tstatic [entityKind] = \"PgBigSerial53\";\n\tgetSQLType() {\n\t\treturn \"bigserial\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"number\") return value;\n\t\treturn Number(value);\n\t}\n};\nvar PgBigSerial64Builder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgBigSerial64Builder\";\n\tconstructor(name) {\n\t\tsuper(name, \"bigint\", \"PgBigSerial64\");\n\t\tthis.config.hasDefault = true;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBigSerial64(table, this.config);\n\t}\n};\nvar PgBigSerial64 = class extends PgColumn {\n\tstatic [entityKind] = \"PgBigSerial64\";\n\tgetSQLType() {\n\t\treturn \"bigserial\";\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn BigInt(value);\n\t}\n};\nfunction bigserial(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config.mode === \"number\") return new PgBigSerial53Builder(name);\n\treturn new PgBigSerial64Builder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/boolean.js\nvar PgBooleanBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgBooleanBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"boolean\", \"PgBoolean\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBoolean(table, this.config);\n\t}\n};\nvar PgBoolean = class extends PgColumn {\n\tstatic [entityKind] = \"PgBoolean\";\n\tgetSQLType() {\n\t\treturn \"boolean\";\n\t}\n};\nfunction boolean(name) {\n\treturn new PgBooleanBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/char.js\nvar PgCharBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgCharBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"PgChar\");\n\t\tthis.config.length = config.length;\n\t\tthis.config.enumValues = config.enum;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgChar(table, this.config);\n\t}\n};\nvar PgChar = class extends PgColumn {\n\tstatic [entityKind] = \"PgChar\";\n\tlength = this.config.length;\n\tenumValues = this.config.enumValues;\n\tgetSQLType() {\n\t\treturn this.length === void 0 ? `char` : `char(${this.length})`;\n\t}\n};\nfunction char(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgCharBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/cidr.js\nvar PgCidrBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgCidrBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgCidr\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgCidr(table, this.config);\n\t}\n};\nvar PgCidr = class extends PgColumn {\n\tstatic [entityKind] = \"PgCidr\";\n\tgetSQLType() {\n\t\treturn \"cidr\";\n\t}\n};\nfunction cidr(name) {\n\treturn new PgCidrBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/custom.js\nvar PgCustomColumnBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgCustomColumnBuilder\";\n\tconstructor(name, fieldConfig, customTypeParams) {\n\t\tsuper(name, \"custom\", \"PgCustomColumn\");\n\t\tthis.config.fieldConfig = fieldConfig;\n\t\tthis.config.customTypeParams = customTypeParams;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgCustomColumn(table, this.config);\n\t}\n};\nvar PgCustomColumn = class extends PgColumn {\n\tstatic [entityKind] = \"PgCustomColumn\";\n\tsqlName;\n\tmapTo;\n\tmapFrom;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.sqlName = config.customTypeParams.dataType(config.fieldConfig);\n\t\tthis.mapTo = config.customTypeParams.toDriver;\n\t\tthis.mapFrom = config.customTypeParams.fromDriver;\n\t}\n\tgetSQLType() {\n\t\treturn this.sqlName;\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn typeof this.mapFrom === \"function\" ? this.mapFrom(value) : value;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn typeof this.mapTo === \"function\" ? this.mapTo(value) : value;\n\t}\n};\nfunction customType$1(customTypeParams) {\n\treturn (a, b) => {\n\t\tconst { name, config } = getColumnNameAndConfig(a, b);\n\t\treturn new PgCustomColumnBuilder(name, config, customTypeParams);\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/date.common.js\nvar PgDateColumnBaseBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgDateColumnBaseBuilder\";\n\tdefaultNow() {\n\t\treturn this.default(sql`now()`);\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/date.js\nvar PgDateBuilder = class extends PgDateColumnBaseBuilder {\n\tstatic [entityKind] = \"PgDateBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"date\", \"PgDate\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgDate(table, this.config);\n\t}\n};\nvar PgDate = class extends PgColumn {\n\tstatic [entityKind] = \"PgDate\";\n\tgetSQLType() {\n\t\treturn \"date\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return new Date(value);\n\t\treturn value;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn value.toISOString();\n\t}\n};\nvar PgDateStringBuilder = class extends PgDateColumnBaseBuilder {\n\tstatic [entityKind] = \"PgDateStringBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgDateString\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgDateString(table, this.config);\n\t}\n};\nvar PgDateString = class extends PgColumn {\n\tstatic [entityKind] = \"PgDateString\";\n\tgetSQLType() {\n\t\treturn \"date\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return value;\n\t\treturn value.toISOString().slice(0, -14);\n\t}\n};\nfunction date(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config?.mode === \"date\") return new PgDateBuilder(name);\n\treturn new PgDateStringBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/double-precision.js\nvar PgDoublePrecisionBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgDoublePrecisionBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgDoublePrecision\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgDoublePrecision(table, this.config);\n\t}\n};\nvar PgDoublePrecision = class extends PgColumn {\n\tstatic [entityKind] = \"PgDoublePrecision\";\n\tgetSQLType() {\n\t\treturn \"double precision\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return Number.parseFloat(value);\n\t\treturn value;\n\t}\n};\nfunction doublePrecision(name) {\n\treturn new PgDoublePrecisionBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/inet.js\nvar PgInetBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgInetBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgInet\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgInet(table, this.config);\n\t}\n};\nvar PgInet = class extends PgColumn {\n\tstatic [entityKind] = \"PgInet\";\n\tgetSQLType() {\n\t\treturn \"inet\";\n\t}\n};\nfunction inet(name) {\n\treturn new PgInetBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/integer.js\nvar PgIntegerBuilder = class extends PgIntColumnBaseBuilder {\n\tstatic [entityKind] = \"PgIntegerBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgInteger\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgInteger(table, this.config);\n\t}\n};\nvar PgInteger = class extends PgColumn {\n\tstatic [entityKind] = \"PgInteger\";\n\tgetSQLType() {\n\t\treturn \"integer\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return Number.parseInt(value);\n\t\treturn value;\n\t}\n};\nfunction integer$1(name) {\n\treturn new PgIntegerBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/interval.js\nvar PgIntervalBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgIntervalBuilder\";\n\tconstructor(name, intervalConfig) {\n\t\tsuper(name, \"string\", \"PgInterval\");\n\t\tthis.config.intervalConfig = intervalConfig;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgInterval(table, this.config);\n\t}\n};\nvar PgInterval = class extends PgColumn {\n\tstatic [entityKind] = \"PgInterval\";\n\tfields = this.config.intervalConfig.fields;\n\tprecision = this.config.intervalConfig.precision;\n\tgetSQLType() {\n\t\treturn `interval${this.fields ? ` ${this.fields}` : \"\"}${this.precision ? `(${this.precision})` : \"\"}`;\n\t}\n};\nfunction interval(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgIntervalBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/json.js\nvar PgJsonBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgJsonBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"PgJson\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgJson(table, this.config);\n\t}\n};\nvar PgJson = class extends PgColumn {\n\tstatic [entityKind] = \"PgJson\";\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t}\n\tgetSQLType() {\n\t\treturn \"json\";\n\t}\n\tmapToDriverValue(value) {\n\t\treturn JSON.stringify(value);\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") try {\n\t\t\treturn JSON.parse(value);\n\t\t} catch {\n\t\t\treturn value;\n\t\t}\n\t\treturn value;\n\t}\n};\nfunction json(name) {\n\treturn new PgJsonBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/jsonb.js\nvar PgJsonbBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgJsonbBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"PgJsonb\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgJsonb(table, this.config);\n\t}\n};\nvar PgJsonb = class extends PgColumn {\n\tstatic [entityKind] = \"PgJsonb\";\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t}\n\tgetSQLType() {\n\t\treturn \"jsonb\";\n\t}\n\tmapToDriverValue(value) {\n\t\treturn JSON.stringify(value);\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") try {\n\t\t\treturn JSON.parse(value);\n\t\t} catch {\n\t\t\treturn value;\n\t\t}\n\t\treturn value;\n\t}\n};\nfunction jsonb(name) {\n\treturn new PgJsonbBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/line.js\nvar PgLineBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgLineBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"array\", \"PgLine\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgLineTuple(table, this.config);\n\t}\n};\nvar PgLineTuple = class extends PgColumn {\n\tstatic [entityKind] = \"PgLine\";\n\tgetSQLType() {\n\t\treturn \"line\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tconst [a, b, c] = value.slice(1, -1).split(\",\");\n\t\treturn [\n\t\t\tNumber.parseFloat(a),\n\t\t\tNumber.parseFloat(b),\n\t\t\tNumber.parseFloat(c)\n\t\t];\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `{${value[0]},${value[1]},${value[2]}}`;\n\t}\n};\nvar PgLineABCBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgLineABCBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"PgLineABC\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgLineABC(table, this.config);\n\t}\n};\nvar PgLineABC = class extends PgColumn {\n\tstatic [entityKind] = \"PgLineABC\";\n\tgetSQLType() {\n\t\treturn \"line\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tconst [a, b, c] = value.slice(1, -1).split(\",\");\n\t\treturn {\n\t\t\ta: Number.parseFloat(a),\n\t\t\tb: Number.parseFloat(b),\n\t\t\tc: Number.parseFloat(c)\n\t\t};\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `{${value.a},${value.b},${value.c}}`;\n\t}\n};\nfunction line(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (!config?.mode || config.mode === \"tuple\") return new PgLineBuilder(name);\n\treturn new PgLineABCBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/macaddr.js\nvar PgMacaddrBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgMacaddrBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgMacaddr\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgMacaddr(table, this.config);\n\t}\n};\nvar PgMacaddr = class extends PgColumn {\n\tstatic [entityKind] = \"PgMacaddr\";\n\tgetSQLType() {\n\t\treturn \"macaddr\";\n\t}\n};\nfunction macaddr(name) {\n\treturn new PgMacaddrBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/macaddr8.js\nvar PgMacaddr8Builder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgMacaddr8Builder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgMacaddr8\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgMacaddr8(table, this.config);\n\t}\n};\nvar PgMacaddr8 = class extends PgColumn {\n\tstatic [entityKind] = \"PgMacaddr8\";\n\tgetSQLType() {\n\t\treturn \"macaddr8\";\n\t}\n};\nfunction macaddr8(name) {\n\treturn new PgMacaddr8Builder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/numeric.js\nvar PgNumericBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgNumericBuilder\";\n\tconstructor(name, precision, scale) {\n\t\tsuper(name, \"string\", \"PgNumeric\");\n\t\tthis.config.precision = precision;\n\t\tthis.config.scale = scale;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgNumeric(table, this.config);\n\t}\n};\nvar PgNumeric = class extends PgColumn {\n\tstatic [entityKind] = \"PgNumeric\";\n\tprecision;\n\tscale;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.precision = config.precision;\n\t\tthis.scale = config.scale;\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return value;\n\t\treturn String(value);\n\t}\n\tgetSQLType() {\n\t\tif (this.precision !== void 0 && this.scale !== void 0) return `numeric(${this.precision}, ${this.scale})`;\n\t\telse if (this.precision === void 0) return \"numeric\";\n\t\telse return `numeric(${this.precision})`;\n\t}\n};\nvar PgNumericNumberBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgNumericNumberBuilder\";\n\tconstructor(name, precision, scale) {\n\t\tsuper(name, \"number\", \"PgNumericNumber\");\n\t\tthis.config.precision = precision;\n\t\tthis.config.scale = scale;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgNumericNumber(table, this.config);\n\t}\n};\nvar PgNumericNumber = class extends PgColumn {\n\tstatic [entityKind] = \"PgNumericNumber\";\n\tprecision;\n\tscale;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.precision = config.precision;\n\t\tthis.scale = config.scale;\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"number\") return value;\n\t\treturn Number(value);\n\t}\n\tmapToDriverValue = String;\n\tgetSQLType() {\n\t\tif (this.precision !== void 0 && this.scale !== void 0) return `numeric(${this.precision}, ${this.scale})`;\n\t\telse if (this.precision === void 0) return \"numeric\";\n\t\telse return `numeric(${this.precision})`;\n\t}\n};\nvar PgNumericBigIntBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgNumericBigIntBuilder\";\n\tconstructor(name, precision, scale) {\n\t\tsuper(name, \"bigint\", \"PgNumericBigInt\");\n\t\tthis.config.precision = precision;\n\t\tthis.config.scale = scale;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgNumericBigInt(table, this.config);\n\t}\n};\nvar PgNumericBigInt = class extends PgColumn {\n\tstatic [entityKind] = \"PgNumericBigInt\";\n\tprecision;\n\tscale;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.precision = config.precision;\n\t\tthis.scale = config.scale;\n\t}\n\tmapFromDriverValue = BigInt;\n\tmapToDriverValue = String;\n\tgetSQLType() {\n\t\tif (this.precision !== void 0 && this.scale !== void 0) return `numeric(${this.precision}, ${this.scale})`;\n\t\telse if (this.precision === void 0) return \"numeric\";\n\t\telse return `numeric(${this.precision})`;\n\t}\n};\nfunction numeric$1(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tconst mode = config?.mode;\n\treturn mode === \"number\" ? new PgNumericNumberBuilder(name, config?.precision, config?.scale) : mode === \"bigint\" ? new PgNumericBigIntBuilder(name, config?.precision, config?.scale) : new PgNumericBuilder(name, config?.precision, config?.scale);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/point.js\nvar PgPointTupleBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgPointTupleBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"array\", \"PgPointTuple\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgPointTuple(table, this.config);\n\t}\n};\nvar PgPointTuple = class extends PgColumn {\n\tstatic [entityKind] = \"PgPointTuple\";\n\tgetSQLType() {\n\t\treturn \"point\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") {\n\t\t\tconst [x, y] = value.slice(1, -1).split(\",\");\n\t\t\treturn [Number.parseFloat(x), Number.parseFloat(y)];\n\t\t}\n\t\treturn [value.x, value.y];\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `(${value[0]},${value[1]})`;\n\t}\n};\nvar PgPointObjectBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgPointObjectBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"PgPointObject\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgPointObject(table, this.config);\n\t}\n};\nvar PgPointObject = class extends PgColumn {\n\tstatic [entityKind] = \"PgPointObject\";\n\tgetSQLType() {\n\t\treturn \"point\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") {\n\t\t\tconst [x, y] = value.slice(1, -1).split(\",\");\n\t\t\treturn {\n\t\t\t\tx: Number.parseFloat(x),\n\t\t\t\ty: Number.parseFloat(y)\n\t\t\t};\n\t\t}\n\t\treturn value;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `(${value.x},${value.y})`;\n\t}\n};\nfunction point(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (!config?.mode || config.mode === \"tuple\") return new PgPointTupleBuilder(name);\n\treturn new PgPointObjectBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/postgis_extension/utils.js\nfunction hexToBytes(hex) {\n\tconst bytes = [];\n\tfor (let c = 0; c < hex.length; c += 2) bytes.push(Number.parseInt(hex.slice(c, c + 2), 16));\n\treturn new Uint8Array(bytes);\n}\nfunction bytesToFloat64(bytes, offset) {\n\tconst view = /* @__PURE__ */ new DataView(/* @__PURE__ */ new ArrayBuffer(8));\n\tfor (let i = 0; i < 8; i++) view.setUint8(i, bytes[offset + i]);\n\treturn view.getFloat64(0, true);\n}\nfunction parseEWKB(hex) {\n\tconst bytes = hexToBytes(hex);\n\tlet offset = 0;\n\tconst byteOrder = bytes[offset];\n\toffset += 1;\n\tconst view = new DataView(bytes.buffer);\n\tconst geomType = view.getUint32(offset, byteOrder === 1);\n\toffset += 4;\n\tif (geomType & 536870912) {\n\t\tview.getUint32(offset, byteOrder === 1);\n\t\toffset += 4;\n\t}\n\tif ((geomType & 65535) === 1) {\n\t\tconst x = bytesToFloat64(bytes, offset);\n\t\toffset += 8;\n\t\tconst y = bytesToFloat64(bytes, offset);\n\t\toffset += 8;\n\t\treturn [x, y];\n\t}\n\tthrow new Error(\"Unsupported geometry type\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/postgis_extension/geometry.js\nvar PgGeometryBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgGeometryBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"array\", \"PgGeometry\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgGeometry(table, this.config);\n\t}\n};\nvar PgGeometry = class extends PgColumn {\n\tstatic [entityKind] = \"PgGeometry\";\n\tgetSQLType() {\n\t\treturn \"geometry(point)\";\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn parseEWKB(value);\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `point(${value[0]} ${value[1]})`;\n\t}\n};\nvar PgGeometryObjectBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgGeometryObjectBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"PgGeometryObject\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgGeometryObject(table, this.config);\n\t}\n};\nvar PgGeometryObject = class extends PgColumn {\n\tstatic [entityKind] = \"PgGeometryObject\";\n\tgetSQLType() {\n\t\treturn \"geometry(point)\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tconst parsed = parseEWKB(value);\n\t\treturn {\n\t\t\tx: parsed[0],\n\t\t\ty: parsed[1]\n\t\t};\n\t}\n\tmapToDriverValue(value) {\n\t\treturn `point(${value.x} ${value.y})`;\n\t}\n};\nfunction geometry(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (!config?.mode || config.mode === \"tuple\") return new PgGeometryBuilder(name);\n\treturn new PgGeometryObjectBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/real.js\nvar PgRealBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgRealBuilder\";\n\tconstructor(name, length) {\n\t\tsuper(name, \"number\", \"PgReal\");\n\t\tthis.config.length = length;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgReal(table, this.config);\n\t}\n};\nvar PgReal = class extends PgColumn {\n\tstatic [entityKind] = \"PgReal\";\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t}\n\tgetSQLType() {\n\t\treturn \"real\";\n\t}\n\tmapFromDriverValue = (value) => {\n\t\tif (typeof value === \"string\") return Number.parseFloat(value);\n\t\treturn value;\n\t};\n};\nfunction real$1(name) {\n\treturn new PgRealBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/serial.js\nvar PgSerialBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgSerialBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgSerial\");\n\t\tthis.config.hasDefault = true;\n\t\tthis.config.notNull = true;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgSerial(table, this.config);\n\t}\n};\nvar PgSerial = class extends PgColumn {\n\tstatic [entityKind] = \"PgSerial\";\n\tgetSQLType() {\n\t\treturn \"serial\";\n\t}\n};\nfunction serial(name) {\n\treturn new PgSerialBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/smallint.js\nvar PgSmallIntBuilder = class extends PgIntColumnBaseBuilder {\n\tstatic [entityKind] = \"PgSmallIntBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgSmallInt\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgSmallInt(table, this.config);\n\t}\n};\nvar PgSmallInt = class extends PgColumn {\n\tstatic [entityKind] = \"PgSmallInt\";\n\tgetSQLType() {\n\t\treturn \"smallint\";\n\t}\n\tmapFromDriverValue = (value) => {\n\t\tif (typeof value === \"string\") return Number(value);\n\t\treturn value;\n\t};\n};\nfunction smallint(name) {\n\treturn new PgSmallIntBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/smallserial.js\nvar PgSmallSerialBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgSmallSerialBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"PgSmallSerial\");\n\t\tthis.config.hasDefault = true;\n\t\tthis.config.notNull = true;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgSmallSerial(table, this.config);\n\t}\n};\nvar PgSmallSerial = class extends PgColumn {\n\tstatic [entityKind] = \"PgSmallSerial\";\n\tgetSQLType() {\n\t\treturn \"smallserial\";\n\t}\n};\nfunction smallserial(name) {\n\treturn new PgSmallSerialBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/text.js\nvar PgTextBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgTextBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"PgText\");\n\t\tthis.config.enumValues = config.enum;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgText(table, this.config);\n\t}\n};\nvar PgText = class extends PgColumn {\n\tstatic [entityKind] = \"PgText\";\n\tenumValues = this.config.enumValues;\n\tgetSQLType() {\n\t\treturn \"text\";\n\t}\n};\nfunction text$1(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgTextBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/time.js\nvar PgTimeBuilder = class extends PgDateColumnBaseBuilder {\n\tconstructor(name, withTimezone, precision) {\n\t\tsuper(name, \"string\", \"PgTime\");\n\t\tthis.withTimezone = withTimezone;\n\t\tthis.precision = precision;\n\t\tthis.config.withTimezone = withTimezone;\n\t\tthis.config.precision = precision;\n\t}\n\tstatic [entityKind] = \"PgTimeBuilder\";\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgTime(table, this.config);\n\t}\n};\nvar PgTime = class extends PgColumn {\n\tstatic [entityKind] = \"PgTime\";\n\twithTimezone;\n\tprecision;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.withTimezone = config.withTimezone;\n\t\tthis.precision = config.precision;\n\t}\n\tgetSQLType() {\n\t\treturn `time${this.precision === void 0 ? \"\" : `(${this.precision})`}${this.withTimezone ? \" with time zone\" : \"\"}`;\n\t}\n};\nfunction time(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgTimeBuilder(name, config.withTimezone ?? false, config.precision);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/timestamp.js\nvar PgTimestampBuilder = class extends PgDateColumnBaseBuilder {\n\tstatic [entityKind] = \"PgTimestampBuilder\";\n\tconstructor(name, withTimezone, precision) {\n\t\tsuper(name, \"date\", \"PgTimestamp\");\n\t\tthis.config.withTimezone = withTimezone;\n\t\tthis.config.precision = precision;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgTimestamp(table, this.config);\n\t}\n};\nvar PgTimestamp = class extends PgColumn {\n\tstatic [entityKind] = \"PgTimestamp\";\n\twithTimezone;\n\tprecision;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.withTimezone = config.withTimezone;\n\t\tthis.precision = config.precision;\n\t}\n\tgetSQLType() {\n\t\treturn `timestamp${this.precision === void 0 ? \"\" : ` (${this.precision})`}${this.withTimezone ? \" with time zone\" : \"\"}`;\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return new Date(this.withTimezone ? value : value + \"+0000\");\n\t\treturn value;\n\t}\n\tmapToDriverValue = (value) => {\n\t\treturn value.toISOString();\n\t};\n};\nvar PgTimestampStringBuilder = class extends PgDateColumnBaseBuilder {\n\tstatic [entityKind] = \"PgTimestampStringBuilder\";\n\tconstructor(name, withTimezone, precision) {\n\t\tsuper(name, \"string\", \"PgTimestampString\");\n\t\tthis.config.withTimezone = withTimezone;\n\t\tthis.config.precision = precision;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgTimestampString(table, this.config);\n\t}\n};\nvar PgTimestampString = class extends PgColumn {\n\tstatic [entityKind] = \"PgTimestampString\";\n\twithTimezone;\n\tprecision;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.withTimezone = config.withTimezone;\n\t\tthis.precision = config.precision;\n\t}\n\tgetSQLType() {\n\t\treturn `timestamp${this.precision === void 0 ? \"\" : `(${this.precision})`}${this.withTimezone ? \" with time zone\" : \"\"}`;\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return value;\n\t\tconst shortened = value.toISOString().slice(0, -1).replace(\"T\", \" \");\n\t\tif (this.withTimezone) {\n\t\t\tconst offset = value.getTimezoneOffset();\n\t\t\treturn `${shortened}${offset <= 0 ? \"+\" : \"-\"}${Math.floor(Math.abs(offset) / 60).toString().padStart(2, \"0\")}`;\n\t\t}\n\t\treturn shortened;\n\t}\n};\nfunction timestamp(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config?.mode === \"string\") return new PgTimestampStringBuilder(name, config.withTimezone ?? false, config.precision);\n\treturn new PgTimestampBuilder(name, config?.withTimezone ?? false, config?.precision);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/uuid.js\nvar PgUUIDBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgUUIDBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"PgUUID\");\n\t}\n\t/**\n\t* Adds `default gen_random_uuid()` to the column definition.\n\t*/\n\tdefaultRandom() {\n\t\treturn this.default(sql`gen_random_uuid()`);\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgUUID(table, this.config);\n\t}\n};\nvar PgUUID = class extends PgColumn {\n\tstatic [entityKind] = \"PgUUID\";\n\tgetSQLType() {\n\t\treturn \"uuid\";\n\t}\n};\nfunction uuid(name) {\n\treturn new PgUUIDBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/varchar.js\nvar PgVarcharBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgVarcharBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"PgVarchar\");\n\t\tthis.config.length = config.length;\n\t\tthis.config.enumValues = config.enum;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgVarchar(table, this.config);\n\t}\n};\nvar PgVarchar = class extends PgColumn {\n\tstatic [entityKind] = \"PgVarchar\";\n\tlength = this.config.length;\n\tenumValues = this.config.enumValues;\n\tgetSQLType() {\n\t\treturn this.length === void 0 ? `varchar` : `varchar(${this.length})`;\n\t}\n};\nfunction varchar(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgVarcharBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/vector_extension/bit.js\nvar PgBinaryVectorBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgBinaryVectorBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"PgBinaryVector\");\n\t\tthis.config.dimensions = config.dimensions;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgBinaryVector(table, this.config);\n\t}\n};\nvar PgBinaryVector = class extends PgColumn {\n\tstatic [entityKind] = \"PgBinaryVector\";\n\tdimensions = this.config.dimensions;\n\tgetSQLType() {\n\t\treturn `bit(${this.dimensions})`;\n\t}\n};\nfunction bit(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgBinaryVectorBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/vector_extension/halfvec.js\nvar PgHalfVectorBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgHalfVectorBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"array\", \"PgHalfVector\");\n\t\tthis.config.dimensions = config.dimensions;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgHalfVector(table, this.config);\n\t}\n};\nvar PgHalfVector = class extends PgColumn {\n\tstatic [entityKind] = \"PgHalfVector\";\n\tdimensions = this.config.dimensions;\n\tgetSQLType() {\n\t\treturn `halfvec(${this.dimensions})`;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn JSON.stringify(value);\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn value.slice(1, -1).split(\",\").map((v) => Number.parseFloat(v));\n\t}\n};\nfunction halfvec(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgHalfVectorBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/vector_extension/sparsevec.js\nvar PgSparseVectorBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgSparseVectorBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"PgSparseVector\");\n\t\tthis.config.dimensions = config.dimensions;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgSparseVector(table, this.config);\n\t}\n};\nvar PgSparseVector = class extends PgColumn {\n\tstatic [entityKind] = \"PgSparseVector\";\n\tdimensions = this.config.dimensions;\n\tgetSQLType() {\n\t\treturn `sparsevec(${this.dimensions})`;\n\t}\n};\nfunction sparsevec(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgSparseVectorBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/vector_extension/vector.js\nvar PgVectorBuilder = class extends PgColumnBuilder {\n\tstatic [entityKind] = \"PgVectorBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"array\", \"PgVector\");\n\t\tthis.config.dimensions = config.dimensions;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PgVector(table, this.config);\n\t}\n};\nvar PgVector = class extends PgColumn {\n\tstatic [entityKind] = \"PgVector\";\n\tdimensions = this.config.dimensions;\n\tgetSQLType() {\n\t\treturn `vector(${this.dimensions})`;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn JSON.stringify(value);\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn value.slice(1, -1).split(\",\").map((v) => Number.parseFloat(v));\n\t}\n};\nfunction vector(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\treturn new PgVectorBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/columns/all.js\nfunction getPgColumnBuilders() {\n\treturn {\n\t\tbigint,\n\t\tbigserial,\n\t\tboolean,\n\t\tchar,\n\t\tcidr,\n\t\tcustomType: customType$1,\n\t\tdate,\n\t\tdoublePrecision,\n\t\tinet,\n\t\tinteger: integer$1,\n\t\tinterval,\n\t\tjson,\n\t\tjsonb,\n\t\tline,\n\t\tmacaddr,\n\t\tmacaddr8,\n\t\tnumeric: numeric$1,\n\t\tpoint,\n\t\tgeometry,\n\t\treal: real$1,\n\t\tserial,\n\t\tsmallint,\n\t\tsmallserial,\n\t\ttext: text$1,\n\t\ttime,\n\t\ttimestamp,\n\t\tuuid,\n\t\tvarchar,\n\t\tbit,\n\t\thalfvec,\n\t\tsparsevec,\n\t\tvector\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/table.js\nconst InlineForeignKeys$1 = Symbol.for(\"drizzle:PgInlineForeignKeys\");\nconst EnableRLS = Symbol.for(\"drizzle:EnableRLS\");\nvar PgTable = class extends Table {\n\tstatic [entityKind] = \"PgTable\";\n\t/** @internal */\n\tstatic Symbol = Object.assign({}, Table.Symbol, {\n\t\tInlineForeignKeys: InlineForeignKeys$1,\n\t\tEnableRLS\n\t});\n\t/**@internal */\n\t[InlineForeignKeys$1] = [];\n\t/** @internal */\n\t[EnableRLS] = false;\n\t/** @internal */\n\t[Table.Symbol.ExtraConfigBuilder] = void 0;\n\t/** @internal */\n\t[Table.Symbol.ExtraConfigColumns] = {};\n};\nfunction pgTableWithSchema(name, columns, extraConfig, schema, baseName = name) {\n\tconst rawTable = new PgTable(name, schema, baseName);\n\tconst parsedColumns = typeof columns === \"function\" ? columns(getPgColumnBuilders()) : columns;\n\tconst builtColumns = Object.fromEntries(Object.entries(parsedColumns).map(([name2, colBuilderBase]) => {\n\t\tconst colBuilder = colBuilderBase;\n\t\tcolBuilder.setName(name2);\n\t\tconst column = colBuilder.build(rawTable);\n\t\trawTable[InlineForeignKeys$1].push(...colBuilder.buildForeignKeys(column, rawTable));\n\t\treturn [name2, column];\n\t}));\n\tconst builtColumnsForExtraConfig = Object.fromEntries(Object.entries(parsedColumns).map(([name2, colBuilderBase]) => {\n\t\tconst colBuilder = colBuilderBase;\n\t\tcolBuilder.setName(name2);\n\t\treturn [name2, colBuilder.buildExtraConfigColumn(rawTable)];\n\t}));\n\tconst table = Object.assign(rawTable, builtColumns);\n\ttable[Table.Symbol.Columns] = builtColumns;\n\ttable[Table.Symbol.ExtraConfigColumns] = builtColumnsForExtraConfig;\n\tif (extraConfig) table[PgTable.Symbol.ExtraConfigBuilder] = extraConfig;\n\treturn Object.assign(table, { enableRLS: () => {\n\t\ttable[PgTable.Symbol.EnableRLS] = true;\n\t\treturn table;\n\t} });\n}\nconst pgTable = (name, columns, extraConfig) => {\n\treturn pgTableWithSchema(name, columns, extraConfig, void 0);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/indexes.js\nvar IndexBuilderOn$1 = class {\n\tconstructor(unique, name) {\n\t\tthis.unique = unique;\n\t\tthis.name = name;\n\t}\n\tstatic [entityKind] = \"PgIndexBuilderOn\";\n\ton(...columns) {\n\t\treturn new IndexBuilder$1(columns.map((it) => {\n\t\t\tif (is(it, SQL)) return it;\n\t\t\tit = it;\n\t\t\tconst clonedIndexedColumn = new IndexedColumn(it.name, !!it.keyAsName, it.columnType, it.indexConfig);\n\t\t\tit.indexConfig = JSON.parse(JSON.stringify(it.defaultConfig));\n\t\t\treturn clonedIndexedColumn;\n\t\t}), this.unique, false, this.name);\n\t}\n\tonOnly(...columns) {\n\t\treturn new IndexBuilder$1(columns.map((it) => {\n\t\t\tif (is(it, SQL)) return it;\n\t\t\tit = it;\n\t\t\tconst clonedIndexedColumn = new IndexedColumn(it.name, !!it.keyAsName, it.columnType, it.indexConfig);\n\t\t\tit.indexConfig = it.defaultConfig;\n\t\t\treturn clonedIndexedColumn;\n\t\t}), this.unique, true, this.name);\n\t}\n\t/**\n\t* Specify what index method to use. Choices are `btree`, `hash`, `gist`, `spgist`, `gin`, `brin`, or user-installed access methods like `bloom`. The default method is `btree.\n\t*\n\t* If you have the `pg_vector` extension installed in your database, you can use the `hnsw` and `ivfflat` options, which are predefined types.\n\t*\n\t* **You can always specify any string you want in the method, in case Drizzle doesn't have it natively in its types**\n\t*\n\t* @param method The name of the index method to be used\n\t* @param columns\n\t* @returns\n\t*/\n\tusing(method, ...columns) {\n\t\treturn new IndexBuilder$1(columns.map((it) => {\n\t\t\tif (is(it, SQL)) return it;\n\t\t\tit = it;\n\t\t\tconst clonedIndexedColumn = new IndexedColumn(it.name, !!it.keyAsName, it.columnType, it.indexConfig);\n\t\t\tit.indexConfig = JSON.parse(JSON.stringify(it.defaultConfig));\n\t\t\treturn clonedIndexedColumn;\n\t\t}), this.unique, true, this.name, method);\n\t}\n};\nvar IndexBuilder$1 = class {\n\tstatic [entityKind] = \"PgIndexBuilder\";\n\t/** @internal */\n\tconfig;\n\tconstructor(columns, unique, only, name, method = \"btree\") {\n\t\tthis.config = {\n\t\t\tname,\n\t\t\tcolumns,\n\t\t\tunique,\n\t\t\tonly,\n\t\t\tmethod\n\t\t};\n\t}\n\tconcurrently() {\n\t\tthis.config.concurrently = true;\n\t\treturn this;\n\t}\n\twith(obj) {\n\t\tthis.config.with = obj;\n\t\treturn this;\n\t}\n\twhere(condition) {\n\t\tthis.config.where = condition;\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new Index$1(this.config, table);\n\t}\n};\nvar Index$1 = class {\n\tstatic [entityKind] = \"PgIndex\";\n\tconfig;\n\tconstructor(config, table) {\n\t\tthis.config = {\n\t\t\t...config,\n\t\t\ttable\n\t\t};\n\t}\n};\nfunction index$1(name) {\n\treturn new IndexBuilderOn$1(false, name);\n}\nfunction uniqueIndex$1(name) {\n\treturn new IndexBuilderOn$1(true, name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/pg-core/primary-keys.js\nfunction primaryKey$1(...config) {\n\tif (config[0].columns) return new PrimaryKeyBuilder$1(config[0].columns, config[0].name);\n\treturn new PrimaryKeyBuilder$1(config);\n}\nvar PrimaryKeyBuilder$1 = class {\n\tstatic [entityKind] = \"PgPrimaryKeyBuilder\";\n\t/** @internal */\n\tcolumns;\n\t/** @internal */\n\tname;\n\tconstructor(columns, name) {\n\t\tthis.columns = columns;\n\t\tthis.name = name;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PrimaryKey$1(table, this.columns, this.name);\n\t}\n};\nvar PrimaryKey$1 = class {\n\tconstructor(table, columns, name) {\n\t\tthis.table = table;\n\t\tthis.columns = columns;\n\t\tthis.name = name;\n\t}\n\tstatic [entityKind] = \"PgPrimaryKey\";\n\tcolumns;\n\tname;\n\tgetName() {\n\t\treturn this.name ?? `${this.table[PgTable.Symbol.Name]}_${this.columns.map((column) => column.name).join(\"_\")}_pk`;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sql/expressions/conditions.js\nfunction bindIfParam(value, column) {\n\tif (isDriverValueEncoder(column) && !isSQLWrapper(value) && !is(value, Param) && !is(value, Placeholder) && !is(value, Column) && !is(value, Table) && !is(value, View)) return new Param(value, column);\n\treturn value;\n}\nconst eq = (left, right) => {\n\treturn sql`${left} = ${bindIfParam(right, left)}`;\n};\nfunction and(...unfilteredConditions) {\n\tconst conditions = unfilteredConditions.filter((c) => c !== void 0);\n\tif (conditions.length === 0) return;\n\tif (conditions.length === 1) return new SQL(conditions);\n\treturn new SQL([\n\t\tnew StringChunk(\"(\"),\n\t\tsql.join(conditions, new StringChunk(\" and \")),\n\t\tnew StringChunk(\")\")\n\t]);\n}\nfunction isNull(value) {\n\treturn sql`${value} is null`;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sql/expressions/select.js\nfunction asc(column) {\n\treturn sql`${column} asc`;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sql/functions/aggregate.js\nfunction max(expression) {\n\treturn sql`max(${expression})`.mapWith(is(expression, Column) ? expression : String);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/foreign-keys.js\nvar ForeignKeyBuilder = class {\n\tstatic [entityKind] = \"SQLiteForeignKeyBuilder\";\n\t/** @internal */\n\treference;\n\t/** @internal */\n\t_onUpdate;\n\t/** @internal */\n\t_onDelete;\n\tconstructor(config, actions) {\n\t\tthis.reference = () => {\n\t\t\tconst { name, columns, foreignColumns } = config();\n\t\t\treturn {\n\t\t\t\tname,\n\t\t\t\tcolumns,\n\t\t\t\tforeignTable: foreignColumns[0].table,\n\t\t\t\tforeignColumns\n\t\t\t};\n\t\t};\n\t\tif (actions) {\n\t\t\tthis._onUpdate = actions.onUpdate;\n\t\t\tthis._onDelete = actions.onDelete;\n\t\t}\n\t}\n\tonUpdate(action) {\n\t\tthis._onUpdate = action;\n\t\treturn this;\n\t}\n\tonDelete(action) {\n\t\tthis._onDelete = action;\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new ForeignKey(table, this);\n\t}\n};\nvar ForeignKey = class {\n\tconstructor(table, builder) {\n\t\tthis.table = table;\n\t\tthis.reference = builder.reference;\n\t\tthis.onUpdate = builder._onUpdate;\n\t\tthis.onDelete = builder._onDelete;\n\t}\n\tstatic [entityKind] = \"SQLiteForeignKey\";\n\treference;\n\tonUpdate;\n\tonDelete;\n\tgetName() {\n\t\tconst { name, columns, foreignColumns } = this.reference();\n\t\tconst columnNames = columns.map((column) => column.name);\n\t\tconst foreignColumnNames = foreignColumns.map((column) => column.name);\n\t\tconst chunks = [\n\t\t\tthis.table[TableName],\n\t\t\t...columnNames,\n\t\t\tforeignColumns[0].table[TableName],\n\t\t\t...foreignColumnNames\n\t\t];\n\t\treturn name ?? `${chunks.join(\"_\")}_fk`;\n\t}\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/unique-constraint.js\nfunction uniqueKeyName(table, columns) {\n\treturn `${table[TableName]}_${columns.join(\"_\")}_unique`;\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/common.js\nvar SQLiteColumnBuilder = class extends ColumnBuilder {\n\tstatic [entityKind] = \"SQLiteColumnBuilder\";\n\tforeignKeyConfigs = [];\n\treferences(ref, actions = {}) {\n\t\tthis.foreignKeyConfigs.push({\n\t\t\tref,\n\t\t\tactions\n\t\t});\n\t\treturn this;\n\t}\n\tunique(name) {\n\t\tthis.config.isUnique = true;\n\t\tthis.config.uniqueName = name;\n\t\treturn this;\n\t}\n\tgeneratedAlwaysAs(as, config) {\n\t\tthis.config.generated = {\n\t\t\tas,\n\t\t\ttype: \"always\",\n\t\t\tmode: config?.mode ?? \"virtual\"\n\t\t};\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuildForeignKeys(column, table) {\n\t\treturn this.foreignKeyConfigs.map(({ ref, actions }) => {\n\t\t\treturn ((ref2, actions2) => {\n\t\t\t\tconst builder = new ForeignKeyBuilder(() => {\n\t\t\t\t\tconst foreignColumn = ref2();\n\t\t\t\t\treturn {\n\t\t\t\t\t\tcolumns: [column],\n\t\t\t\t\t\tforeignColumns: [foreignColumn]\n\t\t\t\t\t};\n\t\t\t\t});\n\t\t\t\tif (actions2.onUpdate) builder.onUpdate(actions2.onUpdate);\n\t\t\t\tif (actions2.onDelete) builder.onDelete(actions2.onDelete);\n\t\t\t\treturn builder.build(table);\n\t\t\t})(ref, actions);\n\t\t});\n\t}\n};\nvar SQLiteColumn = class extends Column {\n\tconstructor(table, config) {\n\t\tif (!config.uniqueName) config.uniqueName = uniqueKeyName(table, [config.name]);\n\t\tsuper(table, config);\n\t\tthis.table = table;\n\t}\n\tstatic [entityKind] = \"SQLiteColumn\";\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/blob.js\nvar SQLiteBigIntBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteBigIntBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"bigint\", \"SQLiteBigInt\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteBigInt(table, this.config);\n\t}\n};\nvar SQLiteBigInt = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteBigInt\";\n\tgetSQLType() {\n\t\treturn \"blob\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof Buffer !== \"undefined\" && Buffer.from) {\n\t\t\tconst buf = Buffer.isBuffer(value) ? value : value instanceof ArrayBuffer ? Buffer.from(value) : value.buffer ? Buffer.from(value.buffer, value.byteOffset, value.byteLength) : Buffer.from(value);\n\t\t\treturn BigInt(buf.toString(\"utf8\"));\n\t\t}\n\t\treturn BigInt(textDecoder.decode(value));\n\t}\n\tmapToDriverValue(value) {\n\t\treturn Buffer.from(value.toString());\n\t}\n};\nvar SQLiteBlobJsonBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteBlobJsonBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"SQLiteBlobJson\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteBlobJson(table, this.config);\n\t}\n};\nvar SQLiteBlobJson = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteBlobJson\";\n\tgetSQLType() {\n\t\treturn \"blob\";\n\t}\n\tmapFromDriverValue(value) {\n\t\tif (typeof Buffer !== \"undefined\" && Buffer.from) {\n\t\t\tconst buf = Buffer.isBuffer(value) ? value : value instanceof ArrayBuffer ? Buffer.from(value) : value.buffer ? Buffer.from(value.buffer, value.byteOffset, value.byteLength) : Buffer.from(value);\n\t\t\treturn JSON.parse(buf.toString(\"utf8\"));\n\t\t}\n\t\treturn JSON.parse(textDecoder.decode(value));\n\t}\n\tmapToDriverValue(value) {\n\t\treturn Buffer.from(JSON.stringify(value));\n\t}\n};\nvar SQLiteBlobBufferBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteBlobBufferBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"buffer\", \"SQLiteBlobBuffer\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteBlobBuffer(table, this.config);\n\t}\n};\nvar SQLiteBlobBuffer = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteBlobBuffer\";\n\tmapFromDriverValue(value) {\n\t\tif (Buffer.isBuffer(value)) return value;\n\t\treturn Buffer.from(value);\n\t}\n\tgetSQLType() {\n\t\treturn \"blob\";\n\t}\n};\nfunction blob(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config?.mode === \"json\") return new SQLiteBlobJsonBuilder(name);\n\tif (config?.mode === \"bigint\") return new SQLiteBigIntBuilder(name);\n\treturn new SQLiteBlobBufferBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/custom.js\nvar SQLiteCustomColumnBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteCustomColumnBuilder\";\n\tconstructor(name, fieldConfig, customTypeParams) {\n\t\tsuper(name, \"custom\", \"SQLiteCustomColumn\");\n\t\tthis.config.fieldConfig = fieldConfig;\n\t\tthis.config.customTypeParams = customTypeParams;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteCustomColumn(table, this.config);\n\t}\n};\nvar SQLiteCustomColumn = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteCustomColumn\";\n\tsqlName;\n\tmapTo;\n\tmapFrom;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t\tthis.sqlName = config.customTypeParams.dataType(config.fieldConfig);\n\t\tthis.mapTo = config.customTypeParams.toDriver;\n\t\tthis.mapFrom = config.customTypeParams.fromDriver;\n\t}\n\tgetSQLType() {\n\t\treturn this.sqlName;\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn typeof this.mapFrom === \"function\" ? this.mapFrom(value) : value;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn typeof this.mapTo === \"function\" ? this.mapTo(value) : value;\n\t}\n};\nfunction customType(customTypeParams) {\n\treturn (a, b) => {\n\t\tconst { name, config } = getColumnNameAndConfig(a, b);\n\t\treturn new SQLiteCustomColumnBuilder(name, config, customTypeParams);\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/integer.js\nvar SQLiteBaseIntegerBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteBaseIntegerBuilder\";\n\tconstructor(name, dataType, columnType) {\n\t\tsuper(name, dataType, columnType);\n\t\tthis.config.autoIncrement = false;\n\t}\n\tprimaryKey(config) {\n\t\tif (config?.autoIncrement) this.config.autoIncrement = true;\n\t\tthis.config.hasDefault = true;\n\t\treturn super.primaryKey();\n\t}\n};\nvar SQLiteBaseInteger = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteBaseInteger\";\n\tautoIncrement = this.config.autoIncrement;\n\tgetSQLType() {\n\t\treturn \"integer\";\n\t}\n};\nvar SQLiteIntegerBuilder = class extends SQLiteBaseIntegerBuilder {\n\tstatic [entityKind] = \"SQLiteIntegerBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"SQLiteInteger\");\n\t}\n\tbuild(table) {\n\t\treturn new SQLiteInteger(table, this.config);\n\t}\n};\nvar SQLiteInteger = class extends SQLiteBaseInteger {\n\tstatic [entityKind] = \"SQLiteInteger\";\n};\nvar SQLiteTimestampBuilder = class extends SQLiteBaseIntegerBuilder {\n\tstatic [entityKind] = \"SQLiteTimestampBuilder\";\n\tconstructor(name, mode) {\n\t\tsuper(name, \"date\", \"SQLiteTimestamp\");\n\t\tthis.config.mode = mode;\n\t}\n\t/**\n\t* @deprecated Use `default()` with your own expression instead.\n\t*\n\t* Adds `DEFAULT (cast((julianday('now') - 2440587.5)*86400000 as integer))` to the column, which is the current epoch timestamp in milliseconds.\n\t*/\n\tdefaultNow() {\n\t\treturn this.default(sql`(cast((julianday('now') - 2440587.5)*86400000 as integer))`);\n\t}\n\tbuild(table) {\n\t\treturn new SQLiteTimestamp(table, this.config);\n\t}\n};\nvar SQLiteTimestamp = class extends SQLiteBaseInteger {\n\tstatic [entityKind] = \"SQLiteTimestamp\";\n\tmode = this.config.mode;\n\tmapFromDriverValue(value) {\n\t\tif (this.config.mode === \"timestamp\") return /* @__PURE__ */ new Date(value * 1e3);\n\t\treturn new Date(value);\n\t}\n\tmapToDriverValue(value) {\n\t\tconst unix = value.getTime();\n\t\tif (this.config.mode === \"timestamp\") return Math.floor(unix / 1e3);\n\t\treturn unix;\n\t}\n};\nvar SQLiteBooleanBuilder = class extends SQLiteBaseIntegerBuilder {\n\tstatic [entityKind] = \"SQLiteBooleanBuilder\";\n\tconstructor(name, mode) {\n\t\tsuper(name, \"boolean\", \"SQLiteBoolean\");\n\t\tthis.config.mode = mode;\n\t}\n\tbuild(table) {\n\t\treturn new SQLiteBoolean(table, this.config);\n\t}\n};\nvar SQLiteBoolean = class extends SQLiteBaseInteger {\n\tstatic [entityKind] = \"SQLiteBoolean\";\n\tmode = this.config.mode;\n\tmapFromDriverValue(value) {\n\t\treturn Number(value) === 1;\n\t}\n\tmapToDriverValue(value) {\n\t\treturn value ? 1 : 0;\n\t}\n};\nfunction integer(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config?.mode === \"timestamp\" || config?.mode === \"timestamp_ms\") return new SQLiteTimestampBuilder(name, config.mode);\n\tif (config?.mode === \"boolean\") return new SQLiteBooleanBuilder(name, config.mode);\n\treturn new SQLiteIntegerBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/numeric.js\nvar SQLiteNumericBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteNumericBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"string\", \"SQLiteNumeric\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteNumeric(table, this.config);\n\t}\n};\nvar SQLiteNumeric = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteNumeric\";\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"string\") return value;\n\t\treturn String(value);\n\t}\n\tgetSQLType() {\n\t\treturn \"numeric\";\n\t}\n};\nvar SQLiteNumericNumberBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteNumericNumberBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"SQLiteNumericNumber\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteNumericNumber(table, this.config);\n\t}\n};\nvar SQLiteNumericNumber = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteNumericNumber\";\n\tmapFromDriverValue(value) {\n\t\tif (typeof value === \"number\") return value;\n\t\treturn Number(value);\n\t}\n\tmapToDriverValue = String;\n\tgetSQLType() {\n\t\treturn \"numeric\";\n\t}\n};\nvar SQLiteNumericBigIntBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteNumericBigIntBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"bigint\", \"SQLiteNumericBigInt\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteNumericBigInt(table, this.config);\n\t}\n};\nvar SQLiteNumericBigInt = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteNumericBigInt\";\n\tmapFromDriverValue = BigInt;\n\tmapToDriverValue = String;\n\tgetSQLType() {\n\t\treturn \"numeric\";\n\t}\n};\nfunction numeric(a, b) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tconst mode = config?.mode;\n\treturn mode === \"number\" ? new SQLiteNumericNumberBuilder(name) : mode === \"bigint\" ? new SQLiteNumericBigIntBuilder(name) : new SQLiteNumericBuilder(name);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/real.js\nvar SQLiteRealBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteRealBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"number\", \"SQLiteReal\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteReal(table, this.config);\n\t}\n};\nvar SQLiteReal = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteReal\";\n\tgetSQLType() {\n\t\treturn \"real\";\n\t}\n};\nfunction real(name) {\n\treturn new SQLiteRealBuilder(name ?? \"\");\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/text.js\nvar SQLiteTextBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteTextBuilder\";\n\tconstructor(name, config) {\n\t\tsuper(name, \"string\", \"SQLiteText\");\n\t\tthis.config.enumValues = config.enum;\n\t\tthis.config.length = config.length;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteText(table, this.config);\n\t}\n};\nvar SQLiteText = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteText\";\n\tenumValues = this.config.enumValues;\n\tlength = this.config.length;\n\tconstructor(table, config) {\n\t\tsuper(table, config);\n\t}\n\tgetSQLType() {\n\t\treturn `text${this.config.length ? `(${this.config.length})` : \"\"}`;\n\t}\n};\nvar SQLiteTextJsonBuilder = class extends SQLiteColumnBuilder {\n\tstatic [entityKind] = \"SQLiteTextJsonBuilder\";\n\tconstructor(name) {\n\t\tsuper(name, \"json\", \"SQLiteTextJson\");\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new SQLiteTextJson(table, this.config);\n\t}\n};\nvar SQLiteTextJson = class extends SQLiteColumn {\n\tstatic [entityKind] = \"SQLiteTextJson\";\n\tgetSQLType() {\n\t\treturn \"text\";\n\t}\n\tmapFromDriverValue(value) {\n\t\treturn JSON.parse(value);\n\t}\n\tmapToDriverValue(value) {\n\t\treturn JSON.stringify(value);\n\t}\n};\nfunction text(a, b = {}) {\n\tconst { name, config } = getColumnNameAndConfig(a, b);\n\tif (config.mode === \"json\") return new SQLiteTextJsonBuilder(name);\n\treturn new SQLiteTextBuilder(name, config);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/columns/all.js\nfunction getSQLiteColumnBuilders() {\n\treturn {\n\t\tblob,\n\t\tcustomType,\n\t\tinteger,\n\t\tnumeric,\n\t\treal,\n\t\ttext\n\t};\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/table.js\nconst InlineForeignKeys = Symbol.for(\"drizzle:SQLiteInlineForeignKeys\");\nvar SQLiteTable = class extends Table {\n\tstatic [entityKind] = \"SQLiteTable\";\n\t/** @internal */\n\tstatic Symbol = Object.assign({}, Table.Symbol, { InlineForeignKeys });\n\t/** @internal */\n\t[Table.Symbol.Columns];\n\t/** @internal */\n\t[InlineForeignKeys] = [];\n\t/** @internal */\n\t[Table.Symbol.ExtraConfigBuilder] = void 0;\n};\nfunction sqliteTableBase(name, columns, extraConfig, schema, baseName = name) {\n\tconst rawTable = new SQLiteTable(name, schema, baseName);\n\tconst parsedColumns = typeof columns === \"function\" ? columns(getSQLiteColumnBuilders()) : columns;\n\tconst builtColumns = Object.fromEntries(Object.entries(parsedColumns).map(([name2, colBuilderBase]) => {\n\t\tconst colBuilder = colBuilderBase;\n\t\tcolBuilder.setName(name2);\n\t\tconst column = colBuilder.build(rawTable);\n\t\trawTable[InlineForeignKeys].push(...colBuilder.buildForeignKeys(column, rawTable));\n\t\treturn [name2, column];\n\t}));\n\tconst table = Object.assign(rawTable, builtColumns);\n\ttable[Table.Symbol.Columns] = builtColumns;\n\ttable[Table.Symbol.ExtraConfigColumns] = builtColumns;\n\tif (extraConfig) table[SQLiteTable.Symbol.ExtraConfigBuilder] = extraConfig;\n\treturn table;\n}\nconst sqliteTable = (name, columns, extraConfig) => {\n\treturn sqliteTableBase(name, columns, extraConfig);\n};\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/indexes.js\nvar IndexBuilderOn = class {\n\tconstructor(name, unique) {\n\t\tthis.name = name;\n\t\tthis.unique = unique;\n\t}\n\tstatic [entityKind] = \"SQLiteIndexBuilderOn\";\n\ton(...columns) {\n\t\treturn new IndexBuilder(this.name, columns, this.unique);\n\t}\n};\nvar IndexBuilder = class {\n\tstatic [entityKind] = \"SQLiteIndexBuilder\";\n\t/** @internal */\n\tconfig;\n\tconstructor(name, columns, unique) {\n\t\tthis.config = {\n\t\t\tname,\n\t\t\tcolumns,\n\t\t\tunique,\n\t\t\twhere: void 0\n\t\t};\n\t}\n\t/**\n\t* Condition for partial index.\n\t*/\n\twhere(condition) {\n\t\tthis.config.where = condition;\n\t\treturn this;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new Index(this.config, table);\n\t}\n};\nvar Index = class {\n\tstatic [entityKind] = \"SQLiteIndex\";\n\tconfig;\n\tconstructor(config, table) {\n\t\tthis.config = {\n\t\t\t...config,\n\t\t\ttable\n\t\t};\n\t}\n};\nfunction index(name) {\n\treturn new IndexBuilderOn(name, false);\n}\nfunction uniqueIndex(name) {\n\treturn new IndexBuilderOn(name, true);\n}\n//#endregion\n//#region ../../node_modules/.pnpm/drizzle-orm@0.45.2_@types+better-sqlite3@7.6.13_@types+pg@8.20.0_better-sqlite3@12.10.0_1b0824b7a9353529cfb9e8a527a827f8/node_modules/drizzle-orm/sqlite-core/primary-keys.js\nfunction primaryKey(...config) {\n\tif (config[0].columns) return new PrimaryKeyBuilder(config[0].columns, config[0].name);\n\treturn new PrimaryKeyBuilder(config);\n}\nvar PrimaryKeyBuilder = class {\n\tstatic [entityKind] = \"SQLitePrimaryKeyBuilder\";\n\t/** @internal */\n\tcolumns;\n\t/** @internal */\n\tname;\n\tconstructor(columns, name) {\n\t\tthis.columns = columns;\n\t\tthis.name = name;\n\t}\n\t/** @internal */\n\tbuild(table) {\n\t\treturn new PrimaryKey(table, this.columns, this.name);\n\t}\n};\nvar PrimaryKey = class {\n\tconstructor(table, columns, name) {\n\t\tthis.table = table;\n\t\tthis.columns = columns;\n\t\tthis.name = name;\n\t}\n\tstatic [entityKind] = \"SQLitePrimaryKey\";\n\tcolumns;\n\tname;\n\tgetName() {\n\t\treturn this.name ?? `${this.table[SQLiteTable.Symbol.Name]}_${this.columns.map((column) => column.name).join(\"_\")}_pk`;\n\t}\n};\n//#endregion\n//#region ../database/dist/index.mjs\nconst tenantScopeStorage = new AsyncLocalStorage();\nfunction getServerTenantScopeId() {\n\treturn tenantScopeStorage.getStore() ?? process.env.TENANT_ID?.trim() ?? \"default\";\n}\nconst projectScopeStorage = new AsyncLocalStorage();\nfunction getBoundProjectScopeId() {\n\treturn projectScopeStorage.getStore();\n}\nfunction getProjectScopeId() {\n\treturn getBoundProjectScopeId() ?? process.env.PROJECT_ID?.trim() ?? \"default\";\n}\nconst requestHandle = new AsyncLocalStorage();\nfunction getRequestDatabaseHandle() {\n\treturn requestHandle.getStore();\n}\nfunction getDatabaseHandle$1() {\n\tconst scoped = getRequestDatabaseHandle();\n\tif (scoped) return scoped;\n\tthrow new Error(\"Database not initialized. Call initDatabase() before getDb().\");\n}\nfunction getDbFromContext$1() {\n\treturn getDatabaseHandle$1().db;\n}\nfunction buildPgSchema$1(registry) {\n\treturn Object.fromEntries(Object.entries(registry).map(([name, { pg }]) => [name, pg]));\n}\nfunction buildSqliteSchema(registry) {\n\treturn Object.fromEntries(Object.entries(registry).map(([name, { sqlite }]) => [name, sqlite]));\n}\nconst agents = pgTable(\"agents\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\troute: text$1(\"route\").notNull(),\n\tmoduleFile: text$1(\"module_file\").notNull(),\n\tmodel: jsonb(\"model\").$type().notNull(),\n\tsystemPrompt: text$1(\"system_prompt\").notNull(),\n\tregisteredAt: timestamp(\"registered_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [uniqueIndex$1(\"agents_project_id_key_idx\").on(table.projectId, table.key), uniqueIndex$1(\"agents_project_id_route_idx\").on(table.projectId, table.route)]);\nconst agentsSqlite = sqliteTable(\"agents\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkey: text(\"key\").notNull(),\n\troute: text(\"route\").notNull(),\n\tmoduleFile: text(\"module_file\").notNull(),\n\tmodel: text(\"model\", { mode: \"json\" }).$type().notNull(),\n\tsystemPrompt: text(\"system_prompt\").notNull(),\n\tregisteredAt: integer(\"registered_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n}, (table) => [uniqueIndex(\"agents_project_id_key_idx\").on(table.projectId, table.key), uniqueIndex(\"agents_project_id_route_idx\").on(table.projectId, table.route)]);\nconst agentSessions = pgTable(\"agent_sessions\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tagentId: text$1(\"agent_id\").notNull().references(() => agents.id),\n\tparentSpanId: text$1(\"parent_span_id\"),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n});\nconst agentSessionsSqlite = sqliteTable(\"agent_sessions\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tagentId: text(\"agent_id\").notNull().references(() => agentsSqlite.id),\n\tparentSpanId: text(\"parent_span_id\"),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n});\nconst agentEvents = pgTable(\"agent_events\", {\n\tid: text$1(\"id\").primaryKey(),\n\tsessionId: text$1(\"session_id\").notNull().references(() => agentSessions.id),\n\tseq: integer$1(\"seq\").notNull(),\n\teventType: text$1(\"event_type\").notNull(),\n\tpayload: jsonb(\"payload\").notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n});\nconst agentEventsSqlite = sqliteTable(\"agent_events\", {\n\tid: text(\"id\").primaryKey(),\n\tsessionId: text(\"session_id\").notNull().references(() => agentSessionsSqlite.id),\n\tseq: integer(\"seq\").notNull(),\n\teventType: text(\"event_type\").notNull(),\n\tpayload: text(\"payload\", { mode: \"json\" }).notNull(),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n});\nconst triggerAttachments = pgTable(\"trigger_attachments\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\tworkflowKey: text$1(\"workflow_key\").notNull(),\n\tmoduleFile: text$1(\"module_file\").notNull(),\n\tsource: jsonb(\"source\").$type().notNull(),\n\tregisteredAt: timestamp(\"registered_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [uniqueIndex$1(\"trigger_attachments_project_id_key_idx\").on(table.projectId, table.key)]);\nconst triggerAttachmentsSqlite = sqliteTable(\"trigger_attachments\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkey: text(\"key\").notNull(),\n\tworkflowKey: text(\"workflow_key\").notNull(),\n\tmoduleFile: text(\"module_file\").notNull(),\n\tsource: text(\"source\", { mode: \"json\" }).$type().notNull(),\n\tregisteredAt: integer(\"registered_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n}, (table) => [uniqueIndex(\"trigger_attachments_project_id_key_idx\").on(table.projectId, table.key)]);\nconst triggerRuns = pgTable(\"trigger_runs\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tattachmentId: text$1(\"attachment_id\").notNull().references(() => triggerAttachments.id),\n\tsourcePath: text$1(\"source_path\"),\n\ttriggerType: text$1(\"trigger_type\").$type().notNull(),\n\tpayload: jsonb(\"payload\"),\n\ttriggeredAt: timestamp(\"triggered_at\", { withTimezone: true }).notNull()\n});\nconst triggerRunsSqlite = sqliteTable(\"trigger_runs\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tattachmentId: text(\"attachment_id\").notNull().references(() => triggerAttachmentsSqlite.id),\n\tsourcePath: text(\"source_path\"),\n\ttriggerType: text(\"trigger_type\").$type().notNull(),\n\tpayload: text(\"payload\", { mode: \"json\" }),\n\ttriggeredAt: integer(\"triggered_at\", { mode: \"timestamp_ms\" }).notNull()\n});\nconst workflowSubscriptions = pgTable(\"workflow_subscriptions\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tworkflowKey: text$1(\"workflow_key\").notNull(),\n\tuserId: text$1(\"user_id\").notNull(),\n\tenabled: integer$1(\"enabled\").notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"workflow_subscriptions_project_workflow_user\").on(table.projectId, table.workflowKey, table.userId)]);\nconst workflowSubscriptionsSqlite = sqliteTable(\"workflow_subscriptions\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tworkflowKey: text(\"workflow_key\").notNull(),\n\tuserId: text(\"user_id\").notNull(),\n\tenabled: integer(\"enabled\", { mode: \"boolean\" }).notNull(),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"workflow_subscriptions_project_workflow_user\").on(table.projectId, table.workflowKey, table.userId)]);\nconst workflowRuns = pgTable(\"workflow_runs\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tworkflowKey: text$1(\"workflow_key\").notNull(),\n\tattachmentId: text$1(\"attachment_id\").references(() => triggerAttachments.id),\n\tsubscriptionId: text$1(\"subscription_id\").references(() => workflowSubscriptions.id),\n\ttriggerRunId: text$1(\"trigger_run_id\").references(() => triggerRuns.id),\n\tparentWorkflowRunId: text$1(\"parent_workflow_run_id\"),\n\tparentSpanId: text$1(\"parent_span_id\"),\n\tstatus: text$1(\"status\").$type().notNull(),\n\ttrigger: text$1(\"trigger\").$type().notNull(),\n\ttriggeredAt: timestamp(\"triggered_at\", { withTimezone: true }).notNull(),\n\tstartedAt: timestamp(\"started_at\", { withTimezone: true }),\n\tfinishedAt: timestamp(\"finished_at\", { withTimezone: true }),\n\tinput: jsonb(\"input\"),\n\toutput: jsonb(\"output\"),\n\terror: jsonb(\"error\")\n});\nconst workflowRunsSqlite = sqliteTable(\"workflow_runs\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tworkflowKey: text(\"workflow_key\").notNull(),\n\tattachmentId: text(\"attachment_id\").references(() => triggerAttachmentsSqlite.id),\n\tsubscriptionId: text(\"subscription_id\").references(() => workflowSubscriptionsSqlite.id),\n\ttriggerRunId: text(\"trigger_run_id\").references(() => triggerRunsSqlite.id),\n\tparentWorkflowRunId: text(\"parent_workflow_run_id\"),\n\tparentSpanId: text(\"parent_span_id\"),\n\tstatus: text(\"status\").$type().notNull(),\n\ttrigger: text(\"trigger\").$type().notNull(),\n\ttriggeredAt: integer(\"triggered_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tstartedAt: integer(\"started_at\", { mode: \"timestamp_ms\" }),\n\tfinishedAt: integer(\"finished_at\", { mode: \"timestamp_ms\" }),\n\tinput: text(\"input\", { mode: \"json\" }),\n\toutput: text(\"output\", { mode: \"json\" }),\n\terror: text(\"error\", { mode: \"json\" })\n});\nconst actionRuns = pgTable(\"step_runs\", {\n\tid: text$1(\"id\").primaryKey(),\n\trunId: text$1(\"run_id\").notNull().references(() => workflowRuns.id),\n\tactionKey: text$1(\"step_id\").notNull(),\n\toutput: jsonb(\"output\").notNull(),\n\tcompletedAt: timestamp(\"completed_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"step_runs_run_id_step_id_unique\").on(table.runId, table.actionKey)]);\nconst actionRunsSqlite = sqliteTable(\"step_runs\", {\n\tid: text(\"id\").primaryKey(),\n\trunId: text(\"run_id\").notNull().references(() => workflowRunsSqlite.id),\n\tactionKey: text(\"step_id\").notNull(),\n\toutput: text(\"output\", { mode: \"json\" }).notNull(),\n\tcompletedAt: integer(\"completed_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"step_runs_run_id_step_id_unique\").on(table.runId, table.actionKey)]);\nconst triggerSchedules = pgTable(\"trigger_schedules\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tattachmentKey: text$1(\"attachment_key\").notNull(),\n\tkind: text$1(\"kind\").$type().notNull(),\n\tschedule: text$1(\"schedule\").notNull(),\n\tnextRunAt: timestamp(\"next_run_at\", { withTimezone: true }).notNull(),\n\tenabled: integer$1(\"enabled\").notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"trigger_schedules_project_id_attachment_key_idx\").on(table.projectId, table.attachmentKey), index$1(\"trigger_schedules_next_run_at_idx\").on(table.nextRunAt, table.enabled)]);\nconst triggerSchedulesSqlite = sqliteTable(\"trigger_schedules\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tattachmentKey: text(\"attachment_key\").notNull(),\n\tkind: text(\"kind\").$type().notNull(),\n\tschedule: text(\"schedule\").notNull(),\n\tnextRunAt: integer(\"next_run_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tenabled: integer(\"enabled\").notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"trigger_schedules_project_id_attachment_key_idx\").on(table.projectId, table.attachmentKey), index(\"trigger_schedules_next_run_at_idx\").on(table.nextRunAt, table.enabled)]);\nconst oauthApps$1 = pgTable(\"oauth_apps\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tprovider: text$1(\"provider\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\ttokenStrategy: text$1(\"token_strategy\").$type().notNull(),\n\tclientIdCiphertext: text$1(\"client_id_ciphertext\").notNull(),\n\tclientSecretCiphertext: text$1(\"client_secret_ciphertext\").notNull(),\n\tsigningSecretCiphertext: text$1(\"signing_secret_ciphertext\"),\n\tredirectUri: text$1(\"redirect_uri\"),\n\tmetadata: jsonb(\"metadata\").$type(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"oauth_apps_project_id_key_idx\").on(table.projectId, table.key)]);\nconst oauthAppsSqlite = sqliteTable(\"oauth_apps\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tprovider: text(\"provider\").notNull(),\n\tkey: text(\"key\").notNull(),\n\ttokenStrategy: text(\"token_strategy\").$type().notNull(),\n\tclientIdCiphertext: text(\"client_id_ciphertext\").notNull(),\n\tclientSecretCiphertext: text(\"client_secret_ciphertext\").notNull(),\n\tsigningSecretCiphertext: text(\"signing_secret_ciphertext\"),\n\tredirectUri: text(\"redirect_uri\"),\n\tmetadata: text(\"metadata\", { mode: \"json\" }).$type(),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"oauth_apps_project_id_key_idx\").on(table.projectId, table.key)]);\nconst oauthConnections$1 = pgTable(\"oauth_connections\", {\n\tid: text$1(\"id\").primaryKey(),\n\tappId: text$1(\"app_id\").notNull().references(() => oauthApps$1.id, { onDelete: \"cascade\" }),\n\texternalId: text$1(\"external_id\").notNull(),\n\taccessTokenCiphertext: text$1(\"access_token_ciphertext\").notNull(),\n\trefreshTokenCiphertext: text$1(\"refresh_token_ciphertext\"),\n\taccessTokenExpiresAt: timestamp(\"access_token_expires_at\", { withTimezone: true }),\n\tgrantedScopes: jsonb(\"granted_scopes\").$type(),\n\tmetadata: jsonb(\"metadata\").$type(),\n\tconnectedAt: timestamp(\"connected_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"oauth_connections_app_external_unique\").on(table.appId, table.externalId)]);\nconst oauthConnectionsSqlite = sqliteTable(\"oauth_connections\", {\n\tid: text(\"id\").primaryKey(),\n\tappId: text(\"app_id\").notNull().references(() => oauthAppsSqlite.id, { onDelete: \"cascade\" }),\n\texternalId: text(\"external_id\").notNull(),\n\taccessTokenCiphertext: text(\"access_token_ciphertext\").notNull(),\n\trefreshTokenCiphertext: text(\"refresh_token_ciphertext\"),\n\taccessTokenExpiresAt: integer(\"access_token_expires_at\", { mode: \"timestamp_ms\" }),\n\tgrantedScopes: text(\"granted_scopes\", { mode: \"json\" }).$type(),\n\tmetadata: text(\"metadata\", { mode: \"json\" }).$type(),\n\tconnectedAt: integer(\"connected_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"oauth_connections_app_external_unique\").on(table.appId, table.externalId)]);\nconst credentialInstances = pgTable(\"credential_instances\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\tscopeType: text$1(\"scope_type\").$type().notNull(),\n\tscopeId: text$1(\"scope_id\"),\n\tlabel: text$1(\"label\"),\n\tisDefault: integer$1(\"is_default\").notNull(),\n\tauthKind: text$1(\"auth_kind\").$type().notNull(),\n\tciphertext: text$1(\"ciphertext\"),\n\tconnectionId: text$1(\"connection_id\").references(() => oauthConnections$1.id, { onDelete: \"set null\" }),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"credential_instances_project_key_scope_label_unique\").on(table.projectId, table.key, table.scopeType, table.scopeId, table.label), index$1(\"credential_instances_project_key_scope_idx\").on(table.projectId, table.key, table.scopeType, table.scopeId)]);\nconst credentialInstancesSqlite = sqliteTable(\"credential_instances\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkey: text(\"key\").notNull(),\n\tscopeType: text(\"scope_type\").$type().notNull(),\n\tscopeId: text(\"scope_id\"),\n\tlabel: text(\"label\"),\n\tisDefault: integer(\"is_default\", { mode: \"boolean\" }).notNull(),\n\tauthKind: text(\"auth_kind\").$type().notNull(),\n\tciphertext: text(\"ciphertext\"),\n\tconnectionId: text(\"connection_id\").references(() => oauthConnectionsSqlite.id, { onDelete: \"set null\" }),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"credential_instances_project_key_scope_label_unique\").on(table.projectId, table.key, table.scopeType, table.scopeId, table.label), index(\"credential_instances_project_key_scope_idx\").on(table.projectId, table.key, table.scopeType, table.scopeId)]);\nconst jobs = pgTable(\"jobs\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkind: text$1(\"kind\").$type().notNull(),\n\ttargetId: text$1(\"target_id\").notNull(),\n\trunId: text$1(\"run_id\").notNull(),\n\ttrigger: text$1(\"trigger\").$type().notNull(),\n\tpayload: jsonb(\"payload\"),\n\tstatus: text$1(\"status\").$type().notNull(),\n\tscheduledAt: timestamp(\"scheduled_at\", { withTimezone: true }).notNull(),\n\tattempt: integer$1(\"attempt\").notNull(),\n\tmaxAttempts: integer$1(\"max_attempts\").notNull(),\n\tleasedBy: text$1(\"leased_by\"),\n\tleaseExpiresAt: timestamp(\"lease_expires_at\", { withTimezone: true }),\n\tcompletedAt: timestamp(\"completed_at\", { withTimezone: true }),\n\terror: jsonb(\"error\")\n});\nconst jobsSqlite = sqliteTable(\"jobs\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkind: text(\"kind\").$type().notNull(),\n\ttargetId: text(\"target_id\").notNull(),\n\trunId: text(\"run_id\").notNull(),\n\ttrigger: text(\"trigger\").$type().notNull(),\n\tpayload: text(\"payload\", { mode: \"json\" }),\n\tstatus: text(\"status\").$type().notNull(),\n\tscheduledAt: integer(\"scheduled_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tattempt: integer(\"attempt\").notNull(),\n\tmaxAttempts: integer(\"max_attempts\").notNull(),\n\tleasedBy: text(\"leased_by\"),\n\tleaseExpiresAt: integer(\"lease_expires_at\", { mode: \"timestamp_ms\" }),\n\tcompletedAt: integer(\"completed_at\", { mode: \"timestamp_ms\" }),\n\terror: text(\"error\", { mode: \"json\" })\n});\nconst schedulerPolicy = pgTable(\"scheduler_policy\", {\n\tprojectId: text$1(\"project_id\").notNull(),\n\tid: text$1(\"id\").notNull(),\n\tglobalMaxConcurrent: integer$1(\"global_max_concurrent\"),\n\toverrides: jsonb(\"overrides\").$type()\n}, (table) => [primaryKey$1({ columns: [table.projectId, table.id] })]);\nconst schedulerPolicySqlite = sqliteTable(\"scheduler_policy\", {\n\tprojectId: text(\"project_id\").notNull(),\n\tid: text(\"id\").notNull(),\n\tglobalMaxConcurrent: integer(\"global_max_concurrent\"),\n\toverrides: text(\"overrides\", { mode: \"json\" }).$type()\n}, (table) => [primaryKey({ columns: [table.projectId, table.id] })]);\nconst gatewayAttachments = pgTable(\"gateway_attachments\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\tagentKey: text$1(\"agent_key\").notNull(),\n\tmoduleFile: text$1(\"module_file\"),\n\tplatform: text$1(\"platform\").notNull(),\n\tchannelId: text$1(\"channel_id\").notNull(),\n\tsource: jsonb(\"source\").$type().notNull(),\n\tregisteredAt: timestamp(\"registered_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [uniqueIndex$1(\"gateway_attachments_project_id_key_idx\").on(table.projectId, table.key), uniqueIndex$1(\"gateway_attachments_project_platform_channel_active\").on(table.projectId, table.platform, table.channelId).where(sql`${table.deletedAt} is null`)]);\nconst gatewayAttachmentsSqlite = sqliteTable(\"gateway_attachments\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkey: text(\"key\").notNull(),\n\tagentKey: text(\"agent_key\").notNull(),\n\tmoduleFile: text(\"module_file\"),\n\tplatform: text(\"platform\").notNull(),\n\tchannelId: text(\"channel_id\").notNull(),\n\tsource: text(\"source\", { mode: \"json\" }).$type().notNull(),\n\tregisteredAt: integer(\"registered_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n}, (table) => [uniqueIndex(\"gateway_attachments_project_id_key_idx\").on(table.projectId, table.key), uniqueIndex(\"gateway_attachments_project_platform_channel_active\").on(table.projectId, table.platform, table.channelId).where(sql`${table.deletedAt} is null`)]);\nconst gatewayThreadSessions = pgTable(\"gateway_thread_sessions\", {\n\tthreadId: text$1(\"thread_id\").primaryKey(),\n\tagentId: text$1(\"agent_id\").notNull().references(() => agents.id),\n\tsessionId: text$1(\"session_id\").notNull().references(() => agentSessions.id),\n\tattachmentId: text$1(\"attachment_id\").notNull().references(() => gatewayAttachments.id),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n});\nconst gatewayThreadSessionsSqlite = sqliteTable(\"gateway_thread_sessions\", {\n\tthreadId: text(\"thread_id\").primaryKey(),\n\tagentId: text(\"agent_id\").notNull().references(() => agentsSqlite.id),\n\tsessionId: text(\"session_id\").notNull().references(() => agentSessionsSqlite.id),\n\tattachmentId: text(\"attachment_id\").notNull().references(() => gatewayAttachmentsSqlite.id),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n});\nconst traceSpans = pgTable(\"trace_spans\", {\n\tid: text$1(\"id\").primaryKey(),\n\ttraceId: text$1(\"trace_id\").notNull(),\n\tparentSpanId: text$1(\"parent_span_id\"),\n\tkind: text$1(\"kind\").$type().notNull(),\n\trefId: text$1(\"ref_id\").notNull(),\n\tname: text$1(\"name\").notNull(),\n\tstatus: text$1(\"status\").$type().notNull(),\n\tstartedAt: timestamp(\"started_at\", { withTimezone: true }).notNull(),\n\tfinishedAt: timestamp(\"finished_at\", { withTimezone: true }),\n\tmetadata: jsonb(\"metadata\"),\n\terror: jsonb(\"error\")\n});\nconst traceSpansSqlite = sqliteTable(\"trace_spans\", {\n\tid: text(\"id\").primaryKey(),\n\ttraceId: text(\"trace_id\").notNull(),\n\tparentSpanId: text(\"parent_span_id\"),\n\tkind: text(\"kind\").$type().notNull(),\n\trefId: text(\"ref_id\").notNull(),\n\tname: text(\"name\").notNull(),\n\tstatus: text(\"status\").$type().notNull(),\n\tstartedAt: integer(\"started_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tfinishedAt: integer(\"finished_at\", { mode: \"timestamp_ms\" }),\n\tmetadata: text(\"metadata\", { mode: \"json\" }),\n\terror: text(\"error\", { mode: \"json\" })\n});\nconst traceLogs = pgTable(\"trace_logs\", {\n\tid: text$1(\"id\").primaryKey(),\n\ttraceId: text$1(\"trace_id\").notNull(),\n\tspanId: text$1(\"span_id\").notNull().references(() => traceSpans.id),\n\tseq: integer$1(\"seq\").notNull(),\n\tlevel: text$1(\"level\").$type().notNull(),\n\tmessage: text$1(\"message\").notNull(),\n\tdata: jsonb(\"data\"),\n\tsource: text$1(\"source\").$type().notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull()\n}, (table) => [index$1(\"trace_logs_trace_id_seq_idx\").on(table.traceId, table.seq), index$1(\"trace_logs_span_id_seq_idx\").on(table.spanId, table.seq)]);\nconst traceLogsSqlite = sqliteTable(\"trace_logs\", {\n\tid: text(\"id\").primaryKey(),\n\ttraceId: text(\"trace_id\").notNull(),\n\tspanId: text(\"span_id\").notNull().references(() => traceSpansSqlite.id),\n\tseq: integer(\"seq\").notNull(),\n\tlevel: text(\"level\").$type().notNull(),\n\tmessage: text(\"message\").notNull(),\n\tdata: text(\"data\", { mode: \"json\" }),\n\tsource: text(\"source\").$type().notNull(),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [index(\"trace_logs_trace_id_seq_idx\").on(table.traceId, table.seq), index(\"trace_logs_span_id_seq_idx\").on(table.spanId, table.seq)]);\nconst secretValues$1 = pgTable(\"secret_values\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\trefKind: text$1(\"ref_kind\").$type().notNull(),\n\trefId: text$1(\"ref_id\").notNull(),\n\tfield: text$1(\"field\").$type().notNull(),\n\tciphertext: text$1(\"ciphertext\").notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"secret_values_ref_unique\").on(table.projectId, table.refKind, table.refId, table.field), index$1(\"secret_values_ref_idx\").on(table.projectId, table.refKind, table.refId)]);\nconst secretValuesSqlite = sqliteTable(\"secret_values\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\trefKind: text(\"ref_kind\").$type().notNull(),\n\trefId: text(\"ref_id\").notNull(),\n\tfield: text(\"field\").$type().notNull(),\n\tciphertext: text(\"ciphertext\").notNull(),\n\tcreatedAt: integer(\"created_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull()\n}, (table) => [uniqueIndex(\"secret_values_ref_unique\").on(table.projectId, table.refKind, table.refId, table.field), index(\"secret_values_ref_idx\").on(table.projectId, table.refKind, table.refId)]);\nconst workflows = pgTable(\"workflows\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\tmoduleFile: text$1(\"module_file\").notNull(),\n\tsubscribable: integer$1(\"subscribable\").notNull(),\n\tregisteredAt: timestamp(\"registered_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [uniqueIndex$1(\"workflows_project_id_key_idx\").on(table.projectId, table.key)]);\nconst workflowsSqlite = sqliteTable(\"workflows\", {\n\tid: text(\"id\").primaryKey(),\n\tprojectId: text(\"project_id\").notNull(),\n\tkey: text(\"key\").notNull(),\n\tmoduleFile: text(\"module_file\").notNull(),\n\tsubscribable: integer(\"subscribable\", { mode: \"boolean\" }).notNull(),\n\tregisteredAt: integer(\"registered_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tupdatedAt: integer(\"updated_at\", { mode: \"timestamp_ms\" }).notNull(),\n\tdeletedAt: integer(\"deleted_at\", { mode: \"timestamp_ms\" })\n}, (table) => [uniqueIndex(\"workflows_project_id_key_idx\").on(table.projectId, table.key)]);\n/**\n* Project server tables — Postgres (hosted) or SQLite (local dev).\n*/\nconst tableRegistry = {\n\tagents: {\n\t\tpg: agents,\n\t\tsqlite: agentsSqlite\n\t},\n\tagentSessions: {\n\t\tpg: agentSessions,\n\t\tsqlite: agentSessionsSqlite\n\t},\n\tagentEvents: {\n\t\tpg: agentEvents,\n\t\tsqlite: agentEventsSqlite\n\t},\n\ttriggerAttachments: {\n\t\tpg: triggerAttachments,\n\t\tsqlite: triggerAttachmentsSqlite\n\t},\n\ttriggerSchedules: {\n\t\tpg: triggerSchedules,\n\t\tsqlite: triggerSchedulesSqlite\n\t},\n\tactionRuns: {\n\t\tpg: actionRuns,\n\t\tsqlite: actionRunsSqlite\n\t},\n\ttriggerRuns: {\n\t\tpg: triggerRuns,\n\t\tsqlite: triggerRunsSqlite\n\t},\n\tworkflowRuns: {\n\t\tpg: workflowRuns,\n\t\tsqlite: workflowRunsSqlite\n\t},\n\tcredentialInstances: {\n\t\tpg: credentialInstances,\n\t\tsqlite: credentialInstancesSqlite\n\t},\n\tjobs: {\n\t\tpg: jobs,\n\t\tsqlite: jobsSqlite\n\t},\n\tschedulerPolicy: {\n\t\tpg: schedulerPolicy,\n\t\tsqlite: schedulerPolicySqlite\n\t},\n\tgatewayAttachments: {\n\t\tpg: gatewayAttachments,\n\t\tsqlite: gatewayAttachmentsSqlite\n\t},\n\tgatewayThreadSessions: {\n\t\tpg: gatewayThreadSessions,\n\t\tsqlite: gatewayThreadSessionsSqlite\n\t},\n\ttraceSpans: {\n\t\tpg: traceSpans,\n\t\tsqlite: traceSpansSqlite\n\t},\n\ttraceLogs: {\n\t\tpg: traceLogs,\n\t\tsqlite: traceLogsSqlite\n\t},\n\toauthApps: {\n\t\tpg: oauthApps$1,\n\t\tsqlite: oauthAppsSqlite\n\t},\n\toauthConnections: {\n\t\tpg: oauthConnections$1,\n\t\tsqlite: oauthConnectionsSqlite\n\t},\n\tsecretValues: {\n\t\tpg: secretValues$1,\n\t\tsqlite: secretValuesSqlite\n\t},\n\tworkflows: {\n\t\tpg: workflows,\n\t\tsqlite: workflowsSqlite\n\t},\n\tworkflowSubscriptions: {\n\t\tpg: workflowSubscriptions,\n\t\tsqlite: workflowSubscriptionsSqlite\n\t}\n};\nbuildPgSchema$1(tableRegistry);\nbuildSqliteSchema(tableRegistry);\n/** Internal: only `queries/**` may call this. */\nfunction getDb$1() {\n\treturn getDbFromContext$1();\n}\nfunction eqProjectScope(table) {\n\treturn eq(table.projectId, getProjectScopeId());\n}\nfunction scopedAnd$1(table, ...conditions) {\n\treturn and(eqProjectScope(table), ...conditions);\n}\nfunction projectScopeId() {\n\treturn getProjectScopeId();\n}\nasync function selectActiveAgentByRoute(route) {\n\treturn (await getDb$1().select({\n\t\tid: agents.id,\n\t\tkey: agents.key\n\t}).from(agents).where(scopedAnd$1(agents, eq(agents.route, route), isNull(agents.deletedAt))).limit(1))[0];\n}\nasync function insertAgentSession(values) {\n\tawait getDb$1().insert(agentSessions).values({\n\t\t...values,\n\t\tprojectId: projectScopeId()\n\t});\n}\nasync function selectActiveAgentSession(sessionId) {\n\treturn (await getDb$1().select().from(agentSessions).where(scopedAnd$1(agentSessions, eq(agentSessions.id, sessionId), isNull(agentSessions.deletedAt))).limit(1))[0];\n}\nasync function touchAgentSession(sessionId, updatedAt) {\n\tawait getDb$1().update(agentSessions).set({ updatedAt }).where(scopedAnd$1(agentSessions, eq(agentSessions.id, sessionId), isNull(agentSessions.deletedAt)));\n}\nasync function maxSeqForSession(sessionId) {\n\treturn (await getDb$1().select({ value: max(agentEvents.seq) }).from(agentEvents).innerJoin(agentSessions, eq(agentSessions.id, agentEvents.sessionId)).where(scopedAnd$1(agentSessions, eq(agentEvents.sessionId, sessionId), isNull(agentEvents.deletedAt))))[0]?.value ?? 0;\n}\nasync function insertAgentEvent(values) {\n\tawait getDb$1().insert(agentEvents).values(values);\n}\nasync function listMessagePayloads(sessionId, messageEventType) {\n\treturn (await getDb$1().select({ payload: agentEvents.payload }).from(agentEvents).innerJoin(agentSessions, eq(agentSessions.id, agentEvents.sessionId)).where(scopedAnd$1(agentSessions, eq(agentEvents.sessionId, sessionId), eq(agentEvents.eventType, messageEventType), isNull(agentEvents.deletedAt))).orderBy(asc(agentEvents.seq))).map((row) => row.payload);\n}\n/** Org/user credentials live once in the shared org database; project scope stays per-project. */\nfunction credentialScopeAnd(scopeType, ...conditions) {\n\tif (scopeType === \"project\") return scopedAnd$1(credentialInstances, ...conditions);\n\treturn and(...conditions.filter(Boolean));\n}\nasync function selectCredentialInstanceById$1(id) {\n\treturn (await getDb$1().select().from(credentialInstances).where(eq(credentialInstances.id, id)).limit(1))[0];\n}\nasync function listCredentialInstancesByScope$1(options) {\n\tconst db = getDb$1();\n\tconst conditions = [options.scopeId === null ? and(eq(credentialInstances.scopeType, options.scopeType), isNull(credentialInstances.scopeId)) : and(eq(credentialInstances.scopeType, options.scopeType), eq(credentialInstances.scopeId, options.scopeId))];\n\tif (options.key) conditions.push(eq(credentialInstances.key, options.key));\n\treturn db.select().from(credentialInstances).where(credentialScopeAnd(options.scopeType, ...conditions));\n}\nasync function selectCredentialInstancesForScope$1(key, scopeType, scopeId) {\n\tconst db = getDb$1();\n\tconst scopeCondition = scopeId === null ? and(eq(credentialInstances.scopeType, scopeType), isNull(credentialInstances.scopeId)) : and(eq(credentialInstances.scopeType, scopeType), eq(credentialInstances.scopeId, scopeId));\n\treturn db.select().from(credentialInstances).where(credentialScopeAnd(scopeType, eq(credentialInstances.key, key), scopeCondition));\n}\nasync function getAgentByRoute(route) {\n\treturn selectActiveAgentByRoute(route);\n}\nconst MESSAGE_EVENT_TYPE = \"message\";\nasync function createSession(agentId, id) {\n\tconst now = /* @__PURE__ */ new Date();\n\tconst sessionId = id ?? crypto.randomUUID();\n\tawait insertAgentSession({\n\t\tid: sessionId,\n\t\tagentId,\n\t\tcreatedAt: now,\n\t\tupdatedAt: now,\n\t\tdeletedAt: null\n\t});\n\treturn {\n\t\tid: sessionId,\n\t\tagentId,\n\t\tcreatedAt: now,\n\t\tupdatedAt: now\n\t};\n}\nasync function getSession(sessionId) {\n\tconst row = await selectActiveAgentSession(sessionId);\n\tif (!row) return;\n\treturn {\n\t\tid: row.id,\n\t\tagentId: row.agentId,\n\t\tcreatedAt: row.createdAt,\n\t\tupdatedAt: row.updatedAt\n\t};\n}\nasync function touchSession(sessionId) {\n\tawait touchAgentSession(sessionId, /* @__PURE__ */ new Date());\n}\nasync function nextSeq(sessionId) {\n\treturn await maxSeqForSession(sessionId) + 1;\n}\nasync function appendEvent(sessionId, eventType, payload) {\n\tconst seq = await nextSeq(sessionId);\n\tawait insertAgentEvent({\n\t\tid: crypto.randomUUID(),\n\t\tsessionId,\n\t\tseq,\n\t\teventType,\n\t\tpayload,\n\t\tcreatedAt: /* @__PURE__ */ new Date(),\n\t\tdeletedAt: null\n\t});\n\treturn seq;\n}\nasync function listMessageEvents(sessionId) {\n\treturn listMessagePayloads(sessionId, MESSAGE_EVENT_TYPE);\n}\nconst ALGORITHM$1 = \"aes-256-gcm\";\nconst IV_LENGTH$1 = 12;\nfunction resolveEncryptionKey$1() {\n\tconst secret = process.env.CREDENTIALS_ENCRYPTION_KEY?.trim();\n\tif (!secret) throw new Error(\"CREDENTIALS_ENCRYPTION_KEY is required\");\n\treturn createHash(\"sha256\").update(secret).digest();\n}\nfunction encryptCredentialPayload(plaintext) {\n\tconst iv = randomBytes(IV_LENGTH$1);\n\tconst cipher = createCipheriv(ALGORITHM$1, resolveEncryptionKey$1(), iv);\n\tconst encrypted = Buffer.concat([cipher.update(plaintext, \"utf8\"), cipher.final()]);\n\tconst tag = cipher.getAuthTag();\n\treturn Buffer.concat([\n\t\tiv,\n\t\ttag,\n\t\tencrypted\n\t]).toString(\"base64\");\n}\nfunction decryptCredentialPayload(ciphertext) {\n\tconst buffer = Buffer.from(ciphertext, \"base64\");\n\tconst iv = buffer.subarray(0, IV_LENGTH$1);\n\tconst tag = buffer.subarray(IV_LENGTH$1, 28);\n\tconst encrypted = buffer.subarray(28);\n\tconst decipher = createDecipheriv(ALGORITHM$1, resolveEncryptionKey$1(), iv);\n\tdecipher.setAuthTag(tag);\n\treturn Buffer.concat([decipher.update(encrypted), decipher.final()]).toString(\"utf8\");\n}\nasync function selectSecretValue$1(refKind, refId, field) {\n\treturn (await getDb$1().select().from(secretValues$1).where(scopedAnd$1(secretValues$1, eq(secretValues$1.refKind, refKind), eq(secretValues$1.refId, refId), eq(secretValues$1.field, field))).limit(1))[0];\n}\nasync function upsertSecretValue$1(values) {\n\tconst db = getDb$1();\n\tconst existing = await selectSecretValue$1(values.refKind, values.refId, values.field);\n\tif (existing) {\n\t\tawait db.update(secretValues$1).set({\n\t\t\tciphertext: values.ciphertext,\n\t\t\tupdatedAt: values.updatedAt\n\t\t}).where(eq(secretValues$1.id, existing.id));\n\t\treturn;\n\t}\n\tawait db.insert(secretValues$1).values({\n\t\t...values,\n\t\tprojectId: projectScopeId()\n\t});\n}\nasync function deleteSecretValuesForRef$1(refKind, refId) {\n\tawait getDb$1().delete(secretValues$1).where(scopedAnd$1(secretValues$1, eq(secretValues$1.refKind, refKind), eq(secretValues$1.refId, refId)));\n}\nasync function selectOAuthAppById(id) {\n\treturn (await getDb$1().select().from(oauthApps$1).where(scopedAnd$1(oauthApps$1, eq(oauthApps$1.id, id))).limit(1))[0];\n}\nfunction decryptOAuthAppRow(row) {\n\treturn {\n\t\tid: row.id,\n\t\tprovider: row.provider,\n\t\tkey: row.key,\n\t\ttokenStrategy: row.tokenStrategy,\n\t\tclientId: decryptCredentialPayload(row.clientIdCiphertext),\n\t\tclientSecret: decryptCredentialPayload(row.clientSecretCiphertext),\n\t\tsigningSecret: row.signingSecretCiphertext ? decryptCredentialPayload(row.signingSecretCiphertext) : \"\",\n\t\tredirectUri: row.redirectUri,\n\t\tmetadata: row.metadata ?? null\n\t};\n}\nasync function getDecryptedOAuthAppById(id) {\n\tconst row = await selectOAuthAppById(id);\n\tif (!row) return null;\n\treturn decryptOAuthAppRow(row);\n}\nasync function selectOAuthConnectionById(id) {\n\treturn (await getDb$1().select({ connection: oauthConnections$1 }).from(oauthConnections$1).innerJoin(oauthApps$1, eq(oauthApps$1.id, oauthConnections$1.appId)).where(scopedAnd$1(oauthApps$1, eq(oauthConnections$1.id, id))).limit(1))[0]?.connection;\n}\nasync function selectOAuthConnectionByAppAndExternalId(appId, externalId) {\n\treturn (await getDb$1().select({ connection: oauthConnections$1 }).from(oauthConnections$1).innerJoin(oauthApps$1, eq(oauthApps$1.id, oauthConnections$1.appId)).where(scopedAnd$1(oauthApps$1, eq(oauthConnections$1.appId, appId), eq(oauthConnections$1.externalId, externalId))).limit(1))[0]?.connection;\n}\nasync function insertOAuthConnection(values) {\n\tawait getDb$1().insert(oauthConnections$1).values(values);\n}\nasync function upsertOAuthConnection(values) {\n\tconst existing = await selectOAuthConnectionByAppAndExternalId(values.appId, values.externalId);\n\tif (existing) {\n\t\tawait getDb$1().update(oauthConnections$1).set({\n\t\t\taccessTokenCiphertext: values.accessTokenCiphertext,\n\t\t\trefreshTokenCiphertext: values.refreshTokenCiphertext,\n\t\t\taccessTokenExpiresAt: values.accessTokenExpiresAt,\n\t\t\tgrantedScopes: values.grantedScopes && values.grantedScopes.length > 0 ? values.grantedScopes : existing.grantedScopes,\n\t\t\tmetadata: values.metadata,\n\t\t\tupdatedAt: values.updatedAt\n\t\t}).where(eq(oauthConnections$1.id, existing.id));\n\t\treturn;\n\t}\n\tawait insertOAuthConnection(values);\n}\nfunction decryptOAuthConnectionRow(row) {\n\treturn {\n\t\tid: row.id,\n\t\tappId: row.appId,\n\t\texternalId: row.externalId,\n\t\taccessToken: decryptCredentialPayload(row.accessTokenCiphertext),\n\t\trefreshToken: row.refreshTokenCiphertext ? decryptCredentialPayload(row.refreshTokenCiphertext) : null,\n\t\taccessTokenExpiresAt: row.accessTokenExpiresAt ?? null,\n\t\tgrantedScopes: row.grantedScopes ?? null,\n\t\tmetadata: row.metadata ?? null\n\t};\n}\nasync function getDecryptedOAuthConnectionById(id) {\n\tconst row = await selectOAuthConnectionById(id);\n\tif (!row) return null;\n\treturn decryptOAuthConnectionRow(row);\n}\nasync function saveOAuthConnection(options) {\n\tconst now = /* @__PURE__ */ new Date();\n\tconst id = options.connectionId ?? crypto.randomUUID();\n\tawait upsertOAuthConnection({\n\t\tid,\n\t\tappId: options.appId,\n\t\texternalId: options.externalId,\n\t\taccessTokenCiphertext: encryptCredentialPayload(options.accessToken),\n\t\trefreshTokenCiphertext: options.refreshToken ? encryptCredentialPayload(options.refreshToken) : null,\n\t\taccessTokenExpiresAt: options.accessTokenExpiresAt ?? null,\n\t\tgrantedScopes: options.grantedScopes ?? null,\n\t\tmetadata: options.metadata ?? null,\n\t\tconnectedAt: now,\n\t\tupdatedAt: now\n\t});\n\treturn id;\n}\nconst TOKEN_EXPIRY_BUFFER_MS = 6e4;\nfunction accessTokenIsStale(expiresAt) {\n\tif (!expiresAt) return true;\n\treturn expiresAt.getTime() <= Date.now() + TOKEN_EXPIRY_BUFFER_MS;\n}\nasync function resolveOAuthAccessToken(connection, app, tokenRefresh) {\n\tif (app.tokenStrategy === \"installation\" || app.tokenStrategy === \"app_installation\") return connection.accessToken;\n\tif (!accessTokenIsStale(connection.accessTokenExpiresAt)) return connection.accessToken;\n\tif (!connection.refreshToken) throw new Error(`OAuth connection \"${connection.id}\" is missing a refresh token.`);\n\tconst refresh = tokenRefresh?.get(app.key);\n\tif (!refresh) throw new Error(`OAuth refresh is not registered for app \"${app.key}\".`);\n\tconst refreshed = await refresh({\n\t\tclientId: app.clientId,\n\t\tclientSecret: app.clientSecret,\n\t\trefreshToken: connection.refreshToken\n\t});\n\tawait saveOAuthConnection({\n\t\tappId: connection.appId,\n\t\texternalId: connection.externalId,\n\t\taccessToken: refreshed.accessToken,\n\t\trefreshToken: refreshed.refreshToken ?? connection.refreshToken,\n\t\taccessTokenExpiresAt: refreshed.accessTokenExpiresAt,\n\t\tgrantedScopes: connection.grantedScopes ?? void 0,\n\t\tmetadata: connection.metadata ?? void 0,\n\t\tconnectionId: connection.id\n\t});\n\treturn refreshed.accessToken;\n}\nfunction getDatabaseHandle() {\n\tthrow new Error(\"Database not initialized. Call initDatabase() before getDb().\");\n}\nfunction getDbFromContext() {\n\treturn getDatabaseHandle().db;\n}\nconst users = pgTable(\"users\", {\n\tid: text$1(\"id\").primaryKey(),\n\tname: text$1(\"name\").notNull(),\n\temail: text$1(\"email\").notNull().unique(),\n\temailVerified: boolean(\"email_verified\").notNull(),\n\timage: text$1(\"image\"),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n});\nconst authAccounts = pgTable(\"accounts\", {\n\tid: text$1(\"id\").primaryKey(),\n\taccountId: text$1(\"account_id\").notNull(),\n\tproviderId: text$1(\"provider_id\").notNull(),\n\tuserId: text$1(\"user_id\").notNull().references(() => users.id, { onDelete: \"cascade\" }),\n\taccessToken: text$1(\"access_token\"),\n\trefreshToken: text$1(\"refresh_token\"),\n\tidToken: text$1(\"id_token\"),\n\taccessTokenExpiresAt: timestamp(\"access_token_expires_at\", { withTimezone: true }),\n\trefreshTokenExpiresAt: timestamp(\"refresh_token_expires_at\", { withTimezone: true }),\n\tscope: text$1(\"scope\"),\n\tpassword: text$1(\"password\"),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [index$1(\"account_user_id_idx\").on(table.userId)]);\nconst authDeviceCodes = pgTable(\"device_auth_codes\", {\n\tid: text$1(\"id\").primaryKey(),\n\tdeviceCode: text$1(\"device_code\").notNull(),\n\tuserCode: text$1(\"user_code\").notNull(),\n\tuserId: text$1(\"user_id\"),\n\texpiresAt: timestamp(\"expires_at\", { withTimezone: true }).notNull(),\n\tstatus: text$1(\"status\").notNull(),\n\tlastPolledAt: timestamp(\"last_polled_at\", { withTimezone: true }),\n\tpollingInterval: integer$1(\"polling_interval\"),\n\tclientId: text$1(\"client_id\"),\n\tscope: text$1(\"scope\")\n});\nconst authSessions = pgTable(\"sessions\", {\n\tid: text$1(\"id\").primaryKey(),\n\texpiresAt: timestamp(\"expires_at\", { withTimezone: true }).notNull(),\n\ttoken: text$1(\"token\").notNull().unique(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tipAddress: text$1(\"ip_address\"),\n\tuserAgent: text$1(\"user_agent\"),\n\tuserId: text$1(\"user_id\").notNull().references(() => users.id, { onDelete: \"cascade\" })\n}, (table) => [index$1(\"session_user_id_idx\").on(table.userId)]);\nconst authVerifications = pgTable(\"verification\", {\n\tid: text$1(\"id\").primaryKey(),\n\tidentifier: text$1(\"identifier\").notNull(),\n\tvalue: text$1(\"value\").notNull(),\n\texpiresAt: timestamp(\"expires_at\", { withTimezone: true }).notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [index$1(\"verification_identifier_idx\").on(table.identifier)]);\n//#endregion\n//#region ../platform-database/dist/index.mjs\nfunction buildPgSchema(registry) {\n\treturn Object.fromEntries(Object.entries(registry).map(([name, { pg }]) => [name, pg]));\n}\n/** Better Auth API Key shape (`apikey` model → physical `api_keys`). */\nconst authApiKeys = pgTable(\"api_keys\", {\n\tid: text$1(\"id\").primaryKey(),\n\tconfigId: text$1(\"config_id\").notNull().default(\"default\"),\n\tname: text$1(\"name\"),\n\tstart: text$1(\"start\"),\n\tprefix: text$1(\"prefix\"),\n\t/** Hashed secret for verification (Better Auth `key`). */\n\tkey: text$1(\"key\").notNull(),\n\t/** Encrypted plaintext secret — keystroke extension for re-display. */\n\tkeyCiphertext: text$1(\"key_ciphertext\"),\n\treferenceId: text$1(\"reference_id\").notNull(),\n\trefillInterval: integer$1(\"refill_interval\"),\n\trefillAmount: integer$1(\"refill_amount\"),\n\tlastRefillAt: timestamp(\"last_refill_at\", { withTimezone: true }),\n\tenabled: boolean(\"enabled\").default(true),\n\trateLimitEnabled: boolean(\"rate_limit_enabled\").default(true),\n\trateLimitTimeWindow: integer$1(\"rate_limit_time_window\"),\n\trateLimitMax: integer$1(\"rate_limit_max\"),\n\trequestCount: integer$1(\"request_count\").default(0),\n\tremaining: integer$1(\"remaining\"),\n\tlastRequest: timestamp(\"last_request\", { withTimezone: true }),\n\texpiresAt: timestamp(\"expires_at\", { withTimezone: true }),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tpermissions: text$1(\"permissions\"),\n\tmetadata: text$1(\"metadata\")\n}, (table) => [\n\tindex$1(\"api_keys_reference_id_idx\").on(table.referenceId),\n\tindex$1(\"api_keys_config_id_idx\").on(table.configId),\n\tindex$1(\"api_keys_key_idx\").on(table.key)\n]);\nconst organizations = pgTable(\"organizations\", {\n\tid: text$1(\"id\").primaryKey(),\n\tname: text$1(\"name\").notNull(),\n\tslug: text$1(\"slug\").notNull(),\n\tdbSchema: text$1(\"db_schema\").notNull(),\n\tdbUser: text$1(\"db_user\").notNull(),\n\tdbPasswordCiphertext: text$1(\"db_password_ciphertext\").notNull(),\n\thostingAppName: text$1(\"hosting_app_name\"),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [uniqueIndex$1(\"organizations_slug_unique\").on(table.slug)]);\nconst oauthApps = pgTable(\"oauth_apps\", {\n\tid: text$1(\"id\").primaryKey(),\n\torganizationId: text$1(\"organization_id\").notNull().references(() => organizations.id, { onDelete: \"cascade\" }),\n\tprovider: text$1(\"provider\").notNull(),\n\tkey: text$1(\"key\").notNull(),\n\ttokenStrategy: text$1(\"token_strategy\").$type().notNull(),\n\tclientIdCiphertext: text$1(\"client_id_ciphertext\").notNull(),\n\tclientSecretCiphertext: text$1(\"client_secret_ciphertext\").notNull(),\n\tsigningSecretCiphertext: text$1(\"signing_secret_ciphertext\"),\n\tredirectUri: text$1(\"redirect_uri\"),\n\tmetadata: jsonb(\"metadata\").$type(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"oauth_apps_organization_id_key_idx\").on(table.organizationId, table.key)]);\nconst oauthConnections = pgTable(\"oauth_connections\", {\n\tid: text$1(\"id\").primaryKey(),\n\tappId: text$1(\"app_id\").notNull().references(() => oauthApps.id, { onDelete: \"cascade\" }),\n\texternalId: text$1(\"external_id\").notNull(),\n\taccessTokenCiphertext: text$1(\"access_token_ciphertext\").notNull(),\n\trefreshTokenCiphertext: text$1(\"refresh_token_ciphertext\"),\n\taccessTokenExpiresAt: timestamp(\"access_token_expires_at\", { withTimezone: true }),\n\tgrantedScopes: jsonb(\"granted_scopes\").$type(),\n\tmetadata: jsonb(\"metadata\").$type(),\n\tconnectedAt: timestamp(\"connected_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"oauth_connections_app_external_unique\").on(table.appId, table.externalId)]);\nconst organizationUsers = pgTable(\"organization_users\", {\n\torganizationId: text$1(\"organization_id\").notNull().references(() => organizations.id, { onDelete: \"cascade\" }),\n\tuserId: text$1(\"user_id\").notNull().references(() => users.id, { onDelete: \"cascade\" }),\n\trole: text$1(\"role\").notNull().$type(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [primaryKey$1({ columns: [table.organizationId, table.userId] }), index$1(\"organization_users_user_id_idx\").on(table.userId)]);\nconst projectStatusEnum = pgEnum(\"project_status\", [\n\t\"inactive\",\n\t\"starting\",\n\t\"active\",\n\t\"failed\"\n]);\nconst projects = pgTable(\"projects\", {\n\tid: text$1(\"id\").primaryKey(),\n\torganizationId: text$1(\"organization_id\").notNull().references(() => organizations.id, { onDelete: \"cascade\" }),\n\tname: text$1(\"name\").notNull(),\n\tstatus: projectStatusEnum(\"status\").notNull(),\n\tbaseUrl: text$1(\"base_url\"),\n\truntimeId: text$1(\"runtime_id\"),\n\tactiveArtifactId: text$1(\"active_artifact_id\"),\n\tlastError: text$1(\"last_error\"),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull(),\n\tdeletedAt: timestamp(\"deleted_at\", { withTimezone: true })\n}, (table) => [index$1(\"projects_organization_id_idx\").on(table.organizationId)]);\nconst projectArtifactStatusEnum = pgEnum(\"project_artifact_status\", [\"pending\", \"ready\"]);\nconst projectArtifacts = pgTable(\"project_artifacts\", {\n\tid: text$1(\"id\").primaryKey(),\n\tprojectId: text$1(\"project_id\").notNull().references(() => projects.id, { onDelete: \"cascade\" }),\n\tstorageKey: text$1(\"storage_key\").notNull(),\n\tmanifestJson: jsonb(\"manifest_json\"),\n\tstatus: projectArtifactStatusEnum(\"status\").notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [index$1(\"project_artifacts_project_id_idx\").on(table.projectId)]);\nconst secretValues = pgTable(\"secret_values\", {\n\tid: text$1(\"id\").primaryKey(),\n\torganizationId: text$1(\"organization_id\").notNull().references(() => organizations.id, { onDelete: \"cascade\" }),\n\trefKind: text$1(\"ref_kind\").$type().notNull(),\n\trefId: text$1(\"ref_id\").notNull(),\n\tfield: text$1(\"field\").$type().notNull(),\n\tciphertext: text$1(\"ciphertext\").notNull(),\n\tcreatedAt: timestamp(\"created_at\", { withTimezone: true }).notNull(),\n\tupdatedAt: timestamp(\"updated_at\", { withTimezone: true }).notNull()\n}, (table) => [uniqueIndex$1(\"secret_values_ref_unique\").on(table.organizationId, table.refKind, table.refId, table.field), index$1(\"secret_values_ref_idx\").on(table.organizationId, table.refKind, table.refId)]);\nbuildPgSchema({\n\torganizations: { pg: organizations },\n\torganizationUsers: { pg: organizationUsers },\n\tprojects: { pg: projects },\n\tprojectArtifacts: { pg: projectArtifacts },\n\tusers: { pg: users },\n\tauthSessions: { pg: authSessions },\n\tauthAccounts: { pg: authAccounts },\n\tauthVerifications: { pg: authVerifications },\n\tauthDeviceCodes: { pg: authDeviceCodes },\n\tauthApiKeys: { pg: authApiKeys },\n\toauthApps: { pg: oauthApps },\n\toauthConnections: { pg: oauthConnections },\n\tsecretValues: { pg: secretValues }\n});\n/** Internal: only `queries/**` may call this. */\nfunction getDb() {\n\treturn getDbFromContext();\n}\nnew AsyncLocalStorage();\nconst organizationScopeStorage = new AsyncLocalStorage();\nfunction getOrganizationScopeId() {\n\treturn organizationScopeStorage.getStore();\n}\nfunction requireOrganizationScopeId() {\n\tconst organizationId = getOrganizationScopeId();\n\tif (!organizationId) throw new Error(\"Organization scope is not set\");\n\treturn organizationId;\n}\nfunction eqOrganizationScope(table) {\n\treturn eq(table.organizationId, requireOrganizationScopeId());\n}\nfunction scopedAnd(table, ...conditions) {\n\treturn and(eqOrganizationScope(table), ...conditions);\n}\nfunction organizationScopeId() {\n\treturn requireOrganizationScopeId();\n}\nasync function selectSecretValue(refKind, refId, field) {\n\treturn (await getDb().select().from(secretValues).where(scopedAnd(secretValues, eq(secretValues.refKind, refKind), eq(secretValues.refId, refId), eq(secretValues.field, field))).limit(1))[0];\n}\nasync function upsertSecretValue(values) {\n\tconst db = getDb();\n\tconst existing = await selectSecretValue(values.refKind, values.refId, values.field);\n\tif (existing) {\n\t\tawait db.update(secretValues).set({\n\t\t\tciphertext: values.ciphertext,\n\t\t\tupdatedAt: values.updatedAt\n\t\t}).where(eq(secretValues.id, existing.id));\n\t\treturn;\n\t}\n\tawait db.insert(secretValues).values({\n\t\t...values,\n\t\torganizationId: organizationScopeId()\n\t});\n}\nasync function deleteSecretValuesForRef(refKind, refId) {\n\tawait getDb().delete(secretValues).where(scopedAnd(secretValues, eq(secretValues.refKind, refKind), eq(secretValues.refId, refId)));\n}\n//#endregion\n//#region ../secrets/dist/index.mjs\nfunction isPlatformSecretsMode() {\n\treturn process.env.KEYSTROKE_SECRETS_MODE === \"platform\" || process.env.KEYSTROKE_MODE === \"platform\";\n}\nconst ALGORITHM = \"aes-256-gcm\";\nconst IV_LENGTH = 12;\nfunction resolveEncryptionKey() {\n\tconst secret = process.env.PLATFORM_SECRETS_ENCRYPTION_KEY?.trim() ?? process.env.CREDENTIALS_ENCRYPTION_KEY?.trim();\n\tif (!secret) throw new Error(\"CREDENTIALS_ENCRYPTION_KEY is required\");\n\treturn createHash(\"sha256\").update(secret).digest();\n}\nfunction encryptSecretPayload(plaintext) {\n\tconst iv = randomBytes(IV_LENGTH);\n\tconst cipher = createCipheriv(ALGORITHM, resolveEncryptionKey(), iv);\n\tconst encrypted = Buffer.concat([cipher.update(plaintext, \"utf8\"), cipher.final()]);\n\tconst tag = cipher.getAuthTag();\n\treturn Buffer.concat([\n\t\tiv,\n\t\ttag,\n\t\tencrypted\n\t]).toString(\"base64\");\n}\nfunction decryptSecretPayload(ciphertext) {\n\tconst buffer = Buffer.from(ciphertext, \"base64\");\n\tconst iv = buffer.subarray(0, IV_LENGTH);\n\tconst tag = buffer.subarray(IV_LENGTH, 28);\n\tconst encrypted = buffer.subarray(28);\n\tconst decipher = createDecipheriv(ALGORITHM, resolveEncryptionKey(), iv);\n\tdecipher.setAuthTag(tag);\n\treturn Buffer.concat([decipher.update(encrypted), decipher.final()]).toString(\"utf8\");\n}\nfunction usePlatformStore() {\n\treturn isPlatformSecretsMode() && getOrganizationScopeId() !== void 0;\n}\nfunction assertLocalStoreReady() {\n\tif (isPlatformSecretsMode() && !usePlatformStore()) throw new Error(\"Platform secrets require organization scope\");\n\tif (isPlatformSecretsMode() && getDatabaseHandle$1().dialect !== \"postgres\") throw new Error(\"Platform secrets require a Postgres org database\");\n}\nfunction createSecretStore() {\n\treturn {\n\t\tasync get(ref) {\n\t\t\tif (usePlatformStore()) {\n\t\t\t\tconst row = await selectSecretValue(ref.kind, ref.id, ref.field);\n\t\t\t\tif (!row) return null;\n\t\t\t\treturn decryptSecretPayload(row.ciphertext);\n\t\t\t}\n\t\t\tassertLocalStoreReady();\n\t\t\tconst row = await selectSecretValue$1(ref.kind, ref.id, ref.field);\n\t\t\tif (!row) return null;\n\t\t\treturn decryptSecretPayload(row.ciphertext);\n\t\t},\n\t\tasync set(ref, plaintext) {\n\t\t\tconst now = /* @__PURE__ */ new Date();\n\t\t\tconst ciphertext = encryptSecretPayload(plaintext);\n\t\t\tif (usePlatformStore()) {\n\t\t\t\tawait upsertSecretValue({\n\t\t\t\t\tid: crypto.randomUUID(),\n\t\t\t\t\trefKind: ref.kind,\n\t\t\t\t\trefId: ref.id,\n\t\t\t\t\tfield: ref.field,\n\t\t\t\t\tciphertext,\n\t\t\t\t\tcreatedAt: now,\n\t\t\t\t\tupdatedAt: now\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tassertLocalStoreReady();\n\t\t\tawait upsertSecretValue$1({\n\t\t\t\tid: crypto.randomUUID(),\n\t\t\t\trefKind: ref.kind,\n\t\t\t\trefId: ref.id,\n\t\t\t\tfield: ref.field,\n\t\t\t\tciphertext,\n\t\t\t\tcreatedAt: now,\n\t\t\t\tupdatedAt: now\n\t\t\t});\n\t\t},\n\t\tasync deleteRef(kind, id) {\n\t\t\tif (usePlatformStore()) {\n\t\t\t\tawait deleteSecretValuesForRef(kind, id);\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tassertLocalStoreReady();\n\t\t\tawait deleteSecretValuesForRef$1(kind, id);\n\t\t}\n\t};\n}\nasync function readCredentialInstanceSecret(instanceId) {\n\treturn createSecretStore().get({\n\t\tkind: \"credential_instance\",\n\t\tid: instanceId,\n\t\tfield: \"payload\"\n\t});\n}\n//#endregion\n//#region ../credentials/dist/store/index.mjs\nfunction normalizeLocalRow(row) {\n\tconst { projectId: _projectId, ...rest } = row;\n\treturn rest;\n}\nasync function selectCredentialInstanceById(id) {\n\tconst row = await selectCredentialInstanceById$1(id);\n\treturn row ? normalizeLocalRow(row) : void 0;\n}\nasync function selectCredentialInstancesForScope(key, scopeType, scopeId) {\n\treturn (await selectCredentialInstancesForScope$1(key, scopeType, scopeId)).map(normalizeLocalRow);\n}\nasync function listCredentialInstancesByScope(options) {\n\treturn (await listCredentialInstancesByScope$1(options)).map(normalizeLocalRow);\n}\n//#endregion\n//#region ../credentials/dist/index.mjs\nvar MissingCredentialsError = class extends Error {\n\tcode = \"missing_credentials\";\n\tkey;\n\tchainAttempted;\n\tconsumer;\n\tconstructor(options) {\n\t\tsuper(`Missing credential \"${options.key}\"`);\n\t\tthis.name = \"MissingCredentialsError\";\n\t\tthis.key = options.key;\n\t\tthis.chainAttempted = options.chainAttempted;\n\t\tthis.consumer = options.consumer;\n\t}\n};\nvar NeedsSelectionError = class extends Error {\n\tcode = \"needs_selection\";\n\tkey;\n\toptions;\n\tconsumer;\n\tconstructor(options) {\n\t\tsuper(`Credential selection required for \"${options.key}\"`);\n\t\tthis.name = \"NeedsSelectionError\";\n\t\tthis.key = options.key;\n\t\tthis.options = options.options;\n\t\tthis.consumer = options.consumer;\n\t}\n};\nvar OAuthNotConfiguredError = class extends Error {\n\tcode = \"oauth_not_configured\";\n\tconstructor(message = \"OAuth token adapter is not configured\") {\n\t\tsuper(message);\n\t\tthis.name = \"OAuthNotConfiguredError\";\n\t}\n};\nvar CredentialAccessDeniedError = class extends Error {\n\tcode = \"credential_access_denied\";\n\tinstanceId;\n\tconstructor(instanceId) {\n\t\tsuper(`Credential instance \"${instanceId}\" is not accessible in this run context`);\n\t\tthis.name = \"CredentialAccessDeniedError\";\n\t\tthis.instanceId = instanceId;\n\t}\n};\nfunction isCredentialError(error) {\n\treturn error instanceof MissingCredentialsError || error instanceof NeedsSelectionError || error instanceof OAuthNotConfiguredError;\n}\nfunction credentialScopeMatchesContext(scopeType, scopeId, context) {\n\tswitch (scopeType) {\n\t\tcase \"global\": return true;\n\t\tcase \"organization\": return scopeId === context.orgId;\n\t\tcase \"project\": return scopeId === context.projectId;\n\t\tcase \"user\": return scopeId === context.userId;\n\t}\n}\nfunction captureCredentialToolErrors(tools) {\n\tlet captured;\n\treturn {\n\t\ttools: tools.map((tool) => {\n\t\t\tif (!tool.execute) return tool;\n\t\t\tconst execute = tool.execute.bind(tool);\n\t\t\treturn {\n\t\t\t\t...tool,\n\t\t\t\tasync execute(...args) {\n\t\t\t\t\ttry {\n\t\t\t\t\t\treturn await execute(...args);\n\t\t\t\t\t} catch (error) {\n\t\t\t\t\t\tif (isCredentialError(error)) captured = error;\n\t\t\t\t\t\tthrow error;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t};\n\t\t}),\n\t\ttakeCredentialError: () => {\n\t\t\tconst error = captured;\n\t\t\tcaptured = void 0;\n\t\t\treturn error;\n\t\t}\n\t};\n}\nfunction buildCredentialRunContext(input) {\n\tconst subscription = input.subscription;\n\tconst request = input.request ?? {};\n\treturn {\n\t\torgId: request.orgId ?? subscription?.orgId,\n\t\tprojectId: request.projectId ?? subscription?.projectId,\n\t\tuserId: request.userId ?? subscription?.userId,\n\t\tselection: {\n\t\t\t...subscription?.credentialSelection,\n\t\t\t...request.selection\n\t\t}\n\t};\n}\nfunction createLocalCredentialBackend(options = {}) {\n\tconst { tokenRefresh } = options;\n\treturn {\n\t\tasync resolveApiKey(instanceId, schema) {\n\t\t\tconst row = await selectCredentialInstanceById$1(instanceId);\n\t\t\tif (!row) throw new MissingCredentialsError({\n\t\t\t\tkey: instanceId,\n\t\t\t\tchainAttempted: [\"api_key\"]\n\t\t\t});\n\t\t\tif (row.ciphertext) {\n\t\t\t\tconst plaintext = decryptCredentialPayload(row.ciphertext);\n\t\t\t\treturn schema.parse(JSON.parse(plaintext));\n\t\t\t}\n\t\t\tconst secret = await readCredentialInstanceSecret(instanceId);\n\t\t\tif (secret) return schema.parse(JSON.parse(secret));\n\t\t\tthrow new MissingCredentialsError({\n\t\t\t\tkey: row.key,\n\t\t\t\tchainAttempted: [\"api_key\"]\n\t\t\t});\n\t\t},\n\t\tasync getOAuthAccessToken(connectionId) {\n\t\t\tconst connection = await getDecryptedOAuthConnectionById(connectionId);\n\t\t\tif (!connection) throw new Error(`OAuth connection not found: ${connectionId}`);\n\t\t\tconst app = await getDecryptedOAuthAppById(connection.appId);\n\t\t\tif (!app) throw new Error(`OAuth app not found for connection: ${connectionId}`);\n\t\t\treturn { accessToken: await resolveOAuthAccessToken(connection, app, tokenRefresh) };\n\t\t}\n\t};\n}\nfunction createPlatformCredentialBackend(options) {\n\tconst materializeUrl = `${options.platformUrl.replace(/\\/+$/, \"\")}/internal/projects/${encodeURIComponent(options.projectId)}/credentials/materialize`;\n\tasync function materialize(body) {\n\t\tconst response = await fetch(materializeUrl, {\n\t\t\tmethod: \"POST\",\n\t\t\theaders: {\n\t\t\t\tAuthorization: `Bearer ${options.workerToken}`,\n\t\t\t\t\"Content-Type\": \"application/json\"\n\t\t\t},\n\t\t\tbody: JSON.stringify(body)\n\t\t});\n\t\tif (!response.ok) {\n\t\t\tconst payload = await response.json().catch(() => null);\n\t\t\tthrow new Error(payload?.message ?? `Platform credential materialize failed (${response.status})`);\n\t\t}\n\t\tconst payload = await response.json();\n\t\tif (payload.kind === \"api_key\") return { value: payload.value };\n\t\treturn { accessToken: payload.accessToken };\n\t}\n\treturn {\n\t\tasync resolveApiKey(instanceId, schema) {\n\t\t\tconst { value } = await materialize({\n\t\t\t\tkind: \"api_key\",\n\t\t\t\tinstanceId\n\t\t\t});\n\t\t\treturn schema.parse(value);\n\t\t},\n\t\tasync getOAuthAccessToken(connectionId) {\n\t\t\tconst { accessToken } = await materialize({\n\t\t\t\tkind: \"oauth\",\n\t\t\t\tconnectionId\n\t\t\t});\n\t\t\tif (!accessToken) throw new Error(`Platform did not return an access token for connection: ${connectionId}`);\n\t\t\treturn { accessToken };\n\t\t}\n\t};\n}\nfunction isWorkerRuntime() {\n\treturn process.env.KEYSTROKE_MODE === \"worker\";\n}\nfunction createCredentialBackend(options = {}) {\n\tif (isWorkerRuntime()) {\n\t\tconst platformUrl = process.env.PLATFORM_URL?.trim();\n\t\tconst projectId = process.env.PROJECT_ID?.trim();\n\t\tconst workerToken = process.env.WORKER_INTERNAL_TOKEN?.trim();\n\t\tif (!platformUrl || !projectId || !workerToken) throw new Error(\"Worker runtime requires PLATFORM_URL, PROJECT_ID, and WORKER_INTERNAL_TOKEN\");\n\t\treturn createPlatformCredentialBackend({\n\t\t\tplatformUrl,\n\t\t\tprojectId,\n\t\t\tworkerToken\n\t\t});\n\t}\n\treturn createLocalCredentialBackend(options);\n}\nconst CHAIN_TO_SCOPE = {\n\torganization: {\n\t\tscopeType: CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE.organization,\n\t\tcontextKey: \"orgId\"\n\t},\n\tproject: {\n\t\tscopeType: CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE.project,\n\t\tcontextKey: \"projectId\"\n\t},\n\tuser: {\n\t\tscopeType: CREDENTIAL_SCOPE_LEVEL_TO_SCOPE_TYPE.user,\n\t\tcontextKey: \"userId\"\n\t}\n};\nfunction toSelectionOption(row) {\n\treturn {\n\t\tid: row.id,\n\t\tlabel: row.label,\n\t\tscopeType: row.scopeType,\n\t\tscopeId: row.scopeId\n\t};\n}\nfunction resolveUserId(key, context) {\n\treturn context.userIds?.[key] ?? context.userId;\n}\nfunction pickInstance(rows, key, consumer) {\n\tif (rows.length === 0) throw new MissingCredentialsError({\n\t\tkey,\n\t\tchainAttempted: [],\n\t\tconsumer\n\t});\n\tif (rows.length === 1) return rows[0];\n\tconst defaults = rows.filter((row) => row.isDefault);\n\tif (defaults.length === 1) return defaults[0];\n\tthrow new NeedsSelectionError({\n\t\tkey,\n\t\toptions: rows.map(toSelectionOption),\n\t\tconsumer\n\t});\n}\nasync function resolveInstanceValue(row, requirement, backend) {\n\tif (row.authKind === \"oauth_managed\") {\n\t\tif (!row.connectionId) throw new MissingCredentialsError({\n\t\t\tkey: row.key,\n\t\t\tchainAttempted: [\"oauth_managed\"]\n\t\t});\n\t\tconst token = await backend.getOAuthAccessToken(row.connectionId);\n\t\tconst tokenField = requirement.tokenField ?? \"accessToken\";\n\t\tconst value = tokenField === \"accessToken\" ? token : { [tokenField]: token.accessToken };\n\t\treturn requirement.schema.parse(value);\n\t}\n\treturn backend.resolveApiKey(row.id, requirement.schema);\n}\nasync function resolveSelectedInstance(key, instanceId, context, consumer) {\n\tconst row = await selectCredentialInstanceById(instanceId);\n\tif (!row || row.key !== key) throw new MissingCredentialsError({\n\t\tkey,\n\t\tchainAttempted: [\"selection\"],\n\t\tconsumer\n\t});\n\tif (!credentialScopeMatchesContext(row.scopeType, row.scopeId, context)) throw new CredentialAccessDeniedError(instanceId);\n\treturn row;\n}\nfunction withTenantScope(context) {\n\treturn context.orgId ? context : {\n\t\t...context,\n\t\torgId: getServerTenantScopeId()\n\t};\n}\nasync function listSelectionOptions(key, context) {\n\tconst scoped = withTenantScope(context);\n\tconst rows = [];\n\trows.push(...await listCredentialInstancesByScope({\n\t\tkey,\n\t\tscopeType: \"organization\",\n\t\tscopeId: scoped.orgId\n\t}));\n\tconst userId = resolveUserId(key, scoped);\n\tif (userId) rows.push(...await listCredentialInstancesByScope({\n\t\tkey,\n\t\tscopeType: \"user\",\n\t\tscopeId: userId\n\t}));\n\treturn rows.map(toSelectionOption);\n}\nasync function resolveAtScope(key, scopeType, scopeId, consumer) {\n\tconst rows = await selectCredentialInstancesForScope(key, scopeType, scopeId);\n\tif (rows.length === 0) return;\n\ttry {\n\t\treturn pickInstance(rows, key, consumer);\n\t} catch (error) {\n\t\tif (error instanceof NeedsSelectionError) throw error;\n\t\tthrow error;\n\t}\n}\nasync function resolvePolicy(requirement, context, consumer, backend) {\n\tconst chainAttempted = [];\n\tconst selectionId = context.selection?.[requirement.key];\n\tconst materialBackend = backend ?? createCredentialBackend();\n\tconst scoped = withTenantScope(context);\n\tfor (let index = 0; index < requirement.chain.length; index++) {\n\t\tconst level = requirement.chain[index];\n\t\tif (level === \"selection\") {\n\t\t\tif (selectionId) {\n\t\t\t\tchainAttempted.push(\"selection\");\n\t\t\t\treturn resolveInstanceValue(await resolveSelectedInstance(requirement.key, selectionId, scoped, consumer), requirement, materialBackend);\n\t\t\t}\n\t\t\tif (index === requirement.chain.length - 1) throw new NeedsSelectionError({\n\t\t\t\tkey: requirement.key,\n\t\t\t\toptions: await listSelectionOptions(requirement.key, scoped),\n\t\t\t\tconsumer\n\t\t\t});\n\t\t\tcontinue;\n\t\t}\n\t\tconst mapping = CHAIN_TO_SCOPE[level];\n\t\tconst scopeId = level === \"user\" ? resolveUserId(requirement.key, scoped) : scoped[mapping.contextKey];\n\t\tif (!scopeId) continue;\n\t\tchainAttempted.push(level);\n\t\tconst row = await resolveAtScope(requirement.key, mapping.scopeType, scopeId, consumer);\n\t\tif (row) return resolveInstanceValue(row, requirement, materialBackend);\n\t}\n\tthrow new MissingCredentialsError({\n\t\tkey: requirement.key,\n\t\tchainAttempted,\n\t\tconsumer\n\t});\n}\nasync function resolveCredentialRequirements(options) {\n\tconst resolved = {};\n\tconst requirements = normalizeCredentialList(options.requirements);\n\tconst backend = options.credentialBackend ?? createCredentialBackend();\n\tfor (const requirement of requirements) resolved[requirement.key] = await resolvePolicy(requirement, options.context, options.consumer, backend);\n\treturn resolved;\n}\nfunction createCredentialResolver(options) {\n\tconst credentialBackend = options.credentialBackend ?? void 0 ?? createCredentialBackend();\n\treturn { async resolve(requirements, consumer, contextOverride) {\n\t\treturn resolveCredentialRequirements({\n\t\t\trequirements,\n\t\t\tconsumer,\n\t\t\tcredentialBackend,\n\t\t\tcontext: {\n\t\t\t\t...options.context,\n\t\t\t\t...contextOverride,\n\t\t\t\tselection: {\n\t\t\t\t\t...options.context.selection,\n\t\t\t\t\t...contextOverride?.selection\n\t\t\t\t},\n\t\t\t\tuserIds: {\n\t\t\t\t\t...options.context.userIds,\n\t\t\t\t\t...contextOverride?.userIds\n\t\t\t\t}\n\t\t\t}\n\t\t});\n\t} };\n}\nfunction createToolDescription(def, toolName, description) {\n\tconst parts = [`MCP tool \"${toolName}\" from server \"${def.key}\".`];\n\tif (description) parts.push(description);\n\treturn parts.join(\" \");\n}\nasync function resolveMcpAuth(def, resolver) {\n\tif (!def.credentials?.length) return;\n\tconst credentials = await resolver.resolve(def.credentials, {\n\t\tkind: \"tool\",\n\t\tname: def.key\n\t});\n\treturn def.auth(credentials);\n}\nasync function resolveMcpTools(def, resolver) {\n\tif (!def.declaredTools?.length) {\n\t\tconst connection = await connectMcpDefinition(def, await resolveMcpAuth(def, resolver));\n\t\treturn {\n\t\t\ttools: connection.tools,\n\t\t\tconnection\n\t\t};\n\t}\n\tlet connection;\n\tconst ensureConnected = async () => {\n\t\tif (connection) return connection;\n\t\tconnection = await connectMcpDefinition(def, await resolveMcpAuth(def, resolver));\n\t\treturn connection;\n\t};\n\tconst tools = def.declaredTools.map((declared) => {\n\t\treturn {\n\t\t\tname: createToolName(def.key, declared.name),\n\t\t\tlabel: declared.title ?? declared.name,\n\t\t\tdescription: createToolDescription(def, declared.name, declared.description),\n\t\t\tparameters: normalizeInputSchema({\n\t\t\t\ttype: \"object\",\n\t\t\t\tproperties: {},\n\t\t\t\t...declared.inputSchema\n\t\t\t}),\n\t\t\tasync execute(_toolCallId, params, signal) {\n\t\t\t\treturn (await ensureConnected()).callTool(declared.name, params, { signal });\n\t\t\t}\n\t\t};\n\t});\n\treturn {\n\t\ttools,\n\t\tconnection: {\n\t\t\tname: def.key,\n\t\t\ttools,\n\t\t\tasync callTool(toolName, args, options) {\n\t\t\t\treturn (await ensureConnected()).callTool(toolName, args, options);\n\t\t\t},\n\t\t\tclose: async () => {\n\t\t\t\tawait connection?.close();\n\t\t\t}\n\t\t}\n\t};\n}\nfunction parseResolvedCredentials(requirements, credentials) {\n\tif (requirements.length === 0) return {};\n\tconst normalized = normalizeCredentialList(requirements);\n\tconst record = credentials !== null && typeof credentials === \"object\" ? credentials : void 0;\n\tconst resolved = {};\n\tfor (const requirement of normalized) {\n\t\tconst value = record?.[requirement.key];\n\t\tif (value === void 0 || value === null) throw new MissingCredentialsError({\n\t\t\tkey: requirement.key,\n\t\t\tchainAttempted: []\n\t\t});\n\t\tconst parsed = requirement.schema.safeParse(value);\n\t\tif (!parsed.success) throw new MissingCredentialsError({\n\t\t\tkey: requirement.key,\n\t\t\tchainAttempted: []\n\t\t});\n\t\tresolved[requirement.key] = parsed.data;\n\t}\n\treturn resolved;\n}\n/** Requirement types from contracts — not @keystrokehq/action (avoids credentials → action). */\nasync function resolveActionCredentials(requirements, options) {\n\tif (!requirements.length) return {};\n\tconst resolveCredentials = options.resolveCredentials ?? (options.context ? createCredentialResolver({\n\t\tcontext: options.context,\n\t\toauthAdapter: options.oauthAdapter\n\t}).resolve : void 0);\n\tif (!resolveCredentials) throw new MissingCredentialsError({\n\t\tkey: normalizeCredentialList(requirements)[0].key,\n\t\tchainAttempted: [],\n\t\tconsumer: options.consumer\n\t});\n\treturn parseResolvedCredentials(requirements, await resolveCredentials(requirements, options.consumer, options.contextOverride));\n}\nconst traceContextStorage = new AsyncLocalStorage();\nfunction getTraceContext() {\n\treturn traceContextStorage.getStore();\n}\nconst CONSOLE_LEVELS = [\n\t\"log\",\n\t\"debug\",\n\t\"info\",\n\t\"warn\",\n\t\"error\"\n];\nasync function captureConsole(fn) {\n\tconst originals = /* @__PURE__ */ new Map();\n\tfor (const level of CONSOLE_LEVELS) {\n\t\toriginals.set(level, console[level].bind(console));\n\t\tconsole[level] = (...args) => {\n\t\t\toriginals.get(level)?.(...args);\n\t\t\tgetTraceContext();\n\t\t};\n\t}\n\ttry {\n\t\treturn await fn();\n\t} finally {\n\t\tfor (const level of CONSOLE_LEVELS) {\n\t\t\tconst original = originals.get(level);\n\t\t\tif (original) console[level] = original;\n\t\t}\n\t}\n}\nasync function logSystem(level, message, data) {\n\tgetTraceContext();\n}\nasync function withSpan(input, fn) {\n\treturn await fn();\n}\n//#endregion\nexport { JSONRPCMessageSchema as A, createParser as C, createFetchWithInit as D, extractWWWAuthenticateParams as E, normalizeHeaders as O, isMcp as S, auth as T, touchSession as _, buildCredentialRunContext as a, connectMcpStdio as b, isCredentialError as c, MESSAGE_EVENT_TYPE as d, appendEvent as f, listMessageEvents as g, getSession as h, withSpan as i, zodToJsonSchema as k, resolveActionCredentials as l, getAgentByRoute as m, getTraceContext as n, captureCredentialToolErrors as o, createSession as p, logSystem as r, createCredentialResolver as s, captureConsole as t, resolveMcpTools as u, connectMcpDefinition as v, UnauthorizedError as w, defineMcp as x, connectMcpServer as y };\n\n//# sourceMappingURL=dist-CXHSlVhd.mjs.map"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;;AAGA,MAAa,eAAe;CACxB,cAAc;CACd,SAAS;CACT,WAAW;CACX,gBAAgB;CAChB,iBAAiB;CACjB,mBAAmB;CACnB,eAAe;CACf,aAAa;CACb,iBAAiB;CACjB,eAAe;CACf,QAAQ;AACZ;;AAaA,IAAW;CACV,SAAU,uBAAuB,CAClC,GAAG,0BAA0B,wBAAwB,CAAC,EAAE;;;;AC1BxD,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,oBAAoB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,gBAAgB;CACrB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,uBAAuB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,0BAA0B;CAC/B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,oBAAoB;CACzB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,uBAAuB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,qBAAqB;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;AAEA,MAAM,uBAAuB;CAC5B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACD;;;;;AAKA,MAAM,8BAA8B,IAAI,IAAI;CAC3C,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;AACJ,CAAC;;;;;;;;;AASD,MAAM,yBAAyBA,OAAS,EAAE,KAAK,EAAE,YAAY,EAAE,IAAI,GAAG,oCAAoC,EAAE,IAAI,IAAI,oCAAoC,EAAE,MAAM,8BAA8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