Skip to content

fix(cli): tidy CLI help, pagination and command list through overlays - #1286

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_994586726
Open

copybara-service[bot] wants to merge 1 commit into
mainfrom
copybara_994586726

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

fix(cli): tidy CLI help, pagination and command list through overlays

Apply CLI overlay improvements from https://github.com/google-gemini/gemini-api-oad/pull/1104 and regenerate the CLI:

  • behavior.yaml:
    • Add cursor pagination on ListCredentials and ListEnvironments using next_page_token.
    • Add pattern: "^$|[^.]|[.]{3}" on resource ID path parameters to reject "." and ".." dot segments with a validation error (exit 2).
    • Add x-speakeasy-enum-groups on ModelOption to group gemini-api models into Gemini, Gemma, Image, Speech, Music, Robotics, and Video sections.
  • commands.yaml:
    • Remove planned tokens and docs placeholder commands.
    • List environments under Advanced.
  • help.yaml:
    • Rewrite agent create description and agent list flag descriptions.
    • Add credentials group description, summaries for credentials and environments operations, and id field descriptions.
  • examples.yaml:
    • Add ID examples for webhooks, triggers, and credentials commands and request examples for credentials create and credentials update.

@copybara-service
copybara-service Bot force-pushed the copybara_994586726 branch 3 times, most recently from f76e0df to 637c409 Compare October 7, 2026 15:39
Apply CLI overlay improvements from https://github.com/google-gemini/gemini-api-oad/pull/1104 and regenerate the CLI:
- `behavior.yaml`:
  - Add cursor pagination on `ListCredentials` and `ListEnvironments` using `next_page_token`.
  - Add `pattern: "^$|[^.]|[.]{3}"` on resource ID path parameters to reject "." and ".." dot segments with a validation error (exit 2).
  - Add `x-speakeasy-enum-groups` on `ModelOption` to group `gemini-api models` into Gemini, Gemma, Image, Speech, Music, Robotics, and Video sections.
- `commands.yaml`:
  - Remove planned `tokens` and `docs` placeholder commands.
  - List `environments` under Advanced.
- `help.yaml`:
  - Rewrite `agent create` description and `agent list` flag descriptions.
  - Add `credentials` group description, summaries for `credentials` and `environments` operations, and `id` field descriptions.
- `examples.yaml`:
  - Add ID examples for `webhooks`, `triggers`, and `credentials` commands and request examples for `credentials create` and `credentials update`.

PiperOrigin-RevId: 994586726

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant