fix: mark with-deps example as private, update changelog

This commit is contained in:
Mario Zechner 2026-01-05 17:55:15 +01:00
parent 49c4fe0bc1
commit 7e2ebdd78e
5 changed files with 17 additions and 7 deletions

View file

@ -323,8 +323,7 @@ export class AuthStorage {
if (updatedCred?.type === "oauth" && Date.now() < updatedCred.expires) {
// Another instance refreshed successfully, use those credentials
const needsProjectId =
provider === "google-gemini-cli" || provider === "google-antigravity";
const needsProjectId = provider === "google-gemini-cli" || provider === "google-antigravity";
return needsProjectId
? JSON.stringify({ token: updatedCred.access, projectId: updatedCred.projectId })
: updatedCred.access;
@ -341,9 +340,7 @@ export class AuthStorage {
} else {
// Token not expired, use current access token
const needsProjectId = provider === "google-gemini-cli" || provider === "google-antigravity";
return needsProjectId
? JSON.stringify({ token: cred.access, projectId: cred.projectId })
: cred.access;
return needsProjectId ? JSON.stringify({ token: cred.access, projectId: cred.projectId }) : cred.access;
}
}