Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

9.9 KB
Raw Blame
packages:
  # include packages in subfolders (e.g. apps/ and packages/)
  - "web"
  - "worker"
  - "ai-gateway"
  - "packages/**"
  - "ee"
# Consolidate compatible versions during writable installs; frozen installs keep the lockfile.
autoDedupe: true
# These private product packages are versioned together by release-it.
versioning:
  fixed:
    - [langfuse, web, worker]
# Bound competing Rust jobs across worktrees sharing pnpm's state directory.
# Keep persistent dev servers and the outer Turbo commands outside this group.
concurrencyGroups:
  langfuse-rust: 1
tasks:
  "rust:build":
    concurrencyGroup: langfuse-rust
  "rust:build:dev":
    concurrencyGroup: langfuse-rust
  "rust:build:debug":
    concurrencyGroup: langfuse-rust
  "rust:typecheck":
    concurrencyGroup: langfuse-rust
  "rust:lint":
    concurrencyGroup: langfuse-rust
  "rust:lint:fix":
    concurrencyGroup: langfuse-rust
  "rust:test":
    concurrencyGroup: langfuse-rust
catalog:
  "@aws-sdk/client-cloudwatch": 3.1074.0
  "@aws-sdk/client-eventbridge": 3.1074.0
  "@aws-sdk/client-lambda": 3.1074.0
  "@aws-sdk/client-lambda-microvms": 3.1074.0
  "@aws-sdk/client-s3": 3.1074.0
  "@aws-sdk/client-sesv2": 3.1074.0
  "@aws-sdk/credential-providers": 3.1074.0
  "@aws-sdk/lib-storage": 3.1074.0
  "@aws-sdk/s3-request-presigner": 3.1074.0
  # The official TS 6 side-by-side wrapper (resolves to typescript 6.0.3):
  # provides the JS compiler API for tooling that still needs it but
  # ships no `tsc` bin, so package scripts fall through to the workspace-root
  # ts7 alias and build/typecheck with the native TypeScript 7 compiler.
  typescript: npm:@typescript/typescript6@^6.0.2
# 5 day delay for new dep upgrades to reduce supply chain attack risk
minimumReleaseAge: 7200
# Drop exceptions for versions no longer in the lockfile during writable installs.
minimumReleaseAgeExcludePrune: true
# Reject recent releases whose publishing trust is weaker than earlier versions.
# Older releases have already passed the five-day quarantine above.
trustPolicy: no-downgrade
trustPolicyIgnoreAfter: 7200
# Keep pnpm itself out of the workspace lockfile's dependency graph.
pmOnFail: ignore
packageExtensions:
  # TypeScript 7 has no JavaScript compiler API yet. Keep Storybook's toolchain
  # on the TypeScript 6 compatibility package while Next builds with 7.
  "@storybook/[email protected]":
    dependencies:
      typescript: npm:@typescript/typescript6@^6.0.2
  # dependency-cruiser reads the JS compiler API to follow TypeScript imports.
  # Resolved against web's `typescript` (7.x) it finds no API, silently stops
  # parsing .ts/.tsx, and reports an empty import graph instead of an error.
  "[email protected]":
    dependencies:
      typescript: npm:@typescript/typescript6@^6.0.2
  "[email protected]":
    dependencies:
      typescript: npm:@typescript/typescript6@^6.0.2
  "[email protected]":
    dependencies:
      typescript: npm:@typescript/typescript6@^6.0.2
allowBuilds:
  "@prisma/client": true
  "@prisma/engines": true
  "@sentry/cli": true
  esbuild: true
  sharp: true
  unrs-resolver: true
  "@datadog/native-appsec": false
  "@datadog/native-iast-taint-tracking": false
  "@datadog/native-metrics": false
  core-js: false
  dd-trace: false
  msgpackr-extract: false
  msw: false
  prisma: false
  protobufjs: false
  "@datadog/pprof": false
  "@scarf/scarf": false
  cpu-features: true
  ssh2: true
  vue-demi: true
