@sixb/server 0.1.21 → 0.1.22
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/dist/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- package/src/utils/http.ts +2 -0
package/dist/routes/agents.d.ts
CHANGED
|
@@ -1,7 +1,190 @@
|
|
|
1
|
-
import { type AgentRequestErrorCode, type AgentRunView, type SixbHostView } from "@sixb/core";
|
|
1
|
+
import { type AgentRequestErrorCode, type AgentRunView, type AgentThreadView, type SixbHostView } from "@sixb/core";
|
|
2
|
+
import { type AgentStorage, type AgentThreadRecord, type Principal } from "@sixb/core/storage";
|
|
2
3
|
import type { Elysia } from "elysia";
|
|
3
|
-
import {
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
import { AgentMessagesQuerySchema, AgentRunSchema, AgentThreadSchema } from "../schemas/agents";
|
|
6
|
+
import { handleRouteError } from "../utils/http";
|
|
7
|
+
/** Threads as the API returns them, their owner and participants named by their accounts. */
|
|
8
|
+
export declare function serializeThreads(host: SixbHostView, threads: readonly AgentThreadView[]): Promise<ReturnType<typeof AgentThreadSchema.parse>[]>;
|
|
9
|
+
export declare function serializeThread(host: SixbHostView, thread: AgentThreadView): Promise<ReturnType<typeof AgentThreadSchema.parse>>;
|
|
4
10
|
export declare function serializeAgentRun(run: AgentRunView): ReturnType<typeof AgentRunSchema.parse>;
|
|
11
|
+
export declare function handleAgentRouteError(error: unknown, set: {
|
|
12
|
+
status?: number | string;
|
|
13
|
+
headers?: unknown;
|
|
14
|
+
}): ReturnType<typeof handleRouteError> | {
|
|
15
|
+
readonly error: string;
|
|
16
|
+
readonly code: AgentRequestErrorCode;
|
|
17
|
+
};
|
|
18
|
+
export declare function agentMessageFileContentResponse(host: SixbHostView, context: {
|
|
19
|
+
readonly params: {
|
|
20
|
+
readonly threadId: string;
|
|
21
|
+
readonly messageId: string;
|
|
22
|
+
};
|
|
23
|
+
readonly query: unknown;
|
|
24
|
+
readonly request: Request;
|
|
25
|
+
readonly set: {
|
|
26
|
+
status?: number | string;
|
|
27
|
+
};
|
|
28
|
+
}, options?: {
|
|
29
|
+
readonly head?: boolean;
|
|
30
|
+
/** Who may read the thread. Default: its owner, or the Agent run working in it. */
|
|
31
|
+
readonly readThread?: () => Promise<Pick<AgentThreadRecord, "id"> | null>;
|
|
32
|
+
}): Promise<Response | {
|
|
33
|
+
error: string;
|
|
34
|
+
}>;
|
|
35
|
+
/** A page of a thread's messages, with their runs' diagnostics and compactions, and authors. */
|
|
36
|
+
export declare function readThreadMessages(host: SixbHostView, storage: AgentStorage, thread: AgentThreadRecord, query: z.infer<typeof AgentMessagesQuerySchema>): Promise<{
|
|
37
|
+
messages: {
|
|
38
|
+
projectId: string;
|
|
39
|
+
id: string;
|
|
40
|
+
runId: string | null;
|
|
41
|
+
threadId: string;
|
|
42
|
+
createdAt: string;
|
|
43
|
+
parts: ({
|
|
44
|
+
origin: "ambient" | "explicit";
|
|
45
|
+
context: {
|
|
46
|
+
kind: "object";
|
|
47
|
+
ref: {
|
|
48
|
+
objectTypeId: string;
|
|
49
|
+
primaryId: string;
|
|
50
|
+
};
|
|
51
|
+
label?: string | undefined;
|
|
52
|
+
} | {
|
|
53
|
+
id: string;
|
|
54
|
+
kind: "app-state";
|
|
55
|
+
value: import("../schemas/common").JsonValue;
|
|
56
|
+
description: string;
|
|
57
|
+
label: string;
|
|
58
|
+
};
|
|
59
|
+
type: "context";
|
|
60
|
+
} | {
|
|
61
|
+
type: "text";
|
|
62
|
+
text: string;
|
|
63
|
+
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
64
|
+
} | {
|
|
65
|
+
type: "reasoning";
|
|
66
|
+
text: string;
|
|
67
|
+
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
68
|
+
} | {
|
|
69
|
+
type: "step-start";
|
|
70
|
+
} | {
|
|
71
|
+
type: "file";
|
|
72
|
+
fileRef: {
|
|
73
|
+
blobId: string;
|
|
74
|
+
digest: string;
|
|
75
|
+
sizeBytes: number;
|
|
76
|
+
fileName?: string | undefined;
|
|
77
|
+
mediaType?: string | undefined;
|
|
78
|
+
logicalPath?: string | undefined;
|
|
79
|
+
};
|
|
80
|
+
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
81
|
+
} | {
|
|
82
|
+
type: "provider-state";
|
|
83
|
+
providerId: string;
|
|
84
|
+
data: import("../schemas/common").JsonValue;
|
|
85
|
+
} | {
|
|
86
|
+
type: "tool-call";
|
|
87
|
+
input: import("../schemas/common").JsonValue;
|
|
88
|
+
output: import("../schemas/common").JsonValue;
|
|
89
|
+
toolCallId: string;
|
|
90
|
+
toolName: string;
|
|
91
|
+
state: "output-available";
|
|
92
|
+
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
93
|
+
dynamic?: boolean | undefined;
|
|
94
|
+
providerExecuted?: boolean | undefined;
|
|
95
|
+
} | {
|
|
96
|
+
type: "tool-call";
|
|
97
|
+
input: import("../schemas/common").JsonValue;
|
|
98
|
+
toolCallId: string;
|
|
99
|
+
toolName: string;
|
|
100
|
+
state: "output-error";
|
|
101
|
+
errorText: string;
|
|
102
|
+
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
103
|
+
dynamic?: boolean | undefined;
|
|
104
|
+
providerExecuted?: boolean | undefined;
|
|
105
|
+
} | {
|
|
106
|
+
type: "continuation";
|
|
107
|
+
} | {
|
|
108
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
109
|
+
type: "approval-outcome";
|
|
110
|
+
call: {
|
|
111
|
+
kind: "action";
|
|
112
|
+
actionId: string;
|
|
113
|
+
subject: {
|
|
114
|
+
kind: "none";
|
|
115
|
+
} | {
|
|
116
|
+
kind: "object";
|
|
117
|
+
objectTypeId: string;
|
|
118
|
+
primaryId: string;
|
|
119
|
+
};
|
|
120
|
+
} | {
|
|
121
|
+
kind: "workflow";
|
|
122
|
+
workflowId: string;
|
|
123
|
+
};
|
|
124
|
+
approvalId: string;
|
|
125
|
+
caller?: {
|
|
126
|
+
runId: string;
|
|
127
|
+
key: string;
|
|
128
|
+
continues?: true | undefined;
|
|
129
|
+
} | undefined;
|
|
130
|
+
outcome?: {
|
|
131
|
+
status: "succeeded" | "failed";
|
|
132
|
+
kind: "action-run";
|
|
133
|
+
runId: string;
|
|
134
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
135
|
+
} | {
|
|
136
|
+
kind: "workflow-run";
|
|
137
|
+
runId: string;
|
|
138
|
+
queuedAt: string;
|
|
139
|
+
} | {
|
|
140
|
+
error: {
|
|
141
|
+
at: string;
|
|
142
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
143
|
+
message: string;
|
|
144
|
+
retryable: boolean;
|
|
145
|
+
details?: import("../schemas/common").JsonValue | undefined;
|
|
146
|
+
httpStatus?: number | undefined;
|
|
147
|
+
redacted?: true | undefined;
|
|
148
|
+
truncated?: true | undefined;
|
|
149
|
+
};
|
|
150
|
+
kind: "error";
|
|
151
|
+
} | undefined;
|
|
152
|
+
} | {
|
|
153
|
+
id: string;
|
|
154
|
+
kind: "message" | "answer";
|
|
155
|
+
type: "mail";
|
|
156
|
+
text: string;
|
|
157
|
+
from: "parent";
|
|
158
|
+
inReplyTo?: string | undefined;
|
|
159
|
+
afterAnswer?: true | undefined;
|
|
160
|
+
})[];
|
|
161
|
+
role: "user" | "system" | "assistant";
|
|
162
|
+
seq: number;
|
|
163
|
+
annotations: {
|
|
164
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
165
|
+
message: string;
|
|
166
|
+
severity: "error" | "warning";
|
|
167
|
+
scope: "run";
|
|
168
|
+
}[];
|
|
169
|
+
contentVersion: number;
|
|
170
|
+
completedAt?: string | undefined;
|
|
171
|
+
authorPrincipal?: {
|
|
172
|
+
id: string;
|
|
173
|
+
type: "user" | "serviceAccount" | "system";
|
|
174
|
+
} | undefined;
|
|
175
|
+
compaction?: {
|
|
176
|
+
createdAt: string;
|
|
177
|
+
checkpointId: string;
|
|
178
|
+
summary: string;
|
|
179
|
+
} | undefined;
|
|
180
|
+
metadata?: import("../schemas/common").JsonValue | undefined;
|
|
181
|
+
}[];
|
|
182
|
+
authors: (Principal & {
|
|
183
|
+
readonly displayName?: string;
|
|
184
|
+
})[];
|
|
185
|
+
hasMore: boolean;
|
|
186
|
+
total: number;
|
|
187
|
+
}>;
|
|
5
188
|
export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): Elysia<"", {
|
|
6
189
|
decorator: {};
|
|
7
190
|
store: {};
|
|
@@ -60,6 +243,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
60
243
|
limit?: string | undefined;
|
|
61
244
|
offset?: string | undefined;
|
|
62
245
|
order?: "asc" | "desc" | undefined;
|
|
246
|
+
sharedWithMe?: "true" | "false" | undefined;
|
|
63
247
|
};
|
|
64
248
|
headers: unknown;
|
|
65
249
|
response: {
|
|
@@ -70,20 +254,45 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
70
254
|
status: "active" | "archived";
|
|
71
255
|
projectId: string;
|
|
72
256
|
id: string;
|
|
257
|
+
kind: "conversation" | "subagent";
|
|
258
|
+
createdAt: string;
|
|
73
259
|
ownerPrincipal: {
|
|
74
260
|
id: string;
|
|
75
261
|
type: "user" | "serviceAccount" | "system";
|
|
76
262
|
};
|
|
263
|
+
owner: {
|
|
264
|
+
id: string;
|
|
265
|
+
type: "user" | "serviceAccount" | "system";
|
|
266
|
+
displayName?: string | undefined;
|
|
267
|
+
};
|
|
268
|
+
participants: {
|
|
269
|
+
principal: {
|
|
270
|
+
id: string;
|
|
271
|
+
type: "user";
|
|
272
|
+
displayName?: string | undefined;
|
|
273
|
+
};
|
|
274
|
+
addedAt: string;
|
|
275
|
+
addedBy: {
|
|
276
|
+
id: string;
|
|
277
|
+
type: "user" | "serviceAccount" | "system";
|
|
278
|
+
};
|
|
279
|
+
}[];
|
|
77
280
|
activeRunId: string | null;
|
|
78
281
|
messageCount: number;
|
|
79
|
-
createdAt: string;
|
|
80
282
|
updatedAt: string;
|
|
81
283
|
title?: string | undefined;
|
|
284
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
285
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
82
286
|
sandboxState?: {
|
|
83
287
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
84
288
|
name: string;
|
|
85
289
|
initialized: boolean;
|
|
86
290
|
} | undefined;
|
|
291
|
+
parent?: {
|
|
292
|
+
threadId: string;
|
|
293
|
+
key: string;
|
|
294
|
+
spawnedBy: string;
|
|
295
|
+
} | undefined;
|
|
87
296
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
88
297
|
lastMessageAt?: string | undefined;
|
|
89
298
|
}[];
|
|
@@ -125,20 +334,45 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
125
334
|
status: "active" | "archived";
|
|
126
335
|
projectId: string;
|
|
127
336
|
id: string;
|
|
337
|
+
kind: "conversation" | "subagent";
|
|
338
|
+
createdAt: string;
|
|
128
339
|
ownerPrincipal: {
|
|
129
340
|
id: string;
|
|
130
341
|
type: "user" | "serviceAccount" | "system";
|
|
131
342
|
};
|
|
343
|
+
owner: {
|
|
344
|
+
id: string;
|
|
345
|
+
type: "user" | "serviceAccount" | "system";
|
|
346
|
+
displayName?: string | undefined;
|
|
347
|
+
};
|
|
348
|
+
participants: {
|
|
349
|
+
principal: {
|
|
350
|
+
id: string;
|
|
351
|
+
type: "user";
|
|
352
|
+
displayName?: string | undefined;
|
|
353
|
+
};
|
|
354
|
+
addedAt: string;
|
|
355
|
+
addedBy: {
|
|
356
|
+
id: string;
|
|
357
|
+
type: "user" | "serviceAccount" | "system";
|
|
358
|
+
};
|
|
359
|
+
}[];
|
|
132
360
|
activeRunId: string | null;
|
|
133
361
|
messageCount: number;
|
|
134
|
-
createdAt: string;
|
|
135
362
|
updatedAt: string;
|
|
136
363
|
title?: string | undefined;
|
|
364
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
365
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
137
366
|
sandboxState?: {
|
|
138
367
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
139
368
|
name: string;
|
|
140
369
|
initialized: boolean;
|
|
141
370
|
} | undefined;
|
|
371
|
+
parent?: {
|
|
372
|
+
threadId: string;
|
|
373
|
+
key: string;
|
|
374
|
+
spawnedBy: string;
|
|
375
|
+
} | undefined;
|
|
142
376
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
143
377
|
lastMessageAt?: string | undefined;
|
|
144
378
|
};
|
|
@@ -165,20 +399,45 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
165
399
|
status: "active" | "archived";
|
|
166
400
|
projectId: string;
|
|
167
401
|
id: string;
|
|
402
|
+
kind: "conversation" | "subagent";
|
|
403
|
+
createdAt: string;
|
|
168
404
|
ownerPrincipal: {
|
|
169
405
|
id: string;
|
|
170
406
|
type: "user" | "serviceAccount" | "system";
|
|
171
407
|
};
|
|
408
|
+
owner: {
|
|
409
|
+
id: string;
|
|
410
|
+
type: "user" | "serviceAccount" | "system";
|
|
411
|
+
displayName?: string | undefined;
|
|
412
|
+
};
|
|
413
|
+
participants: {
|
|
414
|
+
principal: {
|
|
415
|
+
id: string;
|
|
416
|
+
type: "user";
|
|
417
|
+
displayName?: string | undefined;
|
|
418
|
+
};
|
|
419
|
+
addedAt: string;
|
|
420
|
+
addedBy: {
|
|
421
|
+
id: string;
|
|
422
|
+
type: "user" | "serviceAccount" | "system";
|
|
423
|
+
};
|
|
424
|
+
}[];
|
|
172
425
|
activeRunId: string | null;
|
|
173
426
|
messageCount: number;
|
|
174
|
-
createdAt: string;
|
|
175
427
|
updatedAt: string;
|
|
176
428
|
title?: string | undefined;
|
|
429
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
430
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
177
431
|
sandboxState?: {
|
|
178
432
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
179
433
|
name: string;
|
|
180
434
|
initialized: boolean;
|
|
181
435
|
} | undefined;
|
|
436
|
+
parent?: {
|
|
437
|
+
threadId: string;
|
|
438
|
+
key: string;
|
|
439
|
+
spawnedBy: string;
|
|
440
|
+
} | undefined;
|
|
182
441
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
183
442
|
lastMessageAt?: string | undefined;
|
|
184
443
|
};
|
|
@@ -212,20 +471,45 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
212
471
|
status: "active" | "archived";
|
|
213
472
|
projectId: string;
|
|
214
473
|
id: string;
|
|
474
|
+
kind: "conversation" | "subagent";
|
|
475
|
+
createdAt: string;
|
|
215
476
|
ownerPrincipal: {
|
|
216
477
|
id: string;
|
|
217
478
|
type: "user" | "serviceAccount" | "system";
|
|
218
479
|
};
|
|
480
|
+
owner: {
|
|
481
|
+
id: string;
|
|
482
|
+
type: "user" | "serviceAccount" | "system";
|
|
483
|
+
displayName?: string | undefined;
|
|
484
|
+
};
|
|
485
|
+
participants: {
|
|
486
|
+
principal: {
|
|
487
|
+
id: string;
|
|
488
|
+
type: "user";
|
|
489
|
+
displayName?: string | undefined;
|
|
490
|
+
};
|
|
491
|
+
addedAt: string;
|
|
492
|
+
addedBy: {
|
|
493
|
+
id: string;
|
|
494
|
+
type: "user" | "serviceAccount" | "system";
|
|
495
|
+
};
|
|
496
|
+
}[];
|
|
219
497
|
activeRunId: string | null;
|
|
220
498
|
messageCount: number;
|
|
221
|
-
createdAt: string;
|
|
222
499
|
updatedAt: string;
|
|
223
500
|
title?: string | undefined;
|
|
501
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
502
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
224
503
|
sandboxState?: {
|
|
225
504
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
226
505
|
name: string;
|
|
227
506
|
initialized: boolean;
|
|
228
507
|
} | undefined;
|
|
508
|
+
parent?: {
|
|
509
|
+
threadId: string;
|
|
510
|
+
key: string;
|
|
511
|
+
spawnedBy: string;
|
|
512
|
+
} | undefined;
|
|
229
513
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
230
514
|
lastMessageAt?: string | undefined;
|
|
231
515
|
};
|
|
@@ -252,6 +536,298 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
252
536
|
};
|
|
253
537
|
};
|
|
254
538
|
};
|
|
539
|
+
} & {
|
|
540
|
+
api: {
|
|
541
|
+
"agent-threads": {
|
|
542
|
+
":threadId": {
|
|
543
|
+
participants: {
|
|
544
|
+
post: {
|
|
545
|
+
body: {
|
|
546
|
+
users: ({
|
|
547
|
+
id: string;
|
|
548
|
+
type: "user";
|
|
549
|
+
} | {
|
|
550
|
+
email: string;
|
|
551
|
+
})[];
|
|
552
|
+
};
|
|
553
|
+
params: {
|
|
554
|
+
threadId: string;
|
|
555
|
+
};
|
|
556
|
+
query: unknown;
|
|
557
|
+
headers: unknown;
|
|
558
|
+
response: {
|
|
559
|
+
200: {
|
|
560
|
+
status: "active" | "archived";
|
|
561
|
+
projectId: string;
|
|
562
|
+
id: string;
|
|
563
|
+
kind: "conversation" | "subagent";
|
|
564
|
+
createdAt: string;
|
|
565
|
+
ownerPrincipal: {
|
|
566
|
+
id: string;
|
|
567
|
+
type: "user" | "serviceAccount" | "system";
|
|
568
|
+
};
|
|
569
|
+
owner: {
|
|
570
|
+
id: string;
|
|
571
|
+
type: "user" | "serviceAccount" | "system";
|
|
572
|
+
displayName?: string | undefined;
|
|
573
|
+
};
|
|
574
|
+
participants: {
|
|
575
|
+
principal: {
|
|
576
|
+
id: string;
|
|
577
|
+
type: "user";
|
|
578
|
+
displayName?: string | undefined;
|
|
579
|
+
};
|
|
580
|
+
addedAt: string;
|
|
581
|
+
addedBy: {
|
|
582
|
+
id: string;
|
|
583
|
+
type: "user" | "serviceAccount" | "system";
|
|
584
|
+
};
|
|
585
|
+
}[];
|
|
586
|
+
activeRunId: string | null;
|
|
587
|
+
messageCount: number;
|
|
588
|
+
updatedAt: string;
|
|
589
|
+
title?: string | undefined;
|
|
590
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
591
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
592
|
+
sandboxState?: {
|
|
593
|
+
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
594
|
+
name: string;
|
|
595
|
+
initialized: boolean;
|
|
596
|
+
} | undefined;
|
|
597
|
+
parent?: {
|
|
598
|
+
threadId: string;
|
|
599
|
+
key: string;
|
|
600
|
+
spawnedBy: string;
|
|
601
|
+
} | undefined;
|
|
602
|
+
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
603
|
+
lastMessageAt?: string | undefined;
|
|
604
|
+
};
|
|
605
|
+
404: {
|
|
606
|
+
error: string;
|
|
607
|
+
};
|
|
608
|
+
403: {
|
|
609
|
+
error: string;
|
|
610
|
+
code?: string | undefined;
|
|
611
|
+
};
|
|
612
|
+
409: {
|
|
613
|
+
error: string;
|
|
614
|
+
code?: string | undefined;
|
|
615
|
+
};
|
|
616
|
+
400: {
|
|
617
|
+
error: string;
|
|
618
|
+
code?: string | undefined;
|
|
619
|
+
};
|
|
620
|
+
501: {
|
|
621
|
+
error: string;
|
|
622
|
+
};
|
|
623
|
+
422: {
|
|
624
|
+
type: "validation";
|
|
625
|
+
on: string;
|
|
626
|
+
summary?: string;
|
|
627
|
+
message?: string;
|
|
628
|
+
found?: unknown;
|
|
629
|
+
property?: string;
|
|
630
|
+
expected?: string;
|
|
631
|
+
};
|
|
632
|
+
};
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
};
|
|
636
|
+
};
|
|
637
|
+
};
|
|
638
|
+
} & {
|
|
639
|
+
api: {
|
|
640
|
+
"agent-threads": {
|
|
641
|
+
":threadId": {
|
|
642
|
+
participants: {
|
|
643
|
+
":userId": {
|
|
644
|
+
delete: {
|
|
645
|
+
body: unknown;
|
|
646
|
+
params: {
|
|
647
|
+
threadId: string;
|
|
648
|
+
userId: string;
|
|
649
|
+
};
|
|
650
|
+
query: unknown;
|
|
651
|
+
headers: unknown;
|
|
652
|
+
response: {
|
|
653
|
+
404: {
|
|
654
|
+
error: string;
|
|
655
|
+
};
|
|
656
|
+
403: {
|
|
657
|
+
error: string;
|
|
658
|
+
code?: string | undefined;
|
|
659
|
+
};
|
|
660
|
+
409: {
|
|
661
|
+
error: string;
|
|
662
|
+
code?: string | undefined;
|
|
663
|
+
};
|
|
664
|
+
400: {
|
|
665
|
+
error: string;
|
|
666
|
+
code?: string | undefined;
|
|
667
|
+
};
|
|
668
|
+
501: {
|
|
669
|
+
error: string;
|
|
670
|
+
};
|
|
671
|
+
204: void;
|
|
672
|
+
422: {
|
|
673
|
+
type: "validation";
|
|
674
|
+
on: string;
|
|
675
|
+
summary?: string;
|
|
676
|
+
message?: string;
|
|
677
|
+
found?: unknown;
|
|
678
|
+
property?: string;
|
|
679
|
+
expected?: string;
|
|
680
|
+
};
|
|
681
|
+
};
|
|
682
|
+
};
|
|
683
|
+
};
|
|
684
|
+
};
|
|
685
|
+
};
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
} & {
|
|
689
|
+
api: {
|
|
690
|
+
"agent-threads": {
|
|
691
|
+
":threadId": {
|
|
692
|
+
fork: {
|
|
693
|
+
post: {
|
|
694
|
+
body: unknown;
|
|
695
|
+
params: {
|
|
696
|
+
threadId: string;
|
|
697
|
+
};
|
|
698
|
+
query: unknown;
|
|
699
|
+
headers: unknown;
|
|
700
|
+
response: {
|
|
701
|
+
200: {
|
|
702
|
+
thread: {
|
|
703
|
+
status: "active" | "archived";
|
|
704
|
+
projectId: string;
|
|
705
|
+
id: string;
|
|
706
|
+
kind: "conversation" | "subagent";
|
|
707
|
+
createdAt: string;
|
|
708
|
+
ownerPrincipal: {
|
|
709
|
+
id: string;
|
|
710
|
+
type: "user" | "serviceAccount" | "system";
|
|
711
|
+
};
|
|
712
|
+
owner: {
|
|
713
|
+
id: string;
|
|
714
|
+
type: "user" | "serviceAccount" | "system";
|
|
715
|
+
displayName?: string | undefined;
|
|
716
|
+
};
|
|
717
|
+
participants: {
|
|
718
|
+
principal: {
|
|
719
|
+
id: string;
|
|
720
|
+
type: "user";
|
|
721
|
+
displayName?: string | undefined;
|
|
722
|
+
};
|
|
723
|
+
addedAt: string;
|
|
724
|
+
addedBy: {
|
|
725
|
+
id: string;
|
|
726
|
+
type: "user" | "serviceAccount" | "system";
|
|
727
|
+
};
|
|
728
|
+
}[];
|
|
729
|
+
activeRunId: string | null;
|
|
730
|
+
messageCount: number;
|
|
731
|
+
updatedAt: string;
|
|
732
|
+
title?: string | undefined;
|
|
733
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
734
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
735
|
+
sandboxState?: {
|
|
736
|
+
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
737
|
+
name: string;
|
|
738
|
+
initialized: boolean;
|
|
739
|
+
} | undefined;
|
|
740
|
+
parent?: {
|
|
741
|
+
threadId: string;
|
|
742
|
+
key: string;
|
|
743
|
+
spawnedBy: string;
|
|
744
|
+
} | undefined;
|
|
745
|
+
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
746
|
+
lastMessageAt?: string | undefined;
|
|
747
|
+
};
|
|
748
|
+
} | {
|
|
749
|
+
readonly error: string;
|
|
750
|
+
readonly code: AgentRequestErrorCode;
|
|
751
|
+
} | {
|
|
752
|
+
error: string;
|
|
753
|
+
};
|
|
754
|
+
404: {
|
|
755
|
+
error: string;
|
|
756
|
+
};
|
|
757
|
+
409: {
|
|
758
|
+
error: string;
|
|
759
|
+
code?: string | undefined;
|
|
760
|
+
};
|
|
761
|
+
400: {
|
|
762
|
+
error: string;
|
|
763
|
+
code?: string | undefined;
|
|
764
|
+
};
|
|
765
|
+
501: {
|
|
766
|
+
error: string;
|
|
767
|
+
};
|
|
768
|
+
201: {
|
|
769
|
+
thread: {
|
|
770
|
+
status: "active" | "archived";
|
|
771
|
+
projectId: string;
|
|
772
|
+
id: string;
|
|
773
|
+
kind: "conversation" | "subagent";
|
|
774
|
+
createdAt: string;
|
|
775
|
+
ownerPrincipal: {
|
|
776
|
+
id: string;
|
|
777
|
+
type: "user" | "serviceAccount" | "system";
|
|
778
|
+
};
|
|
779
|
+
owner: {
|
|
780
|
+
id: string;
|
|
781
|
+
type: "user" | "serviceAccount" | "system";
|
|
782
|
+
displayName?: string | undefined;
|
|
783
|
+
};
|
|
784
|
+
participants: {
|
|
785
|
+
principal: {
|
|
786
|
+
id: string;
|
|
787
|
+
type: "user";
|
|
788
|
+
displayName?: string | undefined;
|
|
789
|
+
};
|
|
790
|
+
addedAt: string;
|
|
791
|
+
addedBy: {
|
|
792
|
+
id: string;
|
|
793
|
+
type: "user" | "serviceAccount" | "system";
|
|
794
|
+
};
|
|
795
|
+
}[];
|
|
796
|
+
activeRunId: string | null;
|
|
797
|
+
messageCount: number;
|
|
798
|
+
updatedAt: string;
|
|
799
|
+
title?: string | undefined;
|
|
800
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
801
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
802
|
+
sandboxState?: {
|
|
803
|
+
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
804
|
+
name: string;
|
|
805
|
+
initialized: boolean;
|
|
806
|
+
} | undefined;
|
|
807
|
+
parent?: {
|
|
808
|
+
threadId: string;
|
|
809
|
+
key: string;
|
|
810
|
+
spawnedBy: string;
|
|
811
|
+
} | undefined;
|
|
812
|
+
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
813
|
+
lastMessageAt?: string | undefined;
|
|
814
|
+
};
|
|
815
|
+
};
|
|
816
|
+
422: {
|
|
817
|
+
type: "validation";
|
|
818
|
+
on: string;
|
|
819
|
+
summary?: string;
|
|
820
|
+
message?: string;
|
|
821
|
+
found?: unknown;
|
|
822
|
+
property?: string;
|
|
823
|
+
expected?: string;
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
};
|
|
827
|
+
};
|
|
828
|
+
};
|
|
829
|
+
};
|
|
830
|
+
};
|
|
255
831
|
} & {
|
|
256
832
|
api: {
|
|
257
833
|
"agent-threads": {
|
|
@@ -272,28 +848,58 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
272
848
|
status: "active" | "archived";
|
|
273
849
|
projectId: string;
|
|
274
850
|
id: string;
|
|
851
|
+
kind: "conversation" | "subagent";
|
|
852
|
+
createdAt: string;
|
|
275
853
|
ownerPrincipal: {
|
|
276
854
|
id: string;
|
|
277
855
|
type: "user" | "serviceAccount" | "system";
|
|
278
856
|
};
|
|
857
|
+
owner: {
|
|
858
|
+
id: string;
|
|
859
|
+
type: "user" | "serviceAccount" | "system";
|
|
860
|
+
displayName?: string | undefined;
|
|
861
|
+
};
|
|
862
|
+
participants: {
|
|
863
|
+
principal: {
|
|
864
|
+
id: string;
|
|
865
|
+
type: "user";
|
|
866
|
+
displayName?: string | undefined;
|
|
867
|
+
};
|
|
868
|
+
addedAt: string;
|
|
869
|
+
addedBy: {
|
|
870
|
+
id: string;
|
|
871
|
+
type: "user" | "serviceAccount" | "system";
|
|
872
|
+
};
|
|
873
|
+
}[];
|
|
279
874
|
activeRunId: string | null;
|
|
280
875
|
messageCount: number;
|
|
281
|
-
createdAt: string;
|
|
282
876
|
updatedAt: string;
|
|
283
877
|
title?: string | undefined;
|
|
878
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
879
|
+
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
284
880
|
sandboxState?: {
|
|
285
881
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
286
882
|
name: string;
|
|
287
883
|
initialized: boolean;
|
|
288
884
|
} | undefined;
|
|
885
|
+
parent?: {
|
|
886
|
+
threadId: string;
|
|
887
|
+
key: string;
|
|
888
|
+
spawnedBy: string;
|
|
889
|
+
} | undefined;
|
|
289
890
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
290
891
|
lastMessageAt?: string | undefined;
|
|
291
892
|
};
|
|
292
893
|
404: {
|
|
293
894
|
error: string;
|
|
294
895
|
};
|
|
896
|
+
403: {
|
|
897
|
+
error: string;
|
|
898
|
+
code?: string | undefined;
|
|
899
|
+
};
|
|
295
900
|
409: {
|
|
296
901
|
error: string;
|
|
902
|
+
code?: string | undefined;
|
|
297
903
|
};
|
|
298
904
|
400: {
|
|
299
905
|
error: string;
|
|
@@ -339,6 +945,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
339
945
|
projectId: string;
|
|
340
946
|
id: string;
|
|
341
947
|
runId: string | null;
|
|
948
|
+
threadId: string;
|
|
949
|
+
createdAt: string;
|
|
342
950
|
parts: ({
|
|
343
951
|
origin: "ambient" | "explicit";
|
|
344
952
|
context: {
|
|
@@ -351,8 +959,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
351
959
|
} | {
|
|
352
960
|
id: string;
|
|
353
961
|
kind: "app-state";
|
|
354
|
-
description: string;
|
|
355
962
|
value: import("../schemas/common").JsonValue;
|
|
963
|
+
description: string;
|
|
356
964
|
label: string;
|
|
357
965
|
};
|
|
358
966
|
type: "context";
|
|
@@ -383,8 +991,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
383
991
|
data: import("../schemas/common").JsonValue;
|
|
384
992
|
} | {
|
|
385
993
|
type: "tool-call";
|
|
386
|
-
output: import("../schemas/common").JsonValue;
|
|
387
994
|
input: import("../schemas/common").JsonValue;
|
|
995
|
+
output: import("../schemas/common").JsonValue;
|
|
388
996
|
toolCallId: string;
|
|
389
997
|
toolName: string;
|
|
390
998
|
state: "output-available";
|
|
@@ -402,14 +1010,65 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
402
1010
|
dynamic?: boolean | undefined;
|
|
403
1011
|
providerExecuted?: boolean | undefined;
|
|
404
1012
|
} | {
|
|
405
|
-
type: "continuation";
|
|
1013
|
+
type: "continuation";
|
|
1014
|
+
} | {
|
|
1015
|
+
status: "approved" | "denied" | "cancelled" | "superseded" | "expired";
|
|
1016
|
+
type: "approval-outcome";
|
|
1017
|
+
call: {
|
|
1018
|
+
kind: "action";
|
|
1019
|
+
actionId: string;
|
|
1020
|
+
subject: {
|
|
1021
|
+
kind: "none";
|
|
1022
|
+
} | {
|
|
1023
|
+
kind: "object";
|
|
1024
|
+
objectTypeId: string;
|
|
1025
|
+
primaryId: string;
|
|
1026
|
+
};
|
|
1027
|
+
} | {
|
|
1028
|
+
kind: "workflow";
|
|
1029
|
+
workflowId: string;
|
|
1030
|
+
};
|
|
1031
|
+
approvalId: string;
|
|
1032
|
+
caller?: {
|
|
1033
|
+
runId: string;
|
|
1034
|
+
key: string;
|
|
1035
|
+
continues?: true | undefined;
|
|
1036
|
+
} | undefined;
|
|
1037
|
+
outcome?: {
|
|
1038
|
+
status: "succeeded" | "failed";
|
|
1039
|
+
kind: "action-run";
|
|
1040
|
+
runId: string;
|
|
1041
|
+
error?: import("@sixb/core").ActionRunFailure<"validation" | "writeback" | "edits" | "effects" | "commit"> | undefined;
|
|
1042
|
+
} | {
|
|
1043
|
+
kind: "workflow-run";
|
|
1044
|
+
runId: string;
|
|
1045
|
+
queuedAt: string;
|
|
1046
|
+
} | {
|
|
1047
|
+
error: {
|
|
1048
|
+
at: string;
|
|
1049
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "connector.adapter_invalid" | "connector.authorization_invalid" | "connector.authorization_required" | "connector.configuration_invalid" | "connector.credentials_unavailable" | "connector.not_found" | "connector.operation_conflict" | "connector.operation_in_progress" | "connector.provider_failed" | "connector.provider_unavailable" | "connector.replacement_required" | "connector.revocation_pending" | "dataset.not_found" | "dataset.version_incompatible" | "dataset.version_not_found" | "dataset.version_read_inconsistent" | "event.delivery_failed" | "internal.unexpected" | "queue.enqueue_failed" | "object.not_found" | "object.unique_violation" | "pipeline.step_failed" | "projection.definition_invalid" | "projection.execution_failed" | "projection.not_found" | "projection.run_already_terminal" | "projection.run_identity_mismatch" | "runtime.cancelled" | "runtime.stopping" | "vector.model_unavailable" | "vector.response_invalid" | "vector.outcome_unknown" | "storage.unavailable" | "sync.execution_failed" | "webhook.delivery_failed" | "webhook.delivery_rejected" | "workflow.node_failed";
|
|
1050
|
+
message: string;
|
|
1051
|
+
retryable: boolean;
|
|
1052
|
+
details?: import("../schemas/common").JsonValue | undefined;
|
|
1053
|
+
httpStatus?: number | undefined;
|
|
1054
|
+
redacted?: true | undefined;
|
|
1055
|
+
truncated?: true | undefined;
|
|
1056
|
+
};
|
|
1057
|
+
kind: "error";
|
|
1058
|
+
} | undefined;
|
|
1059
|
+
} | {
|
|
1060
|
+
id: string;
|
|
1061
|
+
kind: "message" | "answer";
|
|
1062
|
+
type: "mail";
|
|
1063
|
+
text: string;
|
|
1064
|
+
from: "parent";
|
|
1065
|
+
inReplyTo?: string | undefined;
|
|
1066
|
+
afterAnswer?: true | undefined;
|
|
406
1067
|
})[];
|
|
407
|
-
threadId: string;
|
|
408
|
-
createdAt: string;
|
|
409
1068
|
role: "user" | "system" | "assistant";
|
|
410
1069
|
seq: number;
|
|
411
1070
|
annotations: {
|
|
412
|
-
code: "step_limit_reached";
|
|
1071
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
413
1072
|
message: string;
|
|
414
1073
|
severity: "error" | "warning";
|
|
415
1074
|
scope: "run";
|
|
@@ -421,12 +1080,17 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
421
1080
|
type: "user" | "serviceAccount" | "system";
|
|
422
1081
|
} | undefined;
|
|
423
1082
|
compaction?: {
|
|
424
|
-
summary: string;
|
|
425
1083
|
createdAt: string;
|
|
426
1084
|
checkpointId: string;
|
|
1085
|
+
summary: string;
|
|
427
1086
|
} | undefined;
|
|
428
1087
|
metadata?: import("../schemas/common").JsonValue | undefined;
|
|
429
1088
|
}[];
|
|
1089
|
+
authors: {
|
|
1090
|
+
id: string;
|
|
1091
|
+
type: "user" | "serviceAccount" | "system";
|
|
1092
|
+
displayName?: string | undefined;
|
|
1093
|
+
}[];
|
|
430
1094
|
};
|
|
431
1095
|
404: {
|
|
432
1096
|
error: string;
|
|
@@ -557,8 +1221,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
557
1221
|
} | {
|
|
558
1222
|
id: string;
|
|
559
1223
|
kind: "app-state";
|
|
560
|
-
description: string;
|
|
561
1224
|
value: import("../schemas/common").JsonValue;
|
|
1225
|
+
description: string;
|
|
562
1226
|
label: string;
|
|
563
1227
|
};
|
|
564
1228
|
}[] | undefined;
|
|
@@ -567,6 +1231,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
567
1231
|
modelId: string;
|
|
568
1232
|
provider: string;
|
|
569
1233
|
} | undefined;
|
|
1234
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
570
1235
|
attachments?: {
|
|
571
1236
|
blobId: string;
|
|
572
1237
|
digest: string;
|
|
@@ -589,15 +1254,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
589
1254
|
response: {
|
|
590
1255
|
200: {
|
|
591
1256
|
run: {
|
|
592
|
-
status: "succeeded" | "failed" | "
|
|
1257
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
593
1258
|
projectId: string;
|
|
594
1259
|
id: string;
|
|
595
|
-
|
|
1260
|
+
kind: "conversation" | "subagent";
|
|
596
1261
|
threadId: string;
|
|
597
1262
|
createdAt: string;
|
|
1263
|
+
attempt: number;
|
|
598
1264
|
triggerMessageId: string;
|
|
599
1265
|
streamId: string;
|
|
600
1266
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1267
|
+
requestedBy?: {
|
|
1268
|
+
id: string;
|
|
1269
|
+
type: "user" | "serviceAccount";
|
|
1270
|
+
} | undefined;
|
|
601
1271
|
model?: {
|
|
602
1272
|
modelId: string;
|
|
603
1273
|
provider: string;
|
|
@@ -605,6 +1275,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
605
1275
|
modelId?: string | undefined;
|
|
606
1276
|
startedAt?: string | undefined;
|
|
607
1277
|
completedAt?: string | undefined;
|
|
1278
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1279
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
608
1280
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
609
1281
|
budgetTokens: number;
|
|
610
1282
|
} | undefined;
|
|
@@ -619,6 +1291,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
619
1291
|
textOutputTokens?: number | undefined;
|
|
620
1292
|
reasoningOutputTokens?: number | undefined;
|
|
621
1293
|
audioDurationMs?: number | undefined;
|
|
1294
|
+
imageOutputTokens?: number | undefined;
|
|
1295
|
+
audioOutputTokens?: number | undefined;
|
|
1296
|
+
outputImages?: number | undefined;
|
|
1297
|
+
inputCharacters?: number | undefined;
|
|
622
1298
|
} | undefined;
|
|
623
1299
|
cost?: {
|
|
624
1300
|
amounts: {
|
|
@@ -629,13 +1305,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
629
1305
|
unpriceableCallCount: number;
|
|
630
1306
|
unvaluedCallCount: number;
|
|
631
1307
|
} | undefined;
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
type: "user" | "serviceAccount";
|
|
635
|
-
} | undefined;
|
|
636
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1308
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1309
|
+
parentRunId?: string | undefined;
|
|
637
1310
|
diagnostics?: {
|
|
638
|
-
code: "step_limit_reached";
|
|
1311
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
639
1312
|
message: string;
|
|
640
1313
|
severity: "error" | "warning";
|
|
641
1314
|
scope: "run";
|
|
@@ -655,6 +1328,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
655
1328
|
};
|
|
656
1329
|
409: {
|
|
657
1330
|
error: string;
|
|
1331
|
+
code?: string | undefined;
|
|
658
1332
|
};
|
|
659
1333
|
400: {
|
|
660
1334
|
error: string;
|
|
@@ -670,15 +1344,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
670
1344
|
};
|
|
671
1345
|
202: {
|
|
672
1346
|
run: {
|
|
673
|
-
status: "succeeded" | "failed" | "
|
|
1347
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
674
1348
|
projectId: string;
|
|
675
1349
|
id: string;
|
|
676
|
-
|
|
1350
|
+
kind: "conversation" | "subagent";
|
|
677
1351
|
threadId: string;
|
|
678
1352
|
createdAt: string;
|
|
1353
|
+
attempt: number;
|
|
679
1354
|
triggerMessageId: string;
|
|
680
1355
|
streamId: string;
|
|
681
1356
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1357
|
+
requestedBy?: {
|
|
1358
|
+
id: string;
|
|
1359
|
+
type: "user" | "serviceAccount";
|
|
1360
|
+
} | undefined;
|
|
682
1361
|
model?: {
|
|
683
1362
|
modelId: string;
|
|
684
1363
|
provider: string;
|
|
@@ -686,6 +1365,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
686
1365
|
modelId?: string | undefined;
|
|
687
1366
|
startedAt?: string | undefined;
|
|
688
1367
|
completedAt?: string | undefined;
|
|
1368
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1369
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
689
1370
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
690
1371
|
budgetTokens: number;
|
|
691
1372
|
} | undefined;
|
|
@@ -700,6 +1381,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
700
1381
|
textOutputTokens?: number | undefined;
|
|
701
1382
|
reasoningOutputTokens?: number | undefined;
|
|
702
1383
|
audioDurationMs?: number | undefined;
|
|
1384
|
+
imageOutputTokens?: number | undefined;
|
|
1385
|
+
audioOutputTokens?: number | undefined;
|
|
1386
|
+
outputImages?: number | undefined;
|
|
1387
|
+
inputCharacters?: number | undefined;
|
|
703
1388
|
} | undefined;
|
|
704
1389
|
cost?: {
|
|
705
1390
|
amounts: {
|
|
@@ -710,13 +1395,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
710
1395
|
unpriceableCallCount: number;
|
|
711
1396
|
unvaluedCallCount: number;
|
|
712
1397
|
} | undefined;
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
type: "user" | "serviceAccount";
|
|
716
|
-
} | undefined;
|
|
717
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1398
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1399
|
+
parentRunId?: string | undefined;
|
|
718
1400
|
diagnostics?: {
|
|
719
|
-
code: "step_limit_reached";
|
|
1401
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
720
1402
|
message: string;
|
|
721
1403
|
severity: "error" | "warning";
|
|
722
1404
|
scope: "run";
|
|
@@ -755,15 +1437,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
755
1437
|
response: {
|
|
756
1438
|
200: {
|
|
757
1439
|
run: {
|
|
758
|
-
status: "succeeded" | "failed" | "
|
|
1440
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
759
1441
|
projectId: string;
|
|
760
1442
|
id: string;
|
|
761
|
-
|
|
1443
|
+
kind: "conversation" | "subagent";
|
|
762
1444
|
threadId: string;
|
|
763
1445
|
createdAt: string;
|
|
1446
|
+
attempt: number;
|
|
764
1447
|
triggerMessageId: string;
|
|
765
1448
|
streamId: string;
|
|
766
1449
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1450
|
+
requestedBy?: {
|
|
1451
|
+
id: string;
|
|
1452
|
+
type: "user" | "serviceAccount";
|
|
1453
|
+
} | undefined;
|
|
767
1454
|
model?: {
|
|
768
1455
|
modelId: string;
|
|
769
1456
|
provider: string;
|
|
@@ -771,6 +1458,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
771
1458
|
modelId?: string | undefined;
|
|
772
1459
|
startedAt?: string | undefined;
|
|
773
1460
|
completedAt?: string | undefined;
|
|
1461
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1462
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
774
1463
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
775
1464
|
budgetTokens: number;
|
|
776
1465
|
} | undefined;
|
|
@@ -785,6 +1474,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
785
1474
|
textOutputTokens?: number | undefined;
|
|
786
1475
|
reasoningOutputTokens?: number | undefined;
|
|
787
1476
|
audioDurationMs?: number | undefined;
|
|
1477
|
+
imageOutputTokens?: number | undefined;
|
|
1478
|
+
audioOutputTokens?: number | undefined;
|
|
1479
|
+
outputImages?: number | undefined;
|
|
1480
|
+
inputCharacters?: number | undefined;
|
|
788
1481
|
} | undefined;
|
|
789
1482
|
cost?: {
|
|
790
1483
|
amounts: {
|
|
@@ -795,13 +1488,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
795
1488
|
unpriceableCallCount: number;
|
|
796
1489
|
unvaluedCallCount: number;
|
|
797
1490
|
} | undefined;
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
type: "user" | "serviceAccount";
|
|
801
|
-
} | undefined;
|
|
802
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1491
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1492
|
+
parentRunId?: string | undefined;
|
|
803
1493
|
diagnostics?: {
|
|
804
|
-
code: "step_limit_reached";
|
|
1494
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
805
1495
|
message: string;
|
|
806
1496
|
severity: "error" | "warning";
|
|
807
1497
|
scope: "run";
|
|
@@ -816,26 +1506,37 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
816
1506
|
404: {
|
|
817
1507
|
error: string;
|
|
818
1508
|
};
|
|
1509
|
+
403: {
|
|
1510
|
+
error: string;
|
|
1511
|
+
code?: string | undefined;
|
|
1512
|
+
};
|
|
819
1513
|
409: {
|
|
820
1514
|
error: string;
|
|
1515
|
+
code?: string | undefined;
|
|
821
1516
|
};
|
|
822
1517
|
400: {
|
|
823
1518
|
error: string;
|
|
1519
|
+
code?: string | undefined;
|
|
824
1520
|
};
|
|
825
1521
|
501: {
|
|
826
1522
|
error: string;
|
|
827
1523
|
};
|
|
828
1524
|
202: {
|
|
829
1525
|
run: {
|
|
830
|
-
status: "succeeded" | "failed" | "
|
|
1526
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
831
1527
|
projectId: string;
|
|
832
1528
|
id: string;
|
|
833
|
-
|
|
1529
|
+
kind: "conversation" | "subagent";
|
|
834
1530
|
threadId: string;
|
|
835
1531
|
createdAt: string;
|
|
1532
|
+
attempt: number;
|
|
836
1533
|
triggerMessageId: string;
|
|
837
1534
|
streamId: string;
|
|
838
1535
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1536
|
+
requestedBy?: {
|
|
1537
|
+
id: string;
|
|
1538
|
+
type: "user" | "serviceAccount";
|
|
1539
|
+
} | undefined;
|
|
839
1540
|
model?: {
|
|
840
1541
|
modelId: string;
|
|
841
1542
|
provider: string;
|
|
@@ -843,6 +1544,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
843
1544
|
modelId?: string | undefined;
|
|
844
1545
|
startedAt?: string | undefined;
|
|
845
1546
|
completedAt?: string | undefined;
|
|
1547
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1548
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
846
1549
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
847
1550
|
budgetTokens: number;
|
|
848
1551
|
} | undefined;
|
|
@@ -857,6 +1560,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
857
1560
|
textOutputTokens?: number | undefined;
|
|
858
1561
|
reasoningOutputTokens?: number | undefined;
|
|
859
1562
|
audioDurationMs?: number | undefined;
|
|
1563
|
+
imageOutputTokens?: number | undefined;
|
|
1564
|
+
audioOutputTokens?: number | undefined;
|
|
1565
|
+
outputImages?: number | undefined;
|
|
1566
|
+
inputCharacters?: number | undefined;
|
|
860
1567
|
} | undefined;
|
|
861
1568
|
cost?: {
|
|
862
1569
|
amounts: {
|
|
@@ -867,13 +1574,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
867
1574
|
unpriceableCallCount: number;
|
|
868
1575
|
unvaluedCallCount: number;
|
|
869
1576
|
} | undefined;
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
type: "user" | "serviceAccount";
|
|
873
|
-
} | undefined;
|
|
874
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1577
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1578
|
+
parentRunId?: string | undefined;
|
|
875
1579
|
diagnostics?: {
|
|
876
|
-
code: "step_limit_reached";
|
|
1580
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
877
1581
|
message: string;
|
|
878
1582
|
severity: "error" | "warning";
|
|
879
1583
|
scope: "run";
|
|
@@ -913,15 +1617,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
913
1617
|
response: {
|
|
914
1618
|
200: {
|
|
915
1619
|
run: {
|
|
916
|
-
status: "succeeded" | "failed" | "
|
|
1620
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
917
1621
|
projectId: string;
|
|
918
1622
|
id: string;
|
|
919
|
-
|
|
1623
|
+
kind: "conversation" | "subagent";
|
|
920
1624
|
threadId: string;
|
|
921
1625
|
createdAt: string;
|
|
1626
|
+
attempt: number;
|
|
922
1627
|
triggerMessageId: string;
|
|
923
1628
|
streamId: string;
|
|
924
1629
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1630
|
+
requestedBy?: {
|
|
1631
|
+
id: string;
|
|
1632
|
+
type: "user" | "serviceAccount";
|
|
1633
|
+
} | undefined;
|
|
925
1634
|
model?: {
|
|
926
1635
|
modelId: string;
|
|
927
1636
|
provider: string;
|
|
@@ -929,6 +1638,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
929
1638
|
modelId?: string | undefined;
|
|
930
1639
|
startedAt?: string | undefined;
|
|
931
1640
|
completedAt?: string | undefined;
|
|
1641
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1642
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
932
1643
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
933
1644
|
budgetTokens: number;
|
|
934
1645
|
} | undefined;
|
|
@@ -943,6 +1654,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
943
1654
|
textOutputTokens?: number | undefined;
|
|
944
1655
|
reasoningOutputTokens?: number | undefined;
|
|
945
1656
|
audioDurationMs?: number | undefined;
|
|
1657
|
+
imageOutputTokens?: number | undefined;
|
|
1658
|
+
audioOutputTokens?: number | undefined;
|
|
1659
|
+
outputImages?: number | undefined;
|
|
1660
|
+
inputCharacters?: number | undefined;
|
|
946
1661
|
} | undefined;
|
|
947
1662
|
cost?: {
|
|
948
1663
|
amounts: {
|
|
@@ -953,13 +1668,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
953
1668
|
unpriceableCallCount: number;
|
|
954
1669
|
unvaluedCallCount: number;
|
|
955
1670
|
} | undefined;
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
type: "user" | "serviceAccount";
|
|
959
|
-
} | undefined;
|
|
960
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1671
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1672
|
+
parentRunId?: string | undefined;
|
|
961
1673
|
diagnostics?: {
|
|
962
|
-
code: "step_limit_reached";
|
|
1674
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
963
1675
|
message: string;
|
|
964
1676
|
severity: "error" | "warning";
|
|
965
1677
|
scope: "run";
|
|
@@ -974,11 +1686,17 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
974
1686
|
404: {
|
|
975
1687
|
error: string;
|
|
976
1688
|
};
|
|
1689
|
+
403: {
|
|
1690
|
+
error: string;
|
|
1691
|
+
code?: string | undefined;
|
|
1692
|
+
};
|
|
977
1693
|
409: {
|
|
978
1694
|
error: string;
|
|
1695
|
+
code?: string | undefined;
|
|
979
1696
|
};
|
|
980
1697
|
400: {
|
|
981
1698
|
error: string;
|
|
1699
|
+
code?: string | undefined;
|
|
982
1700
|
};
|
|
983
1701
|
429: {
|
|
984
1702
|
error: string;
|
|
@@ -990,15 +1708,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
990
1708
|
};
|
|
991
1709
|
202: {
|
|
992
1710
|
run: {
|
|
993
|
-
status: "succeeded" | "failed" | "
|
|
1711
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
994
1712
|
projectId: string;
|
|
995
1713
|
id: string;
|
|
996
|
-
|
|
1714
|
+
kind: "conversation" | "subagent";
|
|
997
1715
|
threadId: string;
|
|
998
1716
|
createdAt: string;
|
|
1717
|
+
attempt: number;
|
|
999
1718
|
triggerMessageId: string;
|
|
1000
1719
|
streamId: string;
|
|
1001
1720
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1721
|
+
requestedBy?: {
|
|
1722
|
+
id: string;
|
|
1723
|
+
type: "user" | "serviceAccount";
|
|
1724
|
+
} | undefined;
|
|
1002
1725
|
model?: {
|
|
1003
1726
|
modelId: string;
|
|
1004
1727
|
provider: string;
|
|
@@ -1006,6 +1729,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1006
1729
|
modelId?: string | undefined;
|
|
1007
1730
|
startedAt?: string | undefined;
|
|
1008
1731
|
completedAt?: string | undefined;
|
|
1732
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1733
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
1009
1734
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1010
1735
|
budgetTokens: number;
|
|
1011
1736
|
} | undefined;
|
|
@@ -1020,6 +1745,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1020
1745
|
textOutputTokens?: number | undefined;
|
|
1021
1746
|
reasoningOutputTokens?: number | undefined;
|
|
1022
1747
|
audioDurationMs?: number | undefined;
|
|
1748
|
+
imageOutputTokens?: number | undefined;
|
|
1749
|
+
audioOutputTokens?: number | undefined;
|
|
1750
|
+
outputImages?: number | undefined;
|
|
1751
|
+
inputCharacters?: number | undefined;
|
|
1023
1752
|
} | undefined;
|
|
1024
1753
|
cost?: {
|
|
1025
1754
|
amounts: {
|
|
@@ -1030,13 +1759,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1030
1759
|
unpriceableCallCount: number;
|
|
1031
1760
|
unvaluedCallCount: number;
|
|
1032
1761
|
} | undefined;
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
type: "user" | "serviceAccount";
|
|
1036
|
-
} | undefined;
|
|
1037
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1762
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1763
|
+
parentRunId?: string | undefined;
|
|
1038
1764
|
diagnostics?: {
|
|
1039
|
-
code: "step_limit_reached";
|
|
1765
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
1040
1766
|
message: string;
|
|
1041
1767
|
severity: "error" | "warning";
|
|
1042
1768
|
scope: "run";
|
|
@@ -1071,7 +1797,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1071
1797
|
threadId: string;
|
|
1072
1798
|
};
|
|
1073
1799
|
query: {
|
|
1074
|
-
status?: "succeeded" | "failed" | "
|
|
1800
|
+
status?: "succeeded" | "failed" | "cancelled" | "queued" | "running" | undefined;
|
|
1075
1801
|
limit?: string | undefined;
|
|
1076
1802
|
offset?: string | undefined;
|
|
1077
1803
|
order?: "asc" | "desc" | undefined;
|
|
@@ -1080,15 +1806,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1080
1806
|
response: {
|
|
1081
1807
|
200: {
|
|
1082
1808
|
runs: {
|
|
1083
|
-
status: "succeeded" | "failed" | "
|
|
1809
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1084
1810
|
projectId: string;
|
|
1085
1811
|
id: string;
|
|
1086
|
-
|
|
1812
|
+
kind: "conversation" | "subagent";
|
|
1087
1813
|
threadId: string;
|
|
1088
1814
|
createdAt: string;
|
|
1815
|
+
attempt: number;
|
|
1089
1816
|
triggerMessageId: string;
|
|
1090
1817
|
streamId: string;
|
|
1091
1818
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1819
|
+
requestedBy?: {
|
|
1820
|
+
id: string;
|
|
1821
|
+
type: "user" | "serviceAccount";
|
|
1822
|
+
} | undefined;
|
|
1092
1823
|
model?: {
|
|
1093
1824
|
modelId: string;
|
|
1094
1825
|
provider: string;
|
|
@@ -1096,6 +1827,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1096
1827
|
modelId?: string | undefined;
|
|
1097
1828
|
startedAt?: string | undefined;
|
|
1098
1829
|
completedAt?: string | undefined;
|
|
1830
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1831
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
1099
1832
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1100
1833
|
budgetTokens: number;
|
|
1101
1834
|
} | undefined;
|
|
@@ -1110,6 +1843,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1110
1843
|
textOutputTokens?: number | undefined;
|
|
1111
1844
|
reasoningOutputTokens?: number | undefined;
|
|
1112
1845
|
audioDurationMs?: number | undefined;
|
|
1846
|
+
imageOutputTokens?: number | undefined;
|
|
1847
|
+
audioOutputTokens?: number | undefined;
|
|
1848
|
+
outputImages?: number | undefined;
|
|
1849
|
+
inputCharacters?: number | undefined;
|
|
1113
1850
|
} | undefined;
|
|
1114
1851
|
cost?: {
|
|
1115
1852
|
amounts: {
|
|
@@ -1120,13 +1857,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1120
1857
|
unpriceableCallCount: number;
|
|
1121
1858
|
unvaluedCallCount: number;
|
|
1122
1859
|
} | undefined;
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
type: "user" | "serviceAccount";
|
|
1126
|
-
} | undefined;
|
|
1127
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1860
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1861
|
+
parentRunId?: string | undefined;
|
|
1128
1862
|
diagnostics?: {
|
|
1129
|
-
code: "step_limit_reached";
|
|
1863
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
1130
1864
|
message: string;
|
|
1131
1865
|
severity: "error" | "warning";
|
|
1132
1866
|
scope: "run";
|
|
@@ -1172,15 +1906,20 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1172
1906
|
headers: unknown;
|
|
1173
1907
|
response: {
|
|
1174
1908
|
200: {
|
|
1175
|
-
status: "succeeded" | "failed" | "
|
|
1909
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
1176
1910
|
projectId: string;
|
|
1177
1911
|
id: string;
|
|
1178
|
-
|
|
1912
|
+
kind: "conversation" | "subagent";
|
|
1179
1913
|
threadId: string;
|
|
1180
1914
|
createdAt: string;
|
|
1915
|
+
attempt: number;
|
|
1181
1916
|
triggerMessageId: string;
|
|
1182
1917
|
streamId: string;
|
|
1183
1918
|
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
1919
|
+
requestedBy?: {
|
|
1920
|
+
id: string;
|
|
1921
|
+
type: "user" | "serviceAccount";
|
|
1922
|
+
} | undefined;
|
|
1184
1923
|
model?: {
|
|
1185
1924
|
modelId: string;
|
|
1186
1925
|
provider: string;
|
|
@@ -1188,6 +1927,8 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1188
1927
|
modelId?: string | undefined;
|
|
1189
1928
|
startedAt?: string | undefined;
|
|
1190
1929
|
completedAt?: string | undefined;
|
|
1930
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1931
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
1191
1932
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
1192
1933
|
budgetTokens: number;
|
|
1193
1934
|
} | undefined;
|
|
@@ -1202,6 +1943,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1202
1943
|
textOutputTokens?: number | undefined;
|
|
1203
1944
|
reasoningOutputTokens?: number | undefined;
|
|
1204
1945
|
audioDurationMs?: number | undefined;
|
|
1946
|
+
imageOutputTokens?: number | undefined;
|
|
1947
|
+
audioOutputTokens?: number | undefined;
|
|
1948
|
+
outputImages?: number | undefined;
|
|
1949
|
+
inputCharacters?: number | undefined;
|
|
1205
1950
|
} | undefined;
|
|
1206
1951
|
cost?: {
|
|
1207
1952
|
amounts: {
|
|
@@ -1212,13 +1957,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1212
1957
|
unpriceableCallCount: number;
|
|
1213
1958
|
unvaluedCallCount: number;
|
|
1214
1959
|
} | undefined;
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
type: "user" | "serviceAccount";
|
|
1218
|
-
} | undefined;
|
|
1219
|
-
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "other" | undefined;
|
|
1960
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
1961
|
+
parentRunId?: string | undefined;
|
|
1220
1962
|
diagnostics?: {
|
|
1221
|
-
code: "step_limit_reached";
|
|
1963
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
1222
1964
|
message: string;
|
|
1223
1965
|
severity: "error" | "warning";
|
|
1224
1966
|
scope: "run";
|
|
@@ -1247,6 +1989,183 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1247
1989
|
};
|
|
1248
1990
|
};
|
|
1249
1991
|
};
|
|
1992
|
+
} & {
|
|
1993
|
+
api: {
|
|
1994
|
+
"agent-runs": {
|
|
1995
|
+
":runId": {
|
|
1996
|
+
cancel: {
|
|
1997
|
+
post: {
|
|
1998
|
+
body: unknown;
|
|
1999
|
+
params: {
|
|
2000
|
+
runId: string;
|
|
2001
|
+
};
|
|
2002
|
+
query: unknown;
|
|
2003
|
+
headers: unknown;
|
|
2004
|
+
response: {
|
|
2005
|
+
200: {
|
|
2006
|
+
run: {
|
|
2007
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2008
|
+
projectId: string;
|
|
2009
|
+
id: string;
|
|
2010
|
+
kind: "conversation" | "subagent";
|
|
2011
|
+
threadId: string;
|
|
2012
|
+
createdAt: string;
|
|
2013
|
+
attempt: number;
|
|
2014
|
+
triggerMessageId: string;
|
|
2015
|
+
streamId: string;
|
|
2016
|
+
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
2017
|
+
requestedBy?: {
|
|
2018
|
+
id: string;
|
|
2019
|
+
type: "user" | "serviceAccount";
|
|
2020
|
+
} | undefined;
|
|
2021
|
+
model?: {
|
|
2022
|
+
modelId: string;
|
|
2023
|
+
provider: string;
|
|
2024
|
+
} | undefined;
|
|
2025
|
+
modelId?: string | undefined;
|
|
2026
|
+
startedAt?: string | undefined;
|
|
2027
|
+
completedAt?: string | undefined;
|
|
2028
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
2029
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
2030
|
+
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2031
|
+
budgetTokens: number;
|
|
2032
|
+
} | undefined;
|
|
2033
|
+
usage?: {
|
|
2034
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2035
|
+
inputTokens?: number | undefined;
|
|
2036
|
+
outputTokens?: number | undefined;
|
|
2037
|
+
totalTokens?: number | undefined;
|
|
2038
|
+
uncachedInputTokens?: number | undefined;
|
|
2039
|
+
cacheReadInputTokens?: number | undefined;
|
|
2040
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2041
|
+
textOutputTokens?: number | undefined;
|
|
2042
|
+
reasoningOutputTokens?: number | undefined;
|
|
2043
|
+
audioDurationMs?: number | undefined;
|
|
2044
|
+
imageOutputTokens?: number | undefined;
|
|
2045
|
+
audioOutputTokens?: number | undefined;
|
|
2046
|
+
outputImages?: number | undefined;
|
|
2047
|
+
inputCharacters?: number | undefined;
|
|
2048
|
+
} | undefined;
|
|
2049
|
+
cost?: {
|
|
2050
|
+
amounts: {
|
|
2051
|
+
currency: string;
|
|
2052
|
+
amountNanos: string;
|
|
2053
|
+
}[];
|
|
2054
|
+
ratedCallCount: number;
|
|
2055
|
+
unpriceableCallCount: number;
|
|
2056
|
+
unvaluedCallCount: number;
|
|
2057
|
+
} | undefined;
|
|
2058
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
2059
|
+
parentRunId?: string | undefined;
|
|
2060
|
+
diagnostics?: {
|
|
2061
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
2062
|
+
message: string;
|
|
2063
|
+
severity: "error" | "warning";
|
|
2064
|
+
scope: "run";
|
|
2065
|
+
}[] | undefined;
|
|
2066
|
+
};
|
|
2067
|
+
} | {
|
|
2068
|
+
readonly error: string;
|
|
2069
|
+
readonly code: AgentRequestErrorCode;
|
|
2070
|
+
} | {
|
|
2071
|
+
error: string;
|
|
2072
|
+
};
|
|
2073
|
+
404: {
|
|
2074
|
+
error: string;
|
|
2075
|
+
};
|
|
2076
|
+
403: {
|
|
2077
|
+
error: string;
|
|
2078
|
+
code?: string | undefined;
|
|
2079
|
+
};
|
|
2080
|
+
409: {
|
|
2081
|
+
error: string;
|
|
2082
|
+
code?: string | undefined;
|
|
2083
|
+
};
|
|
2084
|
+
400: {
|
|
2085
|
+
error: string;
|
|
2086
|
+
code?: string | undefined;
|
|
2087
|
+
};
|
|
2088
|
+
501: {
|
|
2089
|
+
error: string;
|
|
2090
|
+
};
|
|
2091
|
+
202: {
|
|
2092
|
+
run: {
|
|
2093
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
2094
|
+
projectId: string;
|
|
2095
|
+
id: string;
|
|
2096
|
+
kind: "conversation" | "subagent";
|
|
2097
|
+
threadId: string;
|
|
2098
|
+
createdAt: string;
|
|
2099
|
+
attempt: number;
|
|
2100
|
+
triggerMessageId: string;
|
|
2101
|
+
streamId: string;
|
|
2102
|
+
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
2103
|
+
requestedBy?: {
|
|
2104
|
+
id: string;
|
|
2105
|
+
type: "user" | "serviceAccount";
|
|
2106
|
+
} | undefined;
|
|
2107
|
+
model?: {
|
|
2108
|
+
modelId: string;
|
|
2109
|
+
provider: string;
|
|
2110
|
+
} | undefined;
|
|
2111
|
+
modelId?: string | undefined;
|
|
2112
|
+
startedAt?: string | undefined;
|
|
2113
|
+
completedAt?: string | undefined;
|
|
2114
|
+
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
2115
|
+
tier?: "light" | "standard" | "heavy" | undefined;
|
|
2116
|
+
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
2117
|
+
budgetTokens: number;
|
|
2118
|
+
} | undefined;
|
|
2119
|
+
usage?: {
|
|
2120
|
+
reportingStatus: "partial" | "complete" | "unavailable";
|
|
2121
|
+
inputTokens?: number | undefined;
|
|
2122
|
+
outputTokens?: number | undefined;
|
|
2123
|
+
totalTokens?: number | undefined;
|
|
2124
|
+
uncachedInputTokens?: number | undefined;
|
|
2125
|
+
cacheReadInputTokens?: number | undefined;
|
|
2126
|
+
cacheWriteInputTokens?: number | undefined;
|
|
2127
|
+
textOutputTokens?: number | undefined;
|
|
2128
|
+
reasoningOutputTokens?: number | undefined;
|
|
2129
|
+
audioDurationMs?: number | undefined;
|
|
2130
|
+
imageOutputTokens?: number | undefined;
|
|
2131
|
+
audioOutputTokens?: number | undefined;
|
|
2132
|
+
outputImages?: number | undefined;
|
|
2133
|
+
inputCharacters?: number | undefined;
|
|
2134
|
+
} | undefined;
|
|
2135
|
+
cost?: {
|
|
2136
|
+
amounts: {
|
|
2137
|
+
currency: string;
|
|
2138
|
+
amountNanos: string;
|
|
2139
|
+
}[];
|
|
2140
|
+
ratedCallCount: number;
|
|
2141
|
+
unpriceableCallCount: number;
|
|
2142
|
+
unvaluedCallCount: number;
|
|
2143
|
+
} | undefined;
|
|
2144
|
+
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
2145
|
+
parentRunId?: string | undefined;
|
|
2146
|
+
diagnostics?: {
|
|
2147
|
+
code: "step_limit_reached" | "output_limit_reached";
|
|
2148
|
+
message: string;
|
|
2149
|
+
severity: "error" | "warning";
|
|
2150
|
+
scope: "run";
|
|
2151
|
+
}[] | undefined;
|
|
2152
|
+
};
|
|
2153
|
+
};
|
|
2154
|
+
422: {
|
|
2155
|
+
type: "validation";
|
|
2156
|
+
on: string;
|
|
2157
|
+
summary?: string;
|
|
2158
|
+
message?: string;
|
|
2159
|
+
found?: unknown;
|
|
2160
|
+
property?: string;
|
|
2161
|
+
expected?: string;
|
|
2162
|
+
};
|
|
2163
|
+
};
|
|
2164
|
+
};
|
|
2165
|
+
};
|
|
2166
|
+
};
|
|
2167
|
+
};
|
|
2168
|
+
};
|
|
1250
2169
|
}, {
|
|
1251
2170
|
derive: {};
|
|
1252
2171
|
resolve: {};
|