Add Cloud Agent dev environment config + fix web UI syntax errors - #34
Merged
Conversation
…escapeHtml replace Two JavaScript syntax errors in public/index.html broke the entire web UI (the page hung on 'Loading...'): - Duplicate 'const fragment' declaration when rendering the staged file list - An orphaned '.replace()' after a terminated statement in escapeHtml() Both caused a SyntaxError that halted script execution before any data could load. Removed the redundant lines so the frontend initializes correctly. Co-authored-by: Prax Lannister <praxstack@users.noreply.github.com>
Adds .cursor/environment.json using the default base image (Node 22 + git): - install: npm ci - terminals: npm start (Express web server on port 3002) - ports: expose 3002 Co-authored-by: Prax Lannister <praxstack@users.noreply.github.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 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 |
praxstack
marked this pull request as ready for review
August 27, 2026 11:44
Adds scripts/link-agent-skills.sh and calls it from the install step so the repo-vendored skill packs under .claude/skills/ and .agents/skills/ are symlinked into ~/.claude/skills and ~/.agents/skills, making them active globally on the VM (not only from this repo's working tree). The script is idempotent and skips gracefully when the skill directories are absent. Co-authored-by: Prax Lannister <praxstack@users.noreply.github.com>
1 task
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
Sets up a working Cloud Agent development environment for this codebase and fixes two pre-existing frontend syntax errors that broke the web UI (required to run the app end-to-end).
.cursor/environment.json(default base image with Node 22 + git):install:npm ci, thenbash scripts/link-agent-skills.shterminals:npm start(Express web server on port 3002)ports: expose3002scripts/link-agent-skills.sh: on boot, symlinks the repo-vendored skill packs under.claude/skills/and.agents/skills/into~/.claude/skillsand~/.agents/skillsso they're active globally on the VM (idempotent; skips gracefully when those dirs are absent).public/index.htmlwhere two JavaScriptSyntaxErrors halted script execution, leaving the UI stuck on "Loading...":const fragmentdeclaration in the staged-file render path.replace()after a terminated statement inescapeHtml()🔄 Type of Change
✅ Validation
Validated on the VM and independently on a fresh Cloud Agent booted from a prebuilt build (
bld-20260827-3d52aae5):npm ciinstallnpm run lintnpm testhttp://localhost:3002)AI_REVIEW.md)link-agent-skills.sh📝 Additional Notes
demo-change.jsused during manual testing is intentionally not committed. The twopublic/index.htmlfixes are required to run the app in a browser at all. The skill directories referenced by the link step are added in the companion skills PR (#35).