Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mcp/errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
);

const GEMINI_TOS_ERROR = mcpError(
"This tool requires the Gemini in Firebase API, please review the terms of service and accept it using `firebase_update_environment`.\n" +
"This tool requires features from Gemini in Firebase. You can enable the usage of this service and accept its associated terms of service using `firebase_update_environment`.\n" +
"Learn more about Gemini in Firebase and how it uses your data: https://firebase.google.com/docs/gemini-in-firebase#how-gemini-in-firebase-uses-your-data",
"PRECONDITION_FAILED",
);
Expand All @@ -30,7 +30,7 @@
return undefined;
}

export function noProjectDirectory(projectRoot: string | undefined): CallToolResult {

Check warning on line 33 in src/mcp/errors.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Missing JSDoc comment
return mcpError(
`The current project directory '${
projectRoot || "<NO PROJECT DIRECTORY FOUND>"
Expand All @@ -38,7 +38,7 @@
);
}

export function mcpAuthError(skipADC: boolean): CallToolResult {

Check warning on line 41 in src/mcp/errors.ts

View workflow job for this annotation

GitHub Actions / lint (20)

Missing JSDoc comment
if (skipADC) {
return mcpError(
`The user is not currently logged into the Firebase CLI, which is required to use this tool. Please run the 'firebase_login' tool to log in.`,
Expand Down
Loading