-
Notifications
You must be signed in to change notification settings - Fork 1
Create kernel app port #43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
update syntax
Mesa DescriptionDescription
Testing
TL;DRIntroduced a new Why we made these changesThis is Phase 1 of migrating the What changed?
Validation
Description generated by Mesa. Update settings |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Performed full review of 81c29c0...89aa20b
Analysis
-
Language/Template Mismatch: Python is declared as supported in types.go, but only TypeScript templates are embedded. This will cause runtime failures when users try to create Python apps.
-
Hardcoded Output Messages: Success messages and next steps in create.go don't adapt to the selected language or app name, creating a confusing experience, especially for Python users.
-
Missing Template Validation: There's an unimplemented TODO for template validation in prompts.go, allowing users to provide invalid templates that won't fail until file copy operations.
-
Incomplete Error Handling: Directory creation doesn't clean up on subsequent failures, leaving empty directories when template copying fails.
-
Code Quality Issues: Function name typo in prompts.go ("handleLangugePrompt") and error messages in copy.go could be more actionable.
Tip
Help
Slash Commands:
/review- Request a full code review/review latest- Review only changes since the last review/describe- Generate PR description. This will update the PR body or issue comment depending on your configuration/help- Get help with Mesa commands and configuration options
17 files reviewed | 0 comments | Edit Agent Settings • Read Docs
| @@ -0,0 +1,5 @@ | |||
| # Kernel Typscript Sample App | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: "Typscript" → "TypeScript"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in #44
| "typescript": "^5" | ||
| }, | ||
| "dependencies": { | ||
| "@onkernel/sdk": ">=0.14.2", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might want to regenerate the lock files with the latest SDK version.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will fix in #44
rgarcia
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! Solid Phase 1 implementation. Left some comments.
|
random thing i forgot here--make sure to update the readme of the repo with documentation for the new command |
Yeah I'll add this when I'm almost done with this! |
update comment
c837987 to
261ead0
Compare
|
@cursoragent review |
|
Now I have a comprehensive understanding of the PR. Let me review the code and provide feedback on the outstanding issues mentioned in the PR comments, as well as any additional observations. Code Review for PR #43: Create kernel app portSummaryThis is a solid Phase 1 implementation of migrating Outstanding Issues from PR Comments
# Kernel Typscript Sample App
* kernel invoke ts-basic get-page-title -p '{"url": "https://www.google.com"}'
* kernel logs ts-basic -f # Open in separate tab
Additional Observations
Recommendations
Would you like me to make these fixes? Learn more about Cursor Agents |
|
Cursor Agent can help with this pull request. Just |

Description
npx @onkernel/create-kernel-appto thecliTesting
133inroot.gomake build && ./bin/kernel create