From d9cb48231cc57e61b6687c257a45151c2c1e600e Mon Sep 17 00:00:00 2001 From: Diego Rodrigues de Sa e Souza Date: Tue, 18 Aug 2026 20:17:56 -0300 Subject: [PATCH] fix(skills): regenerate the CLI skills the quota subcommands left stale (#10698) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `check:agent-skills-sync` fails on the release tip (22b89a273b) with no local changes: the generator reports omni-inference and cli-resilience as stale. The `quota status` / `quota preview` / `quota ensure` subcommands were added to the CLI catalog without re-running the generator, so the committed SKILL.md files no longer match it. Output of `generate-agent-skills.mjs --apply`, additive only — no hand edits. Co-authored-by: Xiangzhe --- skills/cli-resilience/SKILL.md | 34 +++++++++++++++++++++++++++++ skills/omni-inference/SKILL.md | 40 ++++++++++++++++++++++++++++++++++ 2 files changed, 74 insertions(+) diff --git a/skills/cli-resilience/SKILL.md b/skills/cli-resilience/SKILL.md index 6c491a36f3..8b03174036 100644 --- a/skills/cli-resilience/SKILL.md +++ b/skills/cli-resilience/SKILL.md @@ -30,6 +30,40 @@ omniroute --version omniroute quota ``` +### `quota status` + +Show truthful OmniRoute gateway, quota, pool, and circuit state + +**Example:** + +```bash +omniroute quota status +``` + +### `quota preview` + +Preview allocation enforcement without an upstream request + +**Flags:** + +- `--tokens ` + +**Example:** + +```bash +omniroute quota preview +``` + +### `quota ensure ` + +Idempotently create or update a quota pool from a JSON object + +**Example:** + +```bash +omniroute quota ensure +``` + ### `resilience` **Example:** diff --git a/skills/omni-inference/SKILL.md b/skills/omni-inference/SKILL.md index 0a2930477d..e6a787c259 100644 --- a/skills/omni-inference/SKILL.md +++ b/skills/omni-inference/SKILL.md @@ -14,6 +14,24 @@ All requests require a valid Bearer token or session cookie. Obtain a token via ## Endpoints +### POST /api/v1/session-leases + +Acquire, renew, or release an exclusive managed connection lease + +Requires an API key with `lease:exclusive` and an explicit non-empty +`allowedConnections` policy. The opaque owner is bound to the authenticated API key; +the lease owns an eligible connection, not a provider or model. Managed inference +requests present the owner and exact generation headers. Temporary foreign occupancy +returns 429 `WAITING_FOR_CAPACITY` with `Retry-After`. + + +```bash +curl -X POST https://localhost:20128/api/v1/session-leases \ + -H "Authorization: Bearer $OMNIROUTE_TOKEN" + -H "Content-Type: application/json" \ + -d '{}' +``` + ### POST /api/v1/chat/completions Create chat completion @@ -112,6 +130,28 @@ curl -X POST https://localhost:20128/api/v1/embeddings \ -d '{}' ``` +### GET /api/v1/multimodal-embeddings + +List embedding models (Jina multimodal-embeddings alias) + +```bash +curl https://localhost:20128/api/v1/multimodal-embeddings \ + -H "Authorization: Bearer $OMNIROUTE_TOKEN" +``` + +### POST /api/v1/multimodal-embeddings + +Create embeddings (Jina multimodal-embeddings alias) + +Same handler as `POST /api/v1/embeddings`. Provided so Jina-compatible clients that call `/v1/multimodal-embeddings` do not receive HTTP 404 `unknown_route`. + +```bash +curl -X POST https://localhost:20128/api/v1/multimodal-embeddings \ + -H "Authorization: Bearer $OMNIROUTE_TOKEN" + -H "Content-Type: application/json" \ + -d '{}' +``` + ### POST /api/v1/providers/{provider}/embeddings Create embeddings (provider-specific)