Skip to content

feat(cli): add agentic api tools - #61178

Merged
cvolzer3 merged 23 commits into
masterfrom
codex/agentic-cli-api-tools
Jun 15, 2026
Merged

cvolzer3 merged 23 commits into
masterfrom
codex/agentic-cli-api-tools

Conversation

@cvolzer3

@cvolzer3 cvolzer3 commented Jun 2, 2026 •

Copy link
Copy Markdown
Contributor

Problem

Coding agents need shell-friendly access to the same broad PostHog product surface area that the MCP server exposes. The existing CLI has a small hand-written command set, so agents cannot reliably discover tools, inspect schemas, install PostHog skills, or execute generated product operations from a local repo checkout.

Changes

  • Adds posthog-cli api as an agent-first command surface backed by the generated MCP tool catalog.
  • Adds tools, search, info, schema, call, skill list, skill install, and agents-md install support in the MCP CLI bundle.
  • Adds --dry-run validation for CLI calls and an opt-in --confirm guard for destructive tools.
  • Reuses existing posthog-cli login credentials when proxying from the Rust CLI into the MCP CLI bundle.
  • Adds an idempotent AGENTS.md snippet installer that tells coding agents to use posthog-cli api for PostHog interactions.
  • Adds focused unit coverage for exec --confirm handling and the AGENTS.md snippet installer.

How did you test this code?

  • pnpm exec tsx scripts/copy-instructions.ts && pnpm exec vitest run --project unit tests/unit/exec.test.ts tests/unit/cli-agents-md.test.ts
  • pnpm --filter=@posthog/mcp build:cli
  • cargo check --all-targets
  • cargo run -- api search feature-flag

Docs update

Yes, in PR here: PostHog/posthog.com#17337

🤖 Agent context

This PR was authored with Codex in the local PostHog checkout.

The implementation follows the MCP server's generated tool infrastructure rather than duplicating product-specific CLI commands by hand. The Rust CLI acts as a thin proxy that locates the generated MCP CLI bundle, forwards existing posthog-cli login credentials through environment variables, and preserves host overrides.

A destructive-operation confirmation layer was added at the shared exec-tool level so the standalone CLI can require --confirm for destructive generated tools while preserving MCP server behavior for existing clients. Skills are installed from the Context Mill resource archive into .agents/skills, and the AGENTS.md installer writes a managed, idempotent section.

The first version intentionally ships through posthog-cli, but release packaging still needs follow-up work to bundle services/mcp/dist/posthog-api-cli.mjs into cargo-dist/npm artifacts before this can be published as a complete standalone CLI experience.

@cvolzer3
cvolzer3 requested review from a team, ablaszkiewicz, cat-ph and hpouillot and removed request for a team, ablaszkiewicz, cat-ph and hpouillot June 5, 2026 14:16
@cvolzer3
cvolzer3 marked this pull request as ready for review June 5, 2026 23:41
Comment thread services/mcp/src/cli/context.ts Resolved
Comment thread services/mcp/src/cli/skills.ts Resolved
@greptile-apps

greptile-apps Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

Comments Outside Diff (2)

  1. services/mcp/src/cli/skills.ts, line 789-793 (link)

    P2 Duplicated errorCode helper

    An identical errorCode function is defined in both skills.ts and agents-md.ts. Extracting it to a shared utility (e.g. src/cli/utils.ts) would keep the logic OnceAndOnlyOnce and make it easier to tighten the error-code narrowing in one place.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: services/mcp/src/cli/skills.ts
    Line: 789-793
    
    Comment:
    **Duplicated `errorCode` helper**
    
    An identical `errorCode` function is defined in both `skills.ts` and `agents-md.ts`. Extracting it to a shared utility (e.g. `src/cli/utils.ts`) would keep the logic OnceAndOnlyOnce and make it easier to tighten the error-code narrowing in one place.
    
    How can I resolve this? If you propose a fix, please make it concise.

    Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

  2. services/mcp/src/cli/index.ts, line 607-611 (link)

    P2 API key validated too late for call commands that go through runExecCommand

    requireApiKey(config) is guarded by a command.startsWith('call ') check, but buildExec() — called on every invocation — builds a full ApiClient with an empty string token when no key is present. Read-only commands (tools, search, info, schema) do not hit the network, so this is fine today, but the API-key guard is now implicitly coupled to buildExec's side effects. Consider moving the guard into buildExec and only enforcing it when the context actually makes API calls, or documenting the intentional latent empty-token construction.

    Prompt To Fix With AI
    This is a comment left during a code review.
    Path: services/mcp/src/cli/index.ts
    Line: 607-611
    
    Comment:
    **API key validated too late for `call` commands that go through `runExecCommand`**
    
    `requireApiKey(config)` is guarded by a `command.startsWith('call ')` check, but `buildExec()` — called on every invocation — builds a full `ApiClient` with an empty string token when no key is present. Read-only commands (`tools`, `search`, `info`, `schema`) do not hit the network, so this is fine today, but the API-key guard is now implicitly coupled to `buildExec`'s side effects. Consider moving the guard into `buildExec` and only enforcing it when the context actually makes API calls, or documenting the intentional latent empty-token construction.
    
    How can I resolve this? If you propose a fix, please make it concise.
Prompt To Fix All With AI
Fix the following 3 code review issues. Work through them one at a time, proposing concise fixes.

---

### Issue 1 of 3
services/mcp/src/cli/agents-md.ts:14
**Duplicate export aliases**

