fix(cli): package type for esm imports, missing realtime#574
Merged
waleedlatif1 merged 2 commits intostagingfrom Jun 28, 2025
Merged
fix(cli): package type for esm imports, missing realtime#574waleedlatif1 merged 2 commits intostagingfrom
waleedlatif1 merged 2 commits intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ |
Contributor
There was a problem hiding this comment.
PR Summary
Addresses CLI package publishing readiness by fixing module imports and realtime container handling.
- Added
type: "module"topackages/cli/package.jsonto enable proper ESM imports and module resolution - Changed Drizzle database command from
pushtomigrateto temporarily work around PostgreSQL vector type error - Added missing cleanup and shutdown handling for realtime container in
packages/cli/src/index.ts - Updated package version to 0.1.18 with required CLI dependencies (chalk, commander, inquirer, listr2)
- Improved error handling for PostgreSQL 'vector' type issues in database migrations
2 files reviewed, no comments
Edit PR Review Bot Settings | Greptile
|
✅ No security or compliance issues detected. Reviewed everything up to a0af3ac. Security Overview
Detected Code Changes
Reply to this PR with |
waleedlatif1
pushed a commit
that referenced
this pull request
Jun 28, 2025
* fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli
waleedlatif1
added a commit
that referenced
this pull request
Jun 28, 2025
* feat: agent model dropdown combobox * fix(cli): package type for esm imports, missing realtime (#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli * fix sourceBlock null check * fix(kb): fix kb navigation URLs * fix(csp): update CSP to allow for google drive picker * feat(dropdown): added optional icon to agent model dropdown --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com>
icecrasher321
added a commit
that referenced
this pull request
Jun 28, 2025
* feat(agent): agent model dropdown combobox (#572) * feat: agent model dropdown combobox * fix(cli): package type for esm imports, missing realtime (#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli * fix sourceBlock null check * fix(kb): fix kb navigation URLs * fix(csp): update CSP to allow for google drive picker * feat(dropdown): added optional icon to agent model dropdown --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> * fix concurrent req check (#576) Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net> --------- Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net>
arenadeveloper02
pushed a commit
to arenadeveloper02/p2-sim
that referenced
this pull request
Sep 19, 2025
…#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli
arenadeveloper02
pushed a commit
to arenadeveloper02/p2-sim
that referenced
this pull request
Sep 19, 2025
* feat(agent): agent model dropdown combobox (simstudioai#572) * feat: agent model dropdown combobox * fix(cli): package type for esm imports, missing realtime (simstudioai#574) * fix: package type for esm imports, missing realtime calls and use of migrate * chore: bump cli * fix sourceBlock null check * fix(kb): fix kb navigation URLs * fix(csp): update CSP to allow for google drive picker * feat(dropdown): added optional icon to agent model dropdown --------- Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> * fix concurrent req check (simstudioai#576) Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net> --------- Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.com> Co-authored-by: Aditya Tripathi <aditya@climactic.co> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-MacBook-Air.local> Co-authored-by: Waleed Latif <walif6@gmail.com> Co-authored-by: Vikhyath Mondreti <vikhyathmondreti@Vikhyaths-Air.attlocal.net>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Prepare CLI for publishing. We can change
migrateback topushonce its fixed. Currently seeing the following error:Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Ran it locally.
Checklist:
bun run test)Security Considerations:
Additional Information:
Any additional information, configuration or data that might be necessary to reproduce the issue or use the feature.