TerKix rebrand, Gemini model/config support, server robustness, storage helpers & assets#2
TerKix rebrand, Gemini model/config support, server robustness, storage helpers & assets#2Huynhthuongg wants to merge 4 commits into
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
|
Warning Review limit reached
More reviews will be available in 15 minutes and 18 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (15)
✨ Finishing Touches🧪 Generate unit tests (beta)
✨ Simplify code
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. Comment |
|
Kilo Code Review could not run — your account is out of credits. Add credits or switch to a free model to enable reviews on this change. |
There was a problem hiding this comment.
3 issues found across 16 files
You’re at about 95% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.
Reply with feedback, questions, or to request a fix.
Re-trigger cubic
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5070d1c1a0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Huỳnh Thương <252359928+Huynhthuongg@users.noreply.github.com>
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com> Signed-off-by: Huỳnh Thương <252359928+Huynhthuongg@users.noreply.github.com>
Motivation
Description
README.md, updated.env.example(addsGEMINI_MODELandPORT),index.htmlmetadata,metadata.jsonadjustments, and a newpublic/terkix-logo.svgasset.server.ts: load dotenv earlier, exposeGET /api/health, supportGEMINI_MODELandPORTenv vars, add typed request interfaces, normalize input files, robustly parse fenced or plain JSON from Gemini withparseGeminiJson, use the configured model when calling GenAI, and improve error handling/log messages.src/App.tsx, move from directlocalStorageuse to new storage helpers; addedsrc/utils/storage.tswithreadJsonStorage,readStringStorage,readNumberStorage, andwriteStorageincluding legacy-key migration.package.jsonname/version/description, reorganized a few deps betweendependenciesanddevDependencies, addedtypecheckscript andpreview, and updatedvite.config.tscomment encoding fix.Testing
npm run typecheck(runstsc --noEmit), which completed successfully.npm run buildto verify bundling and server bundle generation, which completed without errors.npm run dev) and exercised the new/api/healthendpoint and basic terminal flows to smoke-test runtime behavior, which responded as expected.Codex Task
Summary by cubic
Rebranded RKix to TerKix and hardened the server/AI pipeline with configurable Gemini model and port, a health check, safer JSON handling, and new client storage helpers and visuals.
New Features
metadata.json.express+vite): earlydotenv;GET /api/health;PORTandGEMINI_MODELenvs (defaults 3000 andgemini-2.5-flash); typed request payloads and workspace normalization; fenced/plain JSON parsing; 50 MB JSON body limit; model wired to@google/genai; clearer errors/logs.rkix_*toterkix_*; TerKix copy/icons; optimized terminal rendering and new grid/command-deck styles.devDependencies; addedtypecheckandpreview; minorvite.config.tscomment fix.Migration
GEMINI_API_KEY; optionalGEMINI_MODELandPORT(see.env.example).rkix_*localStorage keys auto-migrate toterkix_*.npm run typecheck,npm run build,npm run dev,npm run preview.Written for commit f35d100. Summary will update on new commits.