Feature: ship a working Command Code provider in the login window
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 19.9k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 30
Description
Request
Add Command Code as a first-class, working provider that ships with jcode and appears in the /login window, built and maintained by the maintainer.
Why
A local/uncommitted commandcode integration exists in a user fork, but it does not work properly and is not part of any jcode release. Rather than a partial third-party build, this should be authored and shipped upstream so it works out of the box for everyone.
Suggested wiring (from the local attempt)
- OpenAI-compatible profile id
commandcode - api base
https://api.commandcode.ai/provider/v1 - api key env
COMMANDCODE_API_KEY, env filecommandcode.env - setup url
https://commandcode.ai - Login provider descriptor with display name
Command Code, API-key auth, and inclusion intui_login_providers()so it shows in/login.
Acceptance criteria
- Command Code appears as a selectable provider in the
/loginwindow (and CLI) in a released build. - Authenticating with a
COMMANDCODE_API_KEYworks end to end (models listed, chat completes). /usagereports sensible data for the provider (not just a/modelskey-status probe).
Please build and ship this provider so users do not have to rely on an uncommitted fork build.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at tui_login_providers() and the /login entry point, then trace the provider path used by the CLI and /usage. Add the Command Code configuration described in the issue and verify that the provider appears in a released build, authenticates with COMMANDCODE_API_KEY, lists models, completes chat, and reports meaningful usage data.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ai, api, authentication, cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100