@sixb/server 0.1.25 → 0.2.0
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 +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/run-token.d.ts +28 -0
- package/dist/auth/run-token.d.ts.map +1 -0
- package/dist/auth/scope.d.ts +11 -13
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4999 -4151
- package/dist/index.js.map +47 -43
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +1 -1
- package/dist/routes/agent-approval-gate.d.ts +7 -4
- package/dist/routes/agent-approval-gate.d.ts.map +1 -1
- package/dist/routes/agent-approvals.d.ts +14 -5
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +338 -0
- package/dist/routes/agent-computers.d.ts.map +1 -0
- package/dist/routes/agent-runners.d.ts +74 -0
- package/dist/routes/agent-runners.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +250 -16
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +5 -28
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +10 -1
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +93 -17
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/links.d.ts +121 -81
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/objects.d.ts +149 -58
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +25 -4
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -2
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +124 -122
- package/dist/routes/projections.d.ts.map +1 -1
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/shared-access.d.ts +2 -2
- package/dist/routes/syncs.d.ts +34 -34
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +0 -50
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/users.d.ts +1 -0
- package/dist/routes/users.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +25 -14
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +4 -1
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +3 -3
- package/dist/schemas/activity.d.ts +4 -4
- package/dist/schemas/agent-approvals.d.ts +21 -21
- package/dist/schemas/agents.d.ts +819 -88
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1114 -6
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +49 -2
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +303 -60
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +8 -8
- package/dist/schemas/lineage.d.ts +1272 -0
- package/dist/schemas/lineage.d.ts.map +1 -0
- package/dist/schemas/links.d.ts +4 -27
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +7 -26
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +12 -12
- package/dist/schemas/projections.d.ts +747 -733
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/shared-access.d.ts +2 -2
- package/dist/schemas/syncs.d.ts +24 -24
- package/dist/schemas/telemetry.d.ts +0 -13
- package/dist/schemas/telemetry.d.ts.map +1 -1
- package/dist/schemas/users.d.ts +8 -0
- package/dist/schemas/users.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +2 -2
- package/dist/schemas/workflows.d.ts +133 -44
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +5 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +5 -0
- package/dist/utils/request-body.d.ts.map +1 -1
- package/dist/utils/request-timing.d.ts +18 -0
- package/dist/utils/request-timing.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/auth/public-routes.ts +0 -6
- package/src/auth/run-token.ts +327 -0
- package/src/auth/scope.ts +16 -37
- package/src/index.ts +1 -0
- package/src/registerRoutes.ts +4 -2
- package/src/routes/agent-approval-gate.ts +40 -14
- package/src/routes/agent-approvals.ts +3 -3
- package/src/routes/agent-computers.ts +348 -0
- package/src/routes/agent-runners.ts +205 -0
- package/src/routes/agents.ts +193 -26
- package/src/routes/ai-accounting.ts +149 -12
- package/src/routes/artifacts.ts +55 -11
- package/src/routes/auth.ts +24 -2
- package/src/routes/datasets.ts +60 -5
- package/src/routes/links.ts +43 -76
- package/src/routes/objects.ts +49 -42
- package/src/routes/observed-agent-threads.ts +2 -2
- package/src/routes/pipelines.ts +5 -0
- package/src/routes/syncs.ts +4 -0
- package/src/routes/telemetry.ts +1 -42
- package/src/routes/users.ts +15 -2
- package/src/routes/ws/agents.ts +10 -1
- package/src/schemas/agents.ts +131 -1
- package/src/schemas/ai-accounting.ts +78 -15
- package/src/schemas/artifacts.ts +1 -1
- package/src/schemas/auth.ts +19 -0
- package/src/schemas/datasets.ts +36 -0
- package/src/schemas/lineage.ts +115 -0
- package/src/schemas/links.ts +3 -11
- package/src/schemas/objects.ts +6 -10
- package/src/schemas/projections.ts +2 -0
- package/src/schemas/telemetry.ts +0 -6
- package/src/schemas/users.ts +6 -0
- package/src/server.ts +53 -15
- package/src/utils/request-body.ts +10 -4
- package/src/utils/request-timing.ts +136 -0
- package/dist/routes/agent-api-gateway.d.ts +0 -4
- package/dist/routes/agent-api-gateway.d.ts.map +0 -1
- package/src/routes/agent-api-gateway.ts +0 -404
package/dist/routes/objects.d.ts
CHANGED
|
@@ -95,10 +95,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
95
95
|
primaryId: string;
|
|
96
96
|
createdAt: string;
|
|
97
97
|
updatedAt: string;
|
|
98
|
-
score?: number | undefined;
|
|
99
98
|
redactions?: Record<string, {
|
|
100
99
|
reason: "missing_clearance";
|
|
101
100
|
}> | undefined;
|
|
101
|
+
score?: number | undefined;
|
|
102
102
|
}[];
|
|
103
103
|
hasMore: boolean;
|
|
104
104
|
total: number;
|
|
@@ -153,6 +153,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
153
153
|
readonly maxRows: number;
|
|
154
154
|
readonly requiresExplicitBound: boolean;
|
|
155
155
|
} | undefined;
|
|
156
|
+
readObjectTypeIds: readonly string[] | undefined;
|
|
156
157
|
};
|
|
157
158
|
};
|
|
158
159
|
};
|
|
@@ -232,6 +233,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
232
233
|
readonly maxRows: number;
|
|
233
234
|
readonly requiresExplicitBound: boolean;
|
|
234
235
|
} | undefined;
|
|
236
|
+
readObjectTypeIds: readonly string[] | undefined;
|
|
235
237
|
};
|
|
236
238
|
};
|
|
237
239
|
};
|
|
@@ -269,6 +271,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
269
271
|
readonly maxRows: number;
|
|
270
272
|
readonly requiresExplicitBound: boolean;
|
|
271
273
|
} | undefined;
|
|
274
|
+
readObjectTypeIds: readonly string[] | undefined;
|
|
272
275
|
};
|
|
273
276
|
};
|
|
274
277
|
};
|
|
@@ -307,6 +310,7 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
307
310
|
readonly maxRows: number;
|
|
308
311
|
readonly requiresExplicitBound: boolean;
|
|
309
312
|
} | undefined;
|
|
313
|
+
readObjectTypeIds: readonly string[] | undefined;
|
|
310
314
|
};
|
|
311
315
|
};
|
|
312
316
|
};
|
|
@@ -417,10 +421,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
417
421
|
primaryId: string;
|
|
418
422
|
createdAt: string;
|
|
419
423
|
updatedAt: string;
|
|
420
|
-
score?: number | undefined;
|
|
421
424
|
redactions?: Record<string, {
|
|
422
425
|
reason: "missing_clearance";
|
|
423
426
|
}> | undefined;
|
|
427
|
+
score?: number | undefined;
|
|
424
428
|
};
|
|
425
429
|
404: {
|
|
426
430
|
error: string;
|
|
@@ -440,6 +444,148 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
440
444
|
};
|
|
441
445
|
};
|
|
442
446
|
};
|
|
447
|
+
} & {
|
|
448
|
+
api: {
|
|
449
|
+
objects: {
|
|
450
|
+
":objectTypeId": {
|
|
451
|
+
":objectId": {
|
|
452
|
+
lineage: {
|
|
453
|
+
get: {
|
|
454
|
+
body: unknown;
|
|
455
|
+
params: {
|
|
456
|
+
objectTypeId: string;
|
|
457
|
+
objectId: string;
|
|
458
|
+
};
|
|
459
|
+
query: unknown;
|
|
460
|
+
headers: unknown;
|
|
461
|
+
response: {
|
|
462
|
+
200: {
|
|
463
|
+
properties: Record<string, {
|
|
464
|
+
source: string;
|
|
465
|
+
at?: string | undefined;
|
|
466
|
+
replaced?: {
|
|
467
|
+
source: string;
|
|
468
|
+
value?: import("../schemas/common").JsonValue | undefined;
|
|
469
|
+
column?: string | undefined;
|
|
470
|
+
} | undefined;
|
|
471
|
+
column?: string | undefined;
|
|
472
|
+
origins?: {
|
|
473
|
+
datasetId: string;
|
|
474
|
+
column: string;
|
|
475
|
+
}[] | undefined;
|
|
476
|
+
removed?: true | undefined;
|
|
477
|
+
resolution?: {
|
|
478
|
+
strategy: "editsWin";
|
|
479
|
+
} | {
|
|
480
|
+
strategy: "mostRecent";
|
|
481
|
+
sourceUpdatedAt: string;
|
|
482
|
+
editedAt?: string | undefined;
|
|
483
|
+
} | undefined;
|
|
484
|
+
}>;
|
|
485
|
+
objectTypeId: string;
|
|
486
|
+
primaryId: string;
|
|
487
|
+
restricted: number;
|
|
488
|
+
existence: {
|
|
489
|
+
source: string;
|
|
490
|
+
};
|
|
491
|
+
sources: Record<string, {
|
|
492
|
+
kind: "projection";
|
|
493
|
+
projectionId: string;
|
|
494
|
+
projectionRunId?: string | undefined;
|
|
495
|
+
datasetVersion?: {
|
|
496
|
+
datasetId: string;
|
|
497
|
+
versionId: string;
|
|
498
|
+
} | undefined;
|
|
499
|
+
rowOrigins?: {
|
|
500
|
+
datasetId: string;
|
|
501
|
+
column: string;
|
|
502
|
+
}[] | undefined;
|
|
503
|
+
} | {
|
|
504
|
+
kind: "edit";
|
|
505
|
+
commitId: string | null;
|
|
506
|
+
committedAt: string;
|
|
507
|
+
executor?: {
|
|
508
|
+
type: "request";
|
|
509
|
+
requestId: string;
|
|
510
|
+
} | {
|
|
511
|
+
id: string;
|
|
512
|
+
kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
|
|
513
|
+
type: "primitive";
|
|
514
|
+
runId: string;
|
|
515
|
+
} | {
|
|
516
|
+
type: "agent";
|
|
517
|
+
runId: string;
|
|
518
|
+
} | {
|
|
519
|
+
type: "kernel";
|
|
520
|
+
operation: {
|
|
521
|
+
type: "ontology.recover";
|
|
522
|
+
recoveryId: string;
|
|
523
|
+
} | {
|
|
524
|
+
type: "ontology.indexVectors";
|
|
525
|
+
indexingId: string;
|
|
526
|
+
};
|
|
527
|
+
} | undefined;
|
|
528
|
+
requestedBy?: {
|
|
529
|
+
id: string;
|
|
530
|
+
type: "user" | "serviceAccount";
|
|
531
|
+
} | undefined;
|
|
532
|
+
action?: {
|
|
533
|
+
actionId: string;
|
|
534
|
+
runId: string;
|
|
535
|
+
} | undefined;
|
|
536
|
+
} | {
|
|
537
|
+
kind: "telemetry";
|
|
538
|
+
commitId: string;
|
|
539
|
+
committedAt: string;
|
|
540
|
+
executor?: {
|
|
541
|
+
type: "request";
|
|
542
|
+
requestId: string;
|
|
543
|
+
} | {
|
|
544
|
+
id: string;
|
|
545
|
+
kind: "workflow" | "action" | "sync" | "pipeline" | "projection" | "rule" | "webhook";
|
|
546
|
+
type: "primitive";
|
|
547
|
+
runId: string;
|
|
548
|
+
} | {
|
|
549
|
+
type: "agent";
|
|
550
|
+
runId: string;
|
|
551
|
+
} | {
|
|
552
|
+
type: "kernel";
|
|
553
|
+
operation: {
|
|
554
|
+
type: "ontology.recover";
|
|
555
|
+
recoveryId: string;
|
|
556
|
+
} | {
|
|
557
|
+
type: "ontology.indexVectors";
|
|
558
|
+
indexingId: string;
|
|
559
|
+
};
|
|
560
|
+
} | undefined;
|
|
561
|
+
requestedBy?: {
|
|
562
|
+
id: string;
|
|
563
|
+
type: "user" | "serviceAccount";
|
|
564
|
+
} | undefined;
|
|
565
|
+
projectionId?: string | undefined;
|
|
566
|
+
} | {
|
|
567
|
+
kind: "identity";
|
|
568
|
+
}>;
|
|
569
|
+
};
|
|
570
|
+
404: {
|
|
571
|
+
error: string;
|
|
572
|
+
};
|
|
573
|
+
422: {
|
|
574
|
+
type: "validation";
|
|
575
|
+
on: string;
|
|
576
|
+
summary?: string;
|
|
577
|
+
message?: string;
|
|
578
|
+
found?: unknown;
|
|
579
|
+
property?: string;
|
|
580
|
+
expected?: string;
|
|
581
|
+
};
|
|
582
|
+
};
|
|
583
|
+
};
|
|
584
|
+
};
|
|
585
|
+
};
|
|
586
|
+
};
|
|
587
|
+
};
|
|
588
|
+
};
|
|
443
589
|
} & {
|
|
444
590
|
api: {
|
|
445
591
|
objects: {
|
|
@@ -463,10 +609,10 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
463
609
|
primaryId: string;
|
|
464
610
|
createdAt: string;
|
|
465
611
|
updatedAt: string;
|
|
466
|
-
score?: number | undefined;
|
|
467
612
|
redactions?: Record<string, {
|
|
468
613
|
reason: "missing_clearance";
|
|
469
614
|
}> | undefined;
|
|
615
|
+
score?: number | undefined;
|
|
470
616
|
};
|
|
471
617
|
404: {
|
|
472
618
|
error: string;
|
|
@@ -494,61 +640,6 @@ export declare function registerObjectRoutes(app: Elysia, host: SixbHostView): E
|
|
|
494
640
|
};
|
|
495
641
|
};
|
|
496
642
|
};
|
|
497
|
-
} & {
|
|
498
|
-
api: {
|
|
499
|
-
objects: {
|
|
500
|
-
":objectTypeId": {
|
|
501
|
-
":objectId": {
|
|
502
|
-
put: {
|
|
503
|
-
body: {
|
|
504
|
-
properties: Record<string, unknown>;
|
|
505
|
-
};
|
|
506
|
-
params: {
|
|
507
|
-
objectTypeId: string;
|
|
508
|
-
objectId: string;
|
|
509
|
-
};
|
|
510
|
-
query: unknown;
|
|
511
|
-
headers: unknown;
|
|
512
|
-
response: {
|
|
513
|
-
200: {
|
|
514
|
-
properties: Record<string, unknown>;
|
|
515
|
-
objectTypeId: string;
|
|
516
|
-
primaryId: string;
|
|
517
|
-
createdAt: string;
|
|
518
|
-
updatedAt: string;
|
|
519
|
-
score?: number | undefined;
|
|
520
|
-
redactions?: Record<string, {
|
|
521
|
-
reason: "missing_clearance";
|
|
522
|
-
}> | undefined;
|
|
523
|
-
};
|
|
524
|
-
404: {
|
|
525
|
-
error: string;
|
|
526
|
-
};
|
|
527
|
-
403: {
|
|
528
|
-
error: string;
|
|
529
|
-
};
|
|
530
|
-
409: {
|
|
531
|
-
error: string;
|
|
532
|
-
code: "object.unique_violation";
|
|
533
|
-
};
|
|
534
|
-
400: {
|
|
535
|
-
error: string;
|
|
536
|
-
};
|
|
537
|
-
422: {
|
|
538
|
-
type: "validation";
|
|
539
|
-
on: string;
|
|
540
|
-
summary?: string;
|
|
541
|
-
message?: string;
|
|
542
|
-
found?: unknown;
|
|
543
|
-
property?: string;
|
|
544
|
-
expected?: string;
|
|
545
|
-
};
|
|
546
|
-
};
|
|
547
|
-
};
|
|
548
|
-
};
|
|
549
|
-
};
|
|
550
|
-
};
|
|
551
|
-
};
|
|
552
643
|
}, {
|
|
553
644
|
derive: {};
|
|
554
645
|
resolve: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"objects.d.ts","sourceRoot":"","sources":["../../src/routes/objects.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AAInB,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyGpC,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,OAAO,EAAE,GAAG,EAAE;IAAE,MAAM,CAAC,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE;;;;;;;EAyCvF;AAgID,wBAAgB,oBAAoB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sDArL1B,MAAM;oEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0DAA/C,MAAM;wEAAkC,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAq0BxF"}
|
|
@@ -65,6 +65,13 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
65
65
|
title?: string | undefined;
|
|
66
66
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
67
67
|
approvalModeSource?: "default" | "thread" | "fallback" | "run" | undefined;
|
|
68
|
+
computer?: {
|
|
69
|
+
id: string;
|
|
70
|
+
name: string;
|
|
71
|
+
folder: string;
|
|
72
|
+
online: boolean;
|
|
73
|
+
} | undefined;
|
|
74
|
+
runsOn?: "computer" | undefined;
|
|
68
75
|
sandboxState?: {
|
|
69
76
|
status: "unavailable" | "new" | "busy" | "ready" | "blocked";
|
|
70
77
|
name: string;
|
|
@@ -76,6 +83,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
76
83
|
spawnedBy: string;
|
|
77
84
|
} | undefined;
|
|
78
85
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
86
|
+
movedAt?: string | undefined;
|
|
79
87
|
lastMessageAt?: string | undefined;
|
|
80
88
|
};
|
|
81
89
|
404: {
|
|
@@ -183,6 +191,17 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
183
191
|
providerMetadata?: import("../schemas/common").JsonValue | undefined;
|
|
184
192
|
dynamic?: boolean | undefined;
|
|
185
193
|
providerExecuted?: boolean | undefined;
|
|
194
|
+
outputFile?: {
|
|
195
|
+
path: string;
|
|
196
|
+
fileRef: {
|
|
197
|
+
blobId: string;
|
|
198
|
+
digest: string;
|
|
199
|
+
sizeBytes: number;
|
|
200
|
+
fileName?: string | undefined;
|
|
201
|
+
mediaType?: string | undefined;
|
|
202
|
+
logicalPath?: string | undefined;
|
|
203
|
+
};
|
|
204
|
+
} | undefined;
|
|
186
205
|
} | {
|
|
187
206
|
type: "tool-call";
|
|
188
207
|
input: import("../schemas/common").JsonValue;
|
|
@@ -230,7 +249,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
230
249
|
} | {
|
|
231
250
|
error: {
|
|
232
251
|
at: string;
|
|
233
|
-
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";
|
|
252
|
+
code: "action.phase_failed" | "action.read_conflict" | "action.rejected" | "action.run_in_progress" | "action.timeout" | "agent.approval_authority_lost" | "agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "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";
|
|
234
253
|
message: string;
|
|
235
254
|
retryable: boolean;
|
|
236
255
|
details?: import("../schemas/common").JsonValue | undefined;
|
|
@@ -264,6 +283,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
264
283
|
type: "user" | "serviceAccount" | "system";
|
|
265
284
|
} | undefined;
|
|
266
285
|
compaction?: {
|
|
286
|
+
reason: "threshold" | "overflow";
|
|
267
287
|
createdAt: string;
|
|
268
288
|
checkpointId: string;
|
|
269
289
|
summary: string;
|
|
@@ -377,7 +397,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
377
397
|
attempt: number;
|
|
378
398
|
triggerMessageId: string;
|
|
379
399
|
streamId: string;
|
|
380
|
-
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
400
|
+
error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
381
401
|
requestedBy?: {
|
|
382
402
|
id: string;
|
|
383
403
|
type: "user" | "serviceAccount";
|
|
@@ -421,6 +441,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
421
441
|
} | undefined;
|
|
422
442
|
finishReason?: "error" | "length" | "unknown" | "stop" | "content-filter" | "tool-calls" | "timeout" | "interrupted" | "awaiting_approval" | "awaiting_answer" | "other" | undefined;
|
|
423
443
|
parentRunId?: string | undefined;
|
|
444
|
+
runsOn?: "computer" | undefined;
|
|
424
445
|
diagnostics?: {
|
|
425
446
|
code: "step_limit_reached" | "output_limit_reached";
|
|
426
447
|
message: string;
|
|
@@ -489,7 +510,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
489
510
|
attempt: number;
|
|
490
511
|
parentRunId: string;
|
|
491
512
|
streamId: string;
|
|
492
|
-
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
513
|
+
error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
493
514
|
modelId?: string | undefined;
|
|
494
515
|
startedAt?: string | undefined;
|
|
495
516
|
completedAt?: string | undefined;
|
|
@@ -552,7 +573,7 @@ export declare function registerObservedAgentThreadRoutes(app: Elysia, host: Six
|
|
|
552
573
|
logicalPath?: string | undefined;
|
|
553
574
|
};
|
|
554
575
|
}[];
|
|
555
|
-
error?: import("@sixb/core").SixbFailure<"agent.execution_failed" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
576
|
+
error?: import("@sixb/core").SixbFailure<"agent.context_limit_exceeded" | "agent.execution_failed" | "agent.step_limit_reached" | "ai.usage_limit_exceeded" | "ai.usage_limit_unavailable" | "internal.unexpected" | "runtime.cancelled"> | undefined;
|
|
556
577
|
completedAt?: string | undefined;
|
|
557
578
|
tier?: "light" | "standard" | "heavy" | undefined;
|
|
558
579
|
reasoning?: "none" | "provider-default" | "minimal" | "low" | "medium" | "high" | "xhigh" | "max" | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY
|
|
1
|
+
{"version":3,"file":"observed-agent-threads.d.ts","sourceRoot":"","sources":["../../src/routes/observed-agent-threads.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAmB,YAAY,EAAE,MAAM,YAAY,CAAA;AAC/D,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAyCpC;;;;GAIG;AACH,wBAAgB,iCAAiC,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiMhF"}
|
|
@@ -289,12 +289,12 @@ export declare function registerPipelineRoutes(app: Elysia, host: SixbHostView):
|
|
|
289
289
|
id: string;
|
|
290
290
|
mode: "append" | "snapshot";
|
|
291
291
|
startedAt: string;
|
|
292
|
+
datasetId: string;
|
|
293
|
+
stepId: string;
|
|
292
294
|
inputs: {
|
|
293
295
|
datasetId: string;
|
|
294
296
|
versionId: string;
|
|
295
297
|
}[];
|
|
296
|
-
datasetId: string;
|
|
297
|
-
stepId: string;
|
|
298
298
|
pipelineId: string;
|
|
299
299
|
pipelineRunId: string;
|
|
300
300
|
error?: import("@sixb/core").SixbFailure<"internal.unexpected" | "queue.enqueue_failed" | "pipeline.step_failed" | "runtime.cancelled"> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;
|
|
1
|
+
{"version":3,"file":"pipelines.d.ts","sourceRoot":"","sources":["../../src/routes/pipelines.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAA4C,YAAY,EAAE,MAAM,YAAY,CAAA;AAExF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AA0HpC,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkLrE"}
|