Skip to content

Commit c6f06b9

Browse files
committed
Use GTS defaults (bracketSpacing: false) repo-wide and re-format
1 parent 13e1a75 commit c6f06b9

790 files changed

Lines changed: 9173 additions & 9290 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export default {
1818
semi: true,
1919
tabWidth: 2,
2020
trailingComma: 'es5',
21-
bracketSpacing: true,
21+
bracketSpacing: false,
2222
jsxSingleQuote: false,
2323
overrides: [
2424
{

agent_sdks/conformance/conformance_schema.json

Lines changed: 90 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -97,27 +97,27 @@
9797
"allOf": [
9898
{
9999
"oneOf": [
100-
{ "$ref": "#/$defs/ProcessChunkTest" },
101-
{ "$ref": "#/$defs/ValidateTest" },
102-
{ "$ref": "#/$defs/PruneTest" },
103-
{ "$ref": "#/$defs/RenderTest" },
104-
{ "$ref": "#/$defs/LoadTest" },
105-
{ "$ref": "#/$defs/RemoveStrictValidationTest" },
106-
{ "$ref": "#/$defs/ParseFullTest" },
107-
{ "$ref": "#/$defs/FixPayloadTest" },
108-
{ "$ref": "#/$defs/HasPartsTest" },
109-
{ "$ref": "#/$defs/SelectCatalogTest" },
110-
{ "$ref": "#/$defs/GeneratePromptTest" },
111-
{ "$ref": "#/$defs/LoadCatalogTest" },
112-
{ "$ref": "#/$defs/ConvertEventTest" },
113-
{ "$ref": "#/$defs/CreateA2uiPartTest" },
114-
{ "$ref": "#/$defs/IsA2uiPartTest" },
115-
{ "$ref": "#/$defs/TryActivateExtensionTest" },
116-
{ "$ref": "#/$defs/HandleRpcTest" },
117-
{ "$ref": "#/$defs/ExecuteToolTest" },
118-
{ "$ref": "#/$defs/GetExtensionTest" },
119-
{ "$ref": "#/$defs/TryActivateTest" },
120-
{ "$ref": "#/$defs/SelectNewestTest" }
100+
{"$ref": "#/$defs/ProcessChunkTest"},
101+
{"$ref": "#/$defs/ValidateTest"},
102+
{"$ref": "#/$defs/PruneTest"},
103+
{"$ref": "#/$defs/RenderTest"},
104+
{"$ref": "#/$defs/LoadTest"},
105+
{"$ref": "#/$defs/RemoveStrictValidationTest"},
106+
{"$ref": "#/$defs/ParseFullTest"},
107+
{"$ref": "#/$defs/FixPayloadTest"},
108+
{"$ref": "#/$defs/HasPartsTest"},
109+
{"$ref": "#/$defs/SelectCatalogTest"},
110+
{"$ref": "#/$defs/GeneratePromptTest"},
111+
{"$ref": "#/$defs/LoadCatalogTest"},
112+
{"$ref": "#/$defs/ConvertEventTest"},
113+
{"$ref": "#/$defs/CreateA2uiPartTest"},
114+
{"$ref": "#/$defs/IsA2uiPartTest"},
115+
{"$ref": "#/$defs/TryActivateExtensionTest"},
116+
{"$ref": "#/$defs/HandleRpcTest"},
117+
{"$ref": "#/$defs/ExecuteToolTest"},
118+
{"$ref": "#/$defs/GetExtensionTest"},
119+
{"$ref": "#/$defs/TryActivateTest"},
120+
{"$ref": "#/$defs/SelectNewestTest"}
121121
]
122122
}
123123
]
@@ -126,7 +126,7 @@
126126
"ProcessChunkTest": {
127127
"type": "object",
128128
"properties": {
129-
"action": { "const": "process_chunk" },
129+
"action": {"const": "process_chunk"},
130130
"steps": {
131131
"type": "array",
132132
"description": "Steps for parser tests.",
@@ -177,7 +177,7 @@
177177
"ValidateTest": {
178178
"type": "object",
179179
"properties": {
180-
"action": { "const": "validate" }
180+
"action": {"const": "validate"}
181181
},
182182
"required": ["action"],
183183
"oneOf": [
@@ -190,10 +190,7 @@
190190
"type": "object",
191191
"properties": {
192192
"payload": {
193-
"oneOf": [
194-
{ "type": "object" },
195-
{ "type": "array", "items": { "type": "object" } }
196-
],
193+
"oneOf": [{"type": "object"}, {"type": "array", "items": {"type": "object"}}],
197194
"description": "Payload to validate (single message or list of messages)."
198195
},
199196
"expect_error": {
@@ -210,7 +207,7 @@
210207
{
211208
"properties": {
212209
"payload": {
213-
"oneOf": [{ "type": "object" }, { "type": "array", "items": { "type": "object" } }],
210+
"oneOf": [{"type": "object"}, {"type": "array", "items": {"type": "object"}}],
214211
"description": "Payload to validate (single message or list of messages)."
215212
},
216213
"expect_error": {
@@ -225,58 +222,58 @@
225222
"PruneTest": {
226223
"type": "object",
227224
"properties": {
228-
"action": { "const": "prune" },
225+
"action": {"const": "prune"},
229226
"args": {
230227
"type": "object",
231228
"properties": {
232-
"allowed_components": { "type": "array", "items": { "type": "string" } },
233-
"allowed_messages": { "type": "array", "items": { "type": "string" } }
229+
"allowed_components": {"type": "array", "items": {"type": "string"}},
230+
"allowed_messages": {"type": "array", "items": {"type": "string"}}
234231
}
235232
},
236-
"expect": { "type": "object" }
233+
"expect": {"type": "object"}
237234
},
238235
"required": ["args", "expect"]
239236
},
240237
"RenderTest": {
241238
"type": "object",
242239
"properties": {
243-
"action": { "const": "render" },
244-
"expect_output": { "type": "string" }
240+
"action": {"const": "render"},
241+
"expect_output": {"type": "string"}
245242
},
246243
"required": ["expect_output"]
247244
},
248245
"LoadTest": {
249246
"type": "object",
250247
"properties": {
251-
"action": { "const": "load" },
248+
"action": {"const": "load"},
252249
"args": {
253250
"type": "object",
254251
"properties": {
255-
"path": { "type": ["string", "null"] },
256-
"validate": { "type": "boolean" }
252+
"path": {"type": ["string", "null"]},
253+
"validate": {"type": "boolean"}
257254
},
258255
"required": ["path"]
259256
},
260-
"expect_output": { "type": "string" },
261-
"expect_error": { "type": "string" }
257+
"expect_output": {"type": "string"},
258+
"expect_error": {"type": "string"}
262259
},
263260
"required": ["args"]
264261
},
265262
"RemoveStrictValidationTest": {
266263
"type": "object",
267264
"properties": {
268-
"action": { "const": "remove_strict_validation" },
265+
"action": {"const": "remove_strict_validation"},
269266
"args": {
270267
"type": "object",
271268
"properties": {
272-
"schema": { "type": "object" }
269+
"schema": {"type": "object"}
273270
},
274271
"required": ["schema"]
275272
},
276273
"expect": {
277274
"type": "object",
278275
"properties": {
279-
"schema": { "type": "object" }
276+
"schema": {"type": "object"}
280277
},
281278
"required": ["schema"]
282279
}
@@ -286,80 +283,80 @@
286283
"ParseFullTest": {
287284
"type": "object",
288285
"properties": {
289-
"action": { "const": "parse_full" },
290-
"input": { "type": "string" },
291-
"expect": { "type": "array" },
292-
"expect_error": { "type": "string" }
286+
"action": {"const": "parse_full"},
287+
"input": {"type": "string"},
288+
"expect": {"type": "array"},
289+
"expect_error": {"type": "string"}
293290
},
294291
"required": ["input"]
295292
},
296293
"FixPayloadTest": {
297294
"type": "object",
298295
"properties": {
299-
"action": { "const": "fix_payload" },
300-
"input": { "type": "string" },
296+
"action": {"const": "fix_payload"},
297+
"input": {"type": "string"},
301298
"expect": {}
302299
},
303300
"required": ["input", "expect"]
304301
},
305302
"HasPartsTest": {
306303
"type": "object",
307304
"properties": {
308-
"action": { "const": "has_parts" },
309-
"input": { "type": "string" },
310-
"expect": { "type": "boolean" }
305+
"action": {"const": "has_parts"},
306+
"input": {"type": "string"},
307+
"expect": {"type": "boolean"}
311308
},
312309
"required": ["input", "expect"]
313310
},
314311
"SelectCatalogTest": {
315312
"type": "object",
316313
"properties": {
317-
"action": { "const": "select_catalog" },
318-
"args": { "type": "object" },
319-
"expect_selected": { "type": "string" },
320-
"expect_catalog_schema": { "type": "object" },
321-
"expect_error": { "type": "string" }
314+
"action": {"const": "select_catalog"},
315+
"args": {"type": "object"},
316+
"expect_selected": {"type": "string"},
317+
"expect_catalog_schema": {"type": "object"},
318+
"expect_error": {"type": "string"}
322319
},
323320
"required": ["args"]
324321
},
325322
"GeneratePromptTest": {
326323
"type": "object",
327324
"properties": {
328-
"action": { "const": "generate_prompt" },
329-
"args": { "type": "object" },
325+
"action": {"const": "generate_prompt"},
326+
"args": {"type": "object"},
330327
"expect_contains": {
331328
"type": "array",
332-
"items": { "type": "string" }
329+
"items": {"type": "string"}
333330
}
334331
},
335332
"required": ["args", "expect_contains"]
336333
},
337334
"LoadCatalogTest": {
338335
"type": "object",
339336
"properties": {
340-
"action": { "const": "load_catalog" },
337+
"action": {"const": "load_catalog"},
341338
"catalog_configs": {
342339
"type": "array",
343340
"items": {
344341
"type": "object",
345342
"properties": {
346-
"name": { "type": "string" },
347-
"path": { "type": "string" }
343+
"name": {"type": "string"},
344+
"path": {"type": "string"}
348345
},
349346
"required": ["name", "path"]
350347
}
351348
},
352349
"modifiers": {
353350
"type": "array",
354-
"items": { "type": "string" }
351+
"items": {"type": "string"}
355352
},
356353
"expect": {
357354
"type": "object",
358355
"properties": {
359-
"catalog_schema": { "type": "object" },
356+
"catalog_schema": {"type": "object"},
360357
"supported_catalog_ids": {
361358
"type": "array",
362-
"items": { "type": "string" }
359+
"items": {"type": "string"}
363360
}
364361
}
365362
}
@@ -369,82 +366,82 @@
369366
"ConvertEventTest": {
370367
"type": "object",
371368
"properties": {
372-
"action": { "const": "convert_event" },
373-
"args": { "type": "object" },
374-
"expect": { "type": "object" },
375-
"expect_empty": { "type": "boolean" }
369+
"action": {"const": "convert_event"},
370+
"args": {"type": "object"},
371+
"expect": {"type": "object"},
372+
"expect_empty": {"type": "boolean"}
376373
},
377374
"required": ["action", "args"]
378375
},
379376
"CreateA2uiPartTest": {
380377
"type": "object",
381378
"properties": {
382-
"action": { "const": "create_a2ui_part" },
383-
"args": { "type": "object" },
384-
"expect": { "type": "object" }
379+
"action": {"const": "create_a2ui_part"},
380+
"args": {"type": "object"},
381+
"expect": {"type": "object"}
385382
},
386383
"required": ["action", "args", "expect"]
387384
},
388385
"IsA2uiPartTest": {
389386
"type": "object",
390387
"properties": {
391-
"action": { "const": "is_a2ui_part" },
392-
"args": { "type": "object" },
393-
"expect": { "type": "boolean" }
388+
"action": {"const": "is_a2ui_part"},
389+
"args": {"type": "object"},
390+
"expect": {"type": "boolean"}
394391
},
395392
"required": ["action", "args", "expect"]
396393
},
397394
"TryActivateExtensionTest": {
398395
"type": "object",
399396
"properties": {
400-
"action": { "const": "try_activate_extension" },
401-
"args": { "type": "object" },
402-
"expect": { "type": "boolean" }
397+
"action": {"const": "try_activate_extension"},
398+
"args": {"type": "object"},
399+
"expect": {"type": "boolean"}
403400
},
404401
"required": ["action", "args", "expect"]
405402
},
406403
"HandleRpcTest": {
407404
"type": "object",
408405
"properties": {
409-
"action": { "const": "handle_rpc" },
410-
"args": { "type": "object" },
411-
"expect": { "type": "object" }
406+
"action": {"const": "handle_rpc"},
407+
"args": {"type": "object"},
408+
"expect": {"type": "object"}
412409
},
413410
"required": ["action", "args", "expect"]
414411
},
415412
"ExecuteToolTest": {
416413
"type": "object",
417414
"properties": {
418-
"action": { "const": "execute_tool" },
419-
"args": { "type": "object" },
420-
"expect": { "type": "object" }
415+
"action": {"const": "execute_tool"},
416+
"args": {"type": "object"},
417+
"expect": {"type": "object"}
421418
},
422419
"required": ["action", "args", "expect"]
423420
},
424421
"GetExtensionTest": {
425422
"type": "object",
426423
"properties": {
427-
"action": { "const": "get_extension" },
428-
"args": { "type": "object" },
429-
"expect": { "type": "object" }
424+
"action": {"const": "get_extension"},
425+
"args": {"type": "object"},
426+
"expect": {"type": "object"}
430427
},
431428
"required": ["action", "args", "expect"]
432429
},
433430
"TryActivateTest": {
434431
"type": "object",
435432
"properties": {
436-
"action": { "const": "try_activate" },
437-
"args": { "type": "object" },
438-
"expect": { "type": "object" }
433+
"action": {"const": "try_activate"},
434+
"args": {"type": "object"},
435+
"expect": {"type": "object"}
439436
},
440437
"required": ["action", "args", "expect"]
441438
},
442439
"SelectNewestTest": {
443440
"type": "object",
444441
"properties": {
445-
"action": { "const": "select_newest" },
446-
"args": { "type": "object" },
447-
"expect": { "type": "object" }
442+
"action": {"const": "select_newest"},
443+
"args": {"type": "object"},
444+
"expect": {"type": "object"}
448445
},
449446
"required": ["action", "args", "expect"]
450447
}

0 commit comments

Comments
 (0)