Skip to content

chore: add hints and update mcp #249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
May 14, 2025
Merged

chore: add hints and update mcp #249

merged 11 commits into from
May 14, 2025

Conversation

blva
Copy link
Collaborator

@blva blva commented May 14, 2025

@@ -34,7 +34,9 @@ export class ApiClient {

private getAccessToken = async () => {
if (this.oauth2Client && (!this.accessToken || this.accessToken.expired())) {
this.accessToken = await this.oauth2Client.getToken({});
this.accessToken = await this.oauth2Client.getToken({
agent: this.options.userAgent,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flyby - user agents

@blva blva changed the title chore: add hints chore: add hints and update mcp May 14, 2025
@blva blva marked this pull request as ready for review May 14, 2025 10:24
@blva blva requested a review from a team as a code owner May 14, 2025 10:24
@blva blva requested a review from nirinchev May 14, 2025 10:28
@@ -206,6 +206,9 @@ export function validateToolMetadata(
expectDefined(tool);
expect(tool.description).toBe(description);

expectDefined(tool.annotations);
expect(tool.annotations.title).toBe(name);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we add a small test for the readOnlyHint and stuff too?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep! added

Copy link
Collaborator

@nirinchev nirinchev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sweet!

@blva blva requested a review from gagik May 14, 2025 10:48
@blva blva merged commit d13f7c6 into main May 14, 2025
18 checks passed
@blva blva deleted the readonly-hint branch May 14, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants