From 65509286ec402916b35b9d519b39814d344e0650 Mon Sep 17 00:00:00 2001 From: Jacob Page Date: Mon, 29 Jun 2026 12:00:36 -0700 Subject: [PATCH] chore: bump cli-engine to 0.3.4 for non-interactive scope step-up cli-engine 0.3.4 makes OAuth scope step-up fire for under-scoped tokens in non-interactive sessions (godaddy/cli-engine#34). Before this, a command run without a TTY (agent harness, piped stdio) that held a token missing a required scope hard-errored with "missing required scope(s)" instead of launching the OAuth flow, while the same command auto-authenticated once the token was cleared. With the bump, `gddy domain suggest` / `domain purchase` and any scoped command now step up to acquire the missing scope regardless of interactivity. Co-Authored-By: Claude Opus 4.8 --- rust/Cargo.lock | 21 ++++++++++++++++----- rust/Cargo.toml | 2 +- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/rust/Cargo.lock b/rust/Cargo.lock index 76f0159..26c2361 100644 --- a/rust/Cargo.lock +++ b/rust/Cargo.lock @@ -522,6 +522,15 @@ dependencies = [ "strsim", ] +[[package]] +name = "clap_complete" +version = "4.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e0a7a9bfdb35811f9e59832f0f05975114d2251b415fb534108e6f34060fd772" +dependencies = [ + "clap", +] + [[package]] name = "clap_derive" version = "4.6.1" @@ -542,14 +551,16 @@ checksum = "c8d4a3bb8b1e0c1050499d1815f5ab16d04f0959b233085fb31653fbfc9d98f9" [[package]] name = "cli-engine" -version = "0.3.0" +version = "0.3.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d52e2b73598b7c6dbbaf3946a476a888d0cda6a36d2d98c1f477f8d7a8034c1" +checksum = "4500a5c23d3171897dc68633fa37c541114759c93aaa600dad95dea196d6987c" dependencies = [ "async-trait", "base64 0.22.1", + "bytes", "chrono", "clap", + "clap_complete", "jmespath", "keyring", "open", @@ -1363,7 +1374,7 @@ dependencies = [ "libc", "percent-encoding", "pin-project-lite", - "socket2 0.5.10", + "socket2 0.6.3", "tokio", "tower-service", "tracing", @@ -2170,7 +2181,7 @@ dependencies = [ "quinn-udp", "rustc-hash", "rustls", - "socket2 0.5.10", + "socket2 0.6.3", "thiserror 2.0.18", "tokio", "tracing", @@ -2207,7 +2218,7 @@ dependencies = [ "cfg_aliases", "libc", "once_cell", - "socket2 0.5.10", + "socket2 0.6.3", "tracing", "windows-sys 0.60.2", ] diff --git a/rust/Cargo.toml b/rust/Cargo.toml index 4111bef..e17b9d5 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -16,7 +16,7 @@ path = "src/main.rs" async-trait = "0.1" chrono = { version = "0.4", default-features = false, features = ["clock", "serde"] } clap = { version = "4.5", features = ["std", "string"] } -cli-engine = { features = ["pkce-auth"], version = "0.3.0" } +cli-engine = { features = ["pkce-auth"], version = "0.3.4" } dirs = "6" domains-client = { path = "domains-client" } fancy-regex = "0.14"