feat: add agent response scheduler

This commit is contained in:
2026-07-01 23:50:38 +01:00
parent 952f8e4fb0
commit af4df2cd2c
33 changed files with 1690 additions and 505 deletions

View File

@@ -135,8 +135,9 @@ describe("schema sync", () => {
// JSON Schema structure matches
const jsonSchema = enhancementResultJsonSchema
const payloadKeys = Object.keys(payload).sort() as Array<(typeof jsonSchema.required)[number]>
expect(Object.keys(jsonSchema.properties).sort()).toEqual(Object.keys(payload).sort())
expect([...jsonSchema.required].sort()).toEqual(Object.keys(payload).sort())
expect([...jsonSchema.required].sort()).toEqual(payloadKeys)
// syntheticItems item schema has the right required fields
const itemSchema = jsonSchema.properties.syntheticItems.items