mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-18 21:22:28 +03:00
- canonical executable manifest (bin/cli/cli-manifest.mjs): run/configure/completion derive targets, aliases and --model wiring from one table; drift test cross-checks manifest x cliRuntime x UI catalog (tests/unit/cli/cli-manifest-drift.test.ts) - dashboard Codex generator converged to ~/.codex/config.toml (modern Codex v0.137+, verified against codex-cli 0.147.0): conservative merge, env_key auth (key never written), refuses invalid TOML, reports legacy config.yaml as migration note - omniroute run gemini: launcher over OmniRoute's /v1beta surface via GOOGLE_GEMINI_BASE_URL + isolated GEMINI_CLI_HOME forcing gemini-api-key auth (contract proven against @google/gemini-cli 0.50.0); ACP registration kept distinct - opt-in real smoke harness for upstream CLIs (RUN_CLI_SMOKE=1, credential by env NAME, redacted output): tests/integration/upstream-cli-smoke.int.test.ts - container-guard homologation for POST /api/cli-tools/apply (422 in container, dry-run preview allowed, host write passes) + docs; guard untouched - typecheck: omniglyphAdapter union narrowing, usageTracking typed signatures (UsageLike, no any), models.ts isValidModel params — typecheck:core and typecheck:noimplicit:core now clean - relay core (prior session of this effort): omniroute run for 6 CLIs, configure picker with per-context favorites/recents, contexts with optional keychain + 0600 fallback, provider CRUD with recursive redaction, completion updates, docs
22 lines
917 B
JavaScript
22 lines
917 B
JavaScript
export function registerProvider(program) {
|
|
program
|
|
.command("provider [subcommand]")
|
|
.description("Manage provider connections (use 'providers' for the full interface)")
|
|
.allowUnknownOption()
|
|
.allowExcessArguments()
|
|
.action(() => {
|
|
console.log(`
|
|
Use \`omniroute providers\` for the full provider management interface:
|
|
|
|
omniroute providers available — show provider catalog
|
|
omniroute providers list — list configured connections
|
|
omniroute providers test <name> — test a provider connection
|
|
omniroute providers test-all — test all active connections
|
|
omniroute providers validate — validate local configuration
|
|
omniroute providers add <id> — add an API-key connection
|
|
omniroute providers auth <id> — start an existing OAuth flow
|
|
omniroute providers remove <id> — remove a connection (requires confirmation)
|
|
`);
|
|
});
|
|
}
|