`AGENTS_MD_PROMPT` and `AGENTS_MD_SNIPPET` are assigned the same value on consecutive lines. Callers inside this file use `AGENTS_MD_SNIPPET`; the test file imports `AGENTS_MD_PROMPT`. Exporting both names for the same string violates OnceAndOnlyOnce and leaves future readers uncertain which name to reach for.

### Issue 2 of 3
services/mcp/src/cli/skills.ts:789-793
**Duplicated `errorCode` helper**

An identical `errorCode` function is defined in both `skills.ts` and `agents-md.ts`. Extracting it to a shared utility (e.g. `src/cli/utils.ts`) would keep the logic OnceAndOnlyOnce and make it easier to tighten the error-code narrowing in one place.

### Issue 3 of 3
services/mcp/src/cli/index.ts:607-611
**API key validated too late for `call` commands that go through `runExecCommand`**

`requireApiKey(config)` is guarded by a `command.startsWith('call ')` check, but `buildExec()` — called on every invocation — builds a full `ApiClient` with an empty string token when no key is present. Read-only commands (`tools`, `search`, `info`, `schema`) do not hit the network, so this is fine today, but the API-key guard is now implicitly coupled to `buildExec`'s side effects. Consider moving the guard into `buildExec` and only enforcing it when the context actually makes API calls, or documenting the intentional latent empty-token construction.

Reviews (1): Last reviewed commit: "chore(cli): remove legacy agents snippet..." | Re-trigger Greptile

? (error as { code?: unknown }).code
: undefined
}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Duplicate export aliases

AGENTS_MD_PROMPT and AGENTS_MD_SNIPPET are assigned the same value on consecutive lines. Callers inside this file use AGENTS_MD_SNIPPET; the test file imports AGENTS_MD_PROMPT. Exporting both names for the same string violates OnceAndOnlyOnce and leaves future readers uncertain which name to reach for.

Prompt To Fix With AI
This is a comment left during a code review.
Path: services/mcp/src/cli/agents-md.ts
Line: 14

Comment:
**Duplicate export aliases**

`AGENTS_MD_PROMPT` and `AGENTS_MD_SNIPPET` are assigned the same value on consecutive lines. Callers inside this file use `AGENTS_MD_SNIPPET`; the test file imports `AGENTS_MD_PROMPT`. Exporting both names for the same string violates OnceAndOnlyOnce and leaves future readers uncertain which name to reach for.

How can I resolve this? If you propose a fix, please make it concise.

Comment thread cli/src/api_proxy.rs Resolved
@veria-ai

veria-ai Bot commented Jun 5, 2026 •

Copy link
Copy Markdown
Contributor

PR overview

All previously flagged issues have been addressed. No open security concerns remain on this pull request.

Security review

No open security issues remain on this pull request.

Fixed/addressed: 2 · PR risk: 0/10

@skoob13 skoob13 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great. Some feedback:

  • api --help is empty now. Should probably be populated for humans.
  • posthog-cli api --agent-help seems to be working very well (example). Alternatively, we can also detect when Claude Code/Codex is running and swap the api --help content with the prompt.

Opus:
Image

Sonnet:
Image

Haiku:
Image

cvolzer3 and others added 3 commits June 11, 2026 12:32
The guide is composed from the same exec-tool templates the MCP server
serves (tool blurb, command reference, schema drill-down rules,
tool-domain index, query-tool catalog), with posthog:exec invocations
rewritten to posthog-cli api syntax so there is a single source of
truth. Also populates the clap-side `api --help` with the full command
list so humans get useful help without the node bundle.

Co-authored-by: Georgiy Tarasov <georgiy@posthog.com>
The installed snippet is now delimited by <posthog>...</posthog> tags,
which gives agents a clearly bounded section and lets reinstalls
replace stale content in place instead of skipping or duplicating it.
The snippet also steers agents to load `posthog-cli api --agent-help`
into context first, and falls back to `npx -y @posthog/cli@latest`
when the binary is not installed.
Comment thread services/mcp/src/cli/tools.ts Resolved
cvolzer3 added 4 commits June 11, 2026 15:41
Resolve two conflicts from merging latest master:
- services/mcp/src/tools/exec.ts: keep both scopeGatedTools (master)
  and ExecToolOptions (our branch) parameters on createExecTool
- exec-tool.json snapshot: accept master's deletion

Adapt to master's version-param removal:
- Drop version from getCliTools(), buildAgentHelp(), and their callers
- Remove mcpVersion filtering in CLI tool loader
- Update test assertions to match current snippet content
@github-actions

github-actions Bot commented Jun 11, 2026 •

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 62.3 MB

