diegosouzapw/omniroute

cli-resilience

Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI.

查看源码

使用方法

  1. 复制安装命令,在自己的智能体环境安装前先检查源码包。
  2. 从原始文档核对所需工具、凭据和支持的宿主。
  3. 说明输入材料与期望交付物,并对照来源检查输出。
npx skills add https://github.com/diegosouzapw/omniroute --skill cli-resilience

开始前需了解

  • 安装不包含模型订阅、API 额度或访问文件的权限。
  • 仓库星数和安装量反映活跃情况,不等于独立质量或安全测试。
仓库原始内容

按源仓库内容呈现,保留标题、案例、代码、表格、链接以及原文引用的演示图片。

<!-- generated by src/lib/agentSkills/generator.ts; manual edits will be overwritten -->

Overview

Inspect and manage circuit-breaker states, connection cooldowns, quota limits, and backoff levels from the CLI. Reset stuck providers and configure resilience thresholds.

Quick install

bash
npm install -g omniroute   # or: npx omniroute
omniroute --version

Subcommands

quota

Flags:

  • --provider <id>
  • --json

Example:

bash
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:

bash
omniroute resilience

resilience status

Flags:

  • --provider <p>

Example:

bash
omniroute resilience status

resilience breakers

Flags:

  • --provider <p>

Example:

bash
omniroute resilience breakers

resilience cooldowns

Flags:

  • --provider <p>
  • --connection-id <id>

Example:

bash
omniroute resilience cooldowns

resilience lockouts

Flags:

  • --provider <p>
  • --model <m>

Example:

bash
omniroute resilience lockouts

resilience reset

Flags:

  • --connection-id <id>
  • --model <m>
  • --all-cooldowns
  • --yes

Example:

bash
omniroute resilience reset

resilience profile

Example:

bash
omniroute resilience profile

resilience show

Example:

bash
omniroute resilience show

resilience set <name>

Example:

bash
omniroute resilience set <name>

resilience config

Example:

bash
omniroute resilience config

resilience show

Example:

bash
omniroute resilience show

resilience set

Flags:

  • --threshold <n>
  • --reset-timeout <ms>
  • --base-cooldown <ms>

Example:

bash
omniroute resilience set

按任务相关推荐

来自同一仓库

更多 Skills

全部 Skills