Skip to content

feat: bump supercode-cli version to 0.1.91 and add new cloud models: - #245

Merged
yashdev9274 merged 1 commit into
mainfrom
supercode-cli
Jul 28, 2026
Merged

feat: bump supercode-cli version to 0.1.91 and add new cloud models:#245
yashdev9274 merged 1 commit into
mainfrom
supercode-cli

Conversation

@yashdev9274

@yashdev9274 yashdev9274 commented Jul 28, 2026

Copy link
Copy Markdown
Owner

Description

  • Updated version in package.json to 0.1.91.
  • Added new cloud models: "mimo-v2.5", "fireworks/nemotron-3-ultra-nvfp4", "kimi-k2-7-code", and "kimi-k3".
  • Introduced a new premium section for cloud models requiring Supercode Cloud Premium.
  • Enhanced model selection logic to include premium tags for better user experience.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Refactor (no functional changes)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

  • bun test passes
  • bun run typecheck passes
  • bun run lint passes (if applicable)

Checklist:

  • My code follows the project's style guidelines
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works

Summary by CodeRabbit

  • New Features

    • Added a dedicated Supercode Cloud Premium section to model selection.
    • Premium models now display a clear “PREMIUM” label.
    • Added support for additional cloud models, including Mimo, Kimi, Nemotron, and other premium options.
    • Added pricing information for newly supported models.
  • Bug Fixes

    • Premium model selections now provide an upgrade notice and preserve the current model when access is unavailable.
  • Chores

    • Updated the CLI release version to 0.1.91.

- Updated version in package.json to 0.1.91.
- Added new cloud models: "mimo-v2.5", "fireworks/nemotron-3-ultra-nvfp4", "kimi-k2-7-code", and "kimi-k3".
- Introduced a new premium section for cloud models requiring Supercode Cloud Premium.
- Enhanced model selection logic to include premium tags for better user experience.
@vercel

vercel Bot commented Jul 28, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
supercli Ready Ready Preview, Comment Jul 28, 2026 7:23am
supercli-client Ready Ready Preview, Comment Jul 28, 2026 7:23am
supercli-docs Ready Ready Preview, Comment Jul 28, 2026 7:23am

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The CLI adds a premium cloud model section, labels premium entries, blocks their selection with an upgrade notice, and registers additional models in server access and pricing tables. The package version increases to 0.1.91.

Changes

Premium Cloud Model Support

Layer / File(s) Summary
Premium model catalog
apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts
Adds a premium cloud section, labels it, separates premium models from regular cloud models, and defines the premium model set.
Picker display and selection enforcement
apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts
Displays a PREMIUM marker and rejects premium selections with an upgrade notice.
Server access, pricing, and release metadata
apps/supercode-cli/server/src/index.ts, apps/supercode-cli/server/src/lib/pricing.ts, apps/supercode-cli/server/package.json
Adds four models to the server allowlist and pricing table, and updates the package version to 0.1.91.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Possibly related PRs

Poem

