Remove API key copy and move to kernel login #52
Merged
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
Please provide an explanation of the changes you've made:
Implementation Checklist
Testing
Docs
Visual Proof
Please provide a screenshot or video demonstrating that your changes work locally:
Related Issue
Fixes [Github issue link]
Additional Notes
TL;DR
Updated all sample applications and CLI instructions to use
kernel loginfor authentication instead of manually settingKERNEL_API_KEYenvironment variables.Why we made these changes
To simplify and standardize the user authentication process, making it more user-friendly and consistent across all Kernel sample applications and documentation. This centralizes API key management and improves the developer experience.
What changed?
kernel loginand improved general markdown formatting.index.ts): Refactored string literals and conditional statements; updatedprintNextStepsto guide users towardskernel login.templates/python/*/*.py): Modifiedmain.pyfiles inadvanced-sample,cua, andsample-appto remove directKERNEL_API_KEYenvironment variable usage, directing users tokernel login.templates/typescript/*/*.ts): Updatedindex.tsfiles inadvanced-sample,cua, andsample-appcomments and CLI invocation instructions to reflect thekernel logincommand.sample-appalso received extensive code reformatting and consistent use of double quotes for strings.Description generated by Mesa. Update settings