@qwen-code/arena-agent 0.0.10-dev.8-test.0 → 0.0.10-test.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/.env.example +61 -10
- package/CHANGELOG.md +148 -17
- package/README.md +309 -46
- package/dist/agent.d.ts +20 -6
- package/dist/agent.js +353 -72
- package/dist/agent.js.map +1 -1
- package/dist/anthropic.d.ts +1 -1
- package/dist/anthropic.js +46 -57
- package/dist/anthropic.js.map +1 -1
- package/dist/arena-history.d.ts +12 -0
- package/dist/arena-history.js +119 -0
- package/dist/arena-history.js.map +1 -0
- package/dist/ask-user.js +44 -2
- package/dist/ask-user.js.map +1 -1
- package/dist/attachment-limits.d.ts +4 -0
- package/dist/attachment-limits.js +10 -0
- package/dist/attachment-limits.js.map +1 -0
- package/dist/attachments.d.ts +4 -2
- package/dist/attachments.js +9 -11
- package/dist/attachments.js.map +1 -1
- package/dist/brave-search.js +11 -7
- package/dist/brave-search.js.map +1 -1
- package/dist/canonical-data.d.ts +9 -0
- package/dist/canonical-data.js +12 -3
- package/dist/canonical-data.js.map +1 -1
- package/dist/cli.js +140 -40
- package/dist/cli.js.map +1 -1
- package/dist/code-tool-schema.d.ts +3 -0
- package/dist/code-tool-schema.js +92 -0
- package/dist/code-tool-schema.js.map +1 -0
- package/dist/code-tools.d.ts +2 -1
- package/dist/code-tools.js +103 -31
- package/dist/code-tools.js.map +1 -1
- package/dist/compaction-threshold.d.ts +3 -0
- package/dist/compaction-threshold.js +6 -0
- package/dist/compaction-threshold.js.map +1 -0
- package/dist/compaction.d.ts +24 -7
- package/dist/compaction.js +242 -66
- package/dist/compaction.js.map +1 -1
- package/dist/config.d.ts +17 -0
- package/dist/config.js +30 -5
- package/dist/config.js.map +1 -1
- package/dist/connector-errors.d.ts +16 -0
- package/dist/connector-errors.js +69 -0
- package/dist/connector-errors.js.map +1 -0
- package/dist/connector-files.d.ts +31 -0
- package/dist/connector-files.js +249 -0
- package/dist/connector-files.js.map +1 -0
- package/dist/connector-input.d.ts +10 -0
- package/dist/connector-input.js +79 -0
- package/dist/connector-input.js.map +1 -0
- package/dist/connector-mcp.d.ts +60 -0
- package/dist/connector-mcp.js +474 -0
- package/dist/connector-mcp.js.map +1 -0
- package/dist/connectors.d.ts +13 -0
- package/dist/connectors.js +69 -0
- package/dist/connectors.js.map +1 -0
- package/dist/fetch-page.js +2 -2
- package/dist/fetch-page.js.map +1 -1
- package/dist/history.d.ts +16 -5
- package/dist/history.js +73 -14
- package/dist/history.js.map +1 -1
- package/dist/image-choice.d.ts +23 -0
- package/dist/image-choice.js +190 -0
- package/dist/image-choice.js.map +1 -0
- package/dist/image-input-fallback.js +5 -0
- package/dist/image-input-fallback.js.map +1 -1
- package/dist/image-model.d.ts +6 -0
- package/dist/image-model.js +32 -0
- package/dist/image-model.js.map +1 -0
- package/dist/midturn-checkpoint-hook.d.ts +14 -1
- package/dist/midturn-checkpoint-hook.js.map +1 -1
- package/dist/mode.js +1 -1
- package/dist/mode.js.map +1 -1
- package/dist/model-capabilities.js +18 -8
- package/dist/model-capabilities.js.map +1 -1
- package/dist/model-router-media.js +55 -3
- package/dist/model-router-media.js.map +1 -1
- package/dist/model-stream.d.ts +16 -0
- package/dist/model-stream.js +129 -0
- package/dist/model-stream.js.map +1 -0
- package/dist/openai-responses.d.ts +2 -1
- package/dist/openai-responses.js +85 -88
- package/dist/openai-responses.js.map +1 -1
- package/dist/process-manager.js +9 -9
- package/dist/process-manager.js.map +1 -1
- package/dist/prompts.d.ts +0 -2
- package/dist/prompts.js +10 -60
- package/dist/prompts.js.map +1 -1
- package/dist/protocol.d.ts +5 -1
- package/dist/protocol.js +23 -2
- package/dist/protocol.js.map +1 -1
- package/dist/provider.d.ts +18 -0
- package/dist/provider.js +120 -51
- package/dist/provider.js.map +1 -1
- package/dist/repo.d.ts +1 -1
- package/dist/repo.js +26 -4
- package/dist/repo.js.map +1 -1
- package/dist/routify-web-fetch.js +2 -2
- package/dist/routify-web-fetch.js.map +1 -1
- package/dist/server.js +55 -27
- package/dist/server.js.map +1 -1
- package/dist/session-memory-prompts.d.ts +3 -1
- package/dist/session-memory-prompts.js +4 -2
- package/dist/session-memory-prompts.js.map +1 -1
- package/dist/side-query.js +5 -0
- package/dist/side-query.js.map +1 -1
- package/dist/spec.d.ts +5 -4
- package/dist/spec.js +31 -23
- package/dist/spec.js.map +1 -1
- package/dist/startup-config.d.ts +39 -0
- package/dist/startup-config.js +347 -0
- package/dist/startup-config.js.map +1 -0
- package/dist/startup-main-config.d.ts +63 -0
- package/dist/startup-main-config.js +94 -0
- package/dist/startup-main-config.js.map +1 -0
- package/dist/startup-tool-config.d.ts +8 -0
- package/dist/startup-tool-config.js +116 -0
- package/dist/startup-tool-config.js.map +1 -0
- package/dist/summary-compaction.d.ts +29 -0
- package/dist/{legacy-compaction.js → summary-compaction.js} +79 -14
- package/dist/summary-compaction.js.map +1 -0
- package/dist/tools.d.ts +5 -1
- package/dist/tools.js +195 -68
- package/dist/tools.js.map +1 -1
- package/dist/tui.js +26 -6
- package/dist/tui.js.map +1 -1
- package/dist/types.d.ts +21 -1
- package/dist/web/app.js +30 -5
- package/dist/web/app.js.map +1 -1
- package/dist/workspace.js +61 -13
- package/dist/workspace.js.map +1 -1
- package/docs/BINARY_DISTRIBUTION.md +44 -8
- package/docs/MODES_AND_RELEASES.md +79 -6
- package/docs/SDK.md +1 -0
- package/modes/code-arena/capture-provenance.json +57 -0
- package/modes/code-arena/full-stack/dependencies.lock.json +8670 -0
- package/modes/code-arena/full-stack/system-prompt.txt +1 -1
- package/modes/code-arena/full-stack/template/eslint.config.mjs +3 -4
- package/modes/code-arena/full-stack/template/postcss.config.mjs +2 -2
- package/modes/code-arena/full-stack/tools.json +186 -186
- package/modes/code-arena/html/system-prompt.txt +1 -1
- package/modes/code-arena/html/tools.json +123 -123
- package/modes/code-arena/react/dependencies.lock.json +2707 -0
- package/modes/code-arena/react/system-prompt.txt +4 -3
- package/modes/code-arena/react/tools.json +178 -184
- package/package.json +7 -2
- package/scripts/README.md +23 -4
- package/web/styles.css +22 -0
- package/dist/legacy-compaction.d.ts +0 -16
- package/dist/legacy-compaction.js.map +0 -1
|
@@ -33,4 +33,4 @@ Make sure the index.html file includes:
|
|
|
33
33
|
## Remember
|
|
34
34
|
|
|
35
35
|
Use tools for all file creation and editing. Never output code directly in your response text.
|
|
36
|
-
You MUST use non-escaped characters that can be rendered in a browser as-is. Don't escape them!
|
|
36
|
+
You MUST use non-escaped characters that can be rendered in a browser as-is. Don't escape them!
|
|
@@ -1,25 +1,24 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"type": "function",
|
|
4
3
|
"function": {
|
|
4
|
+
"description": "Read the content of an existing file with line numbers. For large files, use `offset` (1-indexed start line) and `limit` (max lines, default 2000) to read specific ranges. If the path is a PNG or JPEG image, the tool returns the image so you can view it; a model without image input gets an error instead. Other binary files (fonts, audio, video, archives, etc.) are not supported.\n",
|
|
5
5
|
"name": "read_file",
|
|
6
|
-
"description": "Read the content of an existing file with line numbers. For large files, use `offset` (1-indexed start line) and `limit` (max lines, default 2000) to read specific ranges. Cannot read binary files (images, fonts, audio, video, archives, etc.) — only text files are supported.\n",
|
|
7
6
|
"parameters": {
|
|
8
|
-
"
|
|
7
|
+
"additionalProperties": false,
|
|
9
8
|
"properties": {
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"
|
|
9
|
+
"limit": {
|
|
10
|
+
"description": "Maximum number of lines to read (default: 2000)",
|
|
11
|
+
"minimum": 1,
|
|
12
|
+
"type": "integer"
|
|
13
13
|
},
|
|
14
14
|
"offset": {
|
|
15
|
-
"
|
|
15
|
+
"description": "Line number to start reading from (1-indexed, default: 1)",
|
|
16
16
|
"minimum": 1,
|
|
17
|
-
"
|
|
17
|
+
"type": "integer"
|
|
18
18
|
},
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"description": "Maximum number of lines to read (default: 2000)"
|
|
19
|
+
"path": {
|
|
20
|
+
"description": "File path relative to project root (for example, 'index.html')",
|
|
21
|
+
"type": "string"
|
|
23
22
|
}
|
|
24
23
|
},
|
|
25
24
|
"required": [
|
|
@@ -27,54 +26,54 @@
|
|
|
27
26
|
"offset",
|
|
28
27
|
"limit"
|
|
29
28
|
],
|
|
30
|
-
"
|
|
29
|
+
"type": "object"
|
|
31
30
|
}
|
|
32
|
-
}
|
|
31
|
+
},
|
|
32
|
+
"type": "function"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"type": "function",
|
|
36
35
|
"function": {
|
|
37
|
-
"name": "create_file",
|
|
38
36
|
"description": "Create a new file or overwrite an existing file in the project with the provided content. The file extension should match the type of file you want to create (e.g., 'index.html' for HTML files). If the file already exists, its content will be completely replaced.\n",
|
|
37
|
+
"name": "create_file",
|
|
39
38
|
"parameters": {
|
|
40
|
-
"
|
|
39
|
+
"additionalProperties": false,
|
|
41
40
|
"properties": {
|
|
42
|
-
"path": {
|
|
43
|
-
"type": "string",
|
|
44
|
-
"description": "File path relative to project root (for example, 'index.html')"
|
|
45
|
-
},
|
|
46
41
|
"content": {
|
|
47
|
-
"
|
|
48
|
-
"
|
|
42
|
+
"description": "The complete content of the file",
|
|
43
|
+
"type": "string"
|
|
44
|
+
},
|
|
45
|
+
"path": {
|
|
46
|
+
"description": "File path relative to project root (for example, 'index.html')",
|
|
47
|
+
"type": "string"
|
|
49
48
|
}
|
|
50
49
|
},
|
|
51
50
|
"required": [
|
|
52
51
|
"path",
|
|
53
52
|
"content"
|
|
54
53
|
],
|
|
55
|
-
"
|
|
54
|
+
"type": "object"
|
|
56
55
|
}
|
|
57
|
-
}
|
|
56
|
+
},
|
|
57
|
+
"type": "function"
|
|
58
58
|
},
|
|
59
59
|
{
|
|
60
|
-
"type": "function",
|
|
61
60
|
"function": {
|
|
62
|
-
"name": "edit_file",
|
|
63
61
|
"description": "Replace a section of content in a file. Uses fuzzy matching that ignores whitespace and indentation differences, so the context doesn't need to match exactly. This will fail if 'context' matches multiple sections in the file.\n",
|
|
62
|
+
"name": "edit_file",
|
|
64
63
|
"parameters": {
|
|
65
|
-
"
|
|
64
|
+
"additionalProperties": false,
|
|
66
65
|
"properties": {
|
|
67
|
-
"path": {
|
|
68
|
-
"type": "string",
|
|
69
|
-
"description": "File path relative to project root (for example, 'index.html')"
|
|
70
|
-
},
|
|
71
66
|
"context": {
|
|
72
|
-
"
|
|
73
|
-
"
|
|
67
|
+
"description": "The text in the file to replace. Uses fuzzy matching that ignores whitespace and indentation differences, so it doesn't need to match exactly. Only the first occurrence will be replaced.",
|
|
68
|
+
"type": "string"
|
|
69
|
+
},
|
|
70
|
+
"path": {
|
|
71
|
+
"description": "File path relative to project root (for example, 'index.html')",
|
|
72
|
+
"type": "string"
|
|
74
73
|
},
|
|
75
74
|
"replacement": {
|
|
76
|
-
"
|
|
77
|
-
"
|
|
75
|
+
"description": "The new text to replace the matched context with. This will be inserted exactly where the context was found.",
|
|
76
|
+
"type": "string"
|
|
78
77
|
}
|
|
79
78
|
},
|
|
80
79
|
"required": [
|
|
@@ -82,62 +81,62 @@
|
|
|
82
81
|
"context",
|
|
83
82
|
"replacement"
|
|
84
83
|
],
|
|
85
|
-
"
|
|
84
|
+
"type": "object"
|
|
86
85
|
}
|
|
87
|
-
}
|
|
86
|
+
},
|
|
87
|
+
"type": "function"
|
|
88
88
|
},
|
|
89
89
|
{
|
|
90
|
-
"type": "function",
|
|
91
90
|
"function": {
|
|
92
|
-
"name": "grep_files",
|
|
93
91
|
"description": "Fast content search tool that searches file contents using regular expressions. Supports full regex syntax (e.g., \"log.*Error\", \"function\\s+\\w+\"). Filter files with the glob parameter (e.g., \"*.js\", \"*.{ts,tsx}\"). Returns matching lines with file paths and line numbers. Results are limited to 100 matches.",
|
|
92
|
+
"name": "grep_files",
|
|
94
93
|
"parameters": {
|
|
95
|
-
"
|
|
94
|
+
"additionalProperties": false,
|
|
96
95
|
"properties": {
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
"
|
|
96
|
+
"-A": {
|
|
97
|
+
"description": "Number of lines to show after each match",
|
|
98
|
+
"minimum": 0,
|
|
99
|
+
"type": "integer"
|
|
100
100
|
},
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
101
|
+
"-B": {
|
|
102
|
+
"description": "Number of lines to show before each match",
|
|
103
|
+
"minimum": 0,
|
|
104
|
+
"type": "integer"
|
|
105
|
+
},
|
|
106
|
+
"-C": {
|
|
107
|
+
"description": "Number of lines to show before and after each match",
|
|
108
|
+
"minimum": 0,
|
|
109
|
+
"type": "integer"
|
|
110
|
+
},
|
|
111
|
+
"-i": {
|
|
112
|
+
"description": "Case insensitive search",
|
|
113
|
+
"type": "boolean"
|
|
114
|
+
},
|
|
115
|
+
"context": {
|
|
116
|
+
"description": "Alias for -C (context lines before and after)",
|
|
117
|
+
"minimum": 0,
|
|
118
|
+
"type": "integer"
|
|
104
119
|
},
|
|
105
120
|
"glob": {
|
|
106
|
-
"
|
|
107
|
-
"
|
|
121
|
+
"description": "Glob pattern to filter files (e.g. \"*.js\", \"*.{ts,tsx}\")",
|
|
122
|
+
"type": "string"
|
|
108
123
|
},
|
|
109
124
|
"output_mode": {
|
|
110
|
-
"
|
|
125
|
+
"description": "Output mode: \"content\" shows matching lines (default), \"files_with_matches\" shows only file paths, \"count\" shows match counts per file.",
|
|
111
126
|
"enum": [
|
|
112
127
|
"content",
|
|
113
128
|
"files_with_matches",
|
|
114
129
|
"count"
|
|
115
130
|
],
|
|
116
|
-
"
|
|
117
|
-
},
|
|
118
|
-
"-i": {
|
|
119
|
-
"type": "boolean",
|
|
120
|
-
"description": "Case insensitive search"
|
|
121
|
-
},
|
|
122
|
-
"-B": {
|
|
123
|
-
"type": "integer",
|
|
124
|
-
"minimum": 0,
|
|
125
|
-
"description": "Number of lines to show before each match"
|
|
126
|
-
},
|
|
127
|
-
"-A": {
|
|
128
|
-
"type": "integer",
|
|
129
|
-
"minimum": 0,
|
|
130
|
-
"description": "Number of lines to show after each match"
|
|
131
|
+
"type": "string"
|
|
131
132
|
},
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"description": "Number of lines to show before and after each match"
|
|
133
|
+
"path": {
|
|
134
|
+
"description": "The directory to search in, relative to project root. Defaults to the project root.",
|
|
135
|
+
"type": "string"
|
|
136
136
|
},
|
|
137
|
-
"
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"description": "Alias for -C (context lines before and after)"
|
|
137
|
+
"pattern": {
|
|
138
|
+
"description": "The regex pattern to search for in file contents",
|
|
139
|
+
"type": "string"
|
|
141
140
|
}
|
|
142
141
|
},
|
|
143
142
|
"required": [
|
|
@@ -151,122 +150,122 @@
|
|
|
151
150
|
"-C",
|
|
152
151
|
"context"
|
|
153
152
|
],
|
|
154
|
-
"
|
|
153
|
+
"type": "object"
|
|
155
154
|
}
|
|
156
|
-
}
|
|
155
|
+
},
|
|
156
|
+
"type": "function"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
|
-
"type": "function",
|
|
160
159
|
"function": {
|
|
161
|
-
"name": "web_search",
|
|
162
160
|
"description": "Search the web for current information. Use when you need documentation, API references, examples, or facts beyond your training data. Returns results with titles, URLs, and content snippets. The current year is 2026 — use it when searching for recent information.",
|
|
161
|
+
"name": "web_search",
|
|
163
162
|
"parameters": {
|
|
164
|
-
"
|
|
163
|
+
"additionalProperties": false,
|
|
165
164
|
"properties": {
|
|
166
|
-
"query": {
|
|
167
|
-
"type": "string",
|
|
168
|
-
"description": "The search query"
|
|
169
|
-
},
|
|
170
165
|
"depth": {
|
|
171
|
-
"
|
|
166
|
+
"description": "The search tool accepts a depth parameter (1, 2, or 3) that controls how many results are fetched and how much content is extracted from each. At depth 1, fewer results are retrieved with shorter excerpts. At depth 3, more results are retrieved with longer, more detailed excerpts per source. Depth 2 falls between the two. Higher depth consumes more of the context window.",
|
|
172
167
|
"enum": [
|
|
173
168
|
"1",
|
|
174
169
|
"2",
|
|
175
170
|
"3"
|
|
176
171
|
],
|
|
177
|
-
"
|
|
172
|
+
"type": "string"
|
|
173
|
+
},
|
|
174
|
+
"query": {
|
|
175
|
+
"description": "The search query",
|
|
176
|
+
"type": "string"
|
|
178
177
|
}
|
|
179
178
|
},
|
|
180
179
|
"required": [
|
|
181
180
|
"query",
|
|
182
181
|
"depth"
|
|
183
182
|
],
|
|
184
|
-
"
|
|
183
|
+
"type": "object"
|
|
185
184
|
}
|
|
186
|
-
}
|
|
185
|
+
},
|
|
186
|
+
"type": "function"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
"type": "function",
|
|
190
189
|
"function": {
|
|
191
|
-
"name": "web_fetch",
|
|
192
190
|
"description": "Fetch and read the content of a web page. Use to read documentation, API references, or examples found via web_search. Returns content as markdown by default. Supports format options: \"markdown\" (default), \"text\", or \"html\".",
|
|
191
|
+
"name": "web_fetch",
|
|
193
192
|
"parameters": {
|
|
194
|
-
"
|
|
193
|
+
"additionalProperties": false,
|
|
195
194
|
"properties": {
|
|
196
|
-
"url": {
|
|
197
|
-
"type": "string",
|
|
198
|
-
"description": "The URL to fetch content from"
|
|
199
|
-
},
|
|
200
195
|
"format": {
|
|
201
|
-
"
|
|
196
|
+
"description": "Output format: \"markdown\" (default), \"text\", or \"html\"",
|
|
202
197
|
"enum": [
|
|
203
198
|
"markdown",
|
|
204
199
|
"text",
|
|
205
200
|
"html"
|
|
206
201
|
],
|
|
207
|
-
"
|
|
202
|
+
"type": "string"
|
|
203
|
+
},
|
|
204
|
+
"url": {
|
|
205
|
+
"description": "The URL to fetch content from",
|
|
206
|
+
"type": "string"
|
|
208
207
|
}
|
|
209
208
|
},
|
|
210
209
|
"required": [
|
|
211
210
|
"url",
|
|
212
211
|
"format"
|
|
213
212
|
],
|
|
214
|
-
"
|
|
213
|
+
"type": "object"
|
|
215
214
|
}
|
|
216
|
-
}
|
|
215
|
+
},
|
|
216
|
+
"type": "function"
|
|
217
217
|
},
|
|
218
218
|
{
|
|
219
|
-
"type": "function",
|
|
220
219
|
"function": {
|
|
221
|
-
"name": "fetch_media",
|
|
222
220
|
"description": "Search for stock photos and videos and return URL-based media assets. Use this when real photography or video is better than AI-generated imagery. Use `recommendedUrl`.\n",
|
|
221
|
+
"name": "fetch_media",
|
|
223
222
|
"parameters": {
|
|
224
|
-
"
|
|
223
|
+
"additionalProperties": false,
|
|
225
224
|
"properties": {
|
|
226
|
-
"
|
|
227
|
-
"
|
|
228
|
-
"description": "
|
|
225
|
+
"count": {
|
|
226
|
+
"default": 6,
|
|
227
|
+
"description": "Number of assets to return (1-10). Defaults to 6.",
|
|
228
|
+
"type": "number"
|
|
229
|
+
},
|
|
230
|
+
"locale": {
|
|
231
|
+
"description": "Search locale, such as \"en-US\". Defaults to \"en-US\".",
|
|
232
|
+
"type": "string"
|
|
229
233
|
},
|
|
230
234
|
"media_type": {
|
|
231
|
-
"
|
|
235
|
+
"default": "both",
|
|
236
|
+
"description": "Type of media: \"image\", \"video\", or \"both\". Defaults to \"both\".",
|
|
232
237
|
"enum": [
|
|
233
238
|
"image",
|
|
234
239
|
"video",
|
|
235
240
|
"both"
|
|
236
241
|
],
|
|
237
|
-
"
|
|
238
|
-
"description": "Type of media: \"image\", \"video\", or \"both\". Defaults to \"both\"."
|
|
239
|
-
},
|
|
240
|
-
"count": {
|
|
241
|
-
"type": "number",
|
|
242
|
-
"default": 6,
|
|
243
|
-
"description": "Number of assets to return (1-10). Defaults to 6."
|
|
242
|
+
"type": "string"
|
|
244
243
|
},
|
|
245
244
|
"orientation": {
|
|
246
|
-
"
|
|
245
|
+
"default": "any",
|
|
246
|
+
"description": "Desired orientation. Defaults to \"any\".",
|
|
247
247
|
"enum": [
|
|
248
248
|
"any",
|
|
249
249
|
"landscape",
|
|
250
250
|
"portrait",
|
|
251
251
|
"square"
|
|
252
252
|
],
|
|
253
|
-
"
|
|
254
|
-
|
|
253
|
+
"type": "string"
|
|
254
|
+
},
|
|
255
|
+
"query": {
|
|
256
|
+
"description": "Search query for stock media, such as 'modern office interior' or 'ocean waves'.",
|
|
257
|
+
"type": "string"
|
|
255
258
|
},
|
|
256
259
|
"size": {
|
|
257
|
-
"
|
|
260
|
+
"default": "any",
|
|
261
|
+
"description": "Minimum media size. Defaults to \"any\".",
|
|
258
262
|
"enum": [
|
|
259
263
|
"any",
|
|
260
264
|
"large",
|
|
261
265
|
"medium",
|
|
262
266
|
"small"
|
|
263
267
|
],
|
|
264
|
-
"
|
|
265
|
-
"description": "Minimum media size. Defaults to \"any\"."
|
|
266
|
-
},
|
|
267
|
-
"locale": {
|
|
268
|
-
"type": "string",
|
|
269
|
-
"description": "Search locale, such as \"en-US\". Defaults to \"en-US\"."
|
|
268
|
+
"type": "string"
|
|
270
269
|
}
|
|
271
270
|
},
|
|
272
271
|
"required": [
|
|
@@ -277,8 +276,9 @@
|
|
|
277
276
|
"size",
|
|
278
277
|
"locale"
|
|
279
278
|
],
|
|
280
|
-
"
|
|
279
|
+
"type": "object"
|
|
281
280
|
}
|
|
282
|
-
}
|
|
281
|
+
},
|
|
282
|
+
"type": "function"
|
|
283
283
|
}
|
|
284
284
|
]
|