@procedures/mark 0.4.0 → 0.6.0
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/CHANGELOG.md +58 -0
- package/README.md +38 -4
- package/dist/.tsbuildinfo +1 -1
- package/dist/args.d.ts +3 -1
- package/dist/args.d.ts.map +1 -1
- package/dist/args.js +5 -1
- package/dist/args.js.map +1 -1
- package/dist/cli.d.ts +7 -2
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +57 -17
- package/dist/cli.js.map +1 -1
- package/dist/client-mode.d.ts +1 -1
- package/dist/client-mode.d.ts.map +1 -1
- package/dist/client-mode.js +3 -2
- package/dist/client-mode.js.map +1 -1
- package/dist/ecosystem.d.ts +13 -2
- package/dist/ecosystem.d.ts.map +1 -1
- package/dist/ecosystem.js +26 -4
- package/dist/ecosystem.js.map +1 -1
- package/dist/manifest.json +1080 -934
- package/dist/repl.d.ts +2 -0
- package/dist/repl.d.ts.map +1 -1
- package/dist/repl.js +1 -1
- package/dist/repl.js.map +1 -1
- package/dist/server-mode.d.ts +9 -1
- package/dist/server-mode.d.ts.map +1 -1
- package/dist/server-mode.js +14 -4
- package/dist/server-mode.js.map +1 -1
- package/package.json +49 -49
- package/src/args.ts +8 -2
- package/src/cli.ts +65 -17
- package/src/client-mode.ts +4 -2
- package/src/ecosystem.ts +39 -4
- package/src/repl.ts +3 -1
- package/src/server-mode.ts +21 -4
package/dist/manifest.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 2,
|
|
3
|
-
"fingerprint": "
|
|
4
|
-
"generatedAt": "2026-10-
|
|
3
|
+
"fingerprint": "8ddafda3c38aa63d8a7793aa2a237748c34152b4fc08c2ec176f5eb38721d5dd",
|
|
4
|
+
"generatedAt": "2026-10-17T18:19:40.948Z",
|
|
5
5
|
"commands": [
|
|
6
6
|
{
|
|
7
7
|
"path": [
|
|
@@ -6353,7 +6353,7 @@
|
|
|
6353
6353
|
"kind": "string"
|
|
6354
6354
|
},
|
|
6355
6355
|
"required": false,
|
|
6356
|
-
"description": "The base folder of files (default: the working folder)"
|
|
6356
|
+
"description": "The base folder of files (default: the working folder, or the root of the module)"
|
|
6357
6357
|
},
|
|
6358
6358
|
{
|
|
6359
6359
|
"name": "format",
|
|
@@ -6414,7 +6414,7 @@
|
|
|
6414
6414
|
"type": "string",
|
|
6415
6415
|
"minLength": 1,
|
|
6416
6416
|
"maxLength": 4096,
|
|
6417
|
-
"description": "The base folder of files (default: the working folder)"
|
|
6417
|
+
"description": "The base folder of files (default: the working folder, or the root of the module)"
|
|
6418
6418
|
},
|
|
6419
6419
|
"format": {
|
|
6420
6420
|
"description": "The format (default: from the name of output: .tar.gz, .tgz, .tar or .zip)",
|
|
@@ -16855,6 +16855,18 @@
|
|
|
16855
16855
|
"required": true,
|
|
16856
16856
|
"description": "Procedure flags that hide a global flag of mark after the command path (information only)"
|
|
16857
16857
|
},
|
|
16858
|
+
{
|
|
16859
|
+
"name": "procedureIssues",
|
|
16860
|
+
"type": "json[]",
|
|
16861
|
+
"fieldType": {
|
|
16862
|
+
"kind": "array",
|
|
16863
|
+
"item": {
|
|
16864
|
+
"kind": "object"
|
|
16865
|
+
}
|
|
16866
|
+
},
|
|
16867
|
+
"required": true,
|
|
16868
|
+
"description": "The procedures of the registry of the host without metadata.effects. A host with a capability refuses them. These warnings do not change success."
|
|
16869
|
+
},
|
|
16858
16870
|
{
|
|
16859
16871
|
"name": "template",
|
|
16860
16872
|
"type": "json",
|
|
@@ -17335,7 +17347,7 @@
|
|
|
17335
17347
|
}
|
|
17336
17348
|
},
|
|
17337
17349
|
"required": true,
|
|
17338
|
-
"description": "The result of each visited
|
|
17350
|
+
"description": "The result of each node of the graph: the visited nodes, then the skipped nodes"
|
|
17339
17351
|
},
|
|
17340
17352
|
{
|
|
17341
17353
|
"name": "totalDuration",
|
|
@@ -17353,7 +17365,7 @@
|
|
|
17353
17365
|
"kind": "number"
|
|
17354
17366
|
},
|
|
17355
17367
|
"required": true,
|
|
17356
|
-
"description": "The number of
|
|
17368
|
+
"description": "The number of visits that succeeded"
|
|
17357
17369
|
},
|
|
17358
17370
|
{
|
|
17359
17371
|
"name": "failed",
|
|
@@ -17362,7 +17374,16 @@
|
|
|
17362
17374
|
"kind": "number"
|
|
17363
17375
|
},
|
|
17364
17376
|
"required": true,
|
|
17365
|
-
"description": "The number of failed
|
|
17377
|
+
"description": "The number of visits that failed. A skipped node is not in this number."
|
|
17378
|
+
},
|
|
17379
|
+
{
|
|
17380
|
+
"name": "skipped",
|
|
17381
|
+
"type": "number",
|
|
17382
|
+
"fieldType": {
|
|
17383
|
+
"kind": "number"
|
|
17384
|
+
},
|
|
17385
|
+
"required": true,
|
|
17386
|
+
"description": "The number of nodes that the traversal did not visit"
|
|
17366
17387
|
}
|
|
17367
17388
|
]
|
|
17368
17389
|
},
|
|
@@ -19011,90 +19032,140 @@
|
|
|
19011
19032
|
},
|
|
19012
19033
|
{
|
|
19013
19034
|
"path": [
|
|
19014
|
-
"
|
|
19015
|
-
"
|
|
19035
|
+
"csv",
|
|
19036
|
+
"parse"
|
|
19016
19037
|
],
|
|
19017
19038
|
"metadata": {
|
|
19018
|
-
"description": "
|
|
19019
|
-
"args": [
|
|
19039
|
+
"description": "Parse CSV text into rows",
|
|
19040
|
+
"args": [
|
|
19041
|
+
"text"
|
|
19042
|
+
],
|
|
19020
19043
|
"shorts": {
|
|
19021
|
-
"
|
|
19022
|
-
"
|
|
19023
|
-
"cwd": "C"
|
|
19044
|
+
"delimiter": "d",
|
|
19045
|
+
"trim": "t"
|
|
19024
19046
|
},
|
|
19025
19047
|
"output": "json"
|
|
19026
19048
|
},
|
|
19027
19049
|
"fields": [
|
|
19028
19050
|
{
|
|
19029
|
-
"name": "
|
|
19051
|
+
"name": "text",
|
|
19030
19052
|
"type": "string",
|
|
19031
19053
|
"fieldType": {
|
|
19032
19054
|
"kind": "string"
|
|
19033
19055
|
},
|
|
19034
|
-
"required":
|
|
19035
|
-
"description": "The
|
|
19036
|
-
"defaultValue": "lib"
|
|
19056
|
+
"required": true,
|
|
19057
|
+
"description": "The CSV text (RFC 4180)"
|
|
19037
19058
|
},
|
|
19038
19059
|
{
|
|
19039
|
-
"name": "
|
|
19060
|
+
"name": "header",
|
|
19040
19061
|
"type": "boolean",
|
|
19041
19062
|
"fieldType": {
|
|
19042
19063
|
"kind": "boolean"
|
|
19043
19064
|
},
|
|
19044
19065
|
"required": false,
|
|
19045
|
-
"description": "
|
|
19046
|
-
"defaultValue": false
|
|
19066
|
+
"description": "True: the first row has the names of the columns, and each other row is an object"
|
|
19047
19067
|
},
|
|
19048
19068
|
{
|
|
19049
|
-
"name": "
|
|
19069
|
+
"name": "delimiter",
|
|
19050
19070
|
"type": "string",
|
|
19051
19071
|
"fieldType": {
|
|
19052
19072
|
"kind": "string"
|
|
19053
19073
|
},
|
|
19054
19074
|
"required": false,
|
|
19055
|
-
"description": "The
|
|
19075
|
+
"description": "The character between two fields (default: a comma)"
|
|
19076
|
+
},
|
|
19077
|
+
{
|
|
19078
|
+
"name": "trim",
|
|
19079
|
+
"type": "boolean",
|
|
19080
|
+
"fieldType": {
|
|
19081
|
+
"kind": "boolean"
|
|
19082
|
+
},
|
|
19083
|
+
"required": false,
|
|
19084
|
+
"description": "True: remove the white space at the start and at the end of each field"
|
|
19085
|
+
},
|
|
19086
|
+
{
|
|
19087
|
+
"name": "skipEmptyLines",
|
|
19088
|
+
"type": "boolean",
|
|
19089
|
+
"fieldType": {
|
|
19090
|
+
"kind": "boolean"
|
|
19091
|
+
},
|
|
19092
|
+
"required": false,
|
|
19093
|
+
"description": "False: an empty line gives a row with one empty field (default: true, skip each empty line)"
|
|
19056
19094
|
}
|
|
19057
19095
|
],
|
|
19058
19096
|
"inputSchema": {
|
|
19059
19097
|
"type": "object",
|
|
19060
19098
|
"properties": {
|
|
19061
|
-
"
|
|
19062
|
-
"
|
|
19063
|
-
"description": "The
|
|
19064
|
-
"type": "string"
|
|
19099
|
+
"text": {
|
|
19100
|
+
"type": "string",
|
|
19101
|
+
"description": "The CSV text (RFC 4180)"
|
|
19065
19102
|
},
|
|
19066
|
-
"
|
|
19067
|
-
"
|
|
19068
|
-
"description": "Write dependencies.json again when it exists",
|
|
19103
|
+
"header": {
|
|
19104
|
+
"description": "True: the first row has the names of the columns, and each other row is an object",
|
|
19069
19105
|
"type": "boolean"
|
|
19070
19106
|
},
|
|
19071
|
-
"
|
|
19072
|
-
"description": "The
|
|
19073
|
-
"type": "string"
|
|
19107
|
+
"delimiter": {
|
|
19108
|
+
"description": "The character between two fields (default: a comma)",
|
|
19109
|
+
"type": "string",
|
|
19110
|
+
"minLength": 1,
|
|
19111
|
+
"maxLength": 1
|
|
19112
|
+
},
|
|
19113
|
+
"trim": {
|
|
19114
|
+
"description": "True: remove the white space at the start and at the end of each field",
|
|
19115
|
+
"type": "boolean"
|
|
19116
|
+
},
|
|
19117
|
+
"skipEmptyLines": {
|
|
19118
|
+
"description": "False: an empty line gives a row with one empty field (default: true, skip each empty line)",
|
|
19119
|
+
"type": "boolean"
|
|
19074
19120
|
}
|
|
19075
|
-
}
|
|
19121
|
+
},
|
|
19122
|
+
"required": [
|
|
19123
|
+
"text"
|
|
19124
|
+
]
|
|
19076
19125
|
},
|
|
19077
19126
|
"resultFields": [
|
|
19078
19127
|
{
|
|
19079
|
-
"name": "
|
|
19080
|
-
"type": "
|
|
19128
|
+
"name": "rows",
|
|
19129
|
+
"type": "json[]",
|
|
19081
19130
|
"fieldType": {
|
|
19082
|
-
"kind": "
|
|
19131
|
+
"kind": "array",
|
|
19132
|
+
"item": {
|
|
19133
|
+
"kind": "any"
|
|
19134
|
+
}
|
|
19083
19135
|
},
|
|
19084
19136
|
"required": true,
|
|
19085
|
-
"description": "
|
|
19137
|
+
"description": "The rows, in the order of the text"
|
|
19138
|
+
}
|
|
19139
|
+
]
|
|
19140
|
+
},
|
|
19141
|
+
{
|
|
19142
|
+
"path": [
|
|
19143
|
+
"csv",
|
|
19144
|
+
"stringify"
|
|
19145
|
+
],
|
|
19146
|
+
"metadata": {
|
|
19147
|
+
"description": "Write rows as CSV text",
|
|
19148
|
+
"args": [],
|
|
19149
|
+
"shorts": {
|
|
19150
|
+
"delimiter": "d"
|
|
19086
19151
|
},
|
|
19152
|
+
"output": "json"
|
|
19153
|
+
},
|
|
19154
|
+
"fields": [
|
|
19087
19155
|
{
|
|
19088
|
-
"name": "
|
|
19089
|
-
"type": "
|
|
19156
|
+
"name": "rows",
|
|
19157
|
+
"type": "json[]",
|
|
19090
19158
|
"fieldType": {
|
|
19091
|
-
"kind": "
|
|
19159
|
+
"kind": "array",
|
|
19160
|
+
"item": {
|
|
19161
|
+
"kind": "any"
|
|
19162
|
+
}
|
|
19092
19163
|
},
|
|
19093
19164
|
"required": true,
|
|
19094
|
-
"description": "The
|
|
19165
|
+
"description": "The rows: all arrays or all objects. A field is a string, a number, a boolean or null"
|
|
19095
19166
|
},
|
|
19096
19167
|
{
|
|
19097
|
-
"name": "
|
|
19168
|
+
"name": "columns",
|
|
19098
19169
|
"type": "string[]",
|
|
19099
19170
|
"fieldType": {
|
|
19100
19171
|
"kind": "array",
|
|
@@ -19102,152 +19173,132 @@
|
|
|
19102
19173
|
"kind": "string"
|
|
19103
19174
|
}
|
|
19104
19175
|
},
|
|
19105
|
-
"required": true,
|
|
19106
|
-
"description": "The files that the call made"
|
|
19107
|
-
},
|
|
19108
|
-
{
|
|
19109
|
-
"name": "message",
|
|
19110
|
-
"type": "string",
|
|
19111
|
-
"fieldType": {
|
|
19112
|
-
"kind": "string"
|
|
19113
|
-
},
|
|
19114
19176
|
"required": false,
|
|
19115
|
-
"description": "
|
|
19177
|
+
"description": "The names of the columns. For objects, they select the keys and give their order. For arrays, they are the first row"
|
|
19116
19178
|
},
|
|
19117
19179
|
{
|
|
19118
|
-
"name": "
|
|
19119
|
-
"type": "
|
|
19180
|
+
"name": "header",
|
|
19181
|
+
"type": "boolean",
|
|
19120
19182
|
"fieldType": {
|
|
19121
|
-
"kind": "
|
|
19183
|
+
"kind": "boolean"
|
|
19122
19184
|
},
|
|
19123
19185
|
"required": false,
|
|
19124
|
-
"description": "
|
|
19125
|
-
}
|
|
19126
|
-
]
|
|
19127
|
-
},
|
|
19128
|
-
{
|
|
19129
|
-
"path": [
|
|
19130
|
-
"cue",
|
|
19131
|
-
"add"
|
|
19132
|
-
],
|
|
19133
|
-
"metadata": {
|
|
19134
|
-
"description": "Add a feature to dependencies.json",
|
|
19135
|
-
"args": [
|
|
19136
|
-
"feature"
|
|
19137
|
-
],
|
|
19138
|
-
"shorts": {
|
|
19139
|
-
"cwd": "C"
|
|
19186
|
+
"description": "False: no row with the names of the columns (default: true)"
|
|
19140
19187
|
},
|
|
19141
|
-
"output": "json"
|
|
19142
|
-
},
|
|
19143
|
-
"fields": [
|
|
19144
19188
|
{
|
|
19145
|
-
"name": "
|
|
19189
|
+
"name": "delimiter",
|
|
19146
19190
|
"type": "string",
|
|
19147
19191
|
"fieldType": {
|
|
19148
19192
|
"kind": "string"
|
|
19149
19193
|
},
|
|
19150
|
-
"required":
|
|
19151
|
-
"description": "The
|
|
19194
|
+
"required": false,
|
|
19195
|
+
"description": "The character between two fields (default: a comma)"
|
|
19152
19196
|
},
|
|
19153
19197
|
{
|
|
19154
|
-
"name": "
|
|
19155
|
-
"type": "
|
|
19198
|
+
"name": "lineBreak",
|
|
19199
|
+
"type": "enum",
|
|
19156
19200
|
"fieldType": {
|
|
19157
|
-
"kind": "
|
|
19201
|
+
"kind": "enum",
|
|
19202
|
+
"values": [
|
|
19203
|
+
"\r\n",
|
|
19204
|
+
"\n"
|
|
19205
|
+
]
|
|
19158
19206
|
},
|
|
19159
19207
|
"required": false,
|
|
19160
|
-
"description": "The
|
|
19208
|
+
"description": "The line break after each row (default: CRLF)",
|
|
19209
|
+
"enumValues": [
|
|
19210
|
+
"\r\n",
|
|
19211
|
+
"\n"
|
|
19212
|
+
]
|
|
19161
19213
|
}
|
|
19162
19214
|
],
|
|
19163
19215
|
"inputSchema": {
|
|
19164
19216
|
"type": "object",
|
|
19165
19217
|
"properties": {
|
|
19166
|
-
"
|
|
19218
|
+
"rows": {
|
|
19219
|
+
"type": "array",
|
|
19220
|
+
"items": {
|
|
19221
|
+
"description": "A row: an array of fields, or an object of fields by column name"
|
|
19222
|
+
},
|
|
19223
|
+
"description": "The rows: all arrays or all objects. A field is a string, a number, a boolean or null"
|
|
19224
|
+
},
|
|
19225
|
+
"columns": {
|
|
19226
|
+
"description": "The names of the columns. For objects, they select the keys and give their order. For arrays, they are the first row",
|
|
19227
|
+
"type": "array",
|
|
19228
|
+
"items": {
|
|
19229
|
+
"type": "string"
|
|
19230
|
+
}
|
|
19231
|
+
},
|
|
19232
|
+
"header": {
|
|
19233
|
+
"description": "False: no row with the names of the columns (default: true)",
|
|
19234
|
+
"type": "boolean"
|
|
19235
|
+
},
|
|
19236
|
+
"delimiter": {
|
|
19237
|
+
"description": "The character between two fields (default: a comma)",
|
|
19167
19238
|
"type": "string",
|
|
19168
|
-
"
|
|
19239
|
+
"minLength": 1,
|
|
19240
|
+
"maxLength": 1
|
|
19169
19241
|
},
|
|
19170
|
-
"
|
|
19171
|
-
"description": "The
|
|
19172
|
-
"type": "string"
|
|
19242
|
+
"lineBreak": {
|
|
19243
|
+
"description": "The line break after each row (default: CRLF)",
|
|
19244
|
+
"type": "string",
|
|
19245
|
+
"enum": [
|
|
19246
|
+
"\r\n",
|
|
19247
|
+
"\n"
|
|
19248
|
+
]
|
|
19173
19249
|
}
|
|
19174
19250
|
},
|
|
19175
19251
|
"required": [
|
|
19176
|
-
"
|
|
19252
|
+
"rows"
|
|
19177
19253
|
]
|
|
19178
19254
|
},
|
|
19179
19255
|
"resultFields": [
|
|
19180
19256
|
{
|
|
19181
|
-
"name": "
|
|
19182
|
-
"type": "boolean",
|
|
19183
|
-
"fieldType": {
|
|
19184
|
-
"kind": "boolean"
|
|
19185
|
-
},
|
|
19186
|
-
"required": true,
|
|
19187
|
-
"description": "True when the feature is in dependencies.json after the call"
|
|
19188
|
-
},
|
|
19189
|
-
{
|
|
19190
|
-
"name": "feature",
|
|
19257
|
+
"name": "text",
|
|
19191
19258
|
"type": "string",
|
|
19192
19259
|
"fieldType": {
|
|
19193
19260
|
"kind": "string"
|
|
19194
19261
|
},
|
|
19195
19262
|
"required": true,
|
|
19196
|
-
"description": "The
|
|
19197
|
-
},
|
|
19198
|
-
{
|
|
19199
|
-
"name": "added",
|
|
19200
|
-
"type": "boolean",
|
|
19201
|
-
"fieldType": {
|
|
19202
|
-
"kind": "boolean"
|
|
19203
|
-
},
|
|
19204
|
-
"required": true,
|
|
19205
|
-
"description": "True when the call added the feature (false when it was there already)"
|
|
19206
|
-
},
|
|
19207
|
-
{
|
|
19208
|
-
"name": "message",
|
|
19209
|
-
"type": "string",
|
|
19210
|
-
"fieldType": {
|
|
19211
|
-
"kind": "string"
|
|
19212
|
-
},
|
|
19213
|
-
"required": false,
|
|
19214
|
-
"description": "A message about the result"
|
|
19215
|
-
},
|
|
19216
|
-
{
|
|
19217
|
-
"name": "error",
|
|
19218
|
-
"type": "string",
|
|
19219
|
-
"fieldType": {
|
|
19220
|
-
"kind": "string"
|
|
19221
|
-
},
|
|
19222
|
-
"required": false,
|
|
19223
|
-
"description": "The reason of a failure (when success is false)"
|
|
19263
|
+
"description": "The CSV text"
|
|
19224
19264
|
}
|
|
19225
19265
|
]
|
|
19226
19266
|
},
|
|
19227
19267
|
{
|
|
19228
19268
|
"path": [
|
|
19229
19269
|
"cue",
|
|
19230
|
-
"
|
|
19270
|
+
"init"
|
|
19231
19271
|
],
|
|
19232
19272
|
"metadata": {
|
|
19233
|
-
"description": "
|
|
19234
|
-
"args": [
|
|
19235
|
-
"feature"
|
|
19236
|
-
],
|
|
19273
|
+
"description": "Initialize dependencies.json with a preset",
|
|
19274
|
+
"args": [],
|
|
19237
19275
|
"shorts": {
|
|
19276
|
+
"preset": "p",
|
|
19277
|
+
"force": "f",
|
|
19238
19278
|
"cwd": "C"
|
|
19239
19279
|
},
|
|
19240
19280
|
"output": "json"
|
|
19241
19281
|
},
|
|
19242
19282
|
"fields": [
|
|
19243
19283
|
{
|
|
19244
|
-
"name": "
|
|
19284
|
+
"name": "preset",
|
|
19245
19285
|
"type": "string",
|
|
19246
19286
|
"fieldType": {
|
|
19247
19287
|
"kind": "string"
|
|
19248
19288
|
},
|
|
19249
|
-
"required":
|
|
19250
|
-
"description": "The
|
|
19289
|
+
"required": false,
|
|
19290
|
+
"description": "The preset: lib, react-lib or app",
|
|
19291
|
+
"defaultValue": "lib"
|
|
19292
|
+
},
|
|
19293
|
+
{
|
|
19294
|
+
"name": "force",
|
|
19295
|
+
"type": "boolean",
|
|
19296
|
+
"fieldType": {
|
|
19297
|
+
"kind": "boolean"
|
|
19298
|
+
},
|
|
19299
|
+
"required": false,
|
|
19300
|
+
"description": "Write dependencies.json again when it exists",
|
|
19301
|
+
"defaultValue": false
|
|
19251
19302
|
},
|
|
19252
19303
|
{
|
|
19253
19304
|
"name": "cwd",
|
|
@@ -19262,18 +19313,21 @@
|
|
|
19262
19313
|
"inputSchema": {
|
|
19263
19314
|
"type": "object",
|
|
19264
19315
|
"properties": {
|
|
19265
|
-
"
|
|
19266
|
-
"
|
|
19267
|
-
"description": "The
|
|
19316
|
+
"preset": {
|
|
19317
|
+
"default": "lib",
|
|
19318
|
+
"description": "The preset: lib, react-lib or app",
|
|
19319
|
+
"type": "string"
|
|
19320
|
+
},
|
|
19321
|
+
"force": {
|
|
19322
|
+
"default": false,
|
|
19323
|
+
"description": "Write dependencies.json again when it exists",
|
|
19324
|
+
"type": "boolean"
|
|
19268
19325
|
},
|
|
19269
19326
|
"cwd": {
|
|
19270
19327
|
"description": "The folder of the package (default: the current folder)",
|
|
19271
19328
|
"type": "string"
|
|
19272
19329
|
}
|
|
19273
|
-
}
|
|
19274
|
-
"required": [
|
|
19275
|
-
"feature"
|
|
19276
|
-
]
|
|
19330
|
+
}
|
|
19277
19331
|
},
|
|
19278
19332
|
"resultFields": [
|
|
19279
19333
|
{
|
|
@@ -19283,25 +19337,226 @@
|
|
|
19283
19337
|
"kind": "boolean"
|
|
19284
19338
|
},
|
|
19285
19339
|
"required": true,
|
|
19286
|
-
"description": "True when
|
|
19340
|
+
"description": "True when dependencies.json exists after the call"
|
|
19287
19341
|
},
|
|
19288
19342
|
{
|
|
19289
|
-
"name": "
|
|
19343
|
+
"name": "preset",
|
|
19290
19344
|
"type": "string",
|
|
19291
19345
|
"fieldType": {
|
|
19292
19346
|
"kind": "string"
|
|
19293
19347
|
},
|
|
19294
19348
|
"required": true,
|
|
19295
|
-
"description": "The
|
|
19349
|
+
"description": "The preset of the new dependencies.json"
|
|
19296
19350
|
},
|
|
19297
19351
|
{
|
|
19298
|
-
"name": "
|
|
19299
|
-
"type": "
|
|
19352
|
+
"name": "created",
|
|
19353
|
+
"type": "string[]",
|
|
19300
19354
|
"fieldType": {
|
|
19301
|
-
"kind": "
|
|
19355
|
+
"kind": "array",
|
|
19356
|
+
"item": {
|
|
19357
|
+
"kind": "string"
|
|
19358
|
+
}
|
|
19302
19359
|
},
|
|
19303
19360
|
"required": true,
|
|
19304
|
-
"description": "
|
|
19361
|
+
"description": "The files that the call made"
|
|
19362
|
+
},
|
|
19363
|
+
{
|
|
19364
|
+
"name": "message",
|
|
19365
|
+
"type": "string",
|
|
19366
|
+
"fieldType": {
|
|
19367
|
+
"kind": "string"
|
|
19368
|
+
},
|
|
19369
|
+
"required": false,
|
|
19370
|
+
"description": "A message about the result"
|
|
19371
|
+
},
|
|
19372
|
+
{
|
|
19373
|
+
"name": "error",
|
|
19374
|
+
"type": "string",
|
|
19375
|
+
"fieldType": {
|
|
19376
|
+
"kind": "string"
|
|
19377
|
+
},
|
|
19378
|
+
"required": false,
|
|
19379
|
+
"description": "The reason of a failure (when success is false)"
|
|
19380
|
+
}
|
|
19381
|
+
]
|
|
19382
|
+
},
|
|
19383
|
+
{
|
|
19384
|
+
"path": [
|
|
19385
|
+
"cue",
|
|
19386
|
+
"add"
|
|
19387
|
+
],
|
|
19388
|
+
"metadata": {
|
|
19389
|
+
"description": "Add a feature to dependencies.json",
|
|
19390
|
+
"args": [
|
|
19391
|
+
"feature"
|
|
19392
|
+
],
|
|
19393
|
+
"shorts": {
|
|
19394
|
+
"cwd": "C"
|
|
19395
|
+
},
|
|
19396
|
+
"output": "json"
|
|
19397
|
+
},
|
|
19398
|
+
"fields": [
|
|
19399
|
+
{
|
|
19400
|
+
"name": "feature",
|
|
19401
|
+
"type": "string",
|
|
19402
|
+
"fieldType": {
|
|
19403
|
+
"kind": "string"
|
|
19404
|
+
},
|
|
19405
|
+
"required": true,
|
|
19406
|
+
"description": "The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest"
|
|
19407
|
+
},
|
|
19408
|
+
{
|
|
19409
|
+
"name": "cwd",
|
|
19410
|
+
"type": "string",
|
|
19411
|
+
"fieldType": {
|
|
19412
|
+
"kind": "string"
|
|
19413
|
+
},
|
|
19414
|
+
"required": false,
|
|
19415
|
+
"description": "The folder of the package (default: the current folder)"
|
|
19416
|
+
}
|
|
19417
|
+
],
|
|
19418
|
+
"inputSchema": {
|
|
19419
|
+
"type": "object",
|
|
19420
|
+
"properties": {
|
|
19421
|
+
"feature": {
|
|
19422
|
+
"type": "string",
|
|
19423
|
+
"description": "The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest"
|
|
19424
|
+
},
|
|
19425
|
+
"cwd": {
|
|
19426
|
+
"description": "The folder of the package (default: the current folder)",
|
|
19427
|
+
"type": "string"
|
|
19428
|
+
}
|
|
19429
|
+
},
|
|
19430
|
+
"required": [
|
|
19431
|
+
"feature"
|
|
19432
|
+
]
|
|
19433
|
+
},
|
|
19434
|
+
"resultFields": [
|
|
19435
|
+
{
|
|
19436
|
+
"name": "success",
|
|
19437
|
+
"type": "boolean",
|
|
19438
|
+
"fieldType": {
|
|
19439
|
+
"kind": "boolean"
|
|
19440
|
+
},
|
|
19441
|
+
"required": true,
|
|
19442
|
+
"description": "True when the feature is in dependencies.json after the call"
|
|
19443
|
+
},
|
|
19444
|
+
{
|
|
19445
|
+
"name": "feature",
|
|
19446
|
+
"type": "string",
|
|
19447
|
+
"fieldType": {
|
|
19448
|
+
"kind": "string"
|
|
19449
|
+
},
|
|
19450
|
+
"required": true,
|
|
19451
|
+
"description": "The feature"
|
|
19452
|
+
},
|
|
19453
|
+
{
|
|
19454
|
+
"name": "added",
|
|
19455
|
+
"type": "boolean",
|
|
19456
|
+
"fieldType": {
|
|
19457
|
+
"kind": "boolean"
|
|
19458
|
+
},
|
|
19459
|
+
"required": true,
|
|
19460
|
+
"description": "True when the call added the feature (false when it was there already)"
|
|
19461
|
+
},
|
|
19462
|
+
{
|
|
19463
|
+
"name": "message",
|
|
19464
|
+
"type": "string",
|
|
19465
|
+
"fieldType": {
|
|
19466
|
+
"kind": "string"
|
|
19467
|
+
},
|
|
19468
|
+
"required": false,
|
|
19469
|
+
"description": "A message about the result"
|
|
19470
|
+
},
|
|
19471
|
+
{
|
|
19472
|
+
"name": "error",
|
|
19473
|
+
"type": "string",
|
|
19474
|
+
"fieldType": {
|
|
19475
|
+
"kind": "string"
|
|
19476
|
+
},
|
|
19477
|
+
"required": false,
|
|
19478
|
+
"description": "The reason of a failure (when success is false)"
|
|
19479
|
+
}
|
|
19480
|
+
]
|
|
19481
|
+
},
|
|
19482
|
+
{
|
|
19483
|
+
"path": [
|
|
19484
|
+
"cue",
|
|
19485
|
+
"remove"
|
|
19486
|
+
],
|
|
19487
|
+
"metadata": {
|
|
19488
|
+
"description": "Remove a feature from dependencies.json",
|
|
19489
|
+
"args": [
|
|
19490
|
+
"feature"
|
|
19491
|
+
],
|
|
19492
|
+
"shorts": {
|
|
19493
|
+
"cwd": "C"
|
|
19494
|
+
},
|
|
19495
|
+
"output": "json"
|
|
19496
|
+
},
|
|
19497
|
+
"fields": [
|
|
19498
|
+
{
|
|
19499
|
+
"name": "feature",
|
|
19500
|
+
"type": "string",
|
|
19501
|
+
"fieldType": {
|
|
19502
|
+
"kind": "string"
|
|
19503
|
+
},
|
|
19504
|
+
"required": true,
|
|
19505
|
+
"description": "The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest"
|
|
19506
|
+
},
|
|
19507
|
+
{
|
|
19508
|
+
"name": "cwd",
|
|
19509
|
+
"type": "string",
|
|
19510
|
+
"fieldType": {
|
|
19511
|
+
"kind": "string"
|
|
19512
|
+
},
|
|
19513
|
+
"required": false,
|
|
19514
|
+
"description": "The folder of the package (default: the current folder)"
|
|
19515
|
+
}
|
|
19516
|
+
],
|
|
19517
|
+
"inputSchema": {
|
|
19518
|
+
"type": "object",
|
|
19519
|
+
"properties": {
|
|
19520
|
+
"feature": {
|
|
19521
|
+
"type": "string",
|
|
19522
|
+
"description": "The feature: git, npm, ts, node, node-cjs, react, vite, vite-react, cue or vitest"
|
|
19523
|
+
},
|
|
19524
|
+
"cwd": {
|
|
19525
|
+
"description": "The folder of the package (default: the current folder)",
|
|
19526
|
+
"type": "string"
|
|
19527
|
+
}
|
|
19528
|
+
},
|
|
19529
|
+
"required": [
|
|
19530
|
+
"feature"
|
|
19531
|
+
]
|
|
19532
|
+
},
|
|
19533
|
+
"resultFields": [
|
|
19534
|
+
{
|
|
19535
|
+
"name": "success",
|
|
19536
|
+
"type": "boolean",
|
|
19537
|
+
"fieldType": {
|
|
19538
|
+
"kind": "boolean"
|
|
19539
|
+
},
|
|
19540
|
+
"required": true,
|
|
19541
|
+
"description": "True when the feature is not in dependencies.json after the call"
|
|
19542
|
+
},
|
|
19543
|
+
{
|
|
19544
|
+
"name": "feature",
|
|
19545
|
+
"type": "string",
|
|
19546
|
+
"fieldType": {
|
|
19547
|
+
"kind": "string"
|
|
19548
|
+
},
|
|
19549
|
+
"required": true,
|
|
19550
|
+
"description": "The feature"
|
|
19551
|
+
},
|
|
19552
|
+
{
|
|
19553
|
+
"name": "removed",
|
|
19554
|
+
"type": "boolean",
|
|
19555
|
+
"fieldType": {
|
|
19556
|
+
"kind": "boolean"
|
|
19557
|
+
},
|
|
19558
|
+
"required": true,
|
|
19559
|
+
"description": "True when the call removed the feature"
|
|
19305
19560
|
},
|
|
19306
19561
|
{
|
|
19307
19562
|
"name": "message",
|
|
@@ -26971,667 +27226,6 @@
|
|
|
26971
27226
|
}
|
|
26972
27227
|
]
|
|
26973
27228
|
},
|
|
26974
|
-
{
|
|
26975
|
-
"path": [
|
|
26976
|
-
"db",
|
|
26977
|
-
"query"
|
|
26978
|
-
],
|
|
26979
|
-
"metadata": {
|
|
26980
|
-
"description": "Deprecated: use sqlite.query. Execute a SQL SELECT query (read only: a statement that changes data fails)"
|
|
26981
|
-
},
|
|
26982
|
-
"fields": [
|
|
26983
|
-
{
|
|
26984
|
-
"name": "sql",
|
|
26985
|
-
"type": "string",
|
|
26986
|
-
"fieldType": {
|
|
26987
|
-
"kind": "string"
|
|
26988
|
-
},
|
|
26989
|
-
"required": true,
|
|
26990
|
-
"description": "The SQL query (SELECT)"
|
|
26991
|
-
},
|
|
26992
|
-
{
|
|
26993
|
-
"name": "params",
|
|
26994
|
-
"type": "json[]",
|
|
26995
|
-
"fieldType": {
|
|
26996
|
-
"kind": "array",
|
|
26997
|
-
"item": {
|
|
26998
|
-
"kind": "any"
|
|
26999
|
-
}
|
|
27000
|
-
},
|
|
27001
|
-
"required": false,
|
|
27002
|
-
"description": "The values of the ? placeholders of the SQL, in order"
|
|
27003
|
-
},
|
|
27004
|
-
{
|
|
27005
|
-
"name": "dbPath",
|
|
27006
|
-
"type": "string",
|
|
27007
|
-
"fieldType": {
|
|
27008
|
-
"kind": "string"
|
|
27009
|
-
},
|
|
27010
|
-
"required": false,
|
|
27011
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db). A query does not make a missing file."
|
|
27012
|
-
}
|
|
27013
|
-
],
|
|
27014
|
-
"inputSchema": {
|
|
27015
|
-
"type": "object",
|
|
27016
|
-
"properties": {
|
|
27017
|
-
"sql": {
|
|
27018
|
-
"type": "string",
|
|
27019
|
-
"description": "The SQL query (SELECT)"
|
|
27020
|
-
},
|
|
27021
|
-
"params": {
|
|
27022
|
-
"description": "The values of the ? placeholders of the SQL, in order",
|
|
27023
|
-
"type": "array",
|
|
27024
|
-
"items": {}
|
|
27025
|
-
},
|
|
27026
|
-
"dbPath": {
|
|
27027
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db). A query does not make a missing file.",
|
|
27028
|
-
"type": "string"
|
|
27029
|
-
}
|
|
27030
|
-
},
|
|
27031
|
-
"required": [
|
|
27032
|
-
"sql"
|
|
27033
|
-
]
|
|
27034
|
-
},
|
|
27035
|
-
"resultFields": [
|
|
27036
|
-
{
|
|
27037
|
-
"name": "columns",
|
|
27038
|
-
"type": "string[]",
|
|
27039
|
-
"fieldType": {
|
|
27040
|
-
"kind": "array",
|
|
27041
|
-
"item": {
|
|
27042
|
-
"kind": "string"
|
|
27043
|
-
}
|
|
27044
|
-
},
|
|
27045
|
-
"required": true,
|
|
27046
|
-
"description": "The column names"
|
|
27047
|
-
},
|
|
27048
|
-
{
|
|
27049
|
-
"name": "rows",
|
|
27050
|
-
"type": "key=value[]",
|
|
27051
|
-
"fieldType": {
|
|
27052
|
-
"kind": "array",
|
|
27053
|
-
"item": {
|
|
27054
|
-
"kind": "record",
|
|
27055
|
-
"value": {
|
|
27056
|
-
"kind": "any"
|
|
27057
|
-
}
|
|
27058
|
-
}
|
|
27059
|
-
},
|
|
27060
|
-
"required": true,
|
|
27061
|
-
"description": "The rows, one object for each row"
|
|
27062
|
-
}
|
|
27063
|
-
]
|
|
27064
|
-
},
|
|
27065
|
-
{
|
|
27066
|
-
"path": [
|
|
27067
|
-
"db",
|
|
27068
|
-
"execute"
|
|
27069
|
-
],
|
|
27070
|
-
"metadata": {
|
|
27071
|
-
"description": "Deprecated: use sqlite.execute. Execute a SQL statement (INSERT, UPDATE, DELETE)"
|
|
27072
|
-
},
|
|
27073
|
-
"fields": [
|
|
27074
|
-
{
|
|
27075
|
-
"name": "sql",
|
|
27076
|
-
"type": "string",
|
|
27077
|
-
"fieldType": {
|
|
27078
|
-
"kind": "string"
|
|
27079
|
-
},
|
|
27080
|
-
"required": true,
|
|
27081
|
-
"description": "The SQL statement or script (INSERT, UPDATE, DELETE, CREATE TABLE, ...)"
|
|
27082
|
-
},
|
|
27083
|
-
{
|
|
27084
|
-
"name": "params",
|
|
27085
|
-
"type": "json[]",
|
|
27086
|
-
"fieldType": {
|
|
27087
|
-
"kind": "array",
|
|
27088
|
-
"item": {
|
|
27089
|
-
"kind": "any"
|
|
27090
|
-
}
|
|
27091
|
-
},
|
|
27092
|
-
"required": false,
|
|
27093
|
-
"description": "The values of the ? placeholders of the SQL, in order"
|
|
27094
|
-
},
|
|
27095
|
-
{
|
|
27096
|
-
"name": "dbPath",
|
|
27097
|
-
"type": "string",
|
|
27098
|
-
"fieldType": {
|
|
27099
|
-
"kind": "string"
|
|
27100
|
-
},
|
|
27101
|
-
"required": false,
|
|
27102
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db). A query does not make a missing file."
|
|
27103
|
-
}
|
|
27104
|
-
],
|
|
27105
|
-
"inputSchema": {
|
|
27106
|
-
"type": "object",
|
|
27107
|
-
"properties": {
|
|
27108
|
-
"sql": {
|
|
27109
|
-
"type": "string",
|
|
27110
|
-
"description": "The SQL statement or script (INSERT, UPDATE, DELETE, CREATE TABLE, ...)"
|
|
27111
|
-
},
|
|
27112
|
-
"params": {
|
|
27113
|
-
"description": "The values of the ? placeholders of the SQL, in order",
|
|
27114
|
-
"type": "array",
|
|
27115
|
-
"items": {}
|
|
27116
|
-
},
|
|
27117
|
-
"dbPath": {
|
|
27118
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db). A query does not make a missing file.",
|
|
27119
|
-
"type": "string"
|
|
27120
|
-
}
|
|
27121
|
-
},
|
|
27122
|
-
"required": [
|
|
27123
|
-
"sql"
|
|
27124
|
-
]
|
|
27125
|
-
},
|
|
27126
|
-
"resultFields": [
|
|
27127
|
-
{
|
|
27128
|
-
"name": "changes",
|
|
27129
|
-
"type": "number",
|
|
27130
|
-
"fieldType": {
|
|
27131
|
-
"kind": "number"
|
|
27132
|
-
},
|
|
27133
|
-
"required": true,
|
|
27134
|
-
"description": "The number of rows that the statements changed"
|
|
27135
|
-
}
|
|
27136
|
-
]
|
|
27137
|
-
},
|
|
27138
|
-
{
|
|
27139
|
-
"path": [
|
|
27140
|
-
"db",
|
|
27141
|
-
"tables"
|
|
27142
|
-
],
|
|
27143
|
-
"metadata": {
|
|
27144
|
-
"description": "Deprecated: use sqlite.tables. The tables and views of a database (read only: a missing file is an error)",
|
|
27145
|
-
"args": [],
|
|
27146
|
-
"shorts": {},
|
|
27147
|
-
"output": "json"
|
|
27148
|
-
},
|
|
27149
|
-
"fields": [
|
|
27150
|
-
{
|
|
27151
|
-
"name": "views",
|
|
27152
|
-
"type": "boolean",
|
|
27153
|
-
"fieldType": {
|
|
27154
|
-
"kind": "boolean"
|
|
27155
|
-
},
|
|
27156
|
-
"required": false,
|
|
27157
|
-
"description": "Also give the views (default true)"
|
|
27158
|
-
},
|
|
27159
|
-
{
|
|
27160
|
-
"name": "dbPath",
|
|
27161
|
-
"type": "string",
|
|
27162
|
-
"fieldType": {
|
|
27163
|
-
"kind": "string"
|
|
27164
|
-
},
|
|
27165
|
-
"required": false,
|
|
27166
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)"
|
|
27167
|
-
}
|
|
27168
|
-
],
|
|
27169
|
-
"inputSchema": {
|
|
27170
|
-
"type": "object",
|
|
27171
|
-
"properties": {
|
|
27172
|
-
"views": {
|
|
27173
|
-
"description": "Also give the views (default true)",
|
|
27174
|
-
"type": "boolean"
|
|
27175
|
-
},
|
|
27176
|
-
"dbPath": {
|
|
27177
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)",
|
|
27178
|
-
"type": "string",
|
|
27179
|
-
"minLength": 1
|
|
27180
|
-
}
|
|
27181
|
-
}
|
|
27182
|
-
},
|
|
27183
|
-
"resultFields": [
|
|
27184
|
-
{
|
|
27185
|
-
"name": "tables",
|
|
27186
|
-
"type": "json[]",
|
|
27187
|
-
"fieldType": {
|
|
27188
|
-
"kind": "array",
|
|
27189
|
-
"item": {
|
|
27190
|
-
"kind": "object"
|
|
27191
|
-
}
|
|
27192
|
-
},
|
|
27193
|
-
"required": true,
|
|
27194
|
-
"description": "The tables (and the views), in the order of their names, without the internal sqlite_ tables"
|
|
27195
|
-
}
|
|
27196
|
-
]
|
|
27197
|
-
},
|
|
27198
|
-
{
|
|
27199
|
-
"path": [
|
|
27200
|
-
"db",
|
|
27201
|
-
"schema"
|
|
27202
|
-
],
|
|
27203
|
-
"metadata": {
|
|
27204
|
-
"description": "Deprecated: use sqlite.schema. The columns, indexes and foreign keys of a table (read only)",
|
|
27205
|
-
"args": [
|
|
27206
|
-
"table"
|
|
27207
|
-
],
|
|
27208
|
-
"shorts": {},
|
|
27209
|
-
"output": "json"
|
|
27210
|
-
},
|
|
27211
|
-
"fields": [
|
|
27212
|
-
{
|
|
27213
|
-
"name": "table",
|
|
27214
|
-
"type": "string",
|
|
27215
|
-
"fieldType": {
|
|
27216
|
-
"kind": "string"
|
|
27217
|
-
},
|
|
27218
|
-
"required": true,
|
|
27219
|
-
"description": "The table or the view"
|
|
27220
|
-
},
|
|
27221
|
-
{
|
|
27222
|
-
"name": "dbPath",
|
|
27223
|
-
"type": "string",
|
|
27224
|
-
"fieldType": {
|
|
27225
|
-
"kind": "string"
|
|
27226
|
-
},
|
|
27227
|
-
"required": false,
|
|
27228
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)"
|
|
27229
|
-
}
|
|
27230
|
-
],
|
|
27231
|
-
"inputSchema": {
|
|
27232
|
-
"type": "object",
|
|
27233
|
-
"properties": {
|
|
27234
|
-
"table": {
|
|
27235
|
-
"type": "string",
|
|
27236
|
-
"minLength": 1,
|
|
27237
|
-
"description": "The table or the view"
|
|
27238
|
-
},
|
|
27239
|
-
"dbPath": {
|
|
27240
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)",
|
|
27241
|
-
"type": "string",
|
|
27242
|
-
"minLength": 1
|
|
27243
|
-
}
|
|
27244
|
-
},
|
|
27245
|
-
"required": [
|
|
27246
|
-
"table"
|
|
27247
|
-
]
|
|
27248
|
-
},
|
|
27249
|
-
"resultFields": [
|
|
27250
|
-
{
|
|
27251
|
-
"name": "table",
|
|
27252
|
-
"type": "string",
|
|
27253
|
-
"fieldType": {
|
|
27254
|
-
"kind": "string"
|
|
27255
|
-
},
|
|
27256
|
-
"required": true,
|
|
27257
|
-
"description": "The table or the view"
|
|
27258
|
-
},
|
|
27259
|
-
{
|
|
27260
|
-
"name": "type",
|
|
27261
|
-
"type": "enum",
|
|
27262
|
-
"fieldType": {
|
|
27263
|
-
"kind": "enum",
|
|
27264
|
-
"values": [
|
|
27265
|
-
"table",
|
|
27266
|
-
"view"
|
|
27267
|
-
]
|
|
27268
|
-
},
|
|
27269
|
-
"required": true,
|
|
27270
|
-
"description": "table or view",
|
|
27271
|
-
"enumValues": [
|
|
27272
|
-
"table",
|
|
27273
|
-
"view"
|
|
27274
|
-
]
|
|
27275
|
-
},
|
|
27276
|
-
{
|
|
27277
|
-
"name": "sql",
|
|
27278
|
-
"type": "string",
|
|
27279
|
-
"fieldType": {
|
|
27280
|
-
"kind": "string"
|
|
27281
|
-
},
|
|
27282
|
-
"required": true,
|
|
27283
|
-
"description": "The SQL that made the table or the view"
|
|
27284
|
-
},
|
|
27285
|
-
{
|
|
27286
|
-
"name": "columns",
|
|
27287
|
-
"type": "json[]",
|
|
27288
|
-
"fieldType": {
|
|
27289
|
-
"kind": "array",
|
|
27290
|
-
"item": {
|
|
27291
|
-
"kind": "object"
|
|
27292
|
-
}
|
|
27293
|
-
},
|
|
27294
|
-
"required": true,
|
|
27295
|
-
"description": "The columns, in their order"
|
|
27296
|
-
},
|
|
27297
|
-
{
|
|
27298
|
-
"name": "indexes",
|
|
27299
|
-
"type": "json[]",
|
|
27300
|
-
"fieldType": {
|
|
27301
|
-
"kind": "array",
|
|
27302
|
-
"item": {
|
|
27303
|
-
"kind": "object"
|
|
27304
|
-
}
|
|
27305
|
-
},
|
|
27306
|
-
"required": true,
|
|
27307
|
-
"description": "The indexes of the table"
|
|
27308
|
-
},
|
|
27309
|
-
{
|
|
27310
|
-
"name": "foreignKeys",
|
|
27311
|
-
"type": "json[]",
|
|
27312
|
-
"fieldType": {
|
|
27313
|
-
"kind": "array",
|
|
27314
|
-
"item": {
|
|
27315
|
-
"kind": "object"
|
|
27316
|
-
}
|
|
27317
|
-
},
|
|
27318
|
-
"required": true,
|
|
27319
|
-
"description": "The foreign keys of the table"
|
|
27320
|
-
}
|
|
27321
|
-
]
|
|
27322
|
-
},
|
|
27323
|
-
{
|
|
27324
|
-
"path": [
|
|
27325
|
-
"db",
|
|
27326
|
-
"transaction"
|
|
27327
|
-
],
|
|
27328
|
-
"metadata": {
|
|
27329
|
-
"description": "Deprecated: use sqlite.transaction. Run statements in one transaction: they all take effect, or none does",
|
|
27330
|
-
"args": [],
|
|
27331
|
-
"shorts": {},
|
|
27332
|
-
"output": "json"
|
|
27333
|
-
},
|
|
27334
|
-
"fields": [
|
|
27335
|
-
{
|
|
27336
|
-
"name": "statements",
|
|
27337
|
-
"type": "json[]",
|
|
27338
|
-
"fieldType": {
|
|
27339
|
-
"kind": "array",
|
|
27340
|
-
"item": {
|
|
27341
|
-
"kind": "object"
|
|
27342
|
-
}
|
|
27343
|
-
},
|
|
27344
|
-
"required": true,
|
|
27345
|
-
"description": "The statements, in order: they all take effect, or none does"
|
|
27346
|
-
},
|
|
27347
|
-
{
|
|
27348
|
-
"name": "dbPath",
|
|
27349
|
-
"type": "string",
|
|
27350
|
-
"fieldType": {
|
|
27351
|
-
"kind": "string"
|
|
27352
|
-
},
|
|
27353
|
-
"required": false,
|
|
27354
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)"
|
|
27355
|
-
}
|
|
27356
|
-
],
|
|
27357
|
-
"inputSchema": {
|
|
27358
|
-
"type": "object",
|
|
27359
|
-
"properties": {
|
|
27360
|
-
"statements": {
|
|
27361
|
-
"minItems": 1,
|
|
27362
|
-
"type": "array",
|
|
27363
|
-
"items": {
|
|
27364
|
-
"type": "object",
|
|
27365
|
-
"properties": {
|
|
27366
|
-
"sql": {
|
|
27367
|
-
"type": "string",
|
|
27368
|
-
"minLength": 1,
|
|
27369
|
-
"description": "One SQL statement, or several without params. BEGIN, COMMIT and ROLLBACK are refused."
|
|
27370
|
-
},
|
|
27371
|
-
"params": {
|
|
27372
|
-
"description": "The values of the ? placeholders, in order",
|
|
27373
|
-
"type": "array",
|
|
27374
|
-
"items": {}
|
|
27375
|
-
}
|
|
27376
|
-
},
|
|
27377
|
-
"required": [
|
|
27378
|
-
"sql"
|
|
27379
|
-
]
|
|
27380
|
-
},
|
|
27381
|
-
"description": "The statements, in order: they all take effect, or none does"
|
|
27382
|
-
},
|
|
27383
|
-
"dbPath": {
|
|
27384
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)",
|
|
27385
|
-
"type": "string",
|
|
27386
|
-
"minLength": 1
|
|
27387
|
-
}
|
|
27388
|
-
},
|
|
27389
|
-
"required": [
|
|
27390
|
-
"statements"
|
|
27391
|
-
]
|
|
27392
|
-
},
|
|
27393
|
-
"resultFields": [
|
|
27394
|
-
{
|
|
27395
|
-
"name": "results",
|
|
27396
|
-
"type": "json[]",
|
|
27397
|
-
"fieldType": {
|
|
27398
|
-
"kind": "array",
|
|
27399
|
-
"item": {
|
|
27400
|
-
"kind": "object"
|
|
27401
|
-
}
|
|
27402
|
-
},
|
|
27403
|
-
"required": true,
|
|
27404
|
-
"description": "One result for each statement of the input"
|
|
27405
|
-
},
|
|
27406
|
-
{
|
|
27407
|
-
"name": "changes",
|
|
27408
|
-
"type": "number",
|
|
27409
|
-
"fieldType": {
|
|
27410
|
-
"kind": "number"
|
|
27411
|
-
},
|
|
27412
|
-
"required": true,
|
|
27413
|
-
"description": "The rows that the transaction changed"
|
|
27414
|
-
}
|
|
27415
|
-
]
|
|
27416
|
-
},
|
|
27417
|
-
{
|
|
27418
|
-
"path": [
|
|
27419
|
-
"db",
|
|
27420
|
-
"migrate"
|
|
27421
|
-
],
|
|
27422
|
-
"metadata": {
|
|
27423
|
-
"description": "Deprecated: use sqlite.migrate. Apply the numbered migrations (a folder or a list) that a database does not have, in one transaction",
|
|
27424
|
-
"args": [],
|
|
27425
|
-
"shorts": {},
|
|
27426
|
-
"output": "json"
|
|
27427
|
-
},
|
|
27428
|
-
"fields": [
|
|
27429
|
-
{
|
|
27430
|
-
"name": "folder",
|
|
27431
|
-
"type": "string",
|
|
27432
|
-
"fieldType": {
|
|
27433
|
-
"kind": "string"
|
|
27434
|
-
},
|
|
27435
|
-
"required": false,
|
|
27436
|
-
"description": "A folder of files named <number>_<name>.sql, for example 001_create_users.sql (not with migrations)"
|
|
27437
|
-
},
|
|
27438
|
-
{
|
|
27439
|
-
"name": "migrations",
|
|
27440
|
-
"type": "json[]",
|
|
27441
|
-
"fieldType": {
|
|
27442
|
-
"kind": "array",
|
|
27443
|
-
"item": {
|
|
27444
|
-
"kind": "object"
|
|
27445
|
-
}
|
|
27446
|
-
},
|
|
27447
|
-
"required": false,
|
|
27448
|
-
"description": "The migrations (not with folder)"
|
|
27449
|
-
},
|
|
27450
|
-
{
|
|
27451
|
-
"name": "table",
|
|
27452
|
-
"type": "string",
|
|
27453
|
-
"fieldType": {
|
|
27454
|
-
"kind": "string"
|
|
27455
|
-
},
|
|
27456
|
-
"required": false,
|
|
27457
|
-
"description": "The table of the applied migrations (default schema_migrations)"
|
|
27458
|
-
},
|
|
27459
|
-
{
|
|
27460
|
-
"name": "dbPath",
|
|
27461
|
-
"type": "string",
|
|
27462
|
-
"fieldType": {
|
|
27463
|
-
"kind": "string"
|
|
27464
|
-
},
|
|
27465
|
-
"required": false,
|
|
27466
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)"
|
|
27467
|
-
}
|
|
27468
|
-
],
|
|
27469
|
-
"inputSchema": {
|
|
27470
|
-
"type": "object",
|
|
27471
|
-
"properties": {
|
|
27472
|
-
"folder": {
|
|
27473
|
-
"description": "A folder of files named <number>_<name>.sql, for example 001_create_users.sql (not with migrations)",
|
|
27474
|
-
"type": "string",
|
|
27475
|
-
"minLength": 1
|
|
27476
|
-
},
|
|
27477
|
-
"migrations": {
|
|
27478
|
-
"description": "The migrations (not with folder)",
|
|
27479
|
-
"type": "array",
|
|
27480
|
-
"items": {
|
|
27481
|
-
"type": "object",
|
|
27482
|
-
"properties": {
|
|
27483
|
-
"version": {
|
|
27484
|
-
"type": "integer",
|
|
27485
|
-
"minimum": 1,
|
|
27486
|
-
"maximum": 9007199254740991,
|
|
27487
|
-
"description": "The number of the migration: the migrations run in the order of their numbers"
|
|
27488
|
-
},
|
|
27489
|
-
"name": {
|
|
27490
|
-
"description": "A name for people",
|
|
27491
|
-
"type": "string"
|
|
27492
|
-
},
|
|
27493
|
-
"sql": {
|
|
27494
|
-
"type": "string",
|
|
27495
|
-
"minLength": 1,
|
|
27496
|
-
"description": "The SQL of the migration (several statements are allowed)"
|
|
27497
|
-
}
|
|
27498
|
-
},
|
|
27499
|
-
"required": [
|
|
27500
|
-
"version",
|
|
27501
|
-
"sql"
|
|
27502
|
-
]
|
|
27503
|
-
}
|
|
27504
|
-
},
|
|
27505
|
-
"table": {
|
|
27506
|
-
"description": "The table of the applied migrations (default schema_migrations)",
|
|
27507
|
-
"type": "string",
|
|
27508
|
-
"pattern": "^[A-Za-z_][A-Za-z0-9_]{0,63}$"
|
|
27509
|
-
},
|
|
27510
|
-
"dbPath": {
|
|
27511
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)",
|
|
27512
|
-
"type": "string",
|
|
27513
|
-
"minLength": 1
|
|
27514
|
-
}
|
|
27515
|
-
}
|
|
27516
|
-
},
|
|
27517
|
-
"resultFields": [
|
|
27518
|
-
{
|
|
27519
|
-
"name": "applied",
|
|
27520
|
-
"type": "json[]",
|
|
27521
|
-
"fieldType": {
|
|
27522
|
-
"kind": "array",
|
|
27523
|
-
"item": {
|
|
27524
|
-
"kind": "object"
|
|
27525
|
-
}
|
|
27526
|
-
},
|
|
27527
|
-
"required": true,
|
|
27528
|
-
"description": "The migrations that this call applied, in order"
|
|
27529
|
-
},
|
|
27530
|
-
{
|
|
27531
|
-
"name": "skipped",
|
|
27532
|
-
"type": "number",
|
|
27533
|
-
"fieldType": {
|
|
27534
|
-
"kind": "number"
|
|
27535
|
-
},
|
|
27536
|
-
"required": true,
|
|
27537
|
-
"description": "The number of migrations that the database had already"
|
|
27538
|
-
},
|
|
27539
|
-
{
|
|
27540
|
-
"name": "version",
|
|
27541
|
-
"type": "number",
|
|
27542
|
-
"fieldType": {
|
|
27543
|
-
"kind": "number"
|
|
27544
|
-
},
|
|
27545
|
-
"required": true,
|
|
27546
|
-
"description": "The highest applied version, or 0"
|
|
27547
|
-
}
|
|
27548
|
-
]
|
|
27549
|
-
},
|
|
27550
|
-
{
|
|
27551
|
-
"path": [
|
|
27552
|
-
"db",
|
|
27553
|
-
"backup"
|
|
27554
|
-
],
|
|
27555
|
-
"metadata": {
|
|
27556
|
-
"description": "Deprecated: use sqlite.backup. Copy a database to a new file (it does not replace a file)",
|
|
27557
|
-
"args": [
|
|
27558
|
-
"to"
|
|
27559
|
-
],
|
|
27560
|
-
"shorts": {},
|
|
27561
|
-
"output": "json"
|
|
27562
|
-
},
|
|
27563
|
-
"fields": [
|
|
27564
|
-
{
|
|
27565
|
-
"name": "to",
|
|
27566
|
-
"type": "string",
|
|
27567
|
-
"fieldType": {
|
|
27568
|
-
"kind": "string"
|
|
27569
|
-
},
|
|
27570
|
-
"required": true,
|
|
27571
|
-
"description": "The new file. The procedure does not replace a file."
|
|
27572
|
-
},
|
|
27573
|
-
{
|
|
27574
|
-
"name": "vacuum",
|
|
27575
|
-
"type": "boolean",
|
|
27576
|
-
"fieldType": {
|
|
27577
|
-
"kind": "boolean"
|
|
27578
|
-
},
|
|
27579
|
-
"required": false,
|
|
27580
|
-
"description": "Also compact the copy (VACUUM): it leaves out the free pages"
|
|
27581
|
-
},
|
|
27582
|
-
{
|
|
27583
|
-
"name": "dbPath",
|
|
27584
|
-
"type": "string",
|
|
27585
|
-
"fieldType": {
|
|
27586
|
-
"kind": "string"
|
|
27587
|
-
},
|
|
27588
|
-
"required": false,
|
|
27589
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)"
|
|
27590
|
-
}
|
|
27591
|
-
],
|
|
27592
|
-
"inputSchema": {
|
|
27593
|
-
"type": "object",
|
|
27594
|
-
"properties": {
|
|
27595
|
-
"to": {
|
|
27596
|
-
"type": "string",
|
|
27597
|
-
"minLength": 1,
|
|
27598
|
-
"description": "The new file. The procedure does not replace a file."
|
|
27599
|
-
},
|
|
27600
|
-
"vacuum": {
|
|
27601
|
-
"description": "Also compact the copy (VACUUM): it leaves out the free pages",
|
|
27602
|
-
"type": "boolean"
|
|
27603
|
-
},
|
|
27604
|
-
"dbPath": {
|
|
27605
|
-
"description": "The SQLite database file (default: the CLI log database, ~/logs/cli/cli.db)",
|
|
27606
|
-
"type": "string",
|
|
27607
|
-
"minLength": 1
|
|
27608
|
-
}
|
|
27609
|
-
},
|
|
27610
|
-
"required": [
|
|
27611
|
-
"to"
|
|
27612
|
-
]
|
|
27613
|
-
},
|
|
27614
|
-
"resultFields": [
|
|
27615
|
-
{
|
|
27616
|
-
"name": "path",
|
|
27617
|
-
"type": "string",
|
|
27618
|
-
"fieldType": {
|
|
27619
|
-
"kind": "string"
|
|
27620
|
-
},
|
|
27621
|
-
"required": true,
|
|
27622
|
-
"description": "The path of the copy"
|
|
27623
|
-
},
|
|
27624
|
-
{
|
|
27625
|
-
"name": "bytes",
|
|
27626
|
-
"type": "number",
|
|
27627
|
-
"fieldType": {
|
|
27628
|
-
"kind": "number"
|
|
27629
|
-
},
|
|
27630
|
-
"required": true,
|
|
27631
|
-
"description": "The size of the copy, in bytes"
|
|
27632
|
-
}
|
|
27633
|
-
]
|
|
27634
|
-
},
|
|
27635
27229
|
{
|
|
27636
27230
|
"path": [
|
|
27637
27231
|
"vitest",
|
|
@@ -36557,7 +36151,444 @@
|
|
|
36557
36151
|
"complete"
|
|
36558
36152
|
],
|
|
36559
36153
|
"metadata": {
|
|
36560
|
-
"description": "Send a prompt to a language model and give the text and the usage",
|
|
36154
|
+
"description": "Send a prompt to a language model and give the text and the usage. The model can use tools and procedures",
|
|
36155
|
+
"args": [
|
|
36156
|
+
"prompt"
|
|
36157
|
+
],
|
|
36158
|
+
"shorts": {
|
|
36159
|
+
"model": "m",
|
|
36160
|
+
"system": "s"
|
|
36161
|
+
},
|
|
36162
|
+
"output": "json"
|
|
36163
|
+
},
|
|
36164
|
+
"fields": [
|
|
36165
|
+
{
|
|
36166
|
+
"name": "prompt",
|
|
36167
|
+
"type": "string",
|
|
36168
|
+
"fieldType": {
|
|
36169
|
+
"kind": "string"
|
|
36170
|
+
},
|
|
36171
|
+
"required": true,
|
|
36172
|
+
"description": "The text of the user"
|
|
36173
|
+
},
|
|
36174
|
+
{
|
|
36175
|
+
"name": "system",
|
|
36176
|
+
"type": "string",
|
|
36177
|
+
"fieldType": {
|
|
36178
|
+
"kind": "string"
|
|
36179
|
+
},
|
|
36180
|
+
"required": false,
|
|
36181
|
+
"description": "The system text: the instructions to the model"
|
|
36182
|
+
},
|
|
36183
|
+
{
|
|
36184
|
+
"name": "model",
|
|
36185
|
+
"type": "string",
|
|
36186
|
+
"fieldType": {
|
|
36187
|
+
"kind": "string"
|
|
36188
|
+
},
|
|
36189
|
+
"required": false,
|
|
36190
|
+
"description": "The model (default: the model of the module, claude-sonnet-5-5)"
|
|
36191
|
+
},
|
|
36192
|
+
{
|
|
36193
|
+
"name": "maxTokens",
|
|
36194
|
+
"type": "number",
|
|
36195
|
+
"fieldType": {
|
|
36196
|
+
"kind": "number"
|
|
36197
|
+
},
|
|
36198
|
+
"required": false,
|
|
36199
|
+
"description": "The most tokens of the output, with the thinking (default 16000)"
|
|
36200
|
+
},
|
|
36201
|
+
{
|
|
36202
|
+
"name": "temperature",
|
|
36203
|
+
"type": "number",
|
|
36204
|
+
"fieldType": {
|
|
36205
|
+
"kind": "number"
|
|
36206
|
+
},
|
|
36207
|
+
"required": false,
|
|
36208
|
+
"description": "The temperature, 0 to 1. Some models accept only the default"
|
|
36209
|
+
},
|
|
36210
|
+
{
|
|
36211
|
+
"name": "effort",
|
|
36212
|
+
"type": "enum",
|
|
36213
|
+
"fieldType": {
|
|
36214
|
+
"kind": "enum",
|
|
36215
|
+
"values": [
|
|
36216
|
+
"low",
|
|
36217
|
+
"medium",
|
|
36218
|
+
"high",
|
|
36219
|
+
"xhigh",
|
|
36220
|
+
"max"
|
|
36221
|
+
]
|
|
36222
|
+
},
|
|
36223
|
+
"required": false,
|
|
36224
|
+
"description": "The effort of the model (default: the default of the model)",
|
|
36225
|
+
"enumValues": [
|
|
36226
|
+
"low",
|
|
36227
|
+
"medium",
|
|
36228
|
+
"high",
|
|
36229
|
+
"xhigh",
|
|
36230
|
+
"max"
|
|
36231
|
+
]
|
|
36232
|
+
},
|
|
36233
|
+
{
|
|
36234
|
+
"name": "timeoutMs",
|
|
36235
|
+
"type": "number",
|
|
36236
|
+
"fieldType": {
|
|
36237
|
+
"kind": "number"
|
|
36238
|
+
},
|
|
36239
|
+
"required": false,
|
|
36240
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
36241
|
+
},
|
|
36242
|
+
{
|
|
36243
|
+
"name": "fallback",
|
|
36244
|
+
"type": "boolean",
|
|
36245
|
+
"fieldType": {
|
|
36246
|
+
"kind": "boolean"
|
|
36247
|
+
},
|
|
36248
|
+
"required": false,
|
|
36249
|
+
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)"
|
|
36250
|
+
},
|
|
36251
|
+
{
|
|
36252
|
+
"name": "tools",
|
|
36253
|
+
"type": "json[]",
|
|
36254
|
+
"fieldType": {
|
|
36255
|
+
"kind": "array",
|
|
36256
|
+
"item": {
|
|
36257
|
+
"kind": "object"
|
|
36258
|
+
}
|
|
36259
|
+
},
|
|
36260
|
+
"required": false,
|
|
36261
|
+
"description": "The tools that the model can use. The output gives each tool_use block"
|
|
36262
|
+
},
|
|
36263
|
+
{
|
|
36264
|
+
"name": "toolChoice",
|
|
36265
|
+
"type": "json|json|json|json",
|
|
36266
|
+
"fieldType": {
|
|
36267
|
+
"kind": "union",
|
|
36268
|
+
"options": [
|
|
36269
|
+
{
|
|
36270
|
+
"kind": "object"
|
|
36271
|
+
},
|
|
36272
|
+
{
|
|
36273
|
+
"kind": "object"
|
|
36274
|
+
},
|
|
36275
|
+
{
|
|
36276
|
+
"kind": "object"
|
|
36277
|
+
},
|
|
36278
|
+
{
|
|
36279
|
+
"kind": "object"
|
|
36280
|
+
}
|
|
36281
|
+
]
|
|
36282
|
+
},
|
|
36283
|
+
"required": false,
|
|
36284
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36285
|
+
},
|
|
36286
|
+
{
|
|
36287
|
+
"name": "retries",
|
|
36288
|
+
"type": "number",
|
|
36289
|
+
"fieldType": {
|
|
36290
|
+
"kind": "number"
|
|
36291
|
+
},
|
|
36292
|
+
"required": false,
|
|
36293
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
36294
|
+
},
|
|
36295
|
+
{
|
|
36296
|
+
"name": "procedures",
|
|
36297
|
+
"type": "string[]",
|
|
36298
|
+
"fieldType": {
|
|
36299
|
+
"kind": "array",
|
|
36300
|
+
"item": {
|
|
36301
|
+
"kind": "string"
|
|
36302
|
+
}
|
|
36303
|
+
},
|
|
36304
|
+
"required": false,
|
|
36305
|
+
"description": "The procedures that the model can use as tools: llm.complete calls them and sends the results back"
|
|
36306
|
+
},
|
|
36307
|
+
{
|
|
36308
|
+
"name": "maxRounds",
|
|
36309
|
+
"type": "number",
|
|
36310
|
+
"fieldType": {
|
|
36311
|
+
"kind": "number"
|
|
36312
|
+
},
|
|
36313
|
+
"required": false,
|
|
36314
|
+
"description": "The most requests to the model in one call, 1 to 64 (default 8)"
|
|
36315
|
+
}
|
|
36316
|
+
],
|
|
36317
|
+
"inputSchema": {
|
|
36318
|
+
"type": "object",
|
|
36319
|
+
"properties": {
|
|
36320
|
+
"prompt": {
|
|
36321
|
+
"type": "string",
|
|
36322
|
+
"minLength": 1,
|
|
36323
|
+
"maxLength": 4000000,
|
|
36324
|
+
"description": "The text of the user"
|
|
36325
|
+
},
|
|
36326
|
+
"system": {
|
|
36327
|
+
"description": "The system text: the instructions to the model",
|
|
36328
|
+
"type": "string",
|
|
36329
|
+
"maxLength": 4000000
|
|
36330
|
+
},
|
|
36331
|
+
"model": {
|
|
36332
|
+
"description": "The model (default: the model of the module, claude-sonnet-5-5)",
|
|
36333
|
+
"type": "string",
|
|
36334
|
+
"minLength": 1,
|
|
36335
|
+
"maxLength": 200,
|
|
36336
|
+
"pattern": "^[A-Za-z0-9][A-Za-z0-9._:@/-]*$"
|
|
36337
|
+
},
|
|
36338
|
+
"maxTokens": {
|
|
36339
|
+
"description": "The most tokens of the output, with the thinking (default 16000)",
|
|
36340
|
+
"type": "integer",
|
|
36341
|
+
"minimum": 1,
|
|
36342
|
+
"maximum": 64000
|
|
36343
|
+
},
|
|
36344
|
+
"temperature": {
|
|
36345
|
+
"description": "The temperature, 0 to 1. Some models accept only the default",
|
|
36346
|
+
"type": "number",
|
|
36347
|
+
"minimum": 0,
|
|
36348
|
+
"maximum": 1
|
|
36349
|
+
},
|
|
36350
|
+
"effort": {
|
|
36351
|
+
"description": "The effort of the model (default: the default of the model)",
|
|
36352
|
+
"type": "string",
|
|
36353
|
+
"enum": [
|
|
36354
|
+
"low",
|
|
36355
|
+
"medium",
|
|
36356
|
+
"high",
|
|
36357
|
+
"xhigh",
|
|
36358
|
+
"max"
|
|
36359
|
+
]
|
|
36360
|
+
},
|
|
36361
|
+
"timeoutMs": {
|
|
36362
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
36363
|
+
"type": "integer",
|
|
36364
|
+
"exclusiveMinimum": 0,
|
|
36365
|
+
"maximum": 3600000
|
|
36366
|
+
},
|
|
36367
|
+
"fallback": {
|
|
36368
|
+
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)",
|
|
36369
|
+
"type": "boolean"
|
|
36370
|
+
},
|
|
36371
|
+
"tools": {
|
|
36372
|
+
"description": "The tools that the model can use. The output gives each tool_use block",
|
|
36373
|
+
"maxItems": 128,
|
|
36374
|
+
"type": "array",
|
|
36375
|
+
"items": {
|
|
36376
|
+
"type": "object",
|
|
36377
|
+
"properties": {
|
|
36378
|
+
"name": {
|
|
36379
|
+
"type": "string",
|
|
36380
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
36381
|
+
"description": "The name of the tool"
|
|
36382
|
+
},
|
|
36383
|
+
"description": {
|
|
36384
|
+
"description": "What the tool does and when the model uses it",
|
|
36385
|
+
"type": "string",
|
|
36386
|
+
"maxLength": 100000
|
|
36387
|
+
},
|
|
36388
|
+
"inputSchema": {
|
|
36389
|
+
"type": "object",
|
|
36390
|
+
"propertyNames": {
|
|
36391
|
+
"type": "string"
|
|
36392
|
+
},
|
|
36393
|
+
"additionalProperties": {},
|
|
36394
|
+
"description": "The JSON Schema of the input of the tool, with type object"
|
|
36395
|
+
},
|
|
36396
|
+
"strict": {
|
|
36397
|
+
"description": "True: the API makes each input agree with the schema (strict tool use)",
|
|
36398
|
+
"type": "boolean"
|
|
36399
|
+
}
|
|
36400
|
+
},
|
|
36401
|
+
"required": [
|
|
36402
|
+
"name",
|
|
36403
|
+
"inputSchema"
|
|
36404
|
+
]
|
|
36405
|
+
}
|
|
36406
|
+
},
|
|
36407
|
+
"toolChoice": {
|
|
36408
|
+
"oneOf": [
|
|
36409
|
+
{
|
|
36410
|
+
"type": "object",
|
|
36411
|
+
"properties": {
|
|
36412
|
+
"type": {
|
|
36413
|
+
"type": "string",
|
|
36414
|
+
"const": "auto"
|
|
36415
|
+
},
|
|
36416
|
+
"disableParallelToolUse": {
|
|
36417
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36418
|
+
"type": "boolean"
|
|
36419
|
+
}
|
|
36420
|
+
},
|
|
36421
|
+
"required": [
|
|
36422
|
+
"type"
|
|
36423
|
+
]
|
|
36424
|
+
},
|
|
36425
|
+
{
|
|
36426
|
+
"type": "object",
|
|
36427
|
+
"properties": {
|
|
36428
|
+
"type": {
|
|
36429
|
+
"type": "string",
|
|
36430
|
+
"const": "any"
|
|
36431
|
+
},
|
|
36432
|
+
"disableParallelToolUse": {
|
|
36433
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36434
|
+
"type": "boolean"
|
|
36435
|
+
}
|
|
36436
|
+
},
|
|
36437
|
+
"required": [
|
|
36438
|
+
"type"
|
|
36439
|
+
]
|
|
36440
|
+
},
|
|
36441
|
+
{
|
|
36442
|
+
"type": "object",
|
|
36443
|
+
"properties": {
|
|
36444
|
+
"type": {
|
|
36445
|
+
"type": "string",
|
|
36446
|
+
"const": "tool"
|
|
36447
|
+
},
|
|
36448
|
+
"name": {
|
|
36449
|
+
"type": "string",
|
|
36450
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
36451
|
+
"description": "The tool that the model uses"
|
|
36452
|
+
},
|
|
36453
|
+
"disableParallelToolUse": {
|
|
36454
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
36455
|
+
"type": "boolean"
|
|
36456
|
+
}
|
|
36457
|
+
},
|
|
36458
|
+
"required": [
|
|
36459
|
+
"type",
|
|
36460
|
+
"name"
|
|
36461
|
+
]
|
|
36462
|
+
},
|
|
36463
|
+
{
|
|
36464
|
+
"type": "object",
|
|
36465
|
+
"properties": {
|
|
36466
|
+
"type": {
|
|
36467
|
+
"type": "string",
|
|
36468
|
+
"const": "none"
|
|
36469
|
+
}
|
|
36470
|
+
},
|
|
36471
|
+
"required": [
|
|
36472
|
+
"type"
|
|
36473
|
+
]
|
|
36474
|
+
}
|
|
36475
|
+
],
|
|
36476
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36477
|
+
},
|
|
36478
|
+
"retries": {
|
|
36479
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
36480
|
+
"type": "integer",
|
|
36481
|
+
"minimum": 0,
|
|
36482
|
+
"maximum": 10
|
|
36483
|
+
},
|
|
36484
|
+
"procedures": {
|
|
36485
|
+
"description": "The procedures that the model can use as tools: llm.complete calls them and sends the results back",
|
|
36486
|
+
"maxItems": 64,
|
|
36487
|
+
"type": "array",
|
|
36488
|
+
"items": {
|
|
36489
|
+
"type": "string",
|
|
36490
|
+
"pattern": "^[A-Za-z0-9_-]+(\\.[A-Za-z0-9_-]+)*$"
|
|
36491
|
+
}
|
|
36492
|
+
},
|
|
36493
|
+
"maxRounds": {
|
|
36494
|
+
"description": "The most requests to the model in one call, 1 to 64 (default 8)",
|
|
36495
|
+
"type": "integer",
|
|
36496
|
+
"minimum": 1,
|
|
36497
|
+
"maximum": 64
|
|
36498
|
+
}
|
|
36499
|
+
},
|
|
36500
|
+
"required": [
|
|
36501
|
+
"prompt"
|
|
36502
|
+
]
|
|
36503
|
+
},
|
|
36504
|
+
"resultFields": [
|
|
36505
|
+
{
|
|
36506
|
+
"name": "text",
|
|
36507
|
+
"type": "string",
|
|
36508
|
+
"fieldType": {
|
|
36509
|
+
"kind": "string"
|
|
36510
|
+
},
|
|
36511
|
+
"required": true,
|
|
36512
|
+
"description": "The text of the last answer"
|
|
36513
|
+
},
|
|
36514
|
+
{
|
|
36515
|
+
"name": "model",
|
|
36516
|
+
"type": "string",
|
|
36517
|
+
"fieldType": {
|
|
36518
|
+
"kind": "string"
|
|
36519
|
+
},
|
|
36520
|
+
"required": true,
|
|
36521
|
+
"description": "The model that answered"
|
|
36522
|
+
},
|
|
36523
|
+
{
|
|
36524
|
+
"name": "stopReason",
|
|
36525
|
+
"type": "string",
|
|
36526
|
+
"fieldType": {
|
|
36527
|
+
"kind": "string"
|
|
36528
|
+
},
|
|
36529
|
+
"required": true,
|
|
36530
|
+
"description": "Why the model stopped: end_turn, max_tokens, stop_sequence, tool_use or another reason"
|
|
36531
|
+
},
|
|
36532
|
+
{
|
|
36533
|
+
"name": "usage",
|
|
36534
|
+
"type": "json",
|
|
36535
|
+
"fieldType": {
|
|
36536
|
+
"kind": "object"
|
|
36537
|
+
},
|
|
36538
|
+
"required": true,
|
|
36539
|
+
"description": "The tokens of the call"
|
|
36540
|
+
},
|
|
36541
|
+
{
|
|
36542
|
+
"name": "toolUses",
|
|
36543
|
+
"type": "json[]",
|
|
36544
|
+
"fieldType": {
|
|
36545
|
+
"kind": "array",
|
|
36546
|
+
"item": {
|
|
36547
|
+
"kind": "object"
|
|
36548
|
+
}
|
|
36549
|
+
},
|
|
36550
|
+
"required": true,
|
|
36551
|
+
"description": "The tool_use blocks of the last answer that no procedure ran"
|
|
36552
|
+
},
|
|
36553
|
+
{
|
|
36554
|
+
"name": "toolCalls",
|
|
36555
|
+
"type": "json[]",
|
|
36556
|
+
"fieldType": {
|
|
36557
|
+
"kind": "array",
|
|
36558
|
+
"item": {
|
|
36559
|
+
"kind": "object"
|
|
36560
|
+
}
|
|
36561
|
+
},
|
|
36562
|
+
"required": true,
|
|
36563
|
+
"description": "The calls of the procedure tools, in their sequence"
|
|
36564
|
+
},
|
|
36565
|
+
{
|
|
36566
|
+
"name": "rounds",
|
|
36567
|
+
"type": "number",
|
|
36568
|
+
"fieldType": {
|
|
36569
|
+
"kind": "number"
|
|
36570
|
+
},
|
|
36571
|
+
"required": true,
|
|
36572
|
+
"description": "The number of requests to the model"
|
|
36573
|
+
},
|
|
36574
|
+
{
|
|
36575
|
+
"name": "roundLimit",
|
|
36576
|
+
"type": "boolean",
|
|
36577
|
+
"fieldType": {
|
|
36578
|
+
"kind": "boolean"
|
|
36579
|
+
},
|
|
36580
|
+
"required": true,
|
|
36581
|
+
"description": "True when maxRounds stopped the loop before the model stopped"
|
|
36582
|
+
}
|
|
36583
|
+
]
|
|
36584
|
+
},
|
|
36585
|
+
{
|
|
36586
|
+
"path": [
|
|
36587
|
+
"llm",
|
|
36588
|
+
"structured"
|
|
36589
|
+
],
|
|
36590
|
+
"metadata": {
|
|
36591
|
+
"description": "Send a prompt and a JSON Schema to a language model and give a value that the schema accepts",
|
|
36561
36592
|
"args": [
|
|
36562
36593
|
"prompt"
|
|
36563
36594
|
],
|
|
@@ -36643,7 +36674,7 @@
|
|
|
36643
36674
|
"kind": "number"
|
|
36644
36675
|
},
|
|
36645
36676
|
"required": false,
|
|
36646
|
-
"description": "The time limit of
|
|
36677
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
36647
36678
|
},
|
|
36648
36679
|
{
|
|
36649
36680
|
"name": "fallback",
|
|
@@ -36653,6 +36684,45 @@
|
|
|
36653
36684
|
},
|
|
36654
36685
|
"required": false,
|
|
36655
36686
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)"
|
|
36687
|
+
},
|
|
36688
|
+
{
|
|
36689
|
+
"name": "schema",
|
|
36690
|
+
"type": "key=value",
|
|
36691
|
+
"fieldType": {
|
|
36692
|
+
"kind": "record",
|
|
36693
|
+
"value": {
|
|
36694
|
+
"kind": "any"
|
|
36695
|
+
}
|
|
36696
|
+
},
|
|
36697
|
+
"required": true,
|
|
36698
|
+
"description": "The JSON Schema of the value"
|
|
36699
|
+
},
|
|
36700
|
+
{
|
|
36701
|
+
"name": "constrained",
|
|
36702
|
+
"type": "boolean",
|
|
36703
|
+
"fieldType": {
|
|
36704
|
+
"kind": "boolean"
|
|
36705
|
+
},
|
|
36706
|
+
"required": false,
|
|
36707
|
+
"description": "True (default): the API constrains the output to the schema. False: the system text gives the schema"
|
|
36708
|
+
},
|
|
36709
|
+
{
|
|
36710
|
+
"name": "retries",
|
|
36711
|
+
"type": "number",
|
|
36712
|
+
"fieldType": {
|
|
36713
|
+
"kind": "number"
|
|
36714
|
+
},
|
|
36715
|
+
"required": false,
|
|
36716
|
+
"description": "The new tries after an answer that is not valid, 0 to 2 (default 2)"
|
|
36717
|
+
},
|
|
36718
|
+
{
|
|
36719
|
+
"name": "requestRetries",
|
|
36720
|
+
"type": "number",
|
|
36721
|
+
"fieldType": {
|
|
36722
|
+
"kind": "number"
|
|
36723
|
+
},
|
|
36724
|
+
"required": false,
|
|
36725
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
36656
36726
|
}
|
|
36657
36727
|
],
|
|
36658
36728
|
"inputSchema": {
|
|
@@ -36700,7 +36770,7 @@
|
|
|
36700
36770
|
]
|
|
36701
36771
|
},
|
|
36702
36772
|
"timeoutMs": {
|
|
36703
|
-
"description": "The time limit of
|
|
36773
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
36704
36774
|
"type": "integer",
|
|
36705
36775
|
"exclusiveMinimum": 0,
|
|
36706
36776
|
"maximum": 3600000
|
|
@@ -36708,21 +36778,46 @@
|
|
|
36708
36778
|
"fallback": {
|
|
36709
36779
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)",
|
|
36710
36780
|
"type": "boolean"
|
|
36781
|
+
},
|
|
36782
|
+
"schema": {
|
|
36783
|
+
"type": "object",
|
|
36784
|
+
"propertyNames": {
|
|
36785
|
+
"type": "string"
|
|
36786
|
+
},
|
|
36787
|
+
"additionalProperties": {},
|
|
36788
|
+
"description": "The JSON Schema of the value"
|
|
36789
|
+
},
|
|
36790
|
+
"constrained": {
|
|
36791
|
+
"description": "True (default): the API constrains the output to the schema. False: the system text gives the schema",
|
|
36792
|
+
"type": "boolean"
|
|
36793
|
+
},
|
|
36794
|
+
"retries": {
|
|
36795
|
+
"description": "The new tries after an answer that is not valid, 0 to 2 (default 2)",
|
|
36796
|
+
"type": "integer",
|
|
36797
|
+
"minimum": 0,
|
|
36798
|
+
"maximum": 2
|
|
36799
|
+
},
|
|
36800
|
+
"requestRetries": {
|
|
36801
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
36802
|
+
"type": "integer",
|
|
36803
|
+
"minimum": 0,
|
|
36804
|
+
"maximum": 10
|
|
36711
36805
|
}
|
|
36712
36806
|
},
|
|
36713
36807
|
"required": [
|
|
36714
|
-
"prompt"
|
|
36808
|
+
"prompt",
|
|
36809
|
+
"schema"
|
|
36715
36810
|
]
|
|
36716
36811
|
},
|
|
36717
36812
|
"resultFields": [
|
|
36718
36813
|
{
|
|
36719
|
-
"name": "
|
|
36720
|
-
"type": "
|
|
36814
|
+
"name": "value",
|
|
36815
|
+
"type": "json",
|
|
36721
36816
|
"fieldType": {
|
|
36722
|
-
"kind": "
|
|
36817
|
+
"kind": "any"
|
|
36723
36818
|
},
|
|
36724
36819
|
"required": true,
|
|
36725
|
-
"description": "The
|
|
36820
|
+
"description": "The value: the schema accepts it"
|
|
36726
36821
|
},
|
|
36727
36822
|
{
|
|
36728
36823
|
"name": "model",
|
|
@@ -36731,16 +36826,16 @@
|
|
|
36731
36826
|
"kind": "string"
|
|
36732
36827
|
},
|
|
36733
36828
|
"required": true,
|
|
36734
|
-
"description": "The model that
|
|
36829
|
+
"description": "The model that gave the value"
|
|
36735
36830
|
},
|
|
36736
36831
|
{
|
|
36737
|
-
"name": "
|
|
36738
|
-
"type": "
|
|
36832
|
+
"name": "attempts",
|
|
36833
|
+
"type": "number",
|
|
36739
36834
|
"fieldType": {
|
|
36740
|
-
"kind": "
|
|
36835
|
+
"kind": "number"
|
|
36741
36836
|
},
|
|
36742
36837
|
"required": true,
|
|
36743
|
-
"description": "
|
|
36838
|
+
"description": "The number of calls to the model"
|
|
36744
36839
|
},
|
|
36745
36840
|
{
|
|
36746
36841
|
"name": "usage",
|
|
@@ -36750,16 +36845,28 @@
|
|
|
36750
36845
|
},
|
|
36751
36846
|
"required": true,
|
|
36752
36847
|
"description": "The tokens of the call"
|
|
36848
|
+
},
|
|
36849
|
+
{
|
|
36850
|
+
"name": "unchecked",
|
|
36851
|
+
"type": "string[]",
|
|
36852
|
+
"fieldType": {
|
|
36853
|
+
"kind": "array",
|
|
36854
|
+
"item": {
|
|
36855
|
+
"kind": "string"
|
|
36856
|
+
}
|
|
36857
|
+
},
|
|
36858
|
+
"required": true,
|
|
36859
|
+
"description": "The keywords of the schema that the check does not examine fully"
|
|
36753
36860
|
}
|
|
36754
36861
|
]
|
|
36755
36862
|
},
|
|
36756
36863
|
{
|
|
36757
36864
|
"path": [
|
|
36758
36865
|
"llm",
|
|
36759
|
-
"
|
|
36866
|
+
"stream"
|
|
36760
36867
|
],
|
|
36761
36868
|
"metadata": {
|
|
36762
|
-
"description": "Send a prompt
|
|
36869
|
+
"description": "Send a prompt to a language model and stream the events of the answer",
|
|
36763
36870
|
"args": [
|
|
36764
36871
|
"prompt"
|
|
36765
36872
|
],
|
|
@@ -36845,7 +36952,7 @@
|
|
|
36845
36952
|
"kind": "number"
|
|
36846
36953
|
},
|
|
36847
36954
|
"required": false,
|
|
36848
|
-
"description": "The time limit of
|
|
36955
|
+
"description": "The time limit of each request, in milliseconds (default 600000)"
|
|
36849
36956
|
},
|
|
36850
36957
|
{
|
|
36851
36958
|
"name": "fallback",
|
|
@@ -36857,25 +36964,39 @@
|
|
|
36857
36964
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)"
|
|
36858
36965
|
},
|
|
36859
36966
|
{
|
|
36860
|
-
"name": "
|
|
36861
|
-
"type": "
|
|
36967
|
+
"name": "tools",
|
|
36968
|
+
"type": "json[]",
|
|
36862
36969
|
"fieldType": {
|
|
36863
|
-
"kind": "
|
|
36864
|
-
"
|
|
36865
|
-
"kind": "
|
|
36970
|
+
"kind": "array",
|
|
36971
|
+
"item": {
|
|
36972
|
+
"kind": "object"
|
|
36866
36973
|
}
|
|
36867
36974
|
},
|
|
36868
|
-
"required":
|
|
36869
|
-
"description": "The
|
|
36975
|
+
"required": false,
|
|
36976
|
+
"description": "The tools that the model can use. The output gives each tool_use block"
|
|
36870
36977
|
},
|
|
36871
36978
|
{
|
|
36872
|
-
"name": "
|
|
36873
|
-
"type": "
|
|
36979
|
+
"name": "toolChoice",
|
|
36980
|
+
"type": "json|json|json|json",
|
|
36874
36981
|
"fieldType": {
|
|
36875
|
-
"kind": "
|
|
36982
|
+
"kind": "union",
|
|
36983
|
+
"options": [
|
|
36984
|
+
{
|
|
36985
|
+
"kind": "object"
|
|
36986
|
+
},
|
|
36987
|
+
{
|
|
36988
|
+
"kind": "object"
|
|
36989
|
+
},
|
|
36990
|
+
{
|
|
36991
|
+
"kind": "object"
|
|
36992
|
+
},
|
|
36993
|
+
{
|
|
36994
|
+
"kind": "object"
|
|
36995
|
+
}
|
|
36996
|
+
]
|
|
36876
36997
|
},
|
|
36877
36998
|
"required": false,
|
|
36878
|
-
"description": "
|
|
36999
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36879
37000
|
},
|
|
36880
37001
|
{
|
|
36881
37002
|
"name": "retries",
|
|
@@ -36884,7 +37005,7 @@
|
|
|
36884
37005
|
"kind": "number"
|
|
36885
37006
|
},
|
|
36886
37007
|
"required": false,
|
|
36887
|
-
"description": "The new tries after
|
|
37008
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)"
|
|
36888
37009
|
}
|
|
36889
37010
|
],
|
|
36890
37011
|
"inputSchema": {
|
|
@@ -36932,7 +37053,7 @@
|
|
|
36932
37053
|
]
|
|
36933
37054
|
},
|
|
36934
37055
|
"timeoutMs": {
|
|
36935
|
-
"description": "The time limit of
|
|
37056
|
+
"description": "The time limit of each request, in milliseconds (default 600000)",
|
|
36936
37057
|
"type": "integer",
|
|
36937
37058
|
"exclusiveMinimum": 0,
|
|
36938
37059
|
"maximum": 3600000
|
|
@@ -36941,80 +37062,125 @@
|
|
|
36941
37062
|
"description": "True: the API runs a declined request again on its fallback model (default: the option of the module, true)",
|
|
36942
37063
|
"type": "boolean"
|
|
36943
37064
|
},
|
|
36944
|
-
"
|
|
36945
|
-
"
|
|
36946
|
-
"
|
|
36947
|
-
|
|
36948
|
-
|
|
36949
|
-
|
|
36950
|
-
|
|
37065
|
+
"tools": {
|
|
37066
|
+
"description": "The tools that the model can use. The output gives each tool_use block",
|
|
37067
|
+
"maxItems": 128,
|
|
37068
|
+
"type": "array",
|
|
37069
|
+
"items": {
|
|
37070
|
+
"type": "object",
|
|
37071
|
+
"properties": {
|
|
37072
|
+
"name": {
|
|
37073
|
+
"type": "string",
|
|
37074
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
37075
|
+
"description": "The name of the tool"
|
|
37076
|
+
},
|
|
37077
|
+
"description": {
|
|
37078
|
+
"description": "What the tool does and when the model uses it",
|
|
37079
|
+
"type": "string",
|
|
37080
|
+
"maxLength": 100000
|
|
37081
|
+
},
|
|
37082
|
+
"inputSchema": {
|
|
37083
|
+
"type": "object",
|
|
37084
|
+
"propertyNames": {
|
|
37085
|
+
"type": "string"
|
|
37086
|
+
},
|
|
37087
|
+
"additionalProperties": {},
|
|
37088
|
+
"description": "The JSON Schema of the input of the tool, with type object"
|
|
37089
|
+
},
|
|
37090
|
+
"strict": {
|
|
37091
|
+
"description": "True: the API makes each input agree with the schema (strict tool use)",
|
|
37092
|
+
"type": "boolean"
|
|
37093
|
+
}
|
|
37094
|
+
},
|
|
37095
|
+
"required": [
|
|
37096
|
+
"name",
|
|
37097
|
+
"inputSchema"
|
|
37098
|
+
]
|
|
37099
|
+
}
|
|
36951
37100
|
},
|
|
36952
|
-
"
|
|
36953
|
-
"
|
|
36954
|
-
|
|
37101
|
+
"toolChoice": {
|
|
37102
|
+
"oneOf": [
|
|
37103
|
+
{
|
|
37104
|
+
"type": "object",
|
|
37105
|
+
"properties": {
|
|
37106
|
+
"type": {
|
|
37107
|
+
"type": "string",
|
|
37108
|
+
"const": "auto"
|
|
37109
|
+
},
|
|
37110
|
+
"disableParallelToolUse": {
|
|
37111
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37112
|
+
"type": "boolean"
|
|
37113
|
+
}
|
|
37114
|
+
},
|
|
37115
|
+
"required": [
|
|
37116
|
+
"type"
|
|
37117
|
+
]
|
|
37118
|
+
},
|
|
37119
|
+
{
|
|
37120
|
+
"type": "object",
|
|
37121
|
+
"properties": {
|
|
37122
|
+
"type": {
|
|
37123
|
+
"type": "string",
|
|
37124
|
+
"const": "any"
|
|
37125
|
+
},
|
|
37126
|
+
"disableParallelToolUse": {
|
|
37127
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37128
|
+
"type": "boolean"
|
|
37129
|
+
}
|
|
37130
|
+
},
|
|
37131
|
+
"required": [
|
|
37132
|
+
"type"
|
|
37133
|
+
]
|
|
37134
|
+
},
|
|
37135
|
+
{
|
|
37136
|
+
"type": "object",
|
|
37137
|
+
"properties": {
|
|
37138
|
+
"type": {
|
|
37139
|
+
"type": "string",
|
|
37140
|
+
"const": "tool"
|
|
37141
|
+
},
|
|
37142
|
+
"name": {
|
|
37143
|
+
"type": "string",
|
|
37144
|
+
"pattern": "^[a-zA-Z0-9_-]{1,128}$",
|
|
37145
|
+
"description": "The tool that the model uses"
|
|
37146
|
+
},
|
|
37147
|
+
"disableParallelToolUse": {
|
|
37148
|
+
"description": "True: the model uses at most one tool in an answer",
|
|
37149
|
+
"type": "boolean"
|
|
37150
|
+
}
|
|
37151
|
+
},
|
|
37152
|
+
"required": [
|
|
37153
|
+
"type",
|
|
37154
|
+
"name"
|
|
37155
|
+
]
|
|
37156
|
+
},
|
|
37157
|
+
{
|
|
37158
|
+
"type": "object",
|
|
37159
|
+
"properties": {
|
|
37160
|
+
"type": {
|
|
37161
|
+
"type": "string",
|
|
37162
|
+
"const": "none"
|
|
37163
|
+
}
|
|
37164
|
+
},
|
|
37165
|
+
"required": [
|
|
37166
|
+
"type"
|
|
37167
|
+
]
|
|
37168
|
+
}
|
|
37169
|
+
],
|
|
37170
|
+
"description": "How the model uses the tools: auto (default), any, tool or none. Some models refuse any and tool"
|
|
36955
37171
|
},
|
|
36956
37172
|
"retries": {
|
|
36957
|
-
"description": "The new tries after
|
|
37173
|
+
"description": "The new tries after a retryable error (429, 529, 5xx, a connection error), 0 to 10 (default: the option of the module, 2)",
|
|
36958
37174
|
"type": "integer",
|
|
36959
37175
|
"minimum": 0,
|
|
36960
|
-
"maximum":
|
|
37176
|
+
"maximum": 10
|
|
36961
37177
|
}
|
|
36962
37178
|
},
|
|
36963
37179
|
"required": [
|
|
36964
|
-
"prompt"
|
|
36965
|
-
"schema"
|
|
37180
|
+
"prompt"
|
|
36966
37181
|
]
|
|
36967
37182
|
},
|
|
36968
|
-
"resultFields": [
|
|
36969
|
-
{
|
|
36970
|
-
"name": "value",
|
|
36971
|
-
"type": "json",
|
|
36972
|
-
"fieldType": {
|
|
36973
|
-
"kind": "any"
|
|
36974
|
-
},
|
|
36975
|
-
"required": true,
|
|
36976
|
-
"description": "The value: the schema accepts it"
|
|
36977
|
-
},
|
|
36978
|
-
{
|
|
36979
|
-
"name": "model",
|
|
36980
|
-
"type": "string",
|
|
36981
|
-
"fieldType": {
|
|
36982
|
-
"kind": "string"
|
|
36983
|
-
},
|
|
36984
|
-
"required": true,
|
|
36985
|
-
"description": "The model that gave the value"
|
|
36986
|
-
},
|
|
36987
|
-
{
|
|
36988
|
-
"name": "attempts",
|
|
36989
|
-
"type": "number",
|
|
36990
|
-
"fieldType": {
|
|
36991
|
-
"kind": "number"
|
|
36992
|
-
},
|
|
36993
|
-
"required": true,
|
|
36994
|
-
"description": "The number of calls to the model"
|
|
36995
|
-
},
|
|
36996
|
-
{
|
|
36997
|
-
"name": "usage",
|
|
36998
|
-
"type": "json",
|
|
36999
|
-
"fieldType": {
|
|
37000
|
-
"kind": "object"
|
|
37001
|
-
},
|
|
37002
|
-
"required": true,
|
|
37003
|
-
"description": "The tokens of the call"
|
|
37004
|
-
},
|
|
37005
|
-
{
|
|
37006
|
-
"name": "unchecked",
|
|
37007
|
-
"type": "string[]",
|
|
37008
|
-
"fieldType": {
|
|
37009
|
-
"kind": "array",
|
|
37010
|
-
"item": {
|
|
37011
|
-
"kind": "string"
|
|
37012
|
-
}
|
|
37013
|
-
},
|
|
37014
|
-
"required": true,
|
|
37015
|
-
"description": "The keywords of the schema that the check does not examine fully"
|
|
37016
|
-
}
|
|
37017
|
-
]
|
|
37183
|
+
"resultFields": []
|
|
37018
37184
|
},
|
|
37019
37185
|
{
|
|
37020
37186
|
"path": [
|
|
@@ -39038,20 +39204,12 @@
|
|
|
39038
39204
|
},
|
|
39039
39205
|
{
|
|
39040
39206
|
"name": "timeZone",
|
|
39041
|
-
"type": "
|
|
39207
|
+
"type": "string",
|
|
39042
39208
|
"fieldType": {
|
|
39043
|
-
"kind": "
|
|
39044
|
-
"values": [
|
|
39045
|
-
"utc",
|
|
39046
|
-
"local"
|
|
39047
|
-
]
|
|
39209
|
+
"kind": "string"
|
|
39048
39210
|
},
|
|
39049
39211
|
"required": false,
|
|
39050
|
-
"description": "The time zone of the expression (default
|
|
39051
|
-
"enumValues": [
|
|
39052
|
-
"utc",
|
|
39053
|
-
"local"
|
|
39054
|
-
]
|
|
39212
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39055
39213
|
},
|
|
39056
39214
|
{
|
|
39057
39215
|
"name": "replace",
|
|
@@ -39088,11 +39246,9 @@
|
|
|
39088
39246
|
},
|
|
39089
39247
|
"timeZone": {
|
|
39090
39248
|
"type": "string",
|
|
39091
|
-
"
|
|
39092
|
-
|
|
39093
|
-
|
|
39094
|
-
],
|
|
39095
|
-
"description": "The time zone of the expression (default local)"
|
|
39249
|
+
"minLength": 1,
|
|
39250
|
+
"maxLength": 100,
|
|
39251
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39096
39252
|
},
|
|
39097
39253
|
"replace": {
|
|
39098
39254
|
"description": "True: replace a schedule of the same name (default false)",
|
|
@@ -39258,20 +39414,12 @@
|
|
|
39258
39414
|
},
|
|
39259
39415
|
{
|
|
39260
39416
|
"name": "timeZone",
|
|
39261
|
-
"type": "
|
|
39417
|
+
"type": "string",
|
|
39262
39418
|
"fieldType": {
|
|
39263
|
-
"kind": "
|
|
39264
|
-
"values": [
|
|
39265
|
-
"utc",
|
|
39266
|
-
"local"
|
|
39267
|
-
]
|
|
39419
|
+
"kind": "string"
|
|
39268
39420
|
},
|
|
39269
39421
|
"required": false,
|
|
39270
|
-
"description": "The time zone of the expression (default
|
|
39271
|
-
"enumValues": [
|
|
39272
|
-
"utc",
|
|
39273
|
-
"local"
|
|
39274
|
-
]
|
|
39422
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39275
39423
|
}
|
|
39276
39424
|
],
|
|
39277
39425
|
"inputSchema": {
|
|
@@ -39296,11 +39444,9 @@
|
|
|
39296
39444
|
},
|
|
39297
39445
|
"timeZone": {
|
|
39298
39446
|
"type": "string",
|
|
39299
|
-
"
|
|
39300
|
-
|
|
39301
|
-
|
|
39302
|
-
],
|
|
39303
|
-
"description": "The time zone of the expression (default local)"
|
|
39447
|
+
"minLength": 1,
|
|
39448
|
+
"maxLength": 100,
|
|
39449
|
+
"description": "The time zone of the expression: utc, local (default) or an IANA name such as Europe/Berlin"
|
|
39304
39450
|
}
|
|
39305
39451
|
},
|
|
39306
39452
|
"required": [
|