overrides:
  # Storybook's compatible Vite adapter pins an older Next.js env prerelease.
  # Keep its env loader aligned with the app until the adapter updates its pin.
  "[email protected]>@next/env": 16.4.2
  # React Email requires html-to-text ^9, which pulls in vulnerable deepmerge
  # (CVE-2026-93753). Version 10.0.1 replaces it with patched deepmerge-ts.
  "@react-email/render>html-to-text": 10.0.1
  # The root Mastra adapter does not load CopilotKit. Only its unused
  # `@ag-ui/mastra/copilotkit` subpath requires this peer.
  "@ag-ui/[email protected]>@copilotkit/runtime": "-"
  # The adapter only drives local agents and never requires the remote-agent
  # client at runtime (its types import MastraClient). Auto-installing this peer
  # added @mastra/client-js, which pins a second, older @mastra/core (~60MB).
  "@ag-ui/[email protected]>@mastra/client-js": "-"
  # The generated client loads its query engine from .prisma/client and never
  # requires the CLI. Resolving this optional peer made `pnpm deploy --prod`
  # ship the Prisma CLI and its engines in the worker image.
  "@prisma/client>prisma": "-"
  browserslist: 4.28.7
  postcss: 8.5.25
  esbuild: "0.28.1"
  # Keep both installed majors on their security-patched releases.
  "undici@6": 6.29.1
  "undici@7": 7.30.1
  zod: 4.6.6
  nanoid: 3.3.18
  tar-fs: ^2.1.2
  rollup@^4.0.0: ^4.22.4
  "@types/node-fetch": ^2.6.13
  "@types/react-dom": 19.2.3
  fast-xml-builder: 1.1.7
  glob: ^10.5.0
  qs: 6.17.0
  [email protected]: 0.1.13
  # ReDoS only affects the 8.x line (CVE-2026-4926/-4923, >=8.0.0 <8.4.0).
  [email protected]: 8.4.0
  # SSRF + throttling fixes land in 4.0.29/4.0.33. @mastra/core pins its
  # provider-utils-v6 alias to exactly 4.0.27, which the range key can't
  # catch — aliased deps need alias-name overrides (same reason -v5 exists).
  "@ai-sdk/provider-utils@<=4.0.32": 4.0.33
  "@ai-sdk/provider-utils-v5": "npm:@ai-sdk/[email protected]"
  "@ai-sdk/provider-utils-v6": "npm:@ai-sdk/[email protected]"
  # Scalar's agent package pins an SSRF-vulnerable AI SDK through two paths.
  "@scalar/[email protected]>ai": 6.0.230
  "@ai-sdk/[email protected]>ai": 6.0.230
  # CVE-2026-45820: fflate infinite loop DoS in unzipSync (GHSA-px8p-9vwx-vf98)
  [email protected]: 0.8.3
  # CVE-2026-104844: quadratic flat-selector parsing, fixed in 6.1.5.
  # @tailwindcss/typography pins exactly 6.0.10, including at its latest release.
  "@tailwindcss/typography>postcss-selector-parser": 6.1.5
  # @ag-ui/mastra imports parsePartialJson from @ai-sdk/ui-utils, whose module
  # evaluation needs exports (validatorSymbol) that only exist in its own
  # provider-utils 2.x line — exempt it from the blanket 4.0.33 lift above.
  "@ai-sdk/ui-utils>@ai-sdk/provider-utils": 2.2.8
  # Hono's dependents allow these security fixes: XSS in 4.13.7 and
  # double decoding in 4.13.11 (GHSA-5r4p-p66f-jhc7).
  hono: 4.13.11
  # A batch of SSRF, prototype-pollution, ReDoS and proxy-confusion fixes
  # (CVE-2026-101898 through -101909) all land in 1.20.0. @slack/web-api and
  # @vueuse/integrations declare ^1 ranges the vulnerable 1.18.0 already
  # satisfies, so only an override moves it.
  axios: 1.20.0
  # CVE-2026-101916 (certificate validation) and CVE-2026-101915 (sensitive
  # data in server errors), fixed in 1.14.5. The OpenTelemetry gRPC exporters,
  # @a2a-js/sdk and dockerode all declare ^1 ranges the vulnerable 1.14.4
  # already satisfies, so only an override moves it.
  "@grpc/grpc-js": 1.14.5
  # CVE-2026-106444/-106445/-106446: code injection and script-tag escaping
  # fixes land in 4.7.10. eslint-plugin-boundaries and @boundaries/elements
  # both pin handlebars to exactly 4.7.9, including at their latest releases,
  # so only an override moves it to the patched version.
  handlebars: 4.7.10
  # next-auth 4.24.x caps its optional nodemailer peer at ^7 but contains no
  # nodemailer imports (we pass a custom sendVerificationRequest); without this
  # pnpm auto-installs a second, unused nodemailer@7 instance for web.
  # Remove once next-auth allows nodemailer ^10.
  "next-auth>nodemailer": "^10.1.7"
patchedDependencies:
  # focusFirst crashes on null item refs (items unmounting while entry focus
  # runs), e.g. opening a row-actions dropdown while a table re-renders.
  # Still unfixed upstream as of 1.1.19; remove once Radix guards focusFirst.
  "@radix-ui/[email protected]": patches/@[email protected]
  # Select typeahead schedules nextItem.ref.current.focus() in a setTimeout.
  # If the item unmounts before the timeout (dynamic option lists, closing the
  # menu, a sibling field remounting items), the ref is null and throws.
  # Fixed upstream in 2.3.7; remove this patch when we bump.
  "@radix-ui/[email protected]": patches/@[email protected]
  [email protected]: patches/[email protected]
  # The document-level drag handlers crash when a panel group unmounts
  # mid-drag: setPointerCapture on the detached separator throws
  # InvalidStateError on every pointermove, and the pointerup teardown throws
  # "Could not find data for Group with id ...". Guard both (skip detached
  # elements / unmounted groups). Still unfixed upstream as of 4.12.2.
  [email protected]: patches/[email protected]
publicHoistPattern:
  - "*prisma*"
  - "@aws-sdk/client-s3"
minimumReleaseAgeExclude:
  # Next.js security upgrade; eligible after 2026-10-20 20:58 UTC.
  - [email protected]
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  - "@next/[email protected]"
  # Companion toolchain upgrade; eligible after 2026-10-21 19:10 UTC.
  - [email protected]
  - [email protected]
  - "@turbo/[email protected]"
  - "@turbo/[email protected]"
  - "@turbo/[email protected]"
  - "@turbo/[email protected]"
  - "@turbo/[email protected]"
  - "@turbo/[email protected]"
  # Undici security fixes; eligible after 2026-10-20 14:20 UTC.
  - [email protected]
  - [email protected]
  # qs security fix; eligible after 2026-11-01 06:23 UTC.
  - [email protected]
  # follow-redirects security fix; eligible after 2026-10-30 21:32 UTC.
  - [email protected]
  # Handlebars security fixes; eligible after 2026-10-10 22:37 UTC.
  - [email protected]
  # fast-uri security fixes; eligible after 2026-10-24 23:05 UTC.
  - [email protected]
  # body-parser security fix; eligible after 2026-10-27 11:39 UTC.
  - [email protected]