@vantageos/agent-engine 0.1.0-alpha.8 → 0.3.0-alpha.1
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/README.md +33 -8
- package/dist/component/_generated/api.d.ts +14 -3
- package/dist/component/_generated/api.js +0 -25
- package/dist/component/_generated/component.d.ts +369 -73
- package/dist/component/_generated/component.js +0 -9
- package/dist/component/_generated/dataModel.js +0 -9
- package/dist/component/_generated/server.js +0 -69
- package/dist/component/convex.config.js +0 -44
- package/dist/component/engine/agents.d.ts +3 -3
- package/dist/component/engine/agents.js +0 -7
- package/dist/component/engine/awaitEventTimeout.d.ts +1 -1
- package/dist/component/engine/awaitEventTimeout.js +16 -26
- package/dist/component/engine/connections.d.ts +74 -0
- package/dist/component/engine/connections.js +254 -0
- package/dist/component/engine/delegation.d.ts +5 -5
- package/dist/component/engine/delegation.js +0 -74
- package/dist/component/engine/directory.js +0 -18
- package/dist/component/engine/durableJob.d.ts +24 -17
- package/dist/component/engine/durableJob.js +182 -138
- package/dist/component/engine/mandates.d.ts +2 -2
- package/dist/component/engine/mandates.js +0 -59
- package/dist/component/engine/queue.d.ts +97 -0
- package/dist/component/engine/queue.js +201 -0
- package/dist/component/engine/resolvers.d.ts +1 -1
- package/dist/component/engine/resolvers.js +6 -18
- package/dist/component/engine/sandboxCallback.d.ts +2 -2
- package/dist/component/engine/sandboxCallback.js +2 -79
- package/dist/component/engine/sandboxConfigProvider.d.ts +9 -0
- package/dist/component/engine/sandboxConfigProvider.js +32 -0
- package/dist/component/engine/sessions.d.ts +28 -10
- package/dist/component/engine/sessions.js +130 -170
- package/dist/component/engine/streams.d.ts +47 -0
- package/dist/component/engine/streams.js +162 -0
- package/dist/component/engine/toolApprovals.d.ts +1 -1
- package/dist/component/engine/toolApprovals.js +12 -37
- package/dist/component/engine/vpConnection.js +0 -40
- package/dist/component/engine/wakeup.d.ts +7 -9
- package/dist/component/engine/wakeup.js +54 -127
- package/dist/component/engine/workflows.d.ts +26 -8
- package/dist/component/engine/workflows.js +59 -64
- package/dist/component/engine/world.d.ts +250 -0
- package/dist/component/engine/world.js +689 -0
- package/dist/component/lib/auth.js +0 -26
- package/dist/component/lib/connectionSecret.d.ts +5 -0
- package/dist/component/lib/connectionSecret.js +32 -0
- package/dist/component/schema.d.ts +240 -175
- package/dist/component/schema.js +134 -294
- package/package.json +21 -6
- package/dist/component/engine/habits.d.ts +0 -70
- package/dist/component/engine/habits.js +0 -218
- package/dist/component/testFixtures/callerSteps.d.ts +0 -20
- package/dist/component/testFixtures/callerSteps.js +0 -90
- package/dist/component/testFixtures/delegationDemoWorkflow.d.ts +0 -18
- package/dist/component/testFixtures/delegationDemoWorkflow.js +0 -75
- package/dist/component/testFixtures/sandboxDemoWorkflow.d.ts +0 -19
- package/dist/component/testFixtures/sandboxDemoWorkflow.js +0 -69
- package/dist/component/testFixtures/vpTool.d.ts +0 -4
- package/dist/component/testFixtures/vpTool.js +0 -25
- package/dist/component/testFixtures/wakeupDemoWorkflow.d.ts +0 -19
- package/dist/component/testFixtures/wakeupDemoWorkflow.js +0 -77
- package/dist/component/testFixtures/wakeupWork.d.ts +0 -8
- package/dist/component/testFixtures/wakeupWork.js +0 -21
|
@@ -1,50 +1,4 @@
|
|
|
1
1
|
declare const _default: import("convex/server").SchemaDefinition<{
|
|
2
|
-
durableJobs: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
3
|
-
workflowId?: string | undefined;
|
|
4
|
-
lastError?: string | undefined;
|
|
5
|
-
abandonedAtStep?: number | undefined;
|
|
6
|
-
orgId: string;
|
|
7
|
-
stepFunctionHandle: string;
|
|
8
|
-
totalSteps: number;
|
|
9
|
-
maxAttemptsPerStep: number;
|
|
10
|
-
cursor: number;
|
|
11
|
-
status: "running" | "completed" | "abandoned" | "cancelled";
|
|
12
|
-
workflowVersion: string;
|
|
13
|
-
createdAt: number;
|
|
14
|
-
updatedAt: number;
|
|
15
|
-
kind: string;
|
|
16
|
-
}, {
|
|
17
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
18
|
-
kind: import("convex/values").VString<string, "required">;
|
|
19
|
-
stepFunctionHandle: import("convex/values").VString<string, "required">;
|
|
20
|
-
totalSteps: import("convex/values").VFloat64<number, "required">;
|
|
21
|
-
maxAttemptsPerStep: import("convex/values").VFloat64<number, "required">;
|
|
22
|
-
cursor: import("convex/values").VFloat64<number, "required">;
|
|
23
|
-
status: import("convex/values").VUnion<"running" | "completed" | "abandoned" | "cancelled", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"abandoned", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
24
|
-
workflowId: import("convex/values").VString<string | undefined, "optional">;
|
|
25
|
-
workflowVersion: import("convex/values").VString<string, "required">;
|
|
26
|
-
lastError: import("convex/values").VString<string | undefined, "optional">;
|
|
27
|
-
abandonedAtStep: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
28
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
29
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
30
|
-
}, "required", "orgId" | "stepFunctionHandle" | "totalSteps" | "maxAttemptsPerStep" | "cursor" | "status" | "workflowId" | "workflowVersion" | "lastError" | "abandonedAtStep" | "createdAt" | "updatedAt" | "kind">, {
|
|
31
|
-
by_org: ["orgId", "_creationTime"];
|
|
32
|
-
by_org_status: ["orgId", "status", "_creationTime"];
|
|
33
|
-
}, {}, {}>;
|
|
34
|
-
callerStepInvocations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
35
|
-
orgId: string;
|
|
36
|
-
createdAt: number;
|
|
37
|
-
jobId: import("convex/values").GenericId<"durableJobs">;
|
|
38
|
-
stepIndex: number;
|
|
39
|
-
}, {
|
|
40
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
41
|
-
jobId: import("convex/values").VId<import("convex/values").GenericId<"durableJobs">, "required">;
|
|
42
|
-
stepIndex: import("convex/values").VFloat64<number, "required">;
|
|
43
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
44
|
-
}, "required", "orgId" | "createdAt" | "jobId" | "stepIndex">, {
|
|
45
|
-
by_org: ["orgId", "_creationTime"];
|
|
46
|
-
by_org_job: ["orgId", "jobId", "_creationTime"];
|
|
47
|
-
}, {}, {}>;
|
|
48
2
|
agents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
49
3
|
description?: string | undefined;
|
|
50
4
|
reasoningEffort?: "none" | "low" | "medium" | "high" | undefined;
|
|
@@ -53,12 +7,12 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
53
7
|
maxInputTokensPerSession?: number | false | undefined;
|
|
54
8
|
name: string;
|
|
55
9
|
orgId: string;
|
|
56
|
-
status: "draft" | "live" | "archived";
|
|
57
|
-
createdAt: number;
|
|
58
|
-
updatedAt: number;
|
|
59
10
|
instructions: string;
|
|
60
11
|
model: string;
|
|
12
|
+
status: "draft" | "live" | "archived";
|
|
61
13
|
createdBy: string;
|
|
14
|
+
createdAt: number;
|
|
15
|
+
updatedAt: number;
|
|
62
16
|
}, {
|
|
63
17
|
orgId: import("convex/values").VString<string, "required">;
|
|
64
18
|
name: import("convex/values").VString<string, "required">;
|
|
@@ -73,7 +27,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
73
27
|
createdBy: import("convex/values").VString<string, "required">;
|
|
74
28
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
75
29
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
76
|
-
}, "required", "description" | "name" | "orgId" | "
|
|
30
|
+
}, "required", "description" | "name" | "orgId" | "instructions" | "model" | "reasoningEffort" | "modelProvider" | "maxSubagents" | "maxInputTokensPerSession" | "status" | "createdBy" | "createdAt" | "updatedAt">, {
|
|
77
31
|
by_org: ["orgId", "_creationTime"];
|
|
78
32
|
by_org_status: ["orgId", "status", "_creationTime"];
|
|
79
33
|
}, {}, {}>;
|
|
@@ -96,89 +50,31 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
96
50
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
97
51
|
by_org_agent_tool: ["orgId", "agentId", "toolName", "_creationTime"];
|
|
98
52
|
}, {}, {}>;
|
|
99
|
-
sessions: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
100
|
-
workflowId?: string | undefined;
|
|
101
|
-
workflowVersion?: string | undefined;
|
|
102
|
-
orgId: string;
|
|
103
|
-
status: "running" | "completed" | "cancelled";
|
|
104
|
-
createdAt: number;
|
|
105
|
-
updatedAt: number;
|
|
106
|
-
createdBy: string;
|
|
107
|
-
agentId: import("convex/values").GenericId<"agents">;
|
|
108
|
-
}, {
|
|
109
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
110
|
-
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
111
|
-
status: import("convex/values").VUnion<"running" | "completed" | "cancelled", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
112
|
-
createdBy: import("convex/values").VString<string, "required">;
|
|
113
|
-
workflowId: import("convex/values").VString<string | undefined, "optional">;
|
|
114
|
-
workflowVersion: import("convex/values").VString<string | undefined, "optional">;
|
|
115
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
116
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
117
|
-
}, "required", "orgId" | "status" | "workflowId" | "workflowVersion" | "createdAt" | "updatedAt" | "createdBy" | "agentId">, {
|
|
118
|
-
by_org: ["orgId", "_creationTime"];
|
|
119
|
-
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
120
|
-
}, {}, {}>;
|
|
121
|
-
sessionEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
122
|
-
payload?: string | undefined;
|
|
123
|
-
name: "session.started" | "turn.started" | "turn.reasoning" | "turn.toolCall.requested" | "turn.toolCall.completed" | "turn.toolCall.denied" | "turn.completed" | "tool.approval.requested" | "tool.approval.resolved" | "sandbox.timeout";
|
|
124
|
-
orgId: string;
|
|
125
|
-
createdAt: number;
|
|
126
|
-
sessionId: import("convex/values").GenericId<"sessions">;
|
|
127
|
-
}, {
|
|
128
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
129
|
-
sessionId: import("convex/values").VId<import("convex/values").GenericId<"sessions">, "required">;
|
|
130
|
-
name: import("convex/values").VUnion<"session.started" | "turn.started" | "turn.reasoning" | "turn.toolCall.requested" | "turn.toolCall.completed" | "turn.toolCall.denied" | "turn.completed" | "tool.approval.requested" | "tool.approval.resolved" | "sandbox.timeout", [import("convex/values").VLiteral<"session.started", "required">, import("convex/values").VLiteral<"turn.started", "required">, import("convex/values").VLiteral<"turn.reasoning", "required">, import("convex/values").VLiteral<"turn.toolCall.requested", "required">, import("convex/values").VLiteral<"turn.toolCall.completed", "required">, import("convex/values").VLiteral<"turn.toolCall.denied", "required">, import("convex/values").VLiteral<"turn.completed", "required">, import("convex/values").VLiteral<"tool.approval.requested", "required">, import("convex/values").VLiteral<"tool.approval.resolved", "required">, import("convex/values").VLiteral<"sandbox.timeout", "required">], "required", never>;
|
|
131
|
-
payload: import("convex/values").VString<string | undefined, "optional">;
|
|
132
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
133
|
-
}, "required", "name" | "orgId" | "createdAt" | "sessionId" | "payload">, {
|
|
134
|
-
by_org: ["orgId", "_creationTime"];
|
|
135
|
-
by_org_session: ["orgId", "sessionId", "_creationTime"];
|
|
136
|
-
}, {}, {}>;
|
|
137
|
-
wakeableWork: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
138
|
-
resultSummary?: string | undefined;
|
|
139
|
-
orgId: string;
|
|
140
|
-
status: "completed" | "cancelled" | "pending" | "failed";
|
|
141
|
-
workflowId: string;
|
|
142
|
-
createdAt: number;
|
|
143
|
-
updatedAt: number;
|
|
144
|
-
awaitedEventName: string;
|
|
145
|
-
workId: string;
|
|
146
|
-
}, {
|
|
147
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
148
|
-
workflowId: import("convex/values").VString<string, "required">;
|
|
149
|
-
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
150
|
-
workId: import("convex/values").VString<string, "required">;
|
|
151
|
-
status: import("convex/values").VUnion<"completed" | "cancelled" | "pending" | "failed", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
152
|
-
resultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
153
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
154
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
155
|
-
}, "required", "orgId" | "status" | "workflowId" | "createdAt" | "updatedAt" | "awaitedEventName" | "workId" | "resultSummary">, {
|
|
156
|
-
by_org: ["orgId", "_creationTime"];
|
|
157
|
-
by_org_workflow: ["orgId", "workflowId", "_creationTime"];
|
|
158
|
-
}, {}, {}>;
|
|
159
53
|
awaitEventTimeouts: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
54
|
+
runId?: string | undefined;
|
|
55
|
+
sessionId?: string | undefined;
|
|
160
56
|
scheduledFunctionId?: import("convex/values").GenericId<"_scheduled_functions"> | undefined;
|
|
161
57
|
firedAt?: number | undefined;
|
|
162
58
|
cancelledAt?: number | undefined;
|
|
163
59
|
orgId: string;
|
|
164
|
-
sessionId: import("convex/values").GenericId<"sessions">;
|
|
165
60
|
awaitedEventName: string;
|
|
166
61
|
deadlineAt: number;
|
|
167
62
|
}, {
|
|
168
63
|
orgId: import("convex/values").VString<string, "required">;
|
|
169
|
-
|
|
64
|
+
runId: import("convex/values").VString<string | undefined, "optional">;
|
|
65
|
+
sessionId: import("convex/values").VString<string | undefined, "optional">;
|
|
170
66
|
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
171
67
|
deadlineAt: import("convex/values").VFloat64<number, "required">;
|
|
172
68
|
scheduledFunctionId: import("convex/values").VId<import("convex/values").GenericId<"_scheduled_functions"> | undefined, "optional">;
|
|
173
69
|
firedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
174
70
|
cancelledAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
175
|
-
}, "required", "orgId" | "sessionId" | "awaitedEventName" | "deadlineAt" | "scheduledFunctionId" | "firedAt" | "cancelledAt">, {
|
|
71
|
+
}, "required", "orgId" | "runId" | "sessionId" | "awaitedEventName" | "deadlineAt" | "scheduledFunctionId" | "firedAt" | "cancelledAt">, {
|
|
176
72
|
by_org: ["orgId", "_creationTime"];
|
|
177
|
-
|
|
73
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
178
74
|
}, {}, {}>;
|
|
179
75
|
wakeupDemoResults: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
180
76
|
wokenAt?: number | undefined;
|
|
181
|
-
observedStatus?: "completed" | "
|
|
77
|
+
observedStatus?: "completed" | "failed" | "cancelled" | undefined;
|
|
182
78
|
observedResultSummary?: string | undefined;
|
|
183
79
|
orgId: string;
|
|
184
80
|
enqueuedAt: number;
|
|
@@ -186,7 +82,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
186
82
|
orgId: import("convex/values").VString<string, "required">;
|
|
187
83
|
enqueuedAt: import("convex/values").VFloat64<number, "required">;
|
|
188
84
|
wokenAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
189
|
-
observedStatus: import("convex/values").VUnion<"completed" | "
|
|
85
|
+
observedStatus: import("convex/values").VUnion<"completed" | "failed" | "cancelled" | undefined, [import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "optional", never>;
|
|
190
86
|
observedResultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
191
87
|
}, "required", "orgId" | "enqueuedAt" | "wokenAt" | "observedStatus" | "observedResultSummary">, {
|
|
192
88
|
by_org: ["orgId", "_creationTime"];
|
|
@@ -196,11 +92,11 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
196
92
|
orgId: string;
|
|
197
93
|
createdAt: number;
|
|
198
94
|
updatedAt: number;
|
|
199
|
-
kind: "token bucket" | "fixed window";
|
|
200
95
|
agentId: import("convex/values").GenericId<"agents">;
|
|
201
96
|
scope: string;
|
|
202
97
|
rate: number;
|
|
203
98
|
period: number;
|
|
99
|
+
kind: "token bucket" | "fixed window";
|
|
204
100
|
}, {
|
|
205
101
|
orgId: import("convex/values").VString<string, "required">;
|
|
206
102
|
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
@@ -211,7 +107,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
211
107
|
capacity: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
212
108
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
213
109
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
214
|
-
}, "required", "orgId" | "createdAt" | "updatedAt" | "
|
|
110
|
+
}, "required", "orgId" | "createdAt" | "updatedAt" | "agentId" | "scope" | "rate" | "period" | "capacity" | "kind">, {
|
|
215
111
|
by_org: ["orgId", "_creationTime"];
|
|
216
112
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
217
113
|
by_org_agent_scope: ["orgId", "agentId", "scope", "_creationTime"];
|
|
@@ -241,89 +137,51 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
241
137
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
242
138
|
by_org_status: ["orgId", "status", "_creationTime"];
|
|
243
139
|
}, {}, {}>;
|
|
244
|
-
habits: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
245
|
-
cronJobId?: string | undefined;
|
|
246
|
-
lastRunAt?: number | undefined;
|
|
247
|
-
name: string;
|
|
248
|
-
orgId: string;
|
|
249
|
-
createdAt: number;
|
|
250
|
-
updatedAt: number;
|
|
251
|
-
agentId: import("convex/values").GenericId<"agents">;
|
|
252
|
-
cronExpression: string;
|
|
253
|
-
prompt: string;
|
|
254
|
-
enabled: boolean;
|
|
255
|
-
}, {
|
|
256
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
257
|
-
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
258
|
-
name: import("convex/values").VString<string, "required">;
|
|
259
|
-
cronExpression: import("convex/values").VString<string, "required">;
|
|
260
|
-
prompt: import("convex/values").VString<string, "required">;
|
|
261
|
-
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
262
|
-
cronJobId: import("convex/values").VString<string | undefined, "optional">;
|
|
263
|
-
lastRunAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
264
|
-
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
265
|
-
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
266
|
-
}, "required", "name" | "orgId" | "createdAt" | "updatedAt" | "agentId" | "cronExpression" | "prompt" | "enabled" | "cronJobId" | "lastRunAt">, {
|
|
267
|
-
by_org: ["orgId", "_creationTime"];
|
|
268
|
-
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
269
|
-
}, {}, {}>;
|
|
270
|
-
habitRuns: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
271
|
-
orgId: string;
|
|
272
|
-
agentId: import("convex/values").GenericId<"agents">;
|
|
273
|
-
habitId: import("convex/values").GenericId<"habits">;
|
|
274
|
-
ranAt: number;
|
|
275
|
-
}, {
|
|
276
|
-
orgId: import("convex/values").VString<string, "required">;
|
|
277
|
-
habitId: import("convex/values").VId<import("convex/values").GenericId<"habits">, "required">;
|
|
278
|
-
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
279
|
-
ranAt: import("convex/values").VFloat64<number, "required">;
|
|
280
|
-
}, "required", "orgId" | "agentId" | "habitId" | "ranAt">, {
|
|
281
|
-
by_org: ["orgId", "_creationTime"];
|
|
282
|
-
by_org_habit: ["orgId", "habitId", "_creationTime"];
|
|
283
|
-
}, {}, {}>;
|
|
284
140
|
sandboxConfig: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
285
141
|
image?: string | undefined;
|
|
142
|
+
boxId?: string | undefined;
|
|
286
143
|
orgId: string;
|
|
287
144
|
createdAt: number;
|
|
288
145
|
updatedAt: number;
|
|
289
146
|
agentId: import("convex/values").GenericId<"agents">;
|
|
290
|
-
provider: "vercel-sandbox";
|
|
147
|
+
provider: "vercel-sandbox" | "e2b" | "daytona" | "box";
|
|
291
148
|
timeoutSeconds: number;
|
|
292
149
|
egressPolicy: "allow-all" | "deny-all-allowlist";
|
|
293
150
|
allowlistDomains: string[];
|
|
294
151
|
}, {
|
|
295
152
|
orgId: import("convex/values").VString<string, "required">;
|
|
296
153
|
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
297
|
-
provider: import("convex/values").VLiteral<"vercel-sandbox", "required">;
|
|
154
|
+
provider: import("convex/values").VUnion<"vercel-sandbox" | "e2b" | "daytona" | "box", [import("convex/values").VLiteral<"vercel-sandbox", "required">, import("convex/values").VLiteral<"e2b", "required">, import("convex/values").VLiteral<"daytona", "required">, import("convex/values").VLiteral<"box", "required">], "required", never>;
|
|
298
155
|
image: import("convex/values").VString<string | undefined, "optional">;
|
|
299
156
|
timeoutSeconds: import("convex/values").VFloat64<number, "required">;
|
|
300
157
|
egressPolicy: import("convex/values").VUnion<"allow-all" | "deny-all-allowlist", [import("convex/values").VLiteral<"allow-all", "required">, import("convex/values").VLiteral<"deny-all-allowlist", "required">], "required", never>;
|
|
301
158
|
allowlistDomains: import("convex/values").VArray<string[], import("convex/values").VString<string, "required">, "required">;
|
|
159
|
+
boxId: import("convex/values").VString<string | undefined, "optional">;
|
|
302
160
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
303
161
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
304
|
-
}, "required", "orgId" | "createdAt" | "updatedAt" | "agentId" | "provider" | "image" | "timeoutSeconds" | "egressPolicy" | "allowlistDomains">, {
|
|
162
|
+
}, "required", "orgId" | "createdAt" | "updatedAt" | "agentId" | "provider" | "image" | "timeoutSeconds" | "egressPolicy" | "allowlistDomains" | "boxId">, {
|
|
305
163
|
by_org: ["orgId", "_creationTime"];
|
|
306
164
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
307
165
|
}, {}, {}>;
|
|
308
166
|
sandboxRuns: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
309
167
|
resultSummary?: string | undefined;
|
|
310
168
|
orgId: string;
|
|
311
|
-
status: "completed" | "
|
|
312
|
-
workflowId: string;
|
|
169
|
+
status: "completed" | "failed" | "pending" | "timedOut";
|
|
313
170
|
createdAt: number;
|
|
314
171
|
updatedAt: number;
|
|
315
172
|
awaitedEventName: string;
|
|
173
|
+
workflowId: string;
|
|
316
174
|
sandboxId: string;
|
|
317
175
|
}, {
|
|
318
176
|
orgId: import("convex/values").VString<string, "required">;
|
|
319
177
|
workflowId: import("convex/values").VString<string, "required">;
|
|
320
178
|
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
321
179
|
sandboxId: import("convex/values").VString<string, "required">;
|
|
322
|
-
status: import("convex/values").VUnion<"completed" | "
|
|
180
|
+
status: import("convex/values").VUnion<"completed" | "failed" | "pending" | "timedOut", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"timedOut", "required">], "required", never>;
|
|
323
181
|
resultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
324
182
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
325
183
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
326
|
-
}, "required", "orgId" | "status" | "
|
|
184
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "awaitedEventName" | "workflowId" | "sandboxId" | "resultSummary">, {
|
|
327
185
|
by_org: ["orgId", "_creationTime"];
|
|
328
186
|
by_org_workflow: ["orgId", "workflowId", "_creationTime"];
|
|
329
187
|
by_org_sandbox: ["orgId", "sandboxId", "_creationTime"];
|
|
@@ -365,9 +223,9 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
365
223
|
orgId: string;
|
|
366
224
|
createdAt: number;
|
|
367
225
|
toolName: string;
|
|
368
|
-
enabled: boolean;
|
|
369
226
|
parentAgentId: import("convex/values").GenericId<"agents">;
|
|
370
227
|
childAgentId: import("convex/values").GenericId<"agents">;
|
|
228
|
+
enabled: boolean;
|
|
371
229
|
}, {
|
|
372
230
|
orgId: import("convex/values").VString<string, "required">;
|
|
373
231
|
parentAgentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
@@ -376,7 +234,7 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
376
234
|
description: import("convex/values").VString<string | undefined, "optional">;
|
|
377
235
|
enabled: import("convex/values").VBoolean<boolean, "required">;
|
|
378
236
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
379
|
-
}, "required", "description" | "orgId" | "createdAt" | "toolName" | "
|
|
237
|
+
}, "required", "description" | "orgId" | "createdAt" | "toolName" | "parentAgentId" | "childAgentId" | "enabled">, {
|
|
380
238
|
by_org: ["orgId", "_creationTime"];
|
|
381
239
|
by_org_parent: ["orgId", "parentAgentId", "_creationTime"];
|
|
382
240
|
by_org_child: ["orgId", "childAgentId", "_creationTime"];
|
|
@@ -385,12 +243,12 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
385
243
|
delegationRuns: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
386
244
|
resultSummary?: string | undefined;
|
|
387
245
|
orgId: string;
|
|
388
|
-
status: "completed" | "
|
|
389
|
-
workflowId: string;
|
|
246
|
+
status: "completed" | "failed" | "cancelled" | "pending";
|
|
390
247
|
createdAt: number;
|
|
391
248
|
updatedAt: number;
|
|
392
249
|
toolName: string;
|
|
393
250
|
awaitedEventName: string;
|
|
251
|
+
workflowId: string;
|
|
394
252
|
parentAgentId: import("convex/values").GenericId<"agents">;
|
|
395
253
|
childAgentId: import("convex/values").GenericId<"agents">;
|
|
396
254
|
}, {
|
|
@@ -400,11 +258,11 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
400
258
|
toolName: import("convex/values").VString<string, "required">;
|
|
401
259
|
workflowId: import("convex/values").VString<string, "required">;
|
|
402
260
|
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
403
|
-
status: import("convex/values").VUnion<"completed" | "
|
|
261
|
+
status: import("convex/values").VUnion<"completed" | "failed" | "cancelled" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
404
262
|
resultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
405
263
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
406
264
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
407
|
-
}, "required", "orgId" | "status" | "
|
|
265
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "toolName" | "awaitedEventName" | "workflowId" | "resultSummary" | "parentAgentId" | "childAgentId">, {
|
|
408
266
|
by_org: ["orgId", "_creationTime"];
|
|
409
267
|
by_org_parent: ["orgId", "parentAgentId", "_creationTime"];
|
|
410
268
|
by_org_workflow: ["orgId", "workflowId", "_creationTime"];
|
|
@@ -413,22 +271,22 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
413
271
|
agentCloneRuns: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
414
272
|
resultSummary?: string | undefined;
|
|
415
273
|
orgId: string;
|
|
416
|
-
status: "completed" | "
|
|
417
|
-
workflowId: string;
|
|
274
|
+
status: "completed" | "failed" | "cancelled" | "pending";
|
|
418
275
|
createdAt: number;
|
|
419
276
|
updatedAt: number;
|
|
420
277
|
agentId: import("convex/values").GenericId<"agents">;
|
|
421
278
|
awaitedEventName: string;
|
|
279
|
+
workflowId: string;
|
|
422
280
|
}, {
|
|
423
281
|
orgId: import("convex/values").VString<string, "required">;
|
|
424
282
|
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
425
283
|
workflowId: import("convex/values").VString<string, "required">;
|
|
426
284
|
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
427
|
-
status: import("convex/values").VUnion<"completed" | "
|
|
285
|
+
status: import("convex/values").VUnion<"completed" | "failed" | "cancelled" | "pending", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
428
286
|
resultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
429
287
|
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
430
288
|
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
431
|
-
}, "required", "orgId" | "status" | "
|
|
289
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "agentId" | "awaitedEventName" | "workflowId" | "resultSummary">, {
|
|
432
290
|
by_org: ["orgId", "_creationTime"];
|
|
433
291
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
434
292
|
}, {}, {}>;
|
|
@@ -468,6 +326,62 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
468
326
|
by_org: ["orgId", "_creationTime"];
|
|
469
327
|
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
470
328
|
}, {}, {}>;
|
|
329
|
+
connections: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
330
|
+
encryptedSecretCiphertext?: string | undefined;
|
|
331
|
+
encryptedSecretIv?: string | undefined;
|
|
332
|
+
name: string;
|
|
333
|
+
orgId: string;
|
|
334
|
+
type: "mcp" | "openapi";
|
|
335
|
+
status: "active" | "pending_authorization" | "error";
|
|
336
|
+
createdAt: number;
|
|
337
|
+
updatedAt: number;
|
|
338
|
+
agentId: import("convex/values").GenericId<"agents">;
|
|
339
|
+
serverConfig: string;
|
|
340
|
+
authMode: "none" | "app-token" | "user-oauth" | "header";
|
|
341
|
+
}, {
|
|
342
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
343
|
+
agentId: import("convex/values").VId<import("convex/values").GenericId<"agents">, "required">;
|
|
344
|
+
type: import("convex/values").VUnion<"mcp" | "openapi", [import("convex/values").VLiteral<"mcp", "required">, import("convex/values").VLiteral<"openapi", "required">], "required", never>;
|
|
345
|
+
name: import("convex/values").VString<string, "required">;
|
|
346
|
+
serverConfig: import("convex/values").VString<string, "required">;
|
|
347
|
+
authMode: import("convex/values").VUnion<"none" | "app-token" | "user-oauth" | "header", [import("convex/values").VLiteral<"app-token", "required">, import("convex/values").VLiteral<"user-oauth", "required">, import("convex/values").VLiteral<"none", "required">, import("convex/values").VLiteral<"header", "required">], "required", never>;
|
|
348
|
+
encryptedSecretCiphertext: import("convex/values").VString<string | undefined, "optional">;
|
|
349
|
+
encryptedSecretIv: import("convex/values").VString<string | undefined, "optional">;
|
|
350
|
+
status: import("convex/values").VUnion<"active" | "pending_authorization" | "error", [import("convex/values").VLiteral<"active", "required">, import("convex/values").VLiteral<"pending_authorization", "required">, import("convex/values").VLiteral<"error", "required">], "required", never>;
|
|
351
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
352
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
353
|
+
}, "required", "name" | "orgId" | "type" | "status" | "createdAt" | "updatedAt" | "agentId" | "serverConfig" | "authMode" | "encryptedSecretCiphertext" | "encryptedSecretIv">, {
|
|
354
|
+
by_org: ["orgId", "_creationTime"];
|
|
355
|
+
by_org_agent: ["orgId", "agentId", "_creationTime"];
|
|
356
|
+
}, {}, {}>;
|
|
357
|
+
connectionAuthorizations: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
358
|
+
resolvedAt?: number | undefined;
|
|
359
|
+
resultSummary?: string | undefined;
|
|
360
|
+
orgId: string;
|
|
361
|
+
status: "pending" | "denied" | "authorized";
|
|
362
|
+
createdAt: number;
|
|
363
|
+
updatedAt: number;
|
|
364
|
+
awaitedEventName: string;
|
|
365
|
+
workflowId: string;
|
|
366
|
+
connectionId: import("convex/values").GenericId<"connections">;
|
|
367
|
+
url: string;
|
|
368
|
+
userCode: string;
|
|
369
|
+
}, {
|
|
370
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
371
|
+
connectionId: import("convex/values").VId<import("convex/values").GenericId<"connections">, "required">;
|
|
372
|
+
workflowId: import("convex/values").VString<string, "required">;
|
|
373
|
+
awaitedEventName: import("convex/values").VString<string, "required">;
|
|
374
|
+
url: import("convex/values").VString<string, "required">;
|
|
375
|
+
userCode: import("convex/values").VString<string, "required">;
|
|
376
|
+
status: import("convex/values").VUnion<"pending" | "denied" | "authorized", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"authorized", "required">, import("convex/values").VLiteral<"denied", "required">], "required", never>;
|
|
377
|
+
resultSummary: import("convex/values").VString<string | undefined, "optional">;
|
|
378
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
379
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
380
|
+
resolvedAt: import("convex/values").VFloat64<number | undefined, "optional">;
|
|
381
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "awaitedEventName" | "resolvedAt" | "workflowId" | "resultSummary" | "connectionId" | "url" | "userCode">, {
|
|
382
|
+
by_org: ["orgId", "_creationTime"];
|
|
383
|
+
by_org_connection: ["orgId", "connectionId", "_creationTime"];
|
|
384
|
+
}, {}, {}>;
|
|
471
385
|
vpTenantFixture: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
472
386
|
orgId: string;
|
|
473
387
|
createdAt: number;
|
|
@@ -481,5 +395,156 @@ declare const _default: import("convex/server").SchemaDefinition<{
|
|
|
481
395
|
}, "required", "orgId" | "createdAt" | "tool" | "argsJson">, {
|
|
482
396
|
by_org: ["orgId", "_creationTime"];
|
|
483
397
|
}, {}, {}>;
|
|
398
|
+
worldRuns: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
399
|
+
orgId: string;
|
|
400
|
+
status: "completed" | "failed" | "cancelled" | "running";
|
|
401
|
+
createdAt: number;
|
|
402
|
+
updatedAt: number;
|
|
403
|
+
runId: string;
|
|
404
|
+
eventCount: number;
|
|
405
|
+
}, {
|
|
406
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
407
|
+
runId: import("convex/values").VString<string, "required">;
|
|
408
|
+
status: import("convex/values").VUnion<"completed" | "failed" | "cancelled" | "running", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">, import("convex/values").VLiteral<"cancelled", "required">], "required", never>;
|
|
409
|
+
eventCount: import("convex/values").VFloat64<number, "required">;
|
|
410
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
411
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
412
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "runId" | "eventCount">, {
|
|
413
|
+
by_org: ["orgId", "_creationTime"];
|
|
414
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
415
|
+
}, {}, {}>;
|
|
416
|
+
worldSteps: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
417
|
+
dataJson?: string | undefined;
|
|
418
|
+
orgId: string;
|
|
419
|
+
status: "completed" | "failed" | "running";
|
|
420
|
+
createdAt: number;
|
|
421
|
+
updatedAt: number;
|
|
422
|
+
runId: string;
|
|
423
|
+
stepId: string;
|
|
424
|
+
}, {
|
|
425
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
426
|
+
runId: import("convex/values").VString<string, "required">;
|
|
427
|
+
stepId: import("convex/values").VString<string, "required">;
|
|
428
|
+
status: import("convex/values").VUnion<"completed" | "failed" | "running", [import("convex/values").VLiteral<"running", "required">, import("convex/values").VLiteral<"completed", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
429
|
+
dataJson: import("convex/values").VString<string | undefined, "optional">;
|
|
430
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
431
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
432
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "runId" | "stepId" | "dataJson">, {
|
|
433
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
434
|
+
by_org_run_step: ["orgId", "runId", "stepId", "_creationTime"];
|
|
435
|
+
}, {}, {}>;
|
|
436
|
+
worldHooks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
437
|
+
orgId: string;
|
|
438
|
+
status: "pending" | "disposed";
|
|
439
|
+
createdAt: number;
|
|
440
|
+
updatedAt: number;
|
|
441
|
+
runId: string;
|
|
442
|
+
hookId: string;
|
|
443
|
+
token: string;
|
|
444
|
+
}, {
|
|
445
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
446
|
+
runId: import("convex/values").VString<string, "required">;
|
|
447
|
+
hookId: import("convex/values").VString<string, "required">;
|
|
448
|
+
token: import("convex/values").VString<string, "required">;
|
|
449
|
+
status: import("convex/values").VUnion<"pending" | "disposed", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"disposed", "required">], "required", never>;
|
|
450
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
451
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
452
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "runId" | "hookId" | "token">, {
|
|
453
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
454
|
+
by_org_hook: ["orgId", "hookId", "_creationTime"];
|
|
455
|
+
by_org_token: ["orgId", "token", "_creationTime"];
|
|
456
|
+
}, {}, {}>;
|
|
457
|
+
worldEvents: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
458
|
+
stepId?: string | undefined;
|
|
459
|
+
hookId?: string | undefined;
|
|
460
|
+
correlationId?: string | undefined;
|
|
461
|
+
orgId: string;
|
|
462
|
+
createdAt: number;
|
|
463
|
+
runId: string;
|
|
464
|
+
dataJson: string;
|
|
465
|
+
seq: number;
|
|
466
|
+
eventType: string;
|
|
467
|
+
}, {
|
|
468
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
469
|
+
runId: import("convex/values").VString<string, "required">;
|
|
470
|
+
seq: import("convex/values").VFloat64<number, "required">;
|
|
471
|
+
eventType: import("convex/values").VString<string, "required">;
|
|
472
|
+
stepId: import("convex/values").VString<string | undefined, "optional">;
|
|
473
|
+
hookId: import("convex/values").VString<string | undefined, "optional">;
|
|
474
|
+
correlationId: import("convex/values").VString<string | undefined, "optional">;
|
|
475
|
+
dataJson: import("convex/values").VString<string, "required">;
|
|
476
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
477
|
+
}, "required", "orgId" | "createdAt" | "runId" | "stepId" | "dataJson" | "hookId" | "seq" | "eventType" | "correlationId">, {
|
|
478
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
479
|
+
by_org_run_seq: ["orgId", "runId", "seq", "_creationTime"];
|
|
480
|
+
by_org_correlation: ["orgId", "correlationId", "_creationTime"];
|
|
481
|
+
}, {}, {}>;
|
|
482
|
+
worldQueueMessages: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
483
|
+
idempotencyKey?: string | undefined;
|
|
484
|
+
orgId: string;
|
|
485
|
+
status: "failed" | "pending" | "claimed" | "delivered";
|
|
486
|
+
createdAt: number;
|
|
487
|
+
updatedAt: number;
|
|
488
|
+
queueName: string;
|
|
489
|
+
messageId: string;
|
|
490
|
+
payloadJson: string;
|
|
491
|
+
attempt: number;
|
|
492
|
+
deliverAt: number;
|
|
493
|
+
}, {
|
|
494
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
495
|
+
queueName: import("convex/values").VString<string, "required">;
|
|
496
|
+
messageId: import("convex/values").VString<string, "required">;
|
|
497
|
+
payloadJson: import("convex/values").VString<string, "required">;
|
|
498
|
+
idempotencyKey: import("convex/values").VString<string | undefined, "optional">;
|
|
499
|
+
attempt: import("convex/values").VFloat64<number, "required">;
|
|
500
|
+
status: import("convex/values").VUnion<"failed" | "pending" | "claimed" | "delivered", [import("convex/values").VLiteral<"pending", "required">, import("convex/values").VLiteral<"claimed", "required">, import("convex/values").VLiteral<"delivered", "required">, import("convex/values").VLiteral<"failed", "required">], "required", never>;
|
|
501
|
+
deliverAt: import("convex/values").VFloat64<number, "required">;
|
|
502
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
503
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
504
|
+
}, "required", "orgId" | "status" | "createdAt" | "updatedAt" | "queueName" | "messageId" | "payloadJson" | "idempotencyKey" | "attempt" | "deliverAt">, {
|
|
505
|
+
by_org: ["orgId", "_creationTime"];
|
|
506
|
+
by_org_queue: ["orgId", "queueName", "_creationTime"];
|
|
507
|
+
by_org_message: ["orgId", "messageId", "_creationTime"];
|
|
508
|
+
by_org_queue_idempotencyKey: ["orgId", "queueName", "idempotencyKey", "_creationTime"];
|
|
509
|
+
by_org_queue_status_deliverAt: ["orgId", "queueName", "status", "deliverAt", "_creationTime"];
|
|
510
|
+
}, {}, {}>;
|
|
511
|
+
worldStreams: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
512
|
+
name: string;
|
|
513
|
+
orgId: string;
|
|
514
|
+
createdAt: number;
|
|
515
|
+
updatedAt: number;
|
|
516
|
+
runId: string;
|
|
517
|
+
chunkCount: number;
|
|
518
|
+
done: boolean;
|
|
519
|
+
}, {
|
|
520
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
521
|
+
runId: import("convex/values").VString<string, "required">;
|
|
522
|
+
name: import("convex/values").VString<string, "required">;
|
|
523
|
+
chunkCount: import("convex/values").VFloat64<number, "required">;
|
|
524
|
+
done: import("convex/values").VBoolean<boolean, "required">;
|
|
525
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
526
|
+
updatedAt: import("convex/values").VFloat64<number, "required">;
|
|
527
|
+
}, "required", "name" | "orgId" | "createdAt" | "updatedAt" | "runId" | "chunkCount" | "done">, {
|
|
528
|
+
by_org: ["orgId", "_creationTime"];
|
|
529
|
+
by_org_run: ["orgId", "runId", "_creationTime"];
|
|
530
|
+
by_org_run_name: ["orgId", "runId", "name", "_creationTime"];
|
|
531
|
+
}, {}, {}>;
|
|
532
|
+
worldStreamChunks: import("convex/server").TableDefinition<import("convex/values").VObject<{
|
|
533
|
+
name: string;
|
|
534
|
+
orgId: string;
|
|
535
|
+
createdAt: number;
|
|
536
|
+
runId: string;
|
|
537
|
+
index: number;
|
|
538
|
+
dataBase64: string;
|
|
539
|
+
}, {
|
|
540
|
+
orgId: import("convex/values").VString<string, "required">;
|
|
541
|
+
runId: import("convex/values").VString<string, "required">;
|
|
542
|
+
name: import("convex/values").VString<string, "required">;
|
|
543
|
+
index: import("convex/values").VFloat64<number, "required">;
|
|
544
|
+
dataBase64: import("convex/values").VString<string, "required">;
|
|
545
|
+
createdAt: import("convex/values").VFloat64<number, "required">;
|
|
546
|
+
}, "required", "name" | "orgId" | "createdAt" | "runId" | "index" | "dataBase64">, {
|
|
547
|
+
by_org_run_name_index: ["orgId", "runId", "name", "index", "_creationTime"];
|
|
548
|
+
}, {}, {}>;
|
|
484
549
|
}, true>;
|
|
485
550
|
export default _default;
|