fix(skills): regenerate the CLI skills the quota subcommands left stale (#10698)

`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 <bakryun0718@proton.me>
This commit is contained in:
Diego Rodrigues de Sa e Souza
2026-08-18 20:17:56 -03:00
committed by GitHub
parent 22b89a273b
commit d9cb48231c
2 changed files with 74 additions and 0 deletions

View File

@@ -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 <n>`
**Example:**
```bash
omniroute quota preview
```
### `quota ensure <json>`
Idempotently create or update a quota pool from a JSON object
**Example:**
```bash
omniroute quota ensure <json>
```
### `resilience`
**Example:**

View File

@@ -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)