ℹ️ View Unchanged
Filename Size
frontend/dist-report/decompression-worker/src/scenes/session-recordings/player/snapshot-processing/decompressionWorker 2.85 kB
frontend/dist-report/exporter/_chunks/chunk 2.62 MB
frontend/dist-report/exporter/_parent/products/actions/frontend/pages/Action 27.7 kB
frontend/dist-report/exporter/_parent/products/actions/frontend/pages/Actions 5.42 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityScene 121 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilitySessionScene 21.3 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityTraceScene 130 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/AIObservabilityUsers 3.55 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/clusters/AIObservabilityClusterScene 22 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/clusters/AIObservabilityClustersScene 54.7 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetScene 20.9 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene 4.2 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation 60 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene 31.9 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/evaluations/EvaluationTemplates 671 B
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/LLMASessionFeedbackDisplay 4.81 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/playground/AIObservabilityPlaygroundScene 38 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/prompts/LLMPromptScene 33.2 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/prompts/LLMPromptsScene 5.39 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/tags/AIObservabilityTag 31.7 kB
frontend/dist-report/exporter/_parent/products/ai_observability/frontend/tags/AIObservabilityTagsScene 11.5 kB
frontend/dist-report/exporter/_parent/products/business_knowledge/frontend/scenes/BusinessKnowledgeScene 21.7 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/Assignee/CyclotronJobInputAssignee 1.38 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/SlaBusinessHours/CyclotronJobInputBusinessHours 2.69 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/components/TicketTags/CyclotronJobInputTicketTags 783 B
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene 5.61 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene 38.8 kB
frontend/dist-report/exporter/_parent/products/conversations/frontend/scenes/tickets/SupportTicketsScene 1.99 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene 84 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene 6.38 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene 6.09 kB
frontend/dist-report/exporter/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene 9.67 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/DataWarehouseScene 49.8 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene 2.81 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene 27.1 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene 6.89 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene 2.58 kB
frontend/dist-report/exporter/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene 7.53 kB
frontend/dist-report/exporter/_parent/products/early_access_features/frontend/EarlyAccessFeature 5.24 kB
frontend/dist-report/exporter/_parent/products/early_access_features/frontend/EarlyAccessFeatures 3.83 kB
frontend/dist-report/exporter/_parent/products/endpoints/frontend/EndpointScene 47.2 kB
frontend/dist-report/exporter/_parent/products/endpoints/frontend/EndpointsScene 27.2 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingFingerprintsScene/ErrorTrackingIssueFingerprintsScene 7.76 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene 101 kB
frontend/dist-report/exporter/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene 42.1 kB
frontend/dist-report/exporter/_parent/products/feature_flags/frontend/FeatureFlagTemplatesScene 6.91 kB
frontend/dist-report/exporter/_parent/products/games/368Hedgehogs/368Hedgehogs 5.24 kB
frontend/dist-report/exporter/_parent/products/games/FlappyHog/FlappyHog 5.7 kB
frontend/dist-report/exporter/_parent/products/legal_documents/frontend/scenes/LegalDocumentNewScene 60.6 kB
frontend/dist-report/exporter/_parent/products/legal_documents/frontend/scenes/LegalDocumentsScene 6.78 kB
frontend/dist-report/exporter/_parent/products/links/frontend/LinkScene 25.5 kB
frontend/dist-report/exporter/_parent/products/links/frontend/LinksScene 5.25 kB
frontend/dist-report/exporter/_parent/products/live_debugger/frontend/LiveDebugger 19.7 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/LogsScene 22.7 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene 18.9 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsAlertNotificationDetailScene/LogsAlertNotificationDetailScene 9.1 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsSamplingDetailScene/LogsSamplingDetailScene 6.25 kB
frontend/dist-report/exporter/_parent/products/logs/frontend/scenes/LogsSamplingNewScene/LogsSamplingNewScene 3.26 kB
frontend/dist-report/exporter/_parent/products/managed_migrations/frontend/ManagedMigration 15.4 kB
frontend/dist-report/exporter/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene 82.1 kB
frontend/dist-report/exporter/_parent/products/mcp_analytics/frontend/MCPAnalyticsToolDetail 22.3 kB
frontend/dist-report/exporter/_parent/products/metrics/frontend/MetricsScene 18.4 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart 4.34 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart 4.22 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart 10 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart 6.18 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart 5.89 kB
frontend/dist-report/exporter/_parent/products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart 5.44 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/observations/ReplayObservation 18.1 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ReplayScanner 27.9 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene 21.8 kB
frontend/dist-report/exporter/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene 25 kB
frontend/dist-report/exporter/_parent/products/revenue_analytics/frontend/revenueAnalyticsLogic 1.62 kB
frontend/dist-report/exporter/_parent/products/revenue_analytics/frontend/RevenueAnalyticsScene 29.5 kB
frontend/dist-report/exporter/_parent/products/session_summaries/frontend/SessionGroupSummariesTable 5.54 kB
frontend/dist-report/exporter/_parent/products/session_summaries/frontend/SessionGroupSummaryScene 23.1 kB
frontend/dist-report/exporter/_parent/products/skills/frontend/LLMSkillScene 1.67 kB
frontend/dist-report/exporter/_parent/products/skills/frontend/LLMSkillsScene 1.68 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/SlackTaskContextScene 9.4 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/TaskDetailScene 25.2 kB
frontend/dist-report/exporter/_parent/products/tasks/frontend/TaskTracker 14.9 kB
frontend/dist-report/exporter/_parent/products/tracing/frontend/TracingScene 79.9 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterview 10.9 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterviewResponse 8.39 kB
frontend/dist-report/exporter/_parent/products/user_interviews/frontend/UserInterviews 6.56 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewIndexScene 3.11 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene 46 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewRunsScene 7.76 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSettingsScene 11.7 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotHistoryScene 14.3 kB
frontend/dist-report/exporter/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotOverviewScene 19.9 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate 17.1 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/Workflows/WorkflowScene 111 kB
frontend/dist-report/exporter/_parent/products/workflows/frontend/WorkflowsScene 61.5 kB
frontend/dist-report/exporter/src/exporter/exporter 43 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterDashboardScene 6.26 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterHeatmapScene 20.5 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterInsightScene 6.97 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterInterviewScene 310 kB
frontend/dist-report/exporter/src/exporter/scenes/ExporterNotebookScene 2.9 MB
frontend/dist-report/exporter/src/exporter/scenes/ExporterRecordingScene 5.39 kB
frontend/dist-report/exporter/src/exporterSharedChunkAnchors 1.3 kB
frontend/dist-report/exporter/src/lib/components/Cards/TextCard/TextCardMarkdownEditor 10.6 kB
frontend/dist-report/exporter/src/lib/components/MonacoDiffEditor 533 B
frontend/dist-report/exporter/src/lib/lemon-ui/LemonMarkdown/MermaidDiagram 2 kB
frontend/dist-report/exporter/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown 790 B
frontend/dist-report/exporter/src/lib/lemon-ui/Link/Link 415 B
frontend/dist-report/exporter/src/lib/monaco/CodeEditor 448 B
frontend/dist-report/exporter/src/lib/monaco/CodeEditorImpl 26 kB
frontend/dist-report/exporter/src/lib/monaco/CodeEditorInline 649 B
frontend/dist-report/exporter/src/lib/monaco/vimMode 211 kB
frontend/dist-report/exporter/src/lib/ui/Button/ButtonPrimitives 479 B
frontend/dist-report/exporter/src/queries/nodes/WebVitals/WebVitals 11.2 kB
frontend/dist-report/exporter/src/queries/nodes/WebVitals/WebVitalsPathBreakdown 4.84 kB
frontend/dist-report/exporter/src/queries/Query/Query 4.84 kB
frontend/dist-report/exporter/src/queries/schema 900 kB
frontend/dist-report/exporter/src/scenes/approvals/changeRequestsLogic 622 B
frontend/dist-report/exporter/src/scenes/authentication/shared/passkeyLogic 602 B
frontend/dist-report/exporter/src/scenes/data-pipelines/event-filtering/EventFilterScene 22.7 kB
frontend/dist-report/exporter/src/scenes/data-pipelines/TransformationsScene 7.95 kB
frontend/dist-report/exporter/src/scenes/hog-functions/misc/Diff 1.35 kB
frontend/dist-report/exporter/src/scenes/insights/views/BoxPlot/BoxPlot 6.5 kB
frontend/dist-report/exporter/src/scenes/insights/views/CalendarHeatMap/CalendarHeatMap 8.92 kB
frontend/dist-report/exporter/src/scenes/insights/views/RegionMap/RegionMap 30.7 kB
frontend/dist-report/exporter/src/scenes/insights/views/WorldMap/WorldMap 1.04 MB
frontend/dist-report/exporter/src/scenes/models/ModelsScene 19.2 kB
frontend/dist-report/exporter/src/scenes/models/NodeDetailScene 19.6 kB
frontend/dist-report/monaco-editor-worker/src/lib/monaco/workers/monacoEditorWorker 288 kB
frontend/dist-report/monaco-json-worker/src/lib/monaco/workers/monacoJsonWorker 419 kB
frontend/dist-report/monaco-typescript-worker/src/lib/monaco/workers/monacoTsWorker 7.02 MB
frontend/dist-report/posthog-app/_chunks/chunk 2.59 MB
frontend/dist-report/posthog-app/_parent/products/actions/frontend/pages/Action 29.2 kB
frontend/dist-report/posthog-app/_parent/products/actions/frontend/pages/Actions 6.82 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityScene 123 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilitySessionScene 21.4 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityTraceScene 131 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/AIObservabilityUsers 4.46 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClusterScene 22.5 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/clusters/AIObservabilityClustersScene 55.2 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetScene 21.4 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/datasets/AIObservabilityDatasetsScene 4.71 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluation 60.5 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/AIObservabilityEvaluationsScene 33.3 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/evaluations/EvaluationTemplates 671 B
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/LLMASessionFeedbackDisplay 4.82 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/playground/AIObservabilityPlaygroundScene 38.5 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptScene 34 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/prompts/LLMPromptsScene 5.9 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTag 33.1 kB
frontend/dist-report/posthog-app/_parent/products/ai_observability/frontend/tags/AIObservabilityTagsScene 12.9 kB
frontend/dist-report/posthog-app/_parent/products/business_knowledge/frontend/scenes/BusinessKnowledgeScene 22.2 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/Assignee/CyclotronJobInputAssignee 1.38 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/SlaBusinessHours/CyclotronJobInputBusinessHours 2.7 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/components/TicketTags/CyclotronJobInputTicketTags 783 B
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/settings/SupportSettingsScene 7.68 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/ticket/SupportTicketScene 33.5 kB
frontend/dist-report/posthog-app/_parent/products/conversations/frontend/scenes/tickets/SupportTicketsScene 2.53 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/CustomerAnalyticsScene 84.4 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerAnalyticsConfigurationScene/CustomerAnalyticsConfigurationScene 8.45 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyBuilderScene/CustomerJourneyBuilderScene 7.45 kB
frontend/dist-report/posthog-app/_parent/products/customer_analytics/frontend/scenes/CustomerJourneyTemplatesScene/CustomerJourneyTemplatesScene 10.6 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/DataWarehouseScene 7.62 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/NewSourceScene/NewSourceScene 3.59 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SchemaScene/SchemaScene 27.7 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceConnectScene/SourceConnectScene 7.61 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourceScene/SourceScene 3.3 kB
frontend/dist-report/posthog-app/_parent/products/data_warehouse/frontend/scenes/SourcesScene/SourcesScene 8.18 kB
frontend/dist-report/posthog-app/_parent/products/early_access_features/frontend/EarlyAccessFeature 6.8 kB
frontend/dist-report/posthog-app/_parent/products/early_access_features/frontend/EarlyAccessFeatures 4.34 kB
frontend/dist-report/posthog-app/_parent/products/endpoints/frontend/EndpointScene 48.6 kB
frontend/dist-report/posthog-app/_parent/products/endpoints/frontend/EndpointsScene 26.6 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingFingerprintsScene/ErrorTrackingIssueFingerprintsScene 8.3 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingIssueScene/ErrorTrackingIssueScene 103 kB
frontend/dist-report/posthog-app/_parent/products/error_tracking/frontend/scenes/ErrorTrackingScene/ErrorTrackingScene 44.5 kB
frontend/dist-report/posthog-app/_parent/products/feature_flags/frontend/FeatureFlagTemplatesScene 6.91 kB
frontend/dist-report/posthog-app/_parent/products/games/368Hedgehogs/368Hedgehogs 5.24 kB
frontend/dist-report/posthog-app/_parent/products/games/FlappyHog/FlappyHog 5.7 kB
frontend/dist-report/posthog-app/_parent/products/legal_documents/frontend/scenes/LegalDocumentNewScene 61.1 kB
frontend/dist-report/posthog-app/_parent/products/legal_documents/frontend/scenes/LegalDocumentsScene 7.29 kB
frontend/dist-report/posthog-app/_parent/products/links/frontend/LinkScene 26 kB
frontend/dist-report/posthog-app/_parent/products/links/frontend/LinksScene 5.76 kB
frontend/dist-report/posthog-app/_parent/products/live_debugger/frontend/LiveDebugger 20.2 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/components/LogsViewer/LogsViewerModal/LogsViewerModal 2.86 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/LogsScene 24 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsAlertDetailScene/LogsAlertDetailScene 19.5 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsAlertNotificationDetailScene/LogsAlertNotificationDetailScene 9.64 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingDetailScene/LogsSamplingDetailScene 6.76 kB
frontend/dist-report/posthog-app/_parent/products/logs/frontend/scenes/LogsSamplingNewScene/LogsSamplingNewScene 3.77 kB
frontend/dist-report/posthog-app/_parent/products/managed_migrations/frontend/ManagedMigration 15.9 kB
frontend/dist-report/posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsScene 83.5 kB
frontend/dist-report/posthog-app/_parent/products/mcp_analytics/frontend/MCPAnalyticsToolDetail 23.7 kB
frontend/dist-report/posthog-app/_parent/products/metrics/frontend/MetricsScene 19.5 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/stickiness/StickinessBarChart/StickinessBarChart 4.81 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/stickiness/StickinessLineChart/StickinessLineChart 4.7 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsBarChart/TrendsBarChart 10.5 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsLifecycleChart/TrendsLifecycleChart 6.66 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsLineChart/TrendsLineChart 6.37 kB
frontend/dist-report/posthog-app/_parent/products/product_analytics/frontend/insights/trends/TrendsPieChart/TrendsPieChart 5.91 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/observations/ReplayObservation 20.2 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScanner 29.3 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ReplayScannersScene 23.2 kB
frontend/dist-report/posthog-app/_parent/products/replay_vision/frontend/replay_scanners/ScannerEditorScene 25.6 kB
frontend/dist-report/posthog-app/_parent/products/revenue_analytics/frontend/revenueAnalyticsLogic 1.96 kB
frontend/dist-report/posthog-app/_parent/products/revenue_analytics/frontend/RevenueAnalyticsScene 30.9 kB
frontend/dist-report/posthog-app/_parent/products/session_summaries/frontend/SessionGroupSummariesTable 6.05 kB
frontend/dist-report/posthog-app/_parent/products/session_summaries/frontend/SessionGroupSummaryScene 25.2 kB
frontend/dist-report/posthog-app/_parent/products/skills/frontend/LLMSkillScene 2.18 kB
frontend/dist-report/posthog-app/_parent/products/skills/frontend/LLMSkillsScene 2.19 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/SlackTaskContextScene 9.91 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/TaskDetailScene 25.8 kB
frontend/dist-report/posthog-app/_parent/products/tasks/frontend/TaskTracker 15.4 kB
frontend/dist-report/posthog-app/_parent/products/tracing/frontend/TracingScene 80.5 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterview 10.9 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterviewResponse 8.9 kB
frontend/dist-report/posthog-app/_parent/products/user_interviews/frontend/UserInterviews 7.08 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewIndexScene 3.62 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunScene 46.5 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewRunsScene 8.27 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSettingsScene 12.2 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotHistoryScene 14.8 kB
frontend/dist-report/posthog-app/_parent/products/visual_review/frontend/scenes/VisualReviewSnapshotOverviewScene 20.4 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/TemplateLibrary/MessageTemplate 17.7 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/Workflows/WorkflowScene 105 kB
frontend/dist-report/posthog-app/_parent/products/workflows/frontend/WorkflowsScene 62.7 kB
frontend/dist-report/posthog-app/src/index 61.6 kB
frontend/dist-report/posthog-app/src/layout/panel-layout/ai-first/tabs/NavTabChat 7.99 kB
frontend/dist-report/posthog-app/src/lib/components/AppShortcuts/utils/DebugCHQueriesImpl 19.2 kB
frontend/dist-report/posthog-app/src/lib/components/Cards/TextCard/TextCardMarkdownEditor 10.6 kB
frontend/dist-report/posthog-app/src/lib/components/MonacoDiffEditor 533 B
frontend/dist-report/posthog-app/src/lib/lemon-ui/LemonMarkdown/MermaidDiagram 2 kB
frontend/dist-report/posthog-app/src/lib/lemon-ui/LemonTextArea/LemonTextAreaMarkdown 790 B
frontend/dist-report/posthog-app/src/lib/lemon-ui/Link/Link 415 B
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditor 448 B
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditorImpl 26 kB
frontend/dist-report/posthog-app/src/lib/monaco/CodeEditorInline 649 B
frontend/dist-report/posthog-app/src/lib/monaco/vimMode 211 kB
frontend/dist-report/posthog-app/src/lib/ui/Button/ButtonPrimitives 482 B
frontend/dist-report/posthog-app/src/queries/nodes/WebVitals/WebVitals 12.6 kB
frontend/dist-report/posthog-app/src/queries/nodes/WebVitals/WebVitalsPathBreakdown 5.25 kB
frontend/dist-report/posthog-app/src/queries/Query/Query 6.2 kB
frontend/dist-report/posthog-app/src/queries/schema 900 kB
frontend/dist-report/posthog-app/src/scenes/activity/explore/EventsScene 8.37 kB
frontend/dist-report/posthog-app/src/scenes/activity/explore/SessionsScene 9.71 kB
frontend/dist-report/posthog-app/src/scenes/activity/live/LiveEventsTable 6.98 kB
frontend/dist-report/posthog-app/src/scenes/agentic/AgenticAuthorize 5.51 kB
frontend/dist-report/posthog-app/src/scenes/approvals/ApprovalDetail 17.8 kB
frontend/dist-report/posthog-app/src/scenes/approvals/changeRequestsLogic 622 B
frontend/dist-report/posthog-app/src/scenes/audit-logs/AdvancedActivityLogsScene 44.9 kB
frontend/dist-report/posthog-app/src/scenes/AuthenticatedShell 213 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/AccountConnected 3.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/AgenticAccountMismatch 2.43 kB
frontend/dist-report/posthog-app/src/scenes/authentication/account/credential-review/CredentialReview 5.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/cli/CLIAuthorize 11.3 kB
frontend/dist-report/posthog-app/src/scenes/authentication/cli/CLILive 4.05 kB
frontend/dist-report/posthog-app/src/scenes/authentication/email-mfa-verify/EmailMFAVerify 3.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/invite-signup/InviteSignup 1.37 kB
frontend/dist-report/posthog-app/src/scenes/authentication/login-2fa/Login2FA 4.74 kB
frontend/dist-report/posthog-app/src/scenes/authentication/login/Login 1.38 kB
frontend/dist-report/posthog-app/src/scenes/authentication/password-reset/PasswordReset 4.5 kB
frontend/dist-report/posthog-app/src/scenes/authentication/password-reset/PasswordResetComplete 3.06 kB
frontend/dist-report/posthog-app/src/scenes/authentication/shared/passkeyLogic 602 B
frontend/dist-report/posthog-app/src/scenes/authentication/signup/SignupContainer 1.35 kB
frontend/dist-report/posthog-app/src/scenes/authentication/two-factor-reset/TwoFactorReset 4.04 kB
frontend/dist-report/posthog-app/src/scenes/authentication/vercel/VercelConnect 5.03 kB
frontend/dist-report/posthog-app/src/scenes/authentication/vercel/VercelLinkError 2.3 kB
frontend/dist-report/posthog-app/src/scenes/authentication/verify-email/VerifyEmail 4.79 kB
frontend/dist-report/posthog-app/src/scenes/billing/AuthorizationStatus 768 B
frontend/dist-report/posthog-app/src/scenes/billing/Billing 717 B
frontend/dist-report/posthog-app/src/scenes/billing/BillingSection 21.6 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/Cohort 33.9 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/CohortCalculationHistory 7.66 kB
frontend/dist-report/posthog-app/src/scenes/cohorts/Cohorts 10.6 kB
frontend/dist-report/posthog-app/src/scenes/coupons/Coupons 895 B
frontend/dist-report/posthog-app/src/scenes/dashboard/Dashboard 7.52 kB
frontend/dist-report/posthog-app/src/scenes/dashboard/dashboards/Dashboards 21.1 kB
frontend/dist-report/posthog-app/src/scenes/dashboard/dashboards/templates/DashboardTemplateCopyScene 7.16 kB
frontend/dist-report/posthog-app/src/scenes/data-management/DataManagementScene 6.52 kB
frontend/dist-report/posthog-app/src/scenes/data-management/definition/DefinitionEdit 23.2 kB
frontend/dist-report/posthog-app/src/scenes/data-management/definition/DefinitionView 31.4 kB
frontend/dist-report/posthog-app/src/scenes/data-management/MaterializedColumns/MaterializedColumns 12.9 kB
frontend/dist-report/posthog-app/src/scenes/data-management/variables/SqlVariableEditScene 8.64 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/batch-exports/BatchExportScene 68.5 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/DataPipelinesNewScene 4.97 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/DestinationsScene 6.22 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/event-filtering/EventFilterScene 23.4 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/legacy-plugins/LegacyPluginScene 23.6 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/TransformationsScene 4.71 kB
frontend/dist-report/posthog-app/src/scenes/data-pipelines/WebScriptsScene 6.08 kB
frontend/dist-report/posthog-app/src/scenes/data-warehouse/DataWarehouseScene 7.6 kB
frontend/dist-report/posthog-app/src/scenes/data-warehouse/editor/EditorScene 5.8 kB
frontend/dist-report/posthog-app/src/scenes/debug/DebugScene 25.2 kB
frontend/dist-report/posthog-app/src/scenes/debug/hog/HogRepl 9.15 kB
frontend/dist-report/posthog-app/src/scenes/experiments/Experiment 216 kB
frontend/dist-report/posthog-app/src/scenes/experiments/Experiments 24.7 kB
frontend/dist-report/posthog-app/src/scenes/experiments/SharedMetrics/SharedMetric 12.1 kB
frontend/dist-report/posthog-app/src/scenes/experiments/SharedMetrics/SharedMetrics 1.81 kB
frontend/dist-report/posthog-app/src/scenes/exports/ExportsScene 5.44 kB
frontend/dist-report/posthog-app/src/scenes/feature-flags/FeatureFlag 117 kB
frontend/dist-report/posthog-app/src/scenes/feature-flags/FeatureFlags 4.62 kB
frontend/dist-report/posthog-app/src/scenes/groups/Group 23 kB
frontend/dist-report/posthog-app/src/scenes/groups/Groups 9.35 kB
frontend/dist-report/posthog-app/src/scenes/groups/GroupsNew 8.72 kB
frontend/dist-report/posthog-app/src/scenes/health-alerts/HealthAlertsScene 6.26 kB
frontend/dist-report/posthog-app/src/scenes/health/categoryDetail/HealthCategoryDetailScene 13.1 kB
frontend/dist-report/posthog-app/src/scenes/health/HealthScene 17 kB
frontend/dist-report/posthog-app/src/scenes/health/pipelineStatus/PipelineStatusScene 12.4 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapNewScene 6.48 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapRecordingScene 5.45 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmap/HeatmapScene 8.3 kB
frontend/dist-report/posthog-app/src/scenes/heatmaps/scenes/heatmaps/HeatmapsScene 5.33 kB
frontend/dist-report/posthog-app/src/scenes/hog-functions/HogFunctionScene 60.4 kB
frontend/dist-report/posthog-app/src/scenes/hog-functions/misc/Diff 1.39 kB
frontend/dist-report/posthog-app/src/scenes/inbox/InboxScene 70.7 kB
frontend/dist-report/posthog-app/src/scenes/insights/InsightQuickStart/InsightQuickStart 8.73 kB
frontend/dist-report/posthog-app/src/scenes/insights/InsightScene 39.9 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/BoxPlot/BoxPlot 6.98 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/CalendarHeatMap/CalendarHeatMap 9.26 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/RegionMap/RegionMap 31.1 kB
frontend/dist-report/posthog-app/src/scenes/insights/views/WorldMap/WorldMap 6.5 kB
frontend/dist-report/posthog-app/src/scenes/instance/AsyncMigrations/AsyncMigrations 14.4 kB
frontend/dist-report/posthog-app/src/scenes/instance/DeadLetterQueue/DeadLetterQueue 6.78 kB
frontend/dist-report/posthog-app/src/scenes/instance/QueryPerformance/QueryPerformance 10 kB
frontend/dist-report/posthog-app/src/scenes/instance/SystemStatus/SystemStatus 18.3 kB
frontend/dist-report/posthog-app/src/scenes/IntegrationsRedirect/IntegrationsRedirect 921 B
frontend/dist-report/posthog-app/src/scenes/marketing-analytics/MarketingAnalyticsScene 46.7 kB
frontend/dist-report/posthog-app/src/scenes/max/Max 19.9 kB
frontend/dist-report/posthog-app/src/scenes/models/ModelsScene 19.7 kB
frontend/dist-report/posthog-app/src/scenes/models/NodeDetailScene 20.7 kB
frontend/dist-report/posthog-app/src/scenes/moveToPostHogCloud/MoveToPostHogCloud 4.5 kB
frontend/dist-report/posthog-app/src/scenes/new-tab/NewTabScene 2.76 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookCanvasScene 11.8 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookPanel/NotebookPanel 13.8 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebookScene 17.1 kB
frontend/dist-report/posthog-app/src/scenes/notebooks/NotebooksScene 8.91 kB
frontend/dist-report/posthog-app/src/scenes/oauth/OAuthAuthorize 810 B
frontend/dist-report/posthog-app/src/scenes/onboarding/coupon/OnboardingCouponRedemption 1.34 kB
frontend/dist-report/posthog-app/src/scenes/onboarding/Onboarding 795 kB
frontend/dist-report/posthog-app/src/scenes/onboarding/sdks/SdkHealthScene 9.24 kB
frontend/dist-report/posthog-app/src/scenes/organization/ConfirmOrganization/ConfirmOrganization 4.5 kB
frontend/dist-report/posthog-app/src/scenes/organization/Create/Create 703 B
frontend/dist-report/posthog-app/src/scenes/organization/Deactivated 1.17 kB
frontend/dist-report/posthog-app/src/scenes/organization/PendingDeletion 2.23 kB
frontend/dist-report/posthog-app/src/scenes/persons/PersonScene 27.9 kB
frontend/dist-report/posthog-app/src/scenes/persons/PersonsScene 11.1 kB
frontend/dist-report/posthog-app/src/scenes/PreflightCheck/PreflightCheck 5.57 kB
frontend/dist-report/posthog-app/src/scenes/product-tours/ProductTour 273 kB
frontend/dist-report/posthog-app/src/scenes/product-tours/ProductTours 6.11 kB
frontend/dist-report/posthog-app/src/scenes/project-homepage/ProjectHomepage 26.7 kB
frontend/dist-report/posthog-app/src/scenes/project/Create/Create 895 B
frontend/dist-report/posthog-app/src/scenes/project/PendingDeletion 2.6 kB
frontend/dist-report/posthog-app/src/scenes/resource-transfer/ResourceTransfer 10.6 kB
frontend/dist-report/posthog-app/src/scenes/saved-insights/SavedInsights 4.04 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/detail/SessionRecordingDetail 8.41 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/file-playback/SessionRecordingFilePlaybackScene 11 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/kiosk/SessionRecordingsKiosk 16.5 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/player/modal/SessionPlayerModal 8.12 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/player/snapshot-processing/DecompressionWorkerManager 323 B
frontend/dist-report/posthog-app/src/scenes/session-recordings/playlist/SessionRecordingsPlaylistScene 11.6 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/SessionRecordings 7.51 kB
frontend/dist-report/posthog-app/src/scenes/session-recordings/settings/SessionRecordingsSettingsScene 8.74 kB
frontend/dist-report/posthog-app/src/scenes/sessions/SessionProfileScene 21.6 kB
frontend/dist-report/posthog-app/src/scenes/settings/SettingsMap 6.56 kB
frontend/dist-report/posthog-app/src/scenes/settings/SettingsScene 9.8 kB
frontend/dist-report/posthog-app/src/scenes/sites/Site 1.57 kB
frontend/dist-report/posthog-app/src/scenes/startups/StartupProgram 21.1 kB
frontend/dist-report/posthog-app/src/scenes/StripeConfirmInstall/StripeConfirmInstall 3.67 kB
frontend/dist-report/posthog-app/src/scenes/subscriptions/SubscriptionScene 17.7 kB
frontend/dist-report/posthog-app/src/scenes/subscriptions/SubscriptionsScene 7.1 kB
frontend/dist-report/posthog-app/src/scenes/surveys/forms/SurveyFormBuilder 3.16 kB
frontend/dist-report/posthog-app/src/scenes/surveys/Survey 7.27 kB
frontend/dist-report/posthog-app/src/scenes/surveys/Surveys 29.5 kB
frontend/dist-report/posthog-app/src/scenes/surveys/wizard/SurveyWizard 69.9 kB
frontend/dist-report/posthog-app/src/scenes/themes/CustomCssScene 5.05 kB
frontend/dist-report/posthog-app/src/scenes/toolbar-launch/ToolbarLaunch 4 kB
frontend/dist-report/posthog-app/src/scenes/Unsubscribe/Unsubscribe 1.71 kB
frontend/dist-report/posthog-app/src/scenes/web-analytics/SessionAttributionExplorer/SessionAttributionExplorerScene 12.2 kB
frontend/dist-report/posthog-app/src/scenes/web-analytics/WebAnalyticsScene 20.3 kB
frontend/dist-report/posthog-app/src/scenes/wizard/Wizard 4.45 kB
frontend/dist-report/posthog-app/src/sharedChunkAnchors 1.33 kB
frontend/dist-report/render-query/src/render-query/render-query 24.6 MB
frontend/dist-report/toolbar/src/toolbar/toolbar 10.5 MB

