From 9a940f9390719f336cc8ed46efd99079997ceaf2 Mon Sep 17 00:00:00 2001 From: Bartol Rebernjak Date: Mon, 9 Nov 2026 09:23:15 -0800 Subject: [PATCH 1/2] fix(auth): request assistant access by default --- src/auth/types.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/auth/types.rs b/src/auth/types.rs index f2ea9377..61e86d6d 100644 --- a/src/auth/types.rs +++ b/src/auth/types.rs @@ -119,6 +119,7 @@ pub fn read_only_scopes() -> Vec<&'static str> { /// Default OAuth scopes requested during login. pub fn default_scopes() -> Vec<&'static str> { vec![ + "assistant_access", // APM "apm_generate_metrics", "apm_read", From efcfc5a6f5ea487987d64a09fbd5ec586426518f Mon Sep 17 00:00:00 2001 From: Bartol Rebernjak Date: Mon, 9 Nov 2026 09:36:45 -0800 Subject: [PATCH 2/2] style(auth): group assistant scope under Bits CLI --- src/auth/types.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/auth/types.rs b/src/auth/types.rs index 61e86d6d..792807c2 100644 --- a/src/auth/types.rs +++ b/src/auth/types.rs @@ -119,7 +119,6 @@ pub fn read_only_scopes() -> Vec<&'static str> { /// Default OAuth scopes requested during login. pub fn default_scopes() -> Vec<&'static str> { vec![ - "assistant_access", // APM "apm_generate_metrics", "apm_read", @@ -151,6 +150,8 @@ pub fn default_scopes() -> Vec<&'static str> { // BITS "bits_investigations_read", "bits_investigations_write", + // Bits CLI + "assistant_access", // Cases "cases_read", "cases_write",