Skip to content

Conversation

@jiashengguo
Copy link
Member

@jiashengguo jiashengguo commented Jan 26, 2026

bump version

Summary by CodeRabbit

  • New Features

    • Added new CLI command aliases (zenstack-studio and zen-studio) for convenient command access
  • Chores

    • Updated module exports configuration for import/require compatibility
    • Bumped version to 0.2.5

✏️ Tip: You can customize this high-level summary in your review settings.

Copilot AI review requested due to automatic review settings January 26, 2026 11:17
@coderabbitai
Copy link

coderabbitai bot commented Jan 26, 2026

📝 Walkthrough

Walkthrough

Version bumped to 0.2.5. Two new CLI bin aliases added (zenstack-studio and zen-studio). A top-level exports field introduced to re-export index.js for both import and require usage.

Changes

Cohort / File(s) Change Summary
Package Configuration
package.json
Version updated from 0.2.4 to 0.2.5. Two new CLI bin aliases added: zenstack-studio and zen-studio, both mapping to ./bin/cli.js. New root-level exports field introduced with mappings for . to ./index.js for both import and require.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Poem

🐰 A studio springs to life with aliases new,
Zen paths and exports, version shines true,
From point-two-four to point-two-five we go,
With exports field—let the imports flow! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title describes adding exports to prevent version checking by zenstack CLI, which aligns with the main change of introducing an exports field in package.json.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


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 and usage tips.

@jiashengguo jiashengguo changed the title chore: add export without export package.json so that zenstack CLI wo… chore: add export without export package.json so that zenstack CLI wouldn't check the version of it Jan 26, 2026
@jiashengguo jiashengguo merged commit 1ae9438 into dev Jan 26, 2026
7 checks passed
@jiashengguo jiashengguo deleted the jiasheng-dev branch January 26, 2026 11:20
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the published package metadata to better control how @zenstackhq/proxy is consumed, and adds additional CLI entrypoints.

Changes:

  • Bump package version to 0.2.5.
  • Add additional bin aliases (zenstack-studio, zen-studio) pointing to the existing CLI.
  • Add an exports map that only exports the package root entrypoint (and does not export package.json).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +15 to +17
"zenstack-proxy": "./bin/cli.js",
"zenstack-studio": "./bin/cli.js",
"zen-studio": "./bin/cli.js"
Copy link

Copilot AI Jan 26, 2026

Choose a reason for hiding this comment

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

The new bin aliases ("zenstack-studio" / "zen-studio") both point to the same CLI entrypoint, but the CLI currently hard-codes its displayed command name to "zenstack-proxy". When users run zenstack-studio --help they'll still see zenstack-proxy in usage/help output, which is confusing. Consider either adding small wrapper bin scripts per command name, or updating the CLI to derive program.name() from process.argv[1] so each alias displays correctly.

Suggested change
"zenstack-proxy": "./bin/cli.js",
"zenstack-studio": "./bin/cli.js",
"zen-studio": "./bin/cli.js"
"zenstack-proxy": "./bin/cli.js"

Copilot uses AI. Check for mistakes.
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.

2 participants