@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
|
@@ -154,6 +154,7 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
154
154
|
}>, "many">;
|
|
155
155
|
}, "strip", z.ZodTypeAny, {
|
|
156
156
|
id: string;
|
|
157
|
+
type: string;
|
|
157
158
|
webhooks: {
|
|
158
159
|
id: string;
|
|
159
160
|
method: "POST";
|
|
@@ -162,13 +163,13 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
162
163
|
hasVerify: boolean;
|
|
163
164
|
hasIdempotency: boolean;
|
|
164
165
|
}[];
|
|
165
|
-
type: string;
|
|
166
166
|
connection: {
|
|
167
167
|
authentication: "oauth2";
|
|
168
168
|
} | null;
|
|
169
169
|
syncIds: string[];
|
|
170
170
|
}, {
|
|
171
171
|
id: string;
|
|
172
|
+
type: string;
|
|
172
173
|
webhooks: {
|
|
173
174
|
id: string;
|
|
174
175
|
method: "POST";
|
|
@@ -177,7 +178,6 @@ export declare const ConnectorSchema: z.ZodObject<{
|
|
|
177
178
|
hasVerify: boolean;
|
|
178
179
|
hasIdempotency: boolean;
|
|
179
180
|
}[];
|
|
180
|
-
type: string;
|
|
181
181
|
connection: {
|
|
182
182
|
authentication: "oauth2";
|
|
183
183
|
} | null;
|
|
@@ -278,12 +278,12 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
278
278
|
status: "waiting";
|
|
279
279
|
id: string;
|
|
280
280
|
kind: "connect" | "reauthorize";
|
|
281
|
-
expiresAt: string;
|
|
282
281
|
createdAt: string;
|
|
283
|
-
|
|
282
|
+
expiresAt: string;
|
|
284
283
|
owner: {
|
|
285
284
|
type: "project";
|
|
286
285
|
};
|
|
286
|
+
updatedAt: string;
|
|
287
287
|
connectorId: string;
|
|
288
288
|
slot: string;
|
|
289
289
|
waitingFor: "provider_authorization";
|
|
@@ -291,12 +291,12 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
291
291
|
status: "waiting";
|
|
292
292
|
id: string;
|
|
293
293
|
kind: "connect" | "reauthorize";
|
|
294
|
-
expiresAt: string;
|
|
295
294
|
createdAt: string;
|
|
296
|
-
|
|
295
|
+
expiresAt: string;
|
|
297
296
|
owner: {
|
|
298
297
|
type: "project";
|
|
299
298
|
};
|
|
299
|
+
updatedAt: string;
|
|
300
300
|
connectorId: string;
|
|
301
301
|
slot: string;
|
|
302
302
|
waitingFor: "provider_authorization";
|
|
@@ -321,10 +321,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
321
321
|
id: string;
|
|
322
322
|
kind: "connect" | "reauthorize";
|
|
323
323
|
createdAt: string;
|
|
324
|
-
updatedAt: string;
|
|
325
324
|
owner: {
|
|
326
325
|
type: "project";
|
|
327
326
|
};
|
|
327
|
+
updatedAt: string;
|
|
328
328
|
connectorId: string;
|
|
329
329
|
slot: string;
|
|
330
330
|
}, {
|
|
@@ -332,10 +332,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
332
332
|
id: string;
|
|
333
333
|
kind: "connect" | "reauthorize";
|
|
334
334
|
createdAt: string;
|
|
335
|
-
updatedAt: string;
|
|
336
335
|
owner: {
|
|
337
336
|
type: "project";
|
|
338
337
|
};
|
|
338
|
+
updatedAt: string;
|
|
339
339
|
connectorId: string;
|
|
340
340
|
slot: string;
|
|
341
341
|
}>, z.ZodObject<{
|
|
@@ -376,10 +376,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
376
376
|
id: string;
|
|
377
377
|
kind: "connect" | "reauthorize";
|
|
378
378
|
createdAt: string;
|
|
379
|
-
updatedAt: string;
|
|
380
379
|
owner: {
|
|
381
380
|
type: "project";
|
|
382
381
|
};
|
|
382
|
+
updatedAt: string;
|
|
383
383
|
connectorId: string;
|
|
384
384
|
slot: string;
|
|
385
385
|
waitingFor: "account_selection";
|
|
@@ -394,10 +394,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
394
394
|
id: string;
|
|
395
395
|
kind: "connect" | "reauthorize";
|
|
396
396
|
createdAt: string;
|
|
397
|
-
updatedAt: string;
|
|
398
397
|
owner: {
|
|
399
398
|
type: "project";
|
|
400
399
|
};
|
|
400
|
+
updatedAt: string;
|
|
401
401
|
connectorId: string;
|
|
402
402
|
slot: string;
|
|
403
403
|
waitingFor: "account_selection";
|
|
@@ -487,6 +487,9 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
487
487
|
kind: "connect" | "reauthorize";
|
|
488
488
|
finishedAt: string;
|
|
489
489
|
createdAt: string;
|
|
490
|
+
owner: {
|
|
491
|
+
type: "project";
|
|
492
|
+
};
|
|
490
493
|
updatedAt: string;
|
|
491
494
|
connections: {
|
|
492
495
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
@@ -503,9 +506,6 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
503
506
|
avatarUrl?: string | undefined;
|
|
504
507
|
};
|
|
505
508
|
}[];
|
|
506
|
-
owner: {
|
|
507
|
-
type: "project";
|
|
508
|
-
};
|
|
509
509
|
connectorId: string;
|
|
510
510
|
slot: string;
|
|
511
511
|
}, {
|
|
@@ -514,6 +514,9 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
514
514
|
kind: "connect" | "reauthorize";
|
|
515
515
|
finishedAt: string;
|
|
516
516
|
createdAt: string;
|
|
517
|
+
owner: {
|
|
518
|
+
type: "project";
|
|
519
|
+
};
|
|
517
520
|
updatedAt: string;
|
|
518
521
|
connections: {
|
|
519
522
|
status: "connected" | "needs_reauthorization" | "disconnected";
|
|
@@ -530,9 +533,6 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
530
533
|
avatarUrl?: string | undefined;
|
|
531
534
|
};
|
|
532
535
|
}[];
|
|
533
|
-
owner: {
|
|
534
|
-
type: "project";
|
|
535
|
-
};
|
|
536
536
|
connectorId: string;
|
|
537
537
|
slot: string;
|
|
538
538
|
}>, z.ZodObject<{
|
|
@@ -560,10 +560,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
560
560
|
kind: "connect" | "reauthorize";
|
|
561
561
|
finishedAt: string;
|
|
562
562
|
createdAt: string;
|
|
563
|
-
updatedAt: string;
|
|
564
563
|
owner: {
|
|
565
564
|
type: "project";
|
|
566
565
|
};
|
|
566
|
+
updatedAt: string;
|
|
567
567
|
connectorId: string;
|
|
568
568
|
slot: string;
|
|
569
569
|
}, {
|
|
@@ -573,10 +573,10 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
573
573
|
kind: "connect" | "reauthorize";
|
|
574
574
|
finishedAt: string;
|
|
575
575
|
createdAt: string;
|
|
576
|
-
updatedAt: string;
|
|
577
576
|
owner: {
|
|
578
577
|
type: "project";
|
|
579
578
|
};
|
|
579
|
+
updatedAt: string;
|
|
580
580
|
connectorId: string;
|
|
581
581
|
slot: string;
|
|
582
582
|
}>, z.ZodObject<{
|
|
@@ -597,27 +597,27 @@ export declare const ConnectorConnectionRunSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
597
597
|
status: z.ZodEnum<["cancelled", "expired"]>;
|
|
598
598
|
finishedAt: z.ZodString;
|
|
599
599
|
}, "strip", z.ZodTypeAny, {
|
|
600
|
-
status: "
|
|
600
|
+
status: "cancelled" | "expired";
|
|
601
601
|
id: string;
|
|
602
602
|
kind: "connect" | "reauthorize";
|
|
603
603
|
finishedAt: string;
|
|
604
604
|
createdAt: string;
|
|
605
|
-
updatedAt: string;
|
|
606
605
|
owner: {
|
|
607
606
|
type: "project";
|
|
608
607
|
};
|
|
608
|
+
updatedAt: string;
|
|
609
609
|
connectorId: string;
|
|
610
610
|
slot: string;
|
|
611
611
|
}, {
|
|
612
|
-
status: "
|
|
612
|
+
status: "cancelled" | "expired";
|
|
613
613
|
id: string;
|
|
614
614
|
kind: "connect" | "reauthorize";
|
|
615
615
|
finishedAt: string;
|
|
616
616
|
createdAt: string;
|
|
617
|
-
updatedAt: string;
|
|
618
617
|
owner: {
|
|
619
618
|
type: "project";
|
|
620
619
|
};
|
|
620
|
+
updatedAt: string;
|
|
621
621
|
connectorId: string;
|
|
622
622
|
slot: string;
|
|
623
623
|
}>]>;
|