chore(clients): regenerate both API clients from the branch spec - #5785
Conversation
…fern generate --local. Ours: the ordered commit surface, read_config, commit warnings. Also picked up (Python client only, stale beyond this stack): sessions attachments, interaction resolution, the mounts rename (BREAKING: MountCreate removed for PublicMountCreate), harness_kind codex. Generated files only, zero hand edits; generator scaffolding untouched proves version parity. TS typecheck clean; Python compileall clean; no in-repo consumer of the removed types.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…ig* and the agent commit request are gone from both clients, and WorkflowRevisionCommitRequest moves back from types/ to requests/ because with one commit route Fern collapses the shared-type-plus-per-route-requests shape back to a single request (the reverse of the previous regen's move, caused by the route deletion, not generator churn; core/ untouched in both clients proves the generator version is unchanged). Break-tested three ways per Mahmoud's ruling: tsc --noEmit exit 0; Python compileall plus import with the removed methods proven absent and the general commit method present; consumer grep clean in web/oss and web/ee
chore(clients): regenerate both API clients from the branch spec
Context
The generated API clients predate the stack's API surface (the ordered commit form, base_revision_id and its 409 body, read_config, commit warnings). The Python client turned out to be stale beyond that: it also missed other teams' shipped API changes.
Changes
Both clients regenerated with the repo's own procedure (clients/scripts/generate.sh, fern generate --local) from the branch's served spec. Zero hand edits; the generator scaffolding is untouched in both clients, which proves version parity with the committed output, so every changed line is spec-driven.
The TypeScript client's diff is almost purely the new surface. The Python client also picks up accumulated drift: sessions attachments, interaction resolution, harness_kind gains codex, and one BREAKING removal: MountCreate is gone from the served spec, replaced by PublicMountCreate. Splitting ours from the drift would require hand-editing generated files, so it lands whole.
Tests / notes
TS: tsc --noEmit exit 0. Python: compileall clean, new types import, the three new methods exist (note: the read method is read_workflow_revision_config, named from the operationId). No file in this repo imports the removed types. External consumers of the Python client should read the breaking note.