@talonic/docs 0.21.51 → 0.21.52
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/dist/seo.js +88 -0
- package/openapi.json +88 -0
- package/package.json +1 -1
package/dist/seo.js
CHANGED
|
@@ -24003,6 +24003,15 @@ var openapi_default = {
|
|
|
24003
24003
|
]
|
|
24004
24004
|
}
|
|
24005
24005
|
},
|
|
24006
|
+
{
|
|
24007
|
+
name: "pipeline_id",
|
|
24008
|
+
in: "query",
|
|
24009
|
+
description: "Restrict to one pipeline (run).",
|
|
24010
|
+
schema: {
|
|
24011
|
+
type: "string",
|
|
24012
|
+
format: "uuid"
|
|
24013
|
+
}
|
|
24014
|
+
},
|
|
24006
24015
|
{
|
|
24007
24016
|
name: "limit",
|
|
24008
24017
|
in: "query",
|
|
@@ -24094,6 +24103,73 @@ var openapi_default = {
|
|
|
24094
24103
|
}
|
|
24095
24104
|
}
|
|
24096
24105
|
},
|
|
24106
|
+
"/v1/agent-tasks/claim-next": {
|
|
24107
|
+
post: {
|
|
24108
|
+
operationId: "claimNextAgentTasks",
|
|
24109
|
+
summary: "Claim the next batch of one pipeline's available tasks",
|
|
24110
|
+
description: "Claims up to `count` (1-50, default 10) available tasks of the pipeline, oldest first, and returns their full payloads. Each claim is the ordinary row-locked claim, so parallel agents get disjoint tasks; a task another agent took in the meantime is skipped. Returns an empty `data` array when nothing is available.\n",
|
|
24111
|
+
tags: [
|
|
24112
|
+
"Agent Tasks"
|
|
24113
|
+
],
|
|
24114
|
+
requestBody: {
|
|
24115
|
+
required: true,
|
|
24116
|
+
content: {
|
|
24117
|
+
"application/json": {
|
|
24118
|
+
schema: {
|
|
24119
|
+
type: "object",
|
|
24120
|
+
required: [
|
|
24121
|
+
"pipeline_id"
|
|
24122
|
+
],
|
|
24123
|
+
properties: {
|
|
24124
|
+
pipeline_id: {
|
|
24125
|
+
type: "string",
|
|
24126
|
+
format: "uuid"
|
|
24127
|
+
},
|
|
24128
|
+
count: {
|
|
24129
|
+
type: "integer",
|
|
24130
|
+
minimum: 1,
|
|
24131
|
+
maximum: 50,
|
|
24132
|
+
default: 10
|
|
24133
|
+
}
|
|
24134
|
+
}
|
|
24135
|
+
}
|
|
24136
|
+
}
|
|
24137
|
+
}
|
|
24138
|
+
},
|
|
24139
|
+
responses: {
|
|
24140
|
+
"200": {
|
|
24141
|
+
description: "The claimed tasks (full payloads) and how many were claimed.",
|
|
24142
|
+
content: {
|
|
24143
|
+
"application/json": {
|
|
24144
|
+
schema: {
|
|
24145
|
+
type: "object",
|
|
24146
|
+
properties: {
|
|
24147
|
+
data: {
|
|
24148
|
+
type: "array",
|
|
24149
|
+
items: {
|
|
24150
|
+
$ref: "#/components/schemas/AgentTaskPayload"
|
|
24151
|
+
}
|
|
24152
|
+
},
|
|
24153
|
+
claimed: {
|
|
24154
|
+
type: "integer"
|
|
24155
|
+
}
|
|
24156
|
+
}
|
|
24157
|
+
}
|
|
24158
|
+
}
|
|
24159
|
+
}
|
|
24160
|
+
},
|
|
24161
|
+
"400": {
|
|
24162
|
+
$ref: "#/components/responses/BadRequest"
|
|
24163
|
+
},
|
|
24164
|
+
"401": {
|
|
24165
|
+
$ref: "#/components/responses/Unauthorized"
|
|
24166
|
+
},
|
|
24167
|
+
"429": {
|
|
24168
|
+
$ref: "#/components/responses/RateLimitExceeded"
|
|
24169
|
+
}
|
|
24170
|
+
}
|
|
24171
|
+
}
|
|
24172
|
+
},
|
|
24097
24173
|
"/v1/agent-tasks/{id}/claim": {
|
|
24098
24174
|
post: {
|
|
24099
24175
|
operationId: "claimAgentTask",
|
|
@@ -31690,6 +31766,18 @@ var openapi_default = {
|
|
|
31690
31766
|
},
|
|
31691
31767
|
required: {
|
|
31692
31768
|
type: "boolean"
|
|
31769
|
+
},
|
|
31770
|
+
description: {
|
|
31771
|
+
type: "string",
|
|
31772
|
+
description: "The Spec field description (the field's rules), frozen when the task was created."
|
|
31773
|
+
},
|
|
31774
|
+
enumValues: {
|
|
31775
|
+
type: "array",
|
|
31776
|
+
items: {
|
|
31777
|
+
type: "string"
|
|
31778
|
+
},
|
|
31779
|
+
description: "Allowed codes of a closed enum field",
|
|
31780
|
+
"frozen when the task was created.": null
|
|
31693
31781
|
}
|
|
31694
31782
|
}
|
|
31695
31783
|
}
|
package/openapi.json
CHANGED
|
@@ -23983,6 +23983,15 @@
|
|
|
23983
23983
|
]
|
|
23984
23984
|
}
|
|
23985
23985
|
},
|
|
23986
|
+
{
|
|
23987
|
+
"name": "pipeline_id",
|
|
23988
|
+
"in": "query",
|
|
23989
|
+
"description": "Restrict to one pipeline (run).",
|
|
23990
|
+
"schema": {
|
|
23991
|
+
"type": "string",
|
|
23992
|
+
"format": "uuid"
|
|
23993
|
+
}
|
|
23994
|
+
},
|
|
23986
23995
|
{
|
|
23987
23996
|
"name": "limit",
|
|
23988
23997
|
"in": "query",
|
|
@@ -24074,6 +24083,73 @@
|
|
|
24074
24083
|
}
|
|
24075
24084
|
}
|
|
24076
24085
|
},
|
|
24086
|
+
"/v1/agent-tasks/claim-next": {
|
|
24087
|
+
"post": {
|
|
24088
|
+
"operationId": "claimNextAgentTasks",
|
|
24089
|
+
"summary": "Claim the next batch of one pipeline's available tasks",
|
|
24090
|
+
"description": "Claims up to `count` (1-50, default 10) available tasks of the pipeline, oldest first, and returns their full payloads. Each claim is the ordinary row-locked claim, so parallel agents get disjoint tasks; a task another agent took in the meantime is skipped. Returns an empty `data` array when nothing is available.\n",
|
|
24091
|
+
"tags": [
|
|
24092
|
+
"Agent Tasks"
|
|
24093
|
+
],
|
|
24094
|
+
"requestBody": {
|
|
24095
|
+
"required": true,
|
|
24096
|
+
"content": {
|
|
24097
|
+
"application/json": {
|
|
24098
|
+
"schema": {
|
|
24099
|
+
"type": "object",
|
|
24100
|
+
"required": [
|
|
24101
|
+
"pipeline_id"
|
|
24102
|
+
],
|
|
24103
|
+
"properties": {
|
|
24104
|
+
"pipeline_id": {
|
|
24105
|
+
"type": "string",
|
|
24106
|
+
"format": "uuid"
|
|
24107
|
+
},
|
|
24108
|
+
"count": {
|
|
24109
|
+
"type": "integer",
|
|
24110
|
+
"minimum": 1,
|
|
24111
|
+
"maximum": 50,
|
|
24112
|
+
"default": 10
|
|
24113
|
+
}
|
|
24114
|
+
}
|
|
24115
|
+
}
|
|
24116
|
+
}
|
|
24117
|
+
}
|
|
24118
|
+
},
|
|
24119
|
+
"responses": {
|
|
24120
|
+
"200": {
|
|
24121
|
+
"description": "The claimed tasks (full payloads) and how many were claimed.",
|
|
24122
|
+
"content": {
|
|
24123
|
+
"application/json": {
|
|
24124
|
+
"schema": {
|
|
24125
|
+
"type": "object",
|
|
24126
|
+
"properties": {
|
|
24127
|
+
"data": {
|
|
24128
|
+
"type": "array",
|
|
24129
|
+
"items": {
|
|
24130
|
+
"$ref": "#/components/schemas/AgentTaskPayload"
|
|
24131
|
+
}
|
|
24132
|
+
},
|
|
24133
|
+
"claimed": {
|
|
24134
|
+
"type": "integer"
|
|
24135
|
+
}
|
|
24136
|
+
}
|
|
24137
|
+
}
|
|
24138
|
+
}
|
|
24139
|
+
}
|
|
24140
|
+
},
|
|
24141
|
+
"400": {
|
|
24142
|
+
"$ref": "#/components/responses/BadRequest"
|
|
24143
|
+
},
|
|
24144
|
+
"401": {
|
|
24145
|
+
"$ref": "#/components/responses/Unauthorized"
|
|
24146
|
+
},
|
|
24147
|
+
"429": {
|
|
24148
|
+
"$ref": "#/components/responses/RateLimitExceeded"
|
|
24149
|
+
}
|
|
24150
|
+
}
|
|
24151
|
+
}
|
|
24152
|
+
},
|
|
24077
24153
|
"/v1/agent-tasks/{id}/claim": {
|
|
24078
24154
|
"post": {
|
|
24079
24155
|
"operationId": "claimAgentTask",
|
|
@@ -31670,6 +31746,18 @@
|
|
|
31670
31746
|
},
|
|
31671
31747
|
"required": {
|
|
31672
31748
|
"type": "boolean"
|
|
31749
|
+
},
|
|
31750
|
+
"description": {
|
|
31751
|
+
"type": "string",
|
|
31752
|
+
"description": "The Spec field description (the field's rules), frozen when the task was created."
|
|
31753
|
+
},
|
|
31754
|
+
"enumValues": {
|
|
31755
|
+
"type": "array",
|
|
31756
|
+
"items": {
|
|
31757
|
+
"type": "string"
|
|
31758
|
+
},
|
|
31759
|
+
"description": "Allowed codes of a closed enum field",
|
|
31760
|
+
"frozen when the task was created.": null
|
|
31673
31761
|
}
|
|
31674
31762
|
}
|
|
31675
31763
|
}
|