mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 14:17:11 +00:00
feat(kiro): add UI toggle and auth hint for --no-incognito option
- Add "Kiro: Use normal browser" toggle in config dashboard (Proxy section) - Add --no-incognito documentation to ccs --help output - Show hint after successful Kiro auth about saving AWS credentials
This commit is contained in:
1 parent
13e4baca22
commit
083e67426c
3 files changed
+80
-3
No files matched your search
@@ -202,7 +202,7 @@ export async function triggerOAuth(
|
||||
}
|
||||
|
||||
// Execute OAuth process
|
||||
return executeOAuthProcess({
|
||||
const account = await executeOAuthProcess({
|
||||
provider,
|
||||
binaryPath,
|
||||
args,
|
||||
@@ -214,6 +214,16 @@ export async function triggerOAuth(
|
||||
isCLI,
|
||||
nickname,
|
||||
});
|
||||
|
||||
// Show hint for Kiro users about --no-incognito option (first-time auth only)
|
||||
if (account && provider === 'kiro' && !noIncognito) {
|
||||
console.log('');
|
||||
console.log(info('Tip: To save your AWS login credentials for future sessions:'));
|
||||
console.log(' Use: ccs kiro --no-incognito');
|
||||
console.log(' Or enable "Kiro: Use normal browser" in: ccs config');
|
||||
}
|
||||
|
||||
return account;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user