Rename runtime branding from bun to poly - #8
Merged
Conversation
Per-language feature parity in the poly REPL:
- History is now isolated per language (.bun_repl_history.{js,py,sh,sql,c});
switching modes swaps the active history file
- Python: expression results bind to _ (CPython REPL convention);
Tab completion lists names from the persistent RustPython scope
- Shell/SQL/C: multiline input collection (unclosed quotes, backslash
continuation, unbalanced braces/brackets, SQL statements collected
until the trailing semicolon); Tab completion from per-language word
lists (shell commands, SQLite keywords, C keywords)
- All non-JS modes get lightweight syntax highlighting (keywords cyan,
strings green, comments dim, numbers yellow)
- _ / _error already flowed through the shared evaluate_and_print path
for Shell/SQL/C; Python now matches
- package.json name: bun -> poly (build scripts' findRepoRoot updated)
- CLI: bunx command/shim -> polyx (argv0 detection keeps legacy bunx),
'bun' build alias -> 'poly', polyx cache dirs, polyx symlinks
- Install artifacts: Windows .bunx shim files -> .polyx (writer + reader),
shebang node/poly detection, node->poly command-line rewrite
- Error/welcome banners: node:repl welcome, html dev-server banner,
bake overlay, upgrade copy ("Welcome to Poly", fork repo links)
- Completions: files renamed to poly.{bash,fish,zsh}, poly-cli.json;
spec.yaml, generator output, install-completions filenames updated
- dockerhub: Dockerfiles pull liooil/poly release assets (tar.gz +
SHA256SUMS), install /usr/local/bin/poly, poly user/polyx links
- Tests: .bunx -> .polyx expectations, 'polyx npm login' message
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.
What
Renames the user-facing `bun` branding to `poly` per the agreed scope (package identity, banners, CLI commands, completions, install artifacts, dockerhub). Unchanged: `bun.lock`/`bunfig.toml` filenames, runtime version string, `BUN_` env vars, `packages/` dirs, `Bun.*` JS API.
Changes
Verification