@1claw/openapi-spec 0.44.1 → 0.44.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -12084,6 +12084,66 @@
12084
12084
  }
12085
12085
  }
12086
12086
  },
12087
+ "/v1/agents/org-directory": {
12088
+ "get": {
12089
+ "tags": [
12090
+ "agents",
12091
+ "discovery"
12092
+ ],
12093
+ "summary": "List org agents",
12094
+ "description": "List agents within the caller's organization for sub-agent discovery.\nReturns agents with their capabilities, enabling agent-to-agent\ncoordination and discovery within an org. Requires authentication.\n",
12095
+ "operationId": "listOrgDirectory",
12096
+ "parameters": [
12097
+ {
12098
+ "name": "q",
12099
+ "in": "query",
12100
+ "schema": {
12101
+ "type": "string"
12102
+ },
12103
+ "description": "Search query to filter agents by name or description"
12104
+ },
12105
+ {
12106
+ "name": "tags",
12107
+ "in": "query",
12108
+ "schema": {
12109
+ "type": "string"
12110
+ },
12111
+ "description": "Comma-separated tag filter"
12112
+ },
12113
+ {
12114
+ "name": "page",
12115
+ "in": "query",
12116
+ "schema": {
12117
+ "type": "integer",
12118
+ "default": 1
12119
+ }
12120
+ },
12121
+ {
12122
+ "name": "page_size",
12123
+ "in": "query",
12124
+ "schema": {
12125
+ "type": "integer",
12126
+ "default": 20
12127
+ }
12128
+ }
12129
+ ],
12130
+ "responses": {
12131
+ "200": {
12132
+ "description": "Org agent directory listing",
12133
+ "content": {
12134
+ "application/json": {
12135
+ "schema": {
12136
+ "$ref": "#/components/schemas/OrgDirectoryResponse"
12137
+ }
12138
+ }
12139
+ }
12140
+ },
12141
+ "401": {
12142
+ "$ref": "#/components/responses/Unauthorized"
12143
+ }
12144
+ }
12145
+ }
12146
+ },
12087
12147
  "/v1/agents/{agent_id}/discovery": {
12088
12148
  "patch": {
12089
12149
  "tags": [
@@ -12184,7 +12244,7 @@
12184
12244
  "Agent Chat"
12185
12245
  ],
12186
12246
  "summary": "Send chat message",
12187
- "description": "Send a message to an agent and receive a response via Shroud LLM.\nSupports SSE streaming when Accept: text/event-stream is set.\n",
12247
+ "description": "Send a message to an agent and receive a response via Shroud LLM.\nSupports SSE streaming when Accept: text/event-stream is set.\n\nAgents can call this endpoint on other agents within the same\norganization for inter-agent communication (agent-to-agent chat).\nThe caller must be authenticated and belong to the same org as\nthe target agent.\n",
12188
12248
  "operationId": "sendChatMessage",
12189
12249
  "parameters": [
12190
12250
  {
@@ -22051,6 +22111,82 @@
22051
22111
  }
22052
22112
  }
22053
22113
  },
22114
+ "OrgDirectoryAgent": {
22115
+ "type": "object",
22116
+ "required": [
22117
+ "id",
22118
+ "name",
22119
+ "intents_api_enabled",
22120
+ "execution_intents_enabled",
22121
+ "memory_enabled",
22122
+ "shroud_enabled"
22123
+ ],
22124
+ "properties": {
22125
+ "id": {
22126
+ "type": "string",
22127
+ "format": "uuid"
22128
+ },
22129
+ "name": {
22130
+ "type": "string"
22131
+ },
22132
+ "public_description": {
22133
+ "type": "string",
22134
+ "nullable": true
22135
+ },
22136
+ "public_tags": {
22137
+ "type": "array",
22138
+ "items": {
22139
+ "type": "string"
22140
+ }
22141
+ },
22142
+ "a2a_url": {
22143
+ "type": "string",
22144
+ "nullable": true
22145
+ },
22146
+ "mcp_url": {
22147
+ "type": "string",
22148
+ "nullable": true
22149
+ },
22150
+ "intents_api_enabled": {
22151
+ "type": "boolean"
22152
+ },
22153
+ "execution_intents_enabled": {
22154
+ "type": "boolean"
22155
+ },
22156
+ "memory_enabled": {
22157
+ "type": "boolean"
22158
+ },
22159
+ "shroud_enabled": {
22160
+ "type": "boolean"
22161
+ }
22162
+ }
22163
+ },
22164
+ "OrgDirectoryResponse": {
22165
+ "type": "object",
22166
+ "required": [
22167
+ "agents",
22168
+ "total",
22169
+ "page",
22170
+ "page_size"
22171
+ ],
22172
+ "properties": {
22173
+ "agents": {
22174
+ "type": "array",
22175
+ "items": {
22176
+ "$ref": "#/components/schemas/OrgDirectoryAgent"
22177
+ }
22178
+ },
22179
+ "total": {
22180
+ "type": "integer"
22181
+ },
22182
+ "page": {
22183
+ "type": "integer"
22184
+ },
22185
+ "page_size": {
22186
+ "type": "integer"
22187
+ }
22188
+ }
22189
+ },
22054
22190
  "UpdateDiscoveryRequest": {
22055
22191
  "type": "object",
22056
22192
  "properties": {
package/openapi.yaml CHANGED
@@ -7703,6 +7703,46 @@ paths:
7703
7703
  schema:
7704
7704
  $ref: "#/components/schemas/DirectoryResponse"
7705
7705
 
7706
+ /v1/agents/org-directory:
7707
+ get:
7708
+ tags: [agents, discovery]
7709
+ summary: List org agents
7710
+ description: |
7711
+ List agents within the caller's organization for sub-agent discovery.
7712
+ Returns agents with their capabilities, enabling agent-to-agent
7713
+ coordination and discovery within an org. Requires authentication.
7714
+ operationId: listOrgDirectory
7715
+ parameters:
7716
+ - name: q
7717
+ in: query
7718
+ schema:
7719
+ type: string
7720
+ description: Search query to filter agents by name or description
7721
+ - name: tags
7722
+ in: query
7723
+ schema:
7724
+ type: string
7725
+ description: Comma-separated tag filter
7726
+ - name: page
7727
+ in: query
7728
+ schema:
7729
+ type: integer
7730
+ default: 1
7731
+ - name: page_size
7732
+ in: query
7733
+ schema:
7734
+ type: integer
7735
+ default: 20
7736
+ responses:
7737
+ "200":
7738
+ description: Org agent directory listing
7739
+ content:
7740
+ application/json:
7741
+ schema:
7742
+ $ref: "#/components/schemas/OrgDirectoryResponse"
7743
+ "401":
7744
+ $ref: "#/components/responses/Unauthorized"
7745
+
7706
7746
  /v1/agents/{agent_id}/discovery:
7707
7747
  patch:
7708
7748
  tags: [Discovery]
@@ -7772,6 +7812,11 @@ paths:
7772
7812
  description: |
7773
7813
  Send a message to an agent and receive a response via Shroud LLM.
7774
7814
  Supports SSE streaming when Accept: text/event-stream is set.
7815
+
7816
+ Agents can call this endpoint on other agents within the same
7817
+ organization for inter-agent communication (agent-to-agent chat).
7818
+ The caller must be authenticated and belong to the same org as
7819
+ the target agent.
7775
7820
  operationId: sendChatMessage
7776
7821
  parameters:
7777
7822
  - $ref: "#/components/parameters/AgentId"
@@ -14507,6 +14552,52 @@ components:
14507
14552
  per_page:
14508
14553
  type: integer
14509
14554
 
14555
+ OrgDirectoryAgent:
14556
+ type: object
14557
+ required: [id, name, intents_api_enabled, execution_intents_enabled, memory_enabled, shroud_enabled]
14558
+ properties:
14559
+ id:
14560
+ type: string
14561
+ format: uuid
14562
+ name:
14563
+ type: string
14564
+ public_description:
14565
+ type: string
14566
+ nullable: true
14567
+ public_tags:
14568
+ type: array
14569
+ items:
14570
+ type: string
14571
+ a2a_url:
14572
+ type: string
14573
+ nullable: true
14574
+ mcp_url:
14575
+ type: string
14576
+ nullable: true
14577
+ intents_api_enabled:
14578
+ type: boolean
14579
+ execution_intents_enabled:
14580
+ type: boolean
14581
+ memory_enabled:
14582
+ type: boolean
14583
+ shroud_enabled:
14584
+ type: boolean
14585
+
14586
+ OrgDirectoryResponse:
14587
+ type: object
14588
+ required: [agents, total, page, page_size]
14589
+ properties:
14590
+ agents:
14591
+ type: array
14592
+ items:
14593
+ $ref: "#/components/schemas/OrgDirectoryAgent"
14594
+ total:
14595
+ type: integer
14596
+ page:
14597
+ type: integer
14598
+ page_size:
14599
+ type: integer
14600
+
14510
14601
  UpdateDiscoveryRequest:
14511
14602
  type: object
14512
14603
  properties:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1claw/openapi-spec",
3
- "version": "0.44.1",
3
+ "version": "0.44.3",
4
4
  "description": "OpenAPI 3.1.0 specification for the 1Claw Vault API \u2014 generate clients in any language",
5
5
  "license": "MIT",
6
6
  "repository": {