compressed-size-action

Comment thread cli/src/api_proxy.rs Resolved
Comment thread cli/src/api_proxy.rs Resolved
Comment thread cli/src/api_proxy.rs Resolved
Comment thread services/mcp/src/cli/tools.ts Resolved
Comment thread services/mcp/src/cli/tools.ts Resolved
Comment thread .github/workflows/release.yml Resolved
@socket-security

socket-security Bot commented Jun 12, 2026 •

Copy link
Copy Markdown

Dependency limit exceeded — report not shown.

This pull request scan exceeded the 10,000-dependency limit applied to this scan, so the results are incomplete and may be inaccurate. To avoid reporting false positives, Socket has not posted a report.

Upgrade your plan to raise the dependency limit and get complete reports, or view the partial scan in the dashboard.

Socket is always free for open source. If this is a non-commercial open source project, contact us to request a free Team account.

@cvolzer3
cvolzer3 requested a review from hpouillot June 12, 2026 21:16
Comment thread cli/src/api_proxy.rs
Comment on lines +27 to +29
if let Some(path) = env::var_os("POSTHOG_API_CLI_PATH") {
if path.is_empty() {
bail!("POSTHOG_API_CLI_PATH is set but empty.");

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty environment variable value is incorrectly rejected. When POSTHOG_API_CLI_PATH is set to an empty string, the check if path.is_empty() will trigger and bail with an error. However, in Unix shells, unsetting a variable is different from setting it to empty. Users might set POSTHOG_API_CLI_PATH= to explicitly unset the override, expecting fallback behavior. Instead, this code treats empty string as an error rather than falling through to the default search paths.

if let Some(path) = env::var_os("POSTHOG_API_CLI_PATH") {
    // Skip the empty check - if it's set but empty, just proceed
    let path = PathBuf::from(path);
    let resolved = path.canonicalize().with_context(|| {

Alternatively, treat empty as "not set":

if let Some(path) = env::var_os("POSTHOG_API_CLI_PATH") {
    if path.is_empty() {
        // Fall through to default search instead of error
    } else {
        let path = PathBuf::from(path);
        // ... rest of validation
    }
}
Suggested change
if let Some(path) = env::var_os("POSTHOG_API_CLI_PATH") {
if path.is_empty() {
bail!("POSTHOG_API_CLI_PATH is set but empty.");
if let Some(path) = env::var_os("POSTHOG_API_CLI_PATH").filter(|p| !p.is_empty()) {

Spotted by Graphite

Fix in Graphite


Is this helpful? React 👍 or 👎 to let us know.

@cvolzer3
cvolzer3 merged commit 4bb5931 into master Jun 15, 2026
170 checks passed
@cvolzer3
cvolzer3 deleted the codex/agentic-cli-api-tools branch June 15, 2026 12:44
@deployment-status-posthog

deployment-status-posthog Bot commented Jun 15, 2026 •

Copy link
Copy Markdown

Deploy status

Environment Status Deployed At Workflow
dev ✅ Deployed 2026-06-15 13:35 UTC Run
prod-us ✅ Deployed 2026-06-15 13:49 UTC Run
prod-eu ✅ Deployed 2026-06-15 13:55 UTC Run

@darkopia darkopia mentioned this pull request Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants