Skip to content

docs(cli): tools validate exit code, status formats, env list - #1039

Merged
edenreich merged 1 commit into
mainfrom
docs/issue-1038-20261030-1929
Oct 30, 2026
Merged

edenreich merged 1 commit into
mainfrom
docs/issue-1038-20261030-1929

Conversation

@inference-gateway-maintainer

Copy link
Copy Markdown
Contributor

Summary

Documents the three CLI behavior changes from the source PR.

  • cli.md - infer tools validate now exits non-zero with the reason on stderr when the command is not allowed or tools are disabled, with the && eval gating example (also noted in the troubleshooting snippet).
  • cli.md - new "Gateway Status" section under Core Commands covering infer status --format json|yaml: the url, status, version, source, models and error fields, the jq example, and the exit codes (unreachable gateway still exits 0, unknown format exits non-zero). Both command tables now point at it.
  • cli.md and a2a.md - the comma-separated --environment KEY=VALUE,KEY=VALUE form next to the repeated-flag form, plus the note that --environment "" is rejected.

Validation

bun run format, bun run lint:md and bun run build all pass.

Closes #1038

Generated with Claude Code

@inference-gateway-releaser

inference-gateway-releaser Bot commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

🗑️ Preview environment destroyed.

@edenreich
edenreich merged commit e3ddb20 into main Oct 30, 2026
1 check passed
@edenreich
edenreich deleted the docs/issue-1038-20261030-1929 branch October 30, 2026 19:40
inference-gateway-releaser Bot added a commit that referenced this pull request Oct 31, 2026
## [0.9.23](0.9.22...0.9.23) (2026-10-31)

### 👷 CI

* **release:** label issues and PRs shipped in an rc with rc ([#1044](#1044)) ([b0c47d8](b0c47d8))

### 📚 Documentation

* **adk:** frame rust/ts artifact storage as s3-compatible ([#1050](#1050)) ([4b582a6](4b582a6))
* **adk:** s3 artifact provider with RustFS example ([#1046](#1046)) ([c729c4b](c729c4b))
* BashOutput and ListShells need no approval ([#1032](#1032)) ([0b4f3c0](0b4f3c0))
* **cli:** away exit and stop cleanup after a teleport home ([#1053](#1053)) ([36dd83b](36dd83b))
* **cli:** channels configurable tool result cap ([#1043](#1043)) ([a6d20cf](a6d20cf))
* **cli:** document compact.strategy pointer compaction mode ([#1036](#1036)) ([a3a92a3](a3a92a3))
* **cli:** kubernetes workspace gateway modes and gateway_env ([#1054](#1054)) ([cb89aa1](cb89aa1))
* **cli:** panel search accepts multibyte input ([#1041](#1041)) ([a030902](a030902))
* **cli:** tools validate exit code, status formats, env list ([#1039](#1039)) ([e3ddb20](e3ddb20))
* document the gateway segment in the run identity line ([#1028](#1028)) ([a016726](a016726))
* document the plan-mode scratchpad ([#1023](#1023)) ([c44f1c9](c44f1c9))
* document the Rust read-only library carve-out ([#1034](#1034)) ([efc6f56](efc6f56))
* document the wall-clock time budget ([#1022](#1022)) ([dc56278](dc56278))
* **operator:** orchestrator gateway ref and gateway parking ([#1058](#1058)) ([70e1bb2](70e1bb2))
* **operator:** orchestrator image entrypoint contract ([#1049](#1049)) ([e2048dc](e2048dc))
* **operator:** status.url port and spec.server defaults ([#1057](#1057)) ([6970d29](6970d29))
* read attaches image files for vision models ([#1025](#1025)) ([2605223](2605223))
* restore the WebWright provider (re-added upstream) ([#1026](#1026)) ([6242edb](6242edb))

### 🔧 Miscellaneous

* **deps:** bump claude-code 2.1.289 -> 2.1.296 ([#1017](#1017)) ([2d5d9da](2d5d9da))
* **deps:** bump claude-code 2.1.296 -> 2.1.308 ([#1030](#1030)) ([3ec88a2](3ec88a2))
* **deps:** bump infer CLI v0.226.0 -> v0.231.1 ([#1018](#1018)) ([d5b1c02](d5b1c02))
@inference-gateway-releaser

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 0.9.23 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@inference-gateway-releaser inference-gateway-releaser Bot added the released Shipped in a release label Oct 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Shipped in a release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[DOCS] CLI: tools validate exit code, status --format json|yaml, agents --environment syntax

1 participant