-
Notifications
You must be signed in to change notification settings - Fork 8
docs: BUN_BE_BUN #2
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
Open
ryoppippi
wants to merge
1
commit into
R44VC0RP:main
Choose a base branch
from
ryoppippi:bu-bun
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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.
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.
🧩 Analysis chain
🌐 Web query:
opencode BUN_BE_BUN environment variable documentation💡 Result:
Short answer — BUN_BE_BUN is a Bun runtime environment variable that, when set (usually to "1"), makes a single-file executable produced by bun build --compile behave like the bun CLI (runs Bun itself / exposes Bun commands instead of the embedded app). OpenCode’s code/tooling may set or check BUN_BE_BUN for Bun detection. Sources: Bun docs/blog (executable behavior) [1][2]; OpenCode environment list / repo notes (mentions BUN_BE_BUN set by bash tool for detection) [3][4].
Sources
🌐 Web query:
opencode x cursor command syntax💡 Result:
Use the Cursor CLI as your EDITOR and call OpenCode’s editor commands. Example steps:
Example commands:
Sources:
[1] Cursor CLI docs.
[2] OpenCode TUI / Editor setup docs.
[3] OpenCode keybinds / editor integration docs.
🌐 Web query:
opencode tool requirements Node.js Bun💡 Result:
Short answer — requirements and install options for OpenCode:
Install entry points (examples): curl -fsSL https://opencode.ai/install | bash; npm install -g opencode-ai; bun install -g opencode-ai; brew/paru/choco/winget/scoop options. [1][2][4]
Sources: OpenCode docs/site and GitHub.
[1] https://dev.opencode.ai/ › (site)
[2] https://github.com/opencode-ai/opencode
[3] Example repo mentioning Bun recommended: https://github.com/chris-tse/opencode-web
[4] Install docs & package-manager options: https://opencode.ai/docs/ and related install pages
[5] Prereqs (Git, Docker, API keys): https://dev.opencode.ai/docs/
Incorrect dependency claim: Node.js IS required/recommended, not optional.
The line "no need node/bun" contradicts OpenCode's documented requirements. Node.js ≥ 18.0.0 is required/recommended for installation via npm/pnpm/yarn, and Bun is a supported and recommended option, not something you skip. The
BUN_BE_BUN=1environment variable is for Bun runtime detection in compiled binaries, not for eliminating Bun as a runtime option.Correct the note to accurately reflect installation requirements. Additionally, the specific command
opencode x cursor-opencode-authlacks public documentation—verify its syntax and provide context for users unfamiliar with this invocation.🤖 Prompt for AI Agents