Skip to content

release(cli): cut v0.2.8#4092

Merged
saddlepaddle merged 1 commit into
mainfrom
release/cli-v0.2.8
May 5, 2026
Merged

release(cli): cut v0.2.8#4092
saddlepaddle merged 1 commit into
mainfrom
release/cli-v0.2.8

Conversation

@saddlepaddle
Copy link
Copy Markdown
Collaborator

@saddlepaddle saddlepaddle commented May 5, 2026

Summary

Two CLI changes since v0.2.7, both fixing remote-auth UX:

  • superset auth login works reliably on remote terminals (feat(cli): always-on paste fallback for auth login (Ink UI) #4072): races the loopback callback and the paste prompt in parallel with a new Ink UI. Fixes login on remote machines where SSH_CONNECTION isn't set (tmux reattach, VS Code Remote, Codespaces, mosh). c copies the auth URL via OSC 52 (cross-device through SSH) with native pbcopy / clip / wl-copy / xclip / xsel fallback. Esc / Ctrl-C exit cleanly with Login interrupted.
  • Polish on the paste-code page + readline keybindings (feat(cli-auth): polish paste-code page + CLI keybindings #4075): rebuilt /cli/auth/code to match Claude Code's UI (single-line code box, ghost copy button that flips to "✓ Copied!", click-anywhere-on-the-box copy with selection-on-release fallback). Wired standard readline shortcuts in the CLI paste prompt: option+backspace / ctrl+w delete previous word; cmd+backspace / ctrl+u / ctrl+k clear the buffer. Plain backspace still deletes one char.

Push cli-v0.2.8 after this lands to fire the release pipeline.

Test plan

  • Local TTY golden path: browser auto-opens, callback fires, paste prompt auto-cancels, Authorized! prints
  • Remote ssh / tmux reattach without SSH_CONNECTION: paste path completes successfully
  • c keybinding copies via OSC 52 over SSH; toast appears for 1.5s
  • Esc cancellation: Login interrupted exit 0, no stack trace
  • Paste prompt: option+backspace deletes a word, ctrl+u clears the buffer

Summary by cubic

Release @superset/cli v0.2.8. Improves remote auth reliability and polishes the paste-code flow for a smoother login on local and remote terminals.

  • Bug Fixes
    • Remote login: race loopback callback and paste prompt with a new Ink UI; works without SSH_CONNECTION (tmux, VS Code Remote, Codespaces, mosh). c copies the auth URL via OSC 52 with native pbcopy/clip/wl-copy/xclip/xsel fallbacks. Esc/Ctrl-C exit cleanly with “Login interrupted”.
    • Paste-code UX: rebuilt /cli/auth/code (single-line code box, ghost copy that flips to “✓ Copied!”, click-to-copy with selection fallback). Added readline shortcuts in the CLI prompt: option+backspace/ctrl+w delete word; cmd+backspace/ctrl+u/ctrl+k clear; backspace deletes a char.

Written for commit 77a56e0. Summary will update on new commits.

Summary by CodeRabbit

  • Chores
    • Bumped CLI package version from 0.2.7 to 0.2.8.

Two CLI changes since v0.2.7, both fixing remote-auth UX:

- `superset auth login` now races the loopback callback and the paste
  prompt in parallel, with an Ink UI for the paste path. Fixes login
  on remote machines where SSH_CONNECTION isn't set (tmux reattach,
  VS Code Remote, Codespaces, mosh). `c` copies the auth URL via
  OSC 52 with native `pbcopy`/`clip`/`wl-copy`/`xclip`/`xsel`
  fallback. Esc / Ctrl-C exit cleanly. (#4072)
- Polished the `/cli/auth/code` web page to match Claude Code's
  paste-code UI (single-line code box, ghost copy button, click-to-
  copy with selection-on-release fallback). Wired standard readline
  shortcuts in the CLI paste prompt: option+backspace / ctrl+w
  delete the previous word; cmd+backspace / ctrl+u / ctrl+k clear
  the buffer. (#4075)

Push cli-v0.2.8 after this lands to fire the release pipeline.
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 5, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 9cdddc5a-ad49-4747-b785-431340f2b11d

📥 Commits

Reviewing files that changed from the base of the PR and between 611ab0c and 77a56e0.

⛔ Files ignored due to path filters (1)
  • bun.lock is excluded by !**/*.lock
📒 Files selected for processing (2)
  • packages/cli/cli.config.ts
  • packages/cli/package.json

📝 Walkthrough

Walkthrough

The CLI package version is bumped from 0.2.7 to 0.2.8 across the configuration file and package manifest. The internal VERSION constant is updated, which propagates to the exported config and environment variable injection.

Changes

Version Bump

Layer / File(s) Summary
Configuration
packages/cli/cli.config.ts
VERSION constant updated from "0.2.7" to "0.2.8", affecting defineConfig and process.env.SUPERSET_VERSION injection.
Package Manifest
packages/cli/package.json
version field updated to 0.2.8.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~1 minute

Poem

A hop, a skip, a version's flight,
From point-two-seven to point-two-eight so bright! 🐰
The config dances, the manifest aligned,
A minor bump leaves no bugs behind. ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: cutting a new CLI release version (v0.2.8).
Description check ✅ Passed The description provides comprehensive details about the changes, includes related issues, testing instructions, and clear explanations of the two main improvements.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/cli-v0.2.8

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps Bot commented May 5, 2026

Greptile Summary

  • Version bump from v0.2.7 to v0.2.8 across packages/cli/cli.config.ts and packages/cli/package.json, consistent with each other.
  • bun.lock is updated as a side-effect: it also advances apps/desktop from 1.8.1 → 1.8.3, matching the already-bumped apps/desktop/package.json — the lockfile was behind and caught up here.

Confidence Score: 5/5

Safe to merge — purely a version bump with no logic changes.

All three changed files are correct and internally consistent. The only non-obvious change (desktop version in bun.lock) is explained by the lockfile catching up to a pre-existing package.json bump, not by any new code.

No files require special attention.

Important Files Changed

Filename Overview
packages/cli/cli.config.ts VERSION constant bumped from 0.2.7 to 0.2.8 — straightforward single-line change
packages/cli/package.json Package version bumped from 0.2.7 to 0.2.8, consistent with cli.config.ts
bun.lock Lockfile updated to reflect CLI v0.2.8; also records apps/desktop version as 1.8.3 (up from 1.8.1 on the base commit), though apps/desktop/package.json was already at 1.8.3 — lockfile was catching up to a prior version bump

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[PR: release cli v0.2.8] --> B[cli.config.ts VERSION 0.2.7 to 0.2.8]
    A --> C[package.json version 0.2.7 to 0.2.8]
    A --> D[bun.lock updated]
    D --> E[superset-cli 0.2.7 to 0.2.8]
    D --> F[superset-desktop 1.8.1 to 1.8.3 lockfile catching up]
Loading

Reviews (1): Last reviewed commit: "release(cli): cut v0.2.8" | Re-trigger Greptile

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

🧹 Preview Cleanup Complete

The following preview resources have been cleaned up:

  • ✅ Neon database branch

Thank you for your contribution! 🎉

@saddlepaddle saddlepaddle merged commit 2be1712 into main May 5, 2026
17 checks passed
saddlepaddle added a commit that referenced this pull request May 6, 2026
Two CLI changes since v0.2.7, both fixing remote-auth UX:

- `superset auth login` now races the loopback callback and the paste
  prompt in parallel, with an Ink UI for the paste path. Fixes login
  on remote machines where SSH_CONNECTION isn't set (tmux reattach,
  VS Code Remote, Codespaces, mosh). `c` copies the auth URL via
  OSC 52 with native `pbcopy`/`clip`/`wl-copy`/`xclip`/`xsel`
  fallback. Esc / Ctrl-C exit cleanly. (#4072)
- Polished the `/cli/auth/code` web page to match Claude Code's
  paste-code UI (single-line code box, ghost copy button, click-to-
  copy with selection-on-release fallback). Wired standard readline
  shortcuts in the CLI paste prompt: option+backspace / ctrl+w
  delete the previous word; cmd+backspace / ctrl+u / ctrl+k clear
  the buffer. (#4075)

Push cli-v0.2.8 after this lands to fire the release pipeline.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant