packages:
  - .
  - ui
  - packages/*
  - extensions/*
  - examples/*
  - tools/solid-lint

minimumReleaseAge: 10080
minimumReleaseAgeStrict: true

# Trusted Codex runtimes are outside the dependency cooldown.
minimumReleaseAgeExclude:
  - "@openai/codex"
  - "@openai/codex-*"
  # Reviewed libterminal 0.3.11 release; remove after 2026-11-08T02:20:47.166Z.
  - "@openclaw/libterminal@0.3.11"
  # Reviewed tokenjuice 0.11.0 release; remove after 2026-11-15T00:53:40.315Z.
  - "tokenjuice@0.11.0"
  # Solid itself is exempt from the release-age gate (Peter, 2026-10-11).
  - "solid-js"
  - "@solidjs/*"
  # Peter approved 2026-10-24: solid-js rc.18 transitive SSR/hydration serialization dependencies.
  - "seroval@1.7.0"
  - "seroval-plugins@1.7.0"
  # Reviewed fs-safe 0.27.1 release and native helpers; remove after 2026-11-11T20:05:13.550Z.
  - "@openclaw/fs-safe-darwin-arm64@0.27.1"
  - "@openclaw/fs-safe-darwin-x64@0.27.1"
  - "@openclaw/fs-safe-freebsd-arm64@0.27.1"
  - "@openclaw/fs-safe-freebsd-x64@0.27.1"
  - "@openclaw/fs-safe-linux-arm64-gnu@0.27.1"
  - "@openclaw/fs-safe-linux-arm64-musl@0.27.1"
  - "@openclaw/fs-safe-linux-x64-gnu@0.27.1"
  - "@openclaw/fs-safe-linux-x64-musl@0.27.1"
  - "@openclaw/fs-safe-win32-arm64-msvc@0.27.1"
  - "@openclaw/fs-safe-win32-x64-msvc@0.27.1"
  - "@openclaw/fs-safe@0.27.1"

# Isolated installs let pnpm reuse whole-package APFS clones instead of relinking every file.
nodeLinker: isolated
# The build requires dependencies physically inside the checkout, and updates build
# the target tree under the host's user pnpm config, which may set a global store.
virtualStoreType: project
# Private inodes keep sibling installs from changing compiler input ctimes.
packageImportMethod: clone-or-copy
# GWTs share node_modules; script commands must not reconcile that shared install.
verifyDepsBeforeRun: false
blockExoticSubdeps: true

overrides:
  # Azure Identity already resolves MSAL 7.1.2; move only the Teams credential edge.
  "@microsoft/teams.apps@2.1.1>@azure/msal-node": 7.1.2
  # Memory LanceDB supplies vectors; WhatsApp prepares thumbnails with Rastermill.
  "@lancedb/lancedb>@huggingface/transformers": "-"
  "baileys>sharp": "-"
  "baileys>audio-decode": 3.12.0
  "chevrotain>lodash-es": 4.18.1
  "@chevrotain/cst-dts-gen>lodash-es": 4.18.1
  "@chevrotain/gast>lodash-es": 4.18.1
  "@agentclientprotocol/codex-acp@2.3.0>@openai/codex": 0.172.0
  "@codemirror/commands@6.11.1>@codemirror/view": 6.43.15
  "@codemirror/view@6.43.15>@codemirror/state": 6.7.6
  "@anthropic-ai/sdk": 0.137.0
  "@anthropic-ai/vertex-sdk@0.22.0>google-auth-library": 11.3.2
  "@opentelemetry/core": 2.12.0
  "@opentelemetry/propagator-jaeger": 2.12.0
  "@aws-sdk/core": 3.979.1
  "@aws-sdk/credential-provider-node": 3.972.92
  "@aws-sdk/xml-builder": 3.972.42
  "@hono/node-server": 2.1.5
  axios: 1.21.0
  fast-uri: 4.2.3
  follow-redirects: 1.16.2
  defu: 6.1.7
  fast-xml-parser: 5.11.2
  request: "npm:@cypress/request@4.0.1"
  request-promise: "npm:@cypress/request-promise@5.0.0"
  basic-ftp: 6.2.3
  brace-expansion: 5.0.12
  # GHSA-68fv-2mgg-jv7q: source-map-js <1.2.2 event-loop DoS (via css-tree).
  source-map-js: 1.2.2
  file-type: 22.3.0
  form-data: 4.0.6
  ip-address: 10.7.5
  # Keep mail authentication on the corrected address parser; mailparser is already newer.
  "mailauth@7.3.1>nodemailer": 10.1.4
  minimatch: 10.2.6
  path-to-regexp: 8.4.2
  proxy-addr: 2.0.8
  qs: 6.17.1
  node-domexception: "npm:@nolyfill/domexception@1.0.28"
  typebox: 1.4.3
  tar: 7.5.22
  tough-cookie: 6.0.2
  "tsdown>rolldown-plugin-dts": 0.28.8
  # Keep both Lit analyzers on the same classic compiler until they support native TS7.
  "web-component-analyzer@2.0.0>typescript": 6.0.3
  "zca-js@2.2.0>tough-cookie": 6.0.2
  yauzl: 3.4.0
  protobufjs: 8.8.1
  uuid: 14.0.3

allowBuilds:
  onnxruntime-node: false
  "@google/genai": true
  "@lydell/node-pty": true
  "@matrix-org/matrix-sdk-crypto-nodejs": true
  "@tloncorp/api": true
  "@tloncorp/tlon-skill": true
  baileys: true
  authenticate-pam: true
  "@discordjs/opus": false
  esbuild: true
  koffi: false
  protobufjs: true
  tree-sitter-bash: false
  openclaw: true
  "@openclaw/proxyline": true
  clawpdf: true
  "@openclaw/crabline": true
  rastermill: true
  node-pty: true

packageExtensions:
  "playwright-core@1.64.1":
    dependencies:
      acorn: 8.19.0
  # rc14 imports long directly; protobufjs's transitive edge is not visible in isolated graphs.
  "baileys@7.0.0-rc14":
    dependencies:
      long: 5.3.2
  # The transient npm lock generator also needs the peer marked optional.
  baileys:
    peerDependenciesMeta:
      sharp:
        optional: true

patchedDependencies:
  "@discord/embedded-app-sdk@2.5.0": patches/@discord__embedded-app-sdk@2.5.0.patch
  "apache-arrow@21.2.0": patches/apache-arrow@21.2.0.patch
  "@shinyoshiaki/binary-data@0.6.1": patches/@shinyoshiaki__binary-data@0.6.1.patch
  "@openclaw/crabline@0.2.0": patches/@openclaw__crabline@0.2.0.patch
  playwright-core@1.64.1: patches/playwright-core@1.64.1.patch
  minizlib@3.1.0: patches/minizlib@3.1.0.patch
  tar@7.5.22: patches/tar@7.5.22.patch
  "baileys@7.0.0-rc14": patches/baileys@7.0.0-rc14.patch
  "matrix-js-sdk@44.0.0": patches/matrix-js-sdk@44.0.0.patch
  "@novnc/novnc@1.7.0": patches/@novnc__novnc@1.7.0.patch
  vitest@5.0.5: patches/vitest@5.0.5.patch
  ghostty-web@0.4.0: patches/ghostty-web@0.4.0.patch
  chrome-devtools-mcp@1.12.0: patches/chrome-devtools-mcp@1.12.0.patch
  "@solidjs/web@2.0.0-rc.18": patches/@solidjs__web@2.0.0-rc.18.patch
  "@solidjs/signals@2.0.0-rc.18": patches/@solidjs__signals@2.0.0-rc.18.patch
  "@homebridge/ciao@1.3.12": patches/@homebridge__ciao@1.3.12.patch
  proper-lockfile@4.1.2: patches/proper-lockfile@4.1.2.patch
  "@clawdbot/lobster@2026.10.1": patches/@clawdbot__lobster@2026.10.1.patch
  acorn@8.19.0: patches/acorn@8.19.0.patch
