Skip to content

chore: Formatting for types.ts and a2a.json #543

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 2 commits into from
May 21, 2025
Merged
Show file tree
Hide file tree
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
64 changes: 32 additions & 32 deletions specification/json/a2a.json
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@
"description": "Represents a unit of capability that an agent can perform.",
"properties": {
"description": {
"description": "Description of the skill - will be used by the client or a human \nas a hint to understand what the skill does.",
"description": "Description of the skill - will be used by the client or a human\nas a hint to understand what the skill does.",
"type": "string"
},
"examples": {
Expand Down Expand Up @@ -311,22 +311,22 @@
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"authorizationUrl": {
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS",
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS",
"type": "string"
},
"refreshUrl": {
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
"type": "string"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
"type": "object"
},
"tokenUrl": {
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
"type": "string"
}
},
Expand All @@ -341,7 +341,7 @@
"description": "JSON-RPC request model for the 'tasks/cancel' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -384,7 +384,7 @@
"description": "JSON-RPC success response model for the 'tasks/cancel' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand All @@ -410,18 +410,18 @@
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"refreshUrl": {
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
"type": "string"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
"type": "object"
},
"tokenUrl": {
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
"type": "string"
}
},
Expand Down Expand Up @@ -570,7 +570,7 @@
"description": "JSON-RPC request model for the 'tasks/pushNotificationConfig/get' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -613,7 +613,7 @@
"description": "JSON-RPC success response model for the 'tasks/pushNotificationConfig/get' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand All @@ -639,7 +639,7 @@
"description": "JSON-RPC request model for the 'tasks/get' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -682,7 +682,7 @@
"description": "JSON-RPC success response for the 'tasks/get' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand All @@ -708,7 +708,7 @@
"description": "HTTP Authentication security scheme.",
"properties": {
"bearerFormat": {
"description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually \ngenerated by an authorization server, so this information is primarily for documentation \npurposes.",
"description": "A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually\ngenerated by an authorization server, so this information is primarily for documentation\npurposes.",
"type": "string"
},
"description": {
Expand All @@ -734,18 +734,18 @@
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"authorizationUrl": {
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS",
"description": "The authorization URL to be used for this flow. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS",
"type": "string"
},
"refreshUrl": {
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
"type": "string"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
"type": "object"
}
},
Expand Down Expand Up @@ -935,7 +935,7 @@
]
},
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand All @@ -957,7 +957,7 @@
"description": "Base interface for any JSON-RPC 2.0 request or response.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand All @@ -978,7 +978,7 @@
"description": "Represents a JSON-RPC 2.0 Request object.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1035,7 +1035,7 @@
"description": "Represents a JSON-RPC 2.0 Result object.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1280,18 +1280,18 @@
"description": "Configuration details for a supported OAuth Flow",
"properties": {
"refreshUrl": {
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2 \nstandard requires the use of TLS.",
"description": "The URL to be used for obtaining refresh tokens. This MUST be in the form of a URL. The OAuth2\nstandard requires the use of TLS.",
"type": "string"
},
"scopes": {
"additionalProperties": {
"type": "string"
},
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short \ndescription for it. The map MAY be empty.",
"description": "The available scopes for the OAuth2 security scheme. A map between the scope name and a short\ndescription for it. The map MAY be empty.",
"type": "object"
},
"tokenUrl": {
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard \nrequires the use of TLS.",
"description": "The token URL to be used for this flow. This MUST be in the form of a URL. The OAuth2 standard\nrequires the use of TLS.",
"type": "string"
}
},
Expand Down Expand Up @@ -1395,7 +1395,7 @@
"description": "JSON-RPC request model for the 'message/send' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1438,7 +1438,7 @@
"description": "JSON-RPC success response model for the 'message/send' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1471,7 +1471,7 @@
"description": "JSON-RPC request model for the 'message/stream' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1514,7 +1514,7 @@
"description": "JSON-RPC success response model for the 'message/stream' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1553,7 +1553,7 @@
"description": "JSON-RPC request model for the 'tasks/pushNotificationConfig/set' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1596,7 +1596,7 @@
"description": "JSON-RPC success response model for the 'tasks/pushNotificationConfig/set' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down Expand Up @@ -1812,7 +1812,7 @@
"description": "JSON-RPC request model for the 'tasks/resubscribe' method.",
"properties": {
"id": {
"description": "An identifier established by the Client that MUST contain a String, Number. \nNumbers SHOULD NOT contain fractional parts.",
"description": "An identifier established by the Client that MUST contain a String, Number.\nNumbers SHOULD NOT contain fractional parts.",
"type": [
"string",
"integer"
Expand Down
2 changes: 1 addition & 1 deletion types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
"devDependencies": {
"typescript": "^5.3.3"
}
}
}
Loading