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.

fix(docker): include agent contracts in frontend build (#116398)

Paul D'Ambra13ff07ce8b6b
diff --git a/.dockerignore b/.dockerignore
index 441c654d3afb..cf5038d01eaa 100644
--- a/.dockerignore
+++ b/.dockerignore
@@ -17,6 +17,7 @@
!packages/llm-normalizer
!packages/owners-yaml
!packages/agent/agent-shadow
+!packages/agent/packages/agent-contracts/src
!dags
!docs/onboarding
!ee
diff --git a/Dockerfile b/Dockerfile
index 1060619b2539..f83522b4c696 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -55,6 +55,7 @@ COPY common/replay-shared/ common/replay-shared/
COPY common/tailwind/ common/tailwind/
COPY packages/quill/ packages/quill/
COPY packages/llm-normalizer/ packages/llm-normalizer/
+COPY packages/agent/packages/agent-contracts/src/ packages/agent/packages/agent-contracts/src/
COPY products/ products/
COPY docs/onboarding/ docs/onboarding/
RUN --mount=type=cache,id=pnpm,target=/tmp/pnpm-store-v24 \