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.

chore: add stale generated files (#58998)

Julian Bez3bba4b38aac2
diff --git a/products/replay_vision/frontend/generated/api.schemas.ts b/products/replay_vision/frontend/generated/api.schemas.ts
index 595f9b103773..d335ba17760c 100644
--- a/products/replay_vision/frontend/generated/api.schemas.ts
+++ b/products/replay_vision/frontend/generated/api.schemas.ts
@@ -173,6 +173,37 @@ export const ObservationStatusEnumApi = {
Failed: 'failed',
} as const
+/**
+ * Mirrors `temporal.types.LensSnapshot` for OpenAPI generation.
+ */
+export interface LensSnapshotApi {
+ /** Lens name at run time. */
+ name: string
+ /** Lens type (monitor, classifier, scorer, summarizer, indexer) at run time.
+
+ * `monitor` - Monitor
+ * `classifier` - Classifier
+ * `scorer` - Scorer
+ * `summarizer` - Summarizer
+ * `indexer` - Indexer */
+ lens_type: LensTypeEnumApi
+ /** The `ReplayLens.lens_version` value at the moment the workflow ran. */
+ lens_version: number
+ /** Concrete model that ran the observation.
+
+ * `gemini-3-flash` - Gemini 3 Flash
+ * `gemini-3-flash-lite` - Gemini 3 Flash Lite */
+ model: LensModelEnumApi
+ /** Concrete provider that ran the observation.
+
+ * `google` - Google */
+ provider: LensProviderEnumApi
+ /** Whether the observation was run with Signal emission enabled. */
+ emits_signals: boolean
+ /** Lens-type-specific configuration at run time (prompt, tags, scale, etc.). */
+ lens_config: unknown
+}
+
/**
* * `schedule` - Schedule
* `on_demand` - On demand
@@ -197,24 +228,18 @@ export interface ReplayObservationApi {
* `succeeded` - Succeeded
* `failed` - Failed */
readonly status: ObservationStatusEnumApi
- /** Populated on failure. Includes the malformed model response when validation fails. */
+ /** Populated on failure; includes the malformed model response when validation fails. */
readonly error_reason: string
/** Temporal workflow id for progress queries and debugging. Empty until the workflow starts. */
readonly workflow_id: string
- /** The `ReplayLens.lens_version` value at the moment the workflow ran. */
- readonly lens_version: number
- /** Snapshot of `ReplayLens.lens_config` at run time. Lens edits do not retroactively mutate observations. */
- readonly lens_config_snapshot: unknown
- /** Concrete model that ran the observation. */
- readonly model_used: string
- /** Concrete provider that ran the observation. */
- readonly provider_used: string
+ /** Frozen view of the lens at run time; lens edits do not retroactively mutate this observation. */
+ readonly lens_snapshot: LensSnapshotApi
/** Whether this observation came from the schedule or an on-demand request.
* `schedule` - Schedule
* `on_demand` - On demand */
readonly triggered_by: ObservationTriggerEnumApi
- /** User who triggered an on-demand observation. Null for scheduled observations. */
+ /** User who triggered an on-demand observation; null for scheduled observations. */
readonly triggered_by_user: UserBasicApi | null
/** @nullable */
started_at?: string | null
diff --git a/services/mcp/src/api/generated.ts b/services/mcp/src/api/generated.ts
index 78c0eac013ea..149d27b2cbf5 100644
--- a/services/mcp/src/api/generated.ts
+++ b/services/mcp/src/api/generated.ts
@@ -19733,6 +19733,37 @@ export namespace Schemas {
Indexer: 'indexer',
} as const;
+ /**
+ * Mirrors `temporal.types.LensSnapshot` for OpenAPI generation.
+ */
+ export interface LensSnapshot {
+ /** Lens name at run time. */
+ name: string;
+ /** Lens type (monitor, classifier, scorer, summarizer, indexer) at run time.
+
+ * `monitor` - Monitor
+ * `classifier` - Classifier
+ * `scorer` - Scorer
+ * `summarizer` - Summarizer
+ * `indexer` - Indexer */
+ lens_type: LensTypeEnum;
+ /** The `ReplayLens.lens_version` value at the moment the workflow ran. */
+ lens_version: number;
+ /** Concrete model that ran the observation.
+
+ * `gemini-3-flash` - Gemini 3 Flash
+ * `gemini-3-flash-lite` - Gemini 3 Flash Lite */
+ model: LensModelEnum;
+ /** Concrete provider that ran the observation.
+
+ * `google` - Google */
+ provider: LensProviderEnum;
+ /** Whether the observation was run with Signal emission enabled. */
+ emits_signals: boolean;
+ /** Lens-type-specific configuration at run time (prompt, tags, scale, etc.). */
+ lens_config: unknown;
+ }
+
export type LimitContext = typeof LimitContext[keyof typeof LimitContext];
@@ -22707,24 +22738,18 @@ export namespace Schemas {
* `succeeded` - Succeeded
* `failed` - Failed */
readonly status: ObservationStatusEnum;
- /** Populated on failure. Includes the malformed model response when validation fails. */
+ /** Populated on failure; includes the malformed model response when validation fails. */
readonly error_reason: string;
/** Temporal workflow id for progress queries and debugging. Empty until the workflow starts. */
readonly workflow_id: string;
- /** The `ReplayLens.lens_version` value at the moment the workflow ran. */
- readonly lens_version: number;
- /** Snapshot of `ReplayLens.lens_config` at run time. Lens edits do not retroactively mutate observations. */
- readonly lens_config_snapshot: unknown;
- /** Concrete model that ran the observation. */
- readonly model_used: string;
- /** Concrete provider that ran the observation. */
- readonly provider_used: string;
+ /** Frozen view of the lens at run time; lens edits do not retroactively mutate this observation. */
+ readonly lens_snapshot: LensSnapshot;
/** Whether this observation came from the schedule or an on-demand request.
* `schedule` - Schedule
* `on_demand` - On demand */
readonly triggered_by: ObservationTriggerEnum;
- /** User who triggered an on-demand observation. Null for scheduled observations. */
+ /** User who triggered an on-demand observation; null for scheduled observations. */
readonly triggered_by_user: UserBasic | null;
/** @nullable */
started_at?: string | null;