Repository navigation
Commit cdcd3dd
feat(cli): update Speakeasy generator to v2.948.0, bump CLI to v0.4.2, and apply CLI overlay fixes
- Update `third_party/golang/github_com/speakeasy_api/openapi_generation/v/v2` to `v2.948.0` (`7c3f416f053d1eab4df1809a063574b60fedd695`), removing the `charm.land/huh/v2` import/theme workarounds from `sync_speakeasy_outputs.py` and `third_party/gemini_api_cli/copy.bara.sky`.
- Move `x-speakeasy-enum-groups` onto `ModelOption` in `overlays/gaos/08-published-shapes.yaml` alongside `ModelOption.enum`.
- Add `x-speakeasy-pattern-error-message` on resource ID dot-segment validation rules in `overlays/cli/behavior.yaml`.
- Mark write-only credential secret properties (`EnvironmentVariableConfig.value`, `HttpBearerConfig.token`, `OAuth2Config.{client_secret,refresh_token}`, and their update counterparts) with `x-speakeasy-param-sensitive: true`.
- Default `stream` to `false` on `agent status` (`getInteractionById`), default `pageSize` to `1000` on `models list`, and require `requestBody` on `webhooks rotate-signing-secret` so empty calls send `{}`.
- Expose `--previous-interaction-id` and `output.stream.metadata` (`$.data.interaction.id`) on streaming interaction commands, add `--previous-interaction-id` / `--aspect-ratio` / `--image-size` / `--output-mime-type` to `image`, update `video` resume docs to `gemini-api video --resume <id>`, update `VideoConfig` `reference_to_video` description, and document OAuth requirements on `files register`.
- Bring `tests/contract/` into `third_party/gemini_api_cli/tests/contract/` as Piper Source of Truth (exported via Copybara) and update contract assertions for `video --async` resume hint and `agent status` default `stream=false`.
- Bump `cli.version` to `0.4.2` and regenerate OAD specs, SDKs, and the CLI.
PiperOrigin-RevId: 9979616781 parent 6a6501c commit cdcd3dd
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
0 commit comments