Skip to content

feat: live Command Code model catalog + API key auth prompt - #7

Merged
sdziupin merged 1 commit into
mainfrom
feat/dynamic-models-auth-36eb
Aug 8, 2026
Merged

sdziupin merged 1 commit into
mainfrom
feat/dynamic-models-auth-36eb

Conversation

@sdziupin

@sdziupin sdziupin commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Laguna was only the unlimited free model used for testing — not the full product catalog.

Changes

  • Dynamic model catalog from cmd --list-models, enriched by the installed CLI’s models.md (context / efforts / vision). No hardcoded product list.
  • Short aliases (laguna, name after /) generated from the live catalog.
  • Laguna stays the default when present.
  • API key auth input: new type: "api" method Enter Command Code API key with a text prompt (was missing — only OAuth/CLI sync were registered).

Verify

  • bun run test pass
  • opencode models → ~91 command-code/* entries
  • opencode run --model command-code/deepseek/deepseek-v4-flash → DEEPSEEK-OK
Open in Web Open in Cursor 

Discover models from `cmd --list-models` (enrich via installed models.md)
instead of a hardcoded Laguna-only list. Add type:api auth method with a
text prompt so OpenCode shows an input field for pasting a session key.

Co-authored-by: Serhii Dziupin <makeittech@users.noreply.github.com>
@sdziupin
sdziupin marked this pull request as ready for review August 8, 2026 17:36
@sdziupin
sdziupin merged commit 4c4ea42 into main Aug 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant