Unify model catalogs with Codex, Zen and fzf output #1

Closed
silex wants to merge 0 commits from feat/unified-model-catalogs into main
Collaborator

Summary

  • Consolidate model scripts into get_models.sh with extensible provider adapters.
  • Support Codex subscriptions, OpenAI, OpenRouter, Anthropic, Google and OpenCode Zen.
  • Add --plain for fzf and --all with provider-prefixed slugs and isolated failures.
  • Preserve default formatting, handle pagination, and remove obsolete entry points.
  • Document credentials, public Zen catalog and aggregate error semantics.

Verification

  • Bash syntax and whitespace checks.
  • Live Codex and Zen catalogs.
  • Mocked provider responses covering formats, pagination, duplicates, credentials, argument conflicts and partial/total failures.

Unrelated local changes to codex-limits and other utilities are excluded.

## Summary - Consolidate model scripts into `get_models.sh` with extensible provider adapters. - Support Codex subscriptions, OpenAI, OpenRouter, Anthropic, Google and OpenCode Zen. - Add `--plain` for fzf and `--all` with provider-prefixed slugs and isolated failures. - Preserve default formatting, handle pagination, and remove obsolete entry points. - Document credentials, public Zen catalog and aggregate error semantics. ## Verification - Bash syntax and whitespace checks. - Live Codex and Zen catalogs. - Mocked provider responses covering formats, pagination, duplicates, credentials, argument conflicts and partial/total failures. Unrelated local changes to codex-limits and other utilities are excluded.
Replace the separate model-fetching scripts with one extensible CLI for
Codex subscriptions, OpenAI, OpenRouter, Anthropic, Google and OpenCode Zen.

- Reuse the native Codex login and app-server catalog without inference
- Fetch Zen models from its documented public endpoint
- Add --plain for fzf while preserving the default list-block format
- Aggregate --all results as provider/model-slug, isolating provider failures
- Sort and deduplicate identifiers and handle Anthropic/Google pagination
- Remove obsolete entry points and document credentials and error semantics

Verified Bash syntax, live Codex and Zen catalogs, and mocked provider,
pagination, formatting, authentication and partial-failure scenarios.
silex closed this pull request 2026-09-19 20:58:50 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mathieu/duct-tape!1
No description provided.