Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

6.0 KB
Raw Blame
# The catalog and overrides mirror products/desktop/pnpm-workspace.yaml: the desktop app
# bundles these packages, so both workspaces must resolve the same versions.
packages:
    - packages/*

# A flat node_modules, which Electron and the native rebuilds require.
nodeLinker: hoisted
shamefullyHoist: true
blockExoticSubdeps: true
trustPolicy: no-downgrade
# Maintenance releases published without the provenance of an earlier release.
trustPolicyExclude:
    - [email protected]
    - [email protected]

catalog:
    '@hono/node-server': ^1.13.7
    '@hono/trpc-server': ^0.3.4
    '@earendil-works/pi-agent-core': 1.2.0
    '@earendil-works/pi-ai': 1.2.0
    '@earendil-works/pi-coding-agent': 1.2.0
    '@earendil-works/pi-tui': 1.2.0
    '@parcel/watcher': ^2.5.6
    '@phosphor-icons/react': ^2.1.10
    '@posthog/brand': 0.11.0
    '@posthog/quill': 0.3.0-beta.29
    '@radix-ui/themes': ^3.2.1
    '@tanstack/react-query': ^5.100.14
    '@tanstack/react-router': ^1.170.10
    '@tanstack/react-router-devtools': ^1.167.0
    '@tanstack/router-generator': ^1.167.17
    '@tanstack/router-plugin': ^1.168.13
    '@trpc/client': ^11.17.0
    '@trpc/server': ^11.17.0
    '@trpc/tanstack-react-query': ^11.17.0
    '@types/node': ^20.0.0
    '@types/react': ^19.2.15
    '@types/react-dom': ^19.2.3
    hono: ^4.6.14
    inversify: ^7.10.6
    react: 19.2.6
    react-dom: 19.2.6
    reflect-metadata: ^0.2.2
    superjson: ^2.2.2
    tsup: ^8.5.1
    typescript: ^5.5.0

ignoredBuiltDependencies:
    # koffi's loader uses the prebuilt @koromix/koffi-<plat>-<arch> package, never the install-script build
    - koffi
    - msw
    - protobufjs

minimumReleaseAge: 10080

minimumReleaseAgeExclude:
    - >-
        @openai/[email protected] || 0.164.0-darwin-arm64 || 0.164.0-darwin-x64 ||
        0.164.0-linux-arm64 || 0.164.0-linux-x64 || 0.164.0-win32-arm64 || 0.164.0-win32-x64
    - '@agentclientprotocol/sdk'
    - '@anthropic-ai/claude-agent-sdk'
    - '@anthropic-ai/claude-agent-sdk-darwin-arm64'
    - '@anthropic-ai/claude-agent-sdk-darwin-x64'
    - '@anthropic-ai/claude-agent-sdk-linux-arm64'
    - '@anthropic-ai/claude-agent-sdk-linux-arm64-musl'
    - '@anthropic-ai/claude-agent-sdk-linux-x64'
    - '@anthropic-ai/claude-agent-sdk-linux-x64-musl'
    - '@anthropic-ai/claude-agent-sdk-win32-arm64'
    - '@anthropic-ai/claude-agent-sdk-win32-x64'
    - '@anthropic-ai/sdk'
    - '@earendil-works/pi-agent-core'
    - '@earendil-works/pi-ai'
    - '@earendil-works/pi-coding-agent'
    - '@earendil-works/pi-tui'
    - '@pierre/diffs'
    - '@pierre/theming'
    - '@posthog/quill'
    - '@posthog/quill-charts'
    - '@posthog/quill-tokens'
    - '@tanstack/devtools-core'
    - '@tanstack/history'
    - '@tanstack/react-router'
    - '@tanstack/react-router-devtools'
    - '@tanstack/react-store'
    - '@tanstack/react-virtual'
    - '@tanstack/router-core'
    - '@tanstack/router-devtools-core'
    - '@tanstack/router-generator'
    - '@tanstack/router-plugin'
    - '@tanstack/router-utils'
    - '@tanstack/store'
    - '@tanstack/virtual-core'
    - '@tanstack/virtual-file-routes'

overrides:
    # node-abi predates Electron 42; ^3.92.0 is the first release that knows its ABI
    # (146), needed when rebuilding native modules against Electron 42.
    node-abi: ^3.92.0
    # Dedupe the zod 4.x line to one version so cross-package schema types stay
    # nameable (TS2742). Scoped to 4.x; 3.x consumers are untouched.
    'zod@^4.0.0': 4.4.3
    # Keep one React across the monorepo so shared packages resolve one runtime.
    react: 19.2.6
    react-dom: 19.2.6
    react-test-renderer: 19.2.6
    # Dedupe @types/react so shared UI Ref types unify across apps (a second copy
    # makes nominally-distinct Ref types and breaks ref props in packages/ui).
    '@types/react': ^19.2.15
    '@types/react-dom': ^19.2.3
    # quill 0.3.0-beta.14 ships a broken `@base-ui/react: catalog:` dependency (the
    # catalog protocol leaked into the published package and can't resolve for an
    # external dep); pin it to a real version so installs of quill succeed.
    '@posthog/quill>@base-ui/react': ^1.3.0
    # node-gyp 12 downloads Node headers via undici (^6.25.0). undici through 7.27.2
    # crashes intermittently with `assert(!this.paused)` in the H1 parser's finish()
    # when the socket ends while the body stream is paused, which happens when a
    # native module compiles from source under backpressure (e.g. node-pty in CI).
    # undici 8.4.1 dropped that assertion and handles the paused case gracefully;
    # node-gyp only uses stable public exports (fetch/Agent), so 8.x is safe.
    'node-gyp>undici': 8.5.0
    # Swap vite for the rolldown-based fork for faster dev boot times (#3027).
    vite: npm:[email protected]
    # Security: force patched versions for advisory-flagged packages (each pin is over the
    # 7-day minimumReleaseAge and clears the package's advisories). Drop a pin once the
    # dependents require a patched version on their own.
    protobufjs: 7.6.5
    axios: 1.18.1
    hono: 4.12.28
    '@xmldom/xmldom': 0.8.13
    node-forge: 1.4.0
    simple-git: 3.36.0
    # Additional HIGH transitive fixes (low-risk patch/minor bumps within range).
    drizzle-orm: 0.45.2
    fast-uri: 3.1.4
    '@hono/node-server': 1.19.13
    lodash: 4.18.0
    serialize-javascript: 7.0.5
    '@electron/get>undici': 7.28.0
    rollup: 4.59.0
    'brace-expansion@1': 1.1.16
    'brace-expansion@2': 2.1.2
    'ws@7': 7.5.11
    'ws@8': 8.21.0
    'path-to-regexp@8': 8.4.2
    qs: 6.15.3
    smol-toml: 1.6.1

allowBuilds:
    '@parcel/watcher': true
    '@posthog/cli': true
    better-sqlite3: true
    core-js: true
    electron: true
    electron-winstaller: true
    esbuild: true
    node-pty: true
    tree-sitter-cli: true
    '@google/genai': false
    '@swc/core': false
    msw: false
    protobufjs: false

# Keep `pnpm run` from starting an install, as the root workspace does.
verifyDepsBeforeRun: false
# Installs without a terminal (flox activation, agent hooks, CI) abort when pnpm asks before
# it rebuilds node_modules after a store or layout change, so rebuild without asking.
confirmModulesPurge: false