A bunny hops through cloud-model rows,
With premium tags where the bright path glows.
“Upgrade,” says the CLI, neat and clear,
While new prices and models appear.
The version blooms—0.1.91!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title matches the main change: a version bump plus new cloud model support.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch supercode-cli

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed. For unrecoverable errors, disable the tool in CodeRabbit configuration.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@yashdev9274
yashdev9274 merged commit ee1f3f4 into main Jul 28, 2026
4 of 8 checks passed

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts`:
- Around line 53-60: Uncomment and expose the `fireworks/nemotron-3-ultra-nvfp4`
entry in the model picker’s `CLOUD_MODELS` collection, or place it in
`PREMIUM_CLOUD_MODELS` if that is the intended pricing tier, so users can select
the allowlisted model.

In `@apps/supercode-cli/server/src/index.ts`:
- Around line 69-72: Enforce the verified Cloud Premium entitlement
consistently: in apps/supercode-cli/server/src/index.ts lines 69-72, gate the
newly allowlisted premium model IDs behind the authenticated user’s entitlement
instead of relying only on CLOUD_ALLOWED_MODELS; in
apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts lines 611-624,
display the upgrade notice only when the authenticated user lacks that
entitlement, allowing subscribed users to select these models.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: c0fa3e11-b68b-4e71-b2b7-de6cc163c3aa

📥 Commits

Reviewing files that changed from the base of the PR and between b6576d5 and 484b53c.

📒 Files selected for processing (4)
  • apps/supercode-cli/server/package.json
  • apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts
  • apps/supercode-cli/server/src/index.ts
  • apps/supercode-cli/server/src/lib/pricing.ts

Comment on lines 53 to +60
{ value: "deepseek-v4-flash", label: "DeepSeek V4 Flash", provider: "supercode", cost: "free", desc: "Fast & capable" },
{ value: "glm-5.2", label: "GLM 5.2", provider: "supercode", cost: "free", desc: "Latest GLM" },
{ value: "glm-5.1", label: "GLM 5.1", provider: "supercode", cost: "free", desc: "Stable & reliable" },
{ value: "kimi-k2-6", label: "Kimi K2.6", provider: "supercode", cost: "free", desc: "Long context" },
{ value: "minimax-m3", label: "MiniMax M3", provider: "supercode", cost: "free", desc: "Fast & smart" },
// { value: "glm-5.2", label: "GLM 5.2", provider: "supercode", cost: "free", desc: "Latest GLM" },
// { value: "glm-5.1", label: "GLM 5.1", provider: "supercode", cost: "free", desc: "Stable & reliable" },
// { value: "kimi-k2-6", label: "Kimi K2.6", provider: "supercode", cost: "free", desc: "Long context" },
// { value: "minimax-m3", label: "MiniMax M3", provider: "supercode", cost: "free", desc: "Fast & smart" },
{ value: "hy3", label: "Hunyuan Hy3", provider: "supercode", cost: "free", desc: "Tencent flagship" },
{ value: "mimo-v2.5", label: "Mimo v2.5", provider: "supercode", cost: "free", desc: "Novita" },
// { value: "fireworks/nemotron-3-ultra-nvfp4", label: "Nemotron 3 Ultra NVFP4", provider: "supercode", cost: "free", desc: "Fireworks" },

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Expose Nemotron in the model picker.

Line 60 leaves fireworks/nemotron-3-ultra-nvfp4 commented out, so users cannot select a model that this PR allowlists and prices. Add it to CLOUD_MODELS (or PREMIUM_CLOUD_MODELS, if intended).

Proposed fix
-  // { value: "fireworks/nemotron-3-ultra-nvfp4", label: "Nemotron 3 Ultra NVFP4", provider: "supercode", cost: "free", desc: "Fireworks" },
+  { value: "fireworks/nemotron-3-ultra-nvfp4", label: "Nemotron 3 Ultra NVFP4", provider: "supercode", cost: "free", desc: "Fireworks" },
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{ value: "deepseek-v4-flash", label: "DeepSeek V4 Flash", provider: "supercode", cost: "free", desc: "Fast & capable" },
{ value: "glm-5.2", label: "GLM 5.2", provider: "supercode", cost: "free", desc: "Latest GLM" },
{ value: "glm-5.1", label: "GLM 5.1", provider: "supercode", cost: "free", desc: "Stable & reliable" },
{ value: "kimi-k2-6", label: "Kimi K2.6", provider: "supercode", cost: "free", desc: "Long context" },
{ value: "minimax-m3", label: "MiniMax M3", provider: "supercode", cost: "free", desc: "Fast & smart" },
// { value: "glm-5.2", label: "GLM 5.2", provider: "supercode", cost: "free", desc: "Latest GLM" },
// { value: "glm-5.1", label: "GLM 5.1", provider: "supercode", cost: "free", desc: "Stable & reliable" },
// { value: "kimi-k2-6", label: "Kimi K2.6", provider: "supercode", cost: "free", desc: "Long context" },
// { value: "minimax-m3", label: "MiniMax M3", provider: "supercode", cost: "free", desc: "Fast & smart" },
{ value: "hy3", label: "Hunyuan Hy3", provider: "supercode", cost: "free", desc: "Tencent flagship" },
{ value: "mimo-v2.5", label: "Mimo v2.5", provider: "supercode", cost: "free", desc: "Novita" },
// { value: "fireworks/nemotron-3-ultra-nvfp4", label: "Nemotron 3 Ultra NVFP4", provider: "supercode", cost: "free", desc: "Fireworks" },
{ value: "deepseek-v4-flash", label: "DeepSeek V4 Flash", provider: "supercode", cost: "free", desc: "Fast & capable" },
// { value: "glm-5.2", label: "GLM 5.2", provider: "supercode", cost: "free", desc: "Latest GLM" },
// { value: "glm-5.1", label: "GLM 5.1", provider: "supercode", cost: "free", desc: "Stable & reliable" },
// { value: "kimi-k2-6", label: "Kimi K2.6", provider: "supercode", cost: "free", desc: "Long context" },
// { value: "minimax-m3", label: "MiniMax M3", provider: "supercode", cost: "free", desc: "Fast & smart" },
{ value: "hy3", label: "Hunyuan Hy3", provider: "supercode", cost: "free", desc: "Tencent flagship" },
{ value: "mimo-v2.5", label: "Mimo v2.5", provider: "supercode", cost: "free", desc: "Novita" },
{ value: "fireworks/nemotron-3-ultra-nvfp4", label: "Nemotron 3 Ultra NVFP4", provider: "supercode", cost: "free", desc: "Fireworks" },
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts` around
lines 53 - 60, Uncomment and expose the `fireworks/nemotron-3-ultra-nvfp4` entry
in the model picker’s `CLOUD_MODELS` collection, or place it in
`PREMIUM_CLOUD_MODELS` if that is the intended pricing tier, so users can select
the allowlisted model.

Comment on lines +69 to +72
"mimo-v2.5",
"fireworks/nemotron-3-ultra-nvfp4",
"kimi-k2-7-code",
"kimi-k3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔒 Security & Privacy | 🟠 Major | 🏗️ Heavy lift

Enforce Premium entitlement on the server.

The picker denies every premium selection without checking a plan, while the Supercode structured-generation endpoint accepts these newly allowlisted models based only on CLOUD_ALLOWED_MODELS. A caller can bypass the CLI notice with a direct request, and subscribed users cannot select these models through the picker.

  • apps/supercode-cli/server/src/index.ts#L69-L72: require a verified Cloud Premium entitlement before serving premium model IDs.
  • apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts#L611-L624: show the upgrade notice only when the authenticated user lacks that entitlement.
📍 Affects 2 files
  • apps/supercode-cli/server/src/index.ts#L69-L72 (this comment)
  • apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts#L611-L624
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@apps/supercode-cli/server/src/index.ts` around lines 69 - 72, Enforce the
verified Cloud Premium entitlement consistently: in
apps/supercode-cli/server/src/index.ts lines 69-72, gate the newly allowlisted
premium model IDs behind the authenticated user’s entitlement instead of relying
only on CLOUD_ALLOWED_MODELS; in
apps/supercode-cli/server/src/cli/commands/slashCommands/model.ts lines 611-624,
display the upgrade notice only when the authenticated user lacks that
entitlement, allowing subscribed users to select these models.

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