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:
kaitranntt committed 2025-12-24 05:26:02 -05:00
1 parent 13e4baca22
commit 083e67426c
3 files changed
+80 -3

No files matched your search

+11 -1
View File
@@ -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;
}
/**