chore: regenerate openapi.json + schema.d.ts

Captures the cursor-paginated /agents/events response shape
(AgentEventPageResponse with data/nextCursor/hasMore and a new ?cursor
param). Also folds in pre-existing drift from 62dd71b (environment
field on agent event rows). Consumer UI hooks are updated in
Tasks 9-11.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-17 12:39:03 +02:00
parent 20b8d4ccaf
commit bfb5a7a895
2 changed files with 12 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1395,7 +1395,7 @@ export interface paths {
};
/**
* Query agent events in this environment
* @description Returns agent lifecycle events, optionally filtered by app and/or agent ID
* @description Cursor-paginated. Returns newest first. Pass nextCursor back as ?cursor= for the next page.
*/
get: operations["getEvents"];
put?: never;
@@ -2309,6 +2309,7 @@ export interface components {
routeId: string;
instanceId: string;
applicationId: string;
environment: string;
status: string;
/** Format: date-time */
startTime: string;
@@ -2641,6 +2642,12 @@ export interface components {
/** Format: double */
value: number;
};
/** @description Cursor-paginated agent event list */
AgentEventPageResponse: {
data?: components["schemas"]["AgentEventResponse"][];
nextCursor?: string;
hasMore?: boolean;
};
/** @description Agent lifecycle event */
AgentEventResponse: {
/** Format: int64 */
@@ -6058,6 +6065,7 @@ export interface operations {
agentId?: string;
from?: string;
to?: string;
cursor?: string;
limit?: number;
};
header?: never;
@@ -6066,13 +6074,13 @@ export interface operations {
};
requestBody?: never;
responses: {
/** @description Events returned */
/** @description Event page returned */
200: {
headers: {
[name: string]: unknown;
};
content: {
"*/*": components["schemas"]["AgentEventResponse"][];
"*/*": components["schemas"]["AgentEventPageResponse"];
};
};
};