Skip to content

chore: rename cortex-sdk to supercode-cortex for npm publish - #260

Merged
yashdev9274 merged 1 commit into
mainfrom
supercode-cli
Aug 14, 2026
Merged

chore: rename cortex-sdk to supercode-cortex for npm publish#260
yashdev9274 merged 1 commit into
mainfrom
supercode-cli

Conversation

@yashdev9274

@yashdev9274 yashdev9274 commented Aug 14, 2026

Copy link
Copy Markdown
Owner

Description

  • Update package metadata: name, license (MIT), author, repository, keywords, bun engines, public publishConfig
  • Add prepublishOnly script to rebuild dist before publish
  • Generate dts for the CLI bundle to match the ./cli export types
  • Update CLI help/usage strings and config header comment to the new package name
  • Rewrite README to reflect real module implementations and CLI usage

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

    • Renamed the package and CLI to supercode-cortex.
    • Added documented installation, configuration, provider, and command usage guidance.
    • Added MIT licensing and public package metadata.
    • Added Bun and AI tooling requirements.
    • Enabled CLI type declaration generation.
  • Documentation

    • Updated generated setup instructions and CLI help text to use the new package name.

- Update package metadata: name, license (MIT), author, repository, keywords, bun engines, public publishConfig
- Add prepublishOnly script to rebuild dist before publish
- Generate dts for the CLI bundle to match the ./cli export types
- Update CLI help/usage strings and config header comment to the new package name
- Rewrite README to reflect real module implementations and CLI usage

@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.

@vercel

vercel Bot commented Aug 14, 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 Aug 14, 2026 8:09am
supercli-client Ready Ready Preview Aug 14, 2026 8:09am
supercli-docs Ready Ready Preview Aug 14, 2026 8:09am

@yashdev9274
yashdev9274 merged commit 8fcfbd8 into main Aug 14, 2026
4 of 8 checks passed
@coderabbitai

coderabbitai Bot commented Aug 14, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: cfc342ce-f242-4ccb-b403-9005747982a4

📥 Commits

Reviewing files that changed from the base of the PR and between c46c52c and 1d74e37.

📒 Files selected for processing (7)
  • packages/cortex-sdk/LICENSE
  • packages/cortex-sdk/README.md
  • packages/cortex-sdk/cli/src/commands/init.ts
  • packages/cortex-sdk/cli/src/config.ts
  • packages/cortex-sdk/cli/src/index.ts
  • packages/cortex-sdk/package.json
  • packages/cortex-sdk/tsup.cli.config.ts

Disabled knowledge base sources:

  • Linear integration is disabled

You can enable these sources in your CodeRabbit configuration.


Walkthrough

The PR renames the package and CLI to supercode-cortex, updates generated imports and messages, adds publication metadata and declaration output, and expands the README with installation, configuration, provider, and license details.

Changes

Package publication

Layer / File(s) Summary
Package metadata and build configuration
packages/cortex-sdk/package.json, packages/cortex-sdk/tsup.cli.config.ts, packages/cortex-sdk/LICENSE
The package uses the supercode-cortex identity, adds publication metadata and a prepublish build, emits CLI declarations, and includes the MIT license.
CLI naming and generated imports
packages/cortex-sdk/cli/src/commands/init.ts, packages/cortex-sdk/cli/src/config.ts, packages/cortex-sdk/cli/src/index.ts
Generated imports, help text, usage examples, and command messages use supercode-cortex.
SDK documentation and usage examples
packages/cortex-sdk/README.md
The README documents installation, CLI commands, imports, configuration, providers, environment variables, and licensing.

Estimated code review effort: 2 (Simple) | ~10 minutes

Possibly related PRs

Poem

A rabbit hops through package names,
From Cortex paths to publishable claims.
CLI commands now point the way,
README guides the build today.
MIT leaves a license trail—
Supercode sails beyond the veil!

✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch
📝 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.

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