From d49f46e93aaa4140be37d4540c2eeb9edf7126f5 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Sun, 28 Jun 2026 10:34:01 -0700 Subject: [PATCH 1/2] Add PostHog to OpenAPI source presets --- packages/plugins/openapi/src/sdk/presets.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/plugins/openapi/src/sdk/presets.ts b/packages/plugins/openapi/src/sdk/presets.ts index 2fc4d85a0..2d3f5dcb2 100644 --- a/packages/plugins/openapi/src/sdk/presets.ts +++ b/packages/plugins/openapi/src/sdk/presets.ts @@ -64,6 +64,14 @@ const openApiOnlyPresets: readonly OpenApiPreset[] = [ icon: "https://svgl.app/library/sentry.svg", featured: true, }, + { + id: "posthog", + name: "PostHog", + summary: "Product analytics, events, feature flags, and insights.", + url: "https://us.posthog.com/api/schema/", + icon: "https://svgl.app/library/posthog.svg", + featured: true, + }, { id: "exa", name: "Exa", From 6db16764eff2ccb7e057a734fc6a524b9252c2c0 Mon Sep 17 00:00:00 2001 From: Rhys Sullivan <39114868+RhysSullivan@users.noreply.github.com> Date: Sun, 28 Jun 2026 10:39:43 -0700 Subject: [PATCH 2/2] Document running formatter before opening PRs --- AGENTS.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 1c0dd1661..987732a65 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,6 +17,10 @@ writing e2e scenarios, see [e2e/AGENTS.md](e2e/AGENTS.md). Run - For code changes, run the narrowest useful verification before handing back. - For broad or merge-ready changes, the full gates are `bun run format:check`, `bun run lint`, `bun run typecheck`, and `bun run test`. +- Always run `bun run format` before opening a PR so the diff lands + already-formatted. Only commit formatting changes to files your branch + actually touches: if `format` rewrites unrelated pre-existing files, leave + those out of the PR (stage just your files). ## Handing Back Work: Evidence, Not Assertions