From 8ca678f797226e0930d384fbf8566019eaf7d464 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Fri, 10 Jul 2026 15:40:06 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 91 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index cf5725c..0fea2ab 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -359,6 +359,72 @@ components: $ref: '#/components/schemas/AdvisorNestedTool' type: array type: object + AgentMessageItem: + additionalProperties: + nullable: true + description: A message routed between agents in a multi-agent session + example: + author: /root/worker + content: + - text: Task complete. + type: input_text + recipient: /root + type: agent_message + properties: + agent: + additionalProperties: + nullable: true + nullable: true + properties: + agent_name: + type: string + required: + - agent_name + type: object + author: + type: string + content: + items: + oneOf: + - $ref: '#/components/schemas/InputText' + - allOf: + - $ref: '#/components/schemas/InputImage' + - properties: {} + type: object + description: Image input content item + example: + detail: auto + image_url: https://example.com/image.jpg + type: input_image + - additionalProperties: + nullable: true + properties: + encrypted_content: + type: string + type: + enum: + - encrypted_content + type: string + required: + - type + - encrypted_content + type: object + type: array + id: + nullable: true + type: string + recipient: + type: string + type: + enum: + - agent_message + type: string + required: + - type + - author + - recipient + - content + type: object AnnotationAddedEvent: allOf: - $ref: '#/components/schemas/BaseAnnotationAddedEvent' @@ -5874,6 +5940,8 @@ components: - type type: object CompactionItem: + additionalProperties: + nullable: true description: A context compaction marker with encrypted summary example: encrypted_content: enc_abc123... @@ -6321,6 +6389,27 @@ components: - type - video_url type: object + ContextCompactionItem: + additionalProperties: + nullable: true + description: A context compaction marker with an optional encrypted summary + example: + encrypted_content: enc_abc123... + type: context_compaction + properties: + encrypted_content: + nullable: true + type: string + id: + nullable: true + type: string + type: + enum: + - context_compaction + type: string + required: + - type + type: object ContextCompressionEngine: description: The compression engine to use. Defaults to "middle-out". enum: @@ -10486,8 +10575,10 @@ components: - $ref: '#/components/schemas/CustomToolCallItem' - $ref: '#/components/schemas/CustomToolCallOutputItem' - $ref: '#/components/schemas/CompactionItem' + - $ref: '#/components/schemas/ContextCompactionItem' - $ref: '#/components/schemas/ItemReferenceItem' - $ref: '#/components/schemas/AdditionalToolsItem' + - $ref: '#/components/schemas/AgentMessageItem' type: array description: Input for a response request - can be a string or array of items example: