Switch to Bun for dependency installs, fix RESEARCH env typos, allow X/Twitter URLs - #3
Open
jongan69 wants to merge 1 commit into
Open
Switch to Bun for dependency installs, fix RESEARCH env typos, allow X/Twitter URLs#3jongan69 wants to merge 1 commit into
jongan69 wants to merge 1 commit into
Conversation
…X/Twitter URLs - Dockerfile: install Bun (curl script, symlinked into /usr/local/bin) and replace `npm install --production` with `bun install --frozen-lockfile --production`; copy bun.lock instead of package-lock.json. Node remains the runtime for scripts/web/server.mjs. - scripts/deploy/oracle-setup.sh: install Bun on first run if missing, then use the same frozen-lockfile production install. - .env.example: fix RESEACH_* -> RESEARCH_* for all research settings so example values match the env vars actually read by scripts/ai-config.mjs and scripts/doctor.mjs. - Add X/Twitter (x.com, twitter.com with www variants) to the video host allowlist in scripts/web/security.mjs and .env.example. - scripts/pipeline.mjs: const -> let for domain before the fallback reassignment. Co-Authored-By: Claude <noreply@anthropic.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 |
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.
Summary
/usr/local/bin) and replacenpm install --productionwithbun install --frozen-lockfile --production; copybun.lockinstead ofpackage-lock.json. Node remains the runtime forscripts/web/server.mjs.RESEACH_*->RESEARCH_*for all research settings so example values match the env vars actually read byscripts/ai-config.mjsandscripts/doctor.mjs(previously the example values were silently ignored).x.com,twitter.comwithwwwvariants) to the video host allowlist.const->letfordomainbefore the fallback reassignment.Audit notes
bun.lockis committed;package-lock.jsonno longer exists, matching the new copy/install steps.curlandca-certificateswere already installed in the Dockerfile apt layer, so the Bun install script works.🤖 Generated with Claude Code