@sixb/server 0.2.1 → 0.2.3
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 +3 -3
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +3 -0
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/auth/shared-access.d.ts +23 -0
- package/dist/auth/shared-access.d.ts.map +1 -1
- package/dist/connectors/http.d.ts +6 -1
- package/dist/connectors/http.d.ts.map +1 -1
- package/dist/index.js +2876 -667
- package/dist/index.js.map +43 -36
- package/dist/live/awareness.d.ts +48 -0
- package/dist/live/awareness.d.ts.map +1 -0
- package/dist/live/room.d.ts +198 -0
- package/dist/live/room.d.ts.map +1 -0
- package/dist/live/rooms.d.ts +67 -0
- package/dist/live/rooms.d.ts.map +1 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +3 -3
- package/dist/routes/agent-approvals.d.ts +21 -11
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +4 -4
- package/dist/routes/agent-computers.d.ts +146 -1
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +152 -60
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +2 -1
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +1713 -178
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +21 -21
- package/dist/routes/connector-connection-runs.d.ts +124 -5
- package/dist/routes/connector-connection-runs.d.ts.map +1 -1
- package/dist/routes/connector-connections.d.ts +9 -1
- package/dist/routes/connector-connections.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +5 -5
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/lake.d.ts +91 -0
- package/dist/routes/lake.d.ts.map +1 -0
- package/dist/routes/links.d.ts +6 -6
- package/dist/routes/logs.d.ts +2 -2
- package/dist/routes/model-generations.d.ts +2 -2
- package/dist/routes/objects.d.ts +6 -6
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +21 -11
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +13 -9
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +27 -27
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/shared-access.d.ts +57 -2
- package/dist/routes/shared-access.d.ts.map +1 -1
- package/dist/routes/status.d.ts +11 -15
- package/dist/routes/status.d.ts.map +1 -1
- package/dist/routes/syncs.d.ts +9 -6
- package/dist/routes/syncs.d.ts.map +1 -1
- package/dist/routes/telemetry.d.ts +7 -7
- package/dist/routes/webhooks.d.ts.map +1 -1
- package/dist/routes/workflows.d.ts +14 -14
- package/dist/routes/ws/artifacts.d.ts +57 -0
- package/dist/routes/ws/artifacts.d.ts.map +1 -0
- package/dist/routes/ws/events.d.ts +8 -7
- package/dist/routes/ws/events.d.ts.map +1 -1
- package/dist/routes/ws/index.d.ts +2 -1
- package/dist/routes/ws/index.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/routes/ws/shared-sockets.d.ts +52 -0
- package/dist/routes/ws/shared-sockets.d.ts.map +1 -0
- package/dist/schemas/actions.d.ts +7 -7
- package/dist/schemas/activity.d.ts +16 -16
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +642 -196
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +41 -41
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +2106 -127
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +63 -63
- package/dist/schemas/connectors.d.ts +180 -20
- package/dist/schemas/connectors.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +44 -44
- package/dist/schemas/event-payloads.d.ts +2 -2
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +12 -0
- package/dist/schemas/files.d.ts.map +1 -1
- package/dist/schemas/lake.d.ts +251 -0
- package/dist/schemas/lake.d.ts.map +1 -0
- package/dist/schemas/lineage.d.ts +56 -56
- package/dist/schemas/logs.d.ts +18 -18
- package/dist/schemas/models.d.ts +4 -4
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +14 -14
- package/dist/schemas/pipelines.d.ts +86 -64
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +160 -160
- package/dist/schemas/projections.d.ts.map +1 -1
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/shared-access.d.ts +17 -4
- package/dist/schemas/shared-access.d.ts.map +1 -1
- package/dist/schemas/status.d.ts +59 -79
- package/dist/schemas/status.d.ts.map +1 -1
- package/dist/schemas/syncs.d.ts +38 -22
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +71 -71
- package/dist/server.d.ts +13 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/ws.d.ts +3 -0
- package/dist/utils/ws.d.ts.map +1 -1
- package/package.json +11 -7
- package/src/artifacts/frame.ts +4 -13
- package/src/auth/scope.ts +10 -1
- package/src/auth/shared-access.ts +108 -12
- package/src/connectors/http.ts +35 -1
- package/src/live/README.md +136 -0
- package/src/live/awareness.ts +141 -0
- package/src/live/room.ts +933 -0
- package/src/live/rooms.ts +288 -0
- package/src/registerRoutes.ts +2 -0
- package/src/routes/agent-computers.ts +208 -14
- package/src/routes/agent-runners.ts +1 -0
- package/src/routes/agents.ts +52 -7
- package/src/routes/artifact-frames.ts +40 -12
- package/src/routes/artifacts.ts +713 -28
- package/src/routes/connector-connection-runs.ts +7 -12
- package/src/routes/connector-connections.ts +10 -7
- package/src/routes/lake.ts +73 -0
- package/src/routes/objects.ts +3 -9
- package/src/routes/pipelines.ts +1 -0
- package/src/routes/shared-access.ts +53 -1
- package/src/routes/status.ts +9 -4
- package/src/routes/syncs.ts +1 -0
- package/src/routes/webhooks.ts +44 -3
- package/src/routes/ws/artifacts.ts +138 -0
- package/src/routes/ws/events.ts +7 -2
- package/src/routes/ws/index.ts +13 -2
- package/src/routes/ws/shared-sockets.ts +152 -0
- package/src/schemas/agents.ts +71 -1
- package/src/schemas/ai-accounting.ts +1 -0
- package/src/schemas/artifacts.ts +255 -18
- package/src/schemas/connectors.ts +17 -2
- package/src/schemas/files.ts +12 -0
- package/src/schemas/lake.ts +53 -0
- package/src/schemas/objects.ts +1 -0
- package/src/schemas/pipelines.ts +2 -0
- package/src/schemas/projections.ts +2 -2
- package/src/schemas/shared-access.ts +16 -0
- package/src/schemas/status.ts +16 -22
- package/src/schemas/syncs.ts +2 -0
- package/src/server.ts +35 -4
- package/src/utils/ws.ts +7 -0
package/dist/routes/agents.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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
|
+
import { type AgentBackgroundCommandRef, type AgentStorage, type AgentThreadRecord, type Principal } from "@sixb/core/storage";
|
|
3
3
|
import type { Elysia } from "elysia";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { requireRequestSixb } from "../auth/scope";
|
|
@@ -11,6 +11,8 @@ import { handleRouteError } from "../utils/http";
|
|
|
11
11
|
*/
|
|
12
12
|
export declare function serializeThreads(host: SixbHostView, threads: readonly AgentThreadView[], viewer: Principal): Promise<ReturnType<typeof AgentThreadSchema.parse>[]>;
|
|
13
13
|
export declare function serializeThread(host: SixbHostView, thread: AgentThreadView, viewer: Principal): Promise<ReturnType<typeof AgentThreadSchema.parse>>;
|
|
14
|
+
/** Whether a reported background command is the one `ref` names: by its start, as ids repeat. */
|
|
15
|
+
export declare function sameBackgroundCommand(command: AgentBackgroundCommandRef, ref: AgentBackgroundCommandRef): boolean;
|
|
14
16
|
export declare function serializeAgentRun(run: AgentRunView): ReturnType<typeof AgentRunSchema.parse>;
|
|
15
17
|
export declare function handleAgentRouteError(error: unknown, set: {
|
|
16
18
|
status?: number | string;
|
|
@@ -154,7 +156,7 @@ export declare function readThreadMessages(host: SixbHostView, storage: AgentSto
|
|
|
154
156
|
} | {
|
|
155
157
|
error: {
|
|
156
158
|
at: string;
|
|
157
|
-
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";
|
|
159
|
+
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.change_refused" | "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";
|
|
158
160
|
message: string;
|
|
159
161
|
retryable: boolean;
|
|
160
162
|
details?: import("../schemas/common").JsonValue | undefined;
|
|
@@ -254,6 +256,16 @@ export declare function serializeThreadRead(host: SixbHostView, sixb: ReturnType
|
|
|
254
256
|
spawnedBy: string;
|
|
255
257
|
} | undefined;
|
|
256
258
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
259
|
+
backgroundCommands?: {
|
|
260
|
+
status: "running" | "exited" | "stopped";
|
|
261
|
+
id: string;
|
|
262
|
+
startedAt: string;
|
|
263
|
+
threadId: string;
|
|
264
|
+
command: string;
|
|
265
|
+
exitCode?: number | undefined;
|
|
266
|
+
endedAt?: string | undefined;
|
|
267
|
+
stopping?: boolean | undefined;
|
|
268
|
+
}[] | undefined;
|
|
257
269
|
movedAt?: string | undefined;
|
|
258
270
|
lastMessageAt?: string | undefined;
|
|
259
271
|
}>;
|
|
@@ -282,11 +294,11 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
282
294
|
headers: unknown;
|
|
283
295
|
response: {
|
|
284
296
|
200: {
|
|
285
|
-
name: string;
|
|
286
297
|
model: {
|
|
287
298
|
modelId: string;
|
|
288
299
|
provider: string;
|
|
289
300
|
};
|
|
301
|
+
name: string;
|
|
290
302
|
};
|
|
291
303
|
404: {
|
|
292
304
|
error: string;
|
|
@@ -373,6 +385,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
373
385
|
spawnedBy: string;
|
|
374
386
|
} | undefined;
|
|
375
387
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
388
|
+
backgroundCommands?: {
|
|
389
|
+
status: "running" | "exited" | "stopped";
|
|
390
|
+
id: string;
|
|
391
|
+
startedAt: string;
|
|
392
|
+
threadId: string;
|
|
393
|
+
command: string;
|
|
394
|
+
exitCode?: number | undefined;
|
|
395
|
+
endedAt?: string | undefined;
|
|
396
|
+
stopping?: boolean | undefined;
|
|
397
|
+
}[] | undefined;
|
|
376
398
|
movedAt?: string | undefined;
|
|
377
399
|
lastMessageAt?: string | undefined;
|
|
378
400
|
}[];
|
|
@@ -467,6 +489,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
467
489
|
spawnedBy: string;
|
|
468
490
|
} | undefined;
|
|
469
491
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
492
|
+
backgroundCommands?: {
|
|
493
|
+
status: "running" | "exited" | "stopped";
|
|
494
|
+
id: string;
|
|
495
|
+
startedAt: string;
|
|
496
|
+
threadId: string;
|
|
497
|
+
command: string;
|
|
498
|
+
exitCode?: number | undefined;
|
|
499
|
+
endedAt?: string | undefined;
|
|
500
|
+
stopping?: boolean | undefined;
|
|
501
|
+
}[] | undefined;
|
|
470
502
|
movedAt?: string | undefined;
|
|
471
503
|
lastMessageAt?: string | undefined;
|
|
472
504
|
};
|
|
@@ -540,6 +572,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
540
572
|
spawnedBy: string;
|
|
541
573
|
} | undefined;
|
|
542
574
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
575
|
+
backgroundCommands?: {
|
|
576
|
+
status: "running" | "exited" | "stopped";
|
|
577
|
+
id: string;
|
|
578
|
+
startedAt: string;
|
|
579
|
+
threadId: string;
|
|
580
|
+
command: string;
|
|
581
|
+
exitCode?: number | undefined;
|
|
582
|
+
endedAt?: string | undefined;
|
|
583
|
+
stopping?: boolean | undefined;
|
|
584
|
+
}[] | undefined;
|
|
543
585
|
movedAt?: string | undefined;
|
|
544
586
|
lastMessageAt?: string | undefined;
|
|
545
587
|
};
|
|
@@ -620,6 +662,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
620
662
|
spawnedBy: string;
|
|
621
663
|
} | undefined;
|
|
622
664
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
665
|
+
backgroundCommands?: {
|
|
666
|
+
status: "running" | "exited" | "stopped";
|
|
667
|
+
id: string;
|
|
668
|
+
startedAt: string;
|
|
669
|
+
threadId: string;
|
|
670
|
+
command: string;
|
|
671
|
+
exitCode?: number | undefined;
|
|
672
|
+
endedAt?: string | undefined;
|
|
673
|
+
stopping?: boolean | undefined;
|
|
674
|
+
}[] | undefined;
|
|
623
675
|
movedAt?: string | undefined;
|
|
624
676
|
lastMessageAt?: string | undefined;
|
|
625
677
|
};
|
|
@@ -717,6 +769,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
717
769
|
spawnedBy: string;
|
|
718
770
|
} | undefined;
|
|
719
771
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
772
|
+
backgroundCommands?: {
|
|
773
|
+
status: "running" | "exited" | "stopped";
|
|
774
|
+
id: string;
|
|
775
|
+
startedAt: string;
|
|
776
|
+
threadId: string;
|
|
777
|
+
command: string;
|
|
778
|
+
exitCode?: number | undefined;
|
|
779
|
+
endedAt?: string | undefined;
|
|
780
|
+
stopping?: boolean | undefined;
|
|
781
|
+
}[] | undefined;
|
|
720
782
|
movedAt?: string | undefined;
|
|
721
783
|
lastMessageAt?: string | undefined;
|
|
722
784
|
};
|
|
@@ -868,6 +930,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
868
930
|
spawnedBy: string;
|
|
869
931
|
} | undefined;
|
|
870
932
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
933
|
+
backgroundCommands?: {
|
|
934
|
+
status: "running" | "exited" | "stopped";
|
|
935
|
+
id: string;
|
|
936
|
+
startedAt: string;
|
|
937
|
+
threadId: string;
|
|
938
|
+
command: string;
|
|
939
|
+
exitCode?: number | undefined;
|
|
940
|
+
endedAt?: string | undefined;
|
|
941
|
+
stopping?: boolean | undefined;
|
|
942
|
+
}[] | undefined;
|
|
871
943
|
movedAt?: string | undefined;
|
|
872
944
|
lastMessageAt?: string | undefined;
|
|
873
945
|
};
|
|
@@ -943,6 +1015,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
943
1015
|
spawnedBy: string;
|
|
944
1016
|
} | undefined;
|
|
945
1017
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
1018
|
+
backgroundCommands?: {
|
|
1019
|
+
status: "running" | "exited" | "stopped";
|
|
1020
|
+
id: string;
|
|
1021
|
+
startedAt: string;
|
|
1022
|
+
threadId: string;
|
|
1023
|
+
command: string;
|
|
1024
|
+
exitCode?: number | undefined;
|
|
1025
|
+
endedAt?: string | undefined;
|
|
1026
|
+
stopping?: boolean | undefined;
|
|
1027
|
+
}[] | undefined;
|
|
946
1028
|
movedAt?: string | undefined;
|
|
947
1029
|
lastMessageAt?: string | undefined;
|
|
948
1030
|
};
|
|
@@ -1029,6 +1111,16 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1029
1111
|
spawnedBy: string;
|
|
1030
1112
|
} | undefined;
|
|
1031
1113
|
sandboxParams?: Record<string, import("../schemas/common").JsonValue> | undefined;
|
|
1114
|
+
backgroundCommands?: {
|
|
1115
|
+
status: "running" | "exited" | "stopped";
|
|
1116
|
+
id: string;
|
|
1117
|
+
startedAt: string;
|
|
1118
|
+
threadId: string;
|
|
1119
|
+
command: string;
|
|
1120
|
+
exitCode?: number | undefined;
|
|
1121
|
+
endedAt?: string | undefined;
|
|
1122
|
+
stopping?: boolean | undefined;
|
|
1123
|
+
}[] | undefined;
|
|
1032
1124
|
movedAt?: string | undefined;
|
|
1033
1125
|
lastMessageAt?: string | undefined;
|
|
1034
1126
|
};
|
|
@@ -1199,7 +1291,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1199
1291
|
} | {
|
|
1200
1292
|
error: {
|
|
1201
1293
|
at: string;
|
|
1202
|
-
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";
|
|
1294
|
+
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.change_refused" | "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";
|
|
1203
1295
|
message: string;
|
|
1204
1296
|
retryable: boolean;
|
|
1205
1297
|
details?: import("../schemas/common").JsonValue | undefined;
|
|
@@ -1361,6 +1453,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1361
1453
|
messages: {
|
|
1362
1454
|
post: {
|
|
1363
1455
|
body: {
|
|
1456
|
+
model?: {
|
|
1457
|
+
modelId: string;
|
|
1458
|
+
provider: string;
|
|
1459
|
+
} | undefined;
|
|
1364
1460
|
locale?: string | undefined;
|
|
1365
1461
|
timeZone?: string | undefined;
|
|
1366
1462
|
context?: {
|
|
@@ -1381,10 +1477,6 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1381
1477
|
};
|
|
1382
1478
|
}[] | undefined;
|
|
1383
1479
|
text?: string | undefined;
|
|
1384
|
-
model?: {
|
|
1385
|
-
modelId: string;
|
|
1386
|
-
provider: string;
|
|
1387
|
-
} | undefined;
|
|
1388
1480
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1389
1481
|
attachments?: {
|
|
1390
1482
|
blobId: string;
|
|
@@ -1408,7 +1500,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1408
1500
|
response: {
|
|
1409
1501
|
200: {
|
|
1410
1502
|
run: {
|
|
1411
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1503
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1412
1504
|
projectId: string;
|
|
1413
1505
|
id: string;
|
|
1414
1506
|
kind: "conversation" | "subagent";
|
|
@@ -1418,14 +1510,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1418
1510
|
triggerMessageId: string;
|
|
1419
1511
|
streamId: string;
|
|
1420
1512
|
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;
|
|
1421
|
-
requestedBy?: {
|
|
1422
|
-
id: string;
|
|
1423
|
-
type: "user" | "serviceAccount";
|
|
1424
|
-
} | undefined;
|
|
1425
1513
|
model?: {
|
|
1426
1514
|
modelId: string;
|
|
1427
1515
|
provider: string;
|
|
1428
1516
|
} | undefined;
|
|
1517
|
+
requestedBy?: {
|
|
1518
|
+
id: string;
|
|
1519
|
+
type: "user" | "serviceAccount";
|
|
1520
|
+
} | undefined;
|
|
1429
1521
|
modelId?: string | undefined;
|
|
1430
1522
|
startedAt?: string | undefined;
|
|
1431
1523
|
completedAt?: string | undefined;
|
|
@@ -1500,7 +1592,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1500
1592
|
};
|
|
1501
1593
|
202: {
|
|
1502
1594
|
run: {
|
|
1503
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1595
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1504
1596
|
projectId: string;
|
|
1505
1597
|
id: string;
|
|
1506
1598
|
kind: "conversation" | "subagent";
|
|
@@ -1510,14 +1602,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1510
1602
|
triggerMessageId: string;
|
|
1511
1603
|
streamId: string;
|
|
1512
1604
|
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;
|
|
1513
|
-
requestedBy?: {
|
|
1514
|
-
id: string;
|
|
1515
|
-
type: "user" | "serviceAccount";
|
|
1516
|
-
} | undefined;
|
|
1517
1605
|
model?: {
|
|
1518
1606
|
modelId: string;
|
|
1519
1607
|
provider: string;
|
|
1520
1608
|
} | undefined;
|
|
1609
|
+
requestedBy?: {
|
|
1610
|
+
id: string;
|
|
1611
|
+
type: "user" | "serviceAccount";
|
|
1612
|
+
} | undefined;
|
|
1521
1613
|
modelId?: string | undefined;
|
|
1522
1614
|
startedAt?: string | undefined;
|
|
1523
1615
|
completedAt?: string | undefined;
|
|
@@ -1594,7 +1686,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1594
1686
|
response: {
|
|
1595
1687
|
200: {
|
|
1596
1688
|
run: {
|
|
1597
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1689
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1598
1690
|
projectId: string;
|
|
1599
1691
|
id: string;
|
|
1600
1692
|
kind: "conversation" | "subagent";
|
|
@@ -1604,14 +1696,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1604
1696
|
triggerMessageId: string;
|
|
1605
1697
|
streamId: string;
|
|
1606
1698
|
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;
|
|
1607
|
-
requestedBy?: {
|
|
1608
|
-
id: string;
|
|
1609
|
-
type: "user" | "serviceAccount";
|
|
1610
|
-
} | undefined;
|
|
1611
1699
|
model?: {
|
|
1612
1700
|
modelId: string;
|
|
1613
1701
|
provider: string;
|
|
1614
1702
|
} | undefined;
|
|
1703
|
+
requestedBy?: {
|
|
1704
|
+
id: string;
|
|
1705
|
+
type: "user" | "serviceAccount";
|
|
1706
|
+
} | undefined;
|
|
1615
1707
|
modelId?: string | undefined;
|
|
1616
1708
|
startedAt?: string | undefined;
|
|
1617
1709
|
completedAt?: string | undefined;
|
|
@@ -1681,7 +1773,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1681
1773
|
};
|
|
1682
1774
|
202: {
|
|
1683
1775
|
run: {
|
|
1684
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1776
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1685
1777
|
projectId: string;
|
|
1686
1778
|
id: string;
|
|
1687
1779
|
kind: "conversation" | "subagent";
|
|
@@ -1691,14 +1783,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1691
1783
|
triggerMessageId: string;
|
|
1692
1784
|
streamId: string;
|
|
1693
1785
|
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;
|
|
1694
|
-
requestedBy?: {
|
|
1695
|
-
id: string;
|
|
1696
|
-
type: "user" | "serviceAccount";
|
|
1697
|
-
} | undefined;
|
|
1698
1786
|
model?: {
|
|
1699
1787
|
modelId: string;
|
|
1700
1788
|
provider: string;
|
|
1701
1789
|
} | undefined;
|
|
1790
|
+
requestedBy?: {
|
|
1791
|
+
id: string;
|
|
1792
|
+
type: "user" | "serviceAccount";
|
|
1793
|
+
} | undefined;
|
|
1702
1794
|
modelId?: string | undefined;
|
|
1703
1795
|
startedAt?: string | undefined;
|
|
1704
1796
|
completedAt?: string | undefined;
|
|
@@ -1776,7 +1868,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1776
1868
|
response: {
|
|
1777
1869
|
200: {
|
|
1778
1870
|
run: {
|
|
1779
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1871
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1780
1872
|
projectId: string;
|
|
1781
1873
|
id: string;
|
|
1782
1874
|
kind: "conversation" | "subagent";
|
|
@@ -1786,14 +1878,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1786
1878
|
triggerMessageId: string;
|
|
1787
1879
|
streamId: string;
|
|
1788
1880
|
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;
|
|
1789
|
-
requestedBy?: {
|
|
1790
|
-
id: string;
|
|
1791
|
-
type: "user" | "serviceAccount";
|
|
1792
|
-
} | undefined;
|
|
1793
1881
|
model?: {
|
|
1794
1882
|
modelId: string;
|
|
1795
1883
|
provider: string;
|
|
1796
1884
|
} | undefined;
|
|
1885
|
+
requestedBy?: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
type: "user" | "serviceAccount";
|
|
1888
|
+
} | undefined;
|
|
1797
1889
|
modelId?: string | undefined;
|
|
1798
1890
|
startedAt?: string | undefined;
|
|
1799
1891
|
completedAt?: string | undefined;
|
|
@@ -1868,7 +1960,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1868
1960
|
};
|
|
1869
1961
|
202: {
|
|
1870
1962
|
run: {
|
|
1871
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
1963
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
1872
1964
|
projectId: string;
|
|
1873
1965
|
id: string;
|
|
1874
1966
|
kind: "conversation" | "subagent";
|
|
@@ -1878,14 +1970,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1878
1970
|
triggerMessageId: string;
|
|
1879
1971
|
streamId: string;
|
|
1880
1972
|
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;
|
|
1881
|
-
requestedBy?: {
|
|
1882
|
-
id: string;
|
|
1883
|
-
type: "user" | "serviceAccount";
|
|
1884
|
-
} | undefined;
|
|
1885
1973
|
model?: {
|
|
1886
1974
|
modelId: string;
|
|
1887
1975
|
provider: string;
|
|
1888
1976
|
} | undefined;
|
|
1977
|
+
requestedBy?: {
|
|
1978
|
+
id: string;
|
|
1979
|
+
type: "user" | "serviceAccount";
|
|
1980
|
+
} | undefined;
|
|
1889
1981
|
modelId?: string | undefined;
|
|
1890
1982
|
startedAt?: string | undefined;
|
|
1891
1983
|
completedAt?: string | undefined;
|
|
@@ -1971,7 +2063,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1971
2063
|
windowTokens: number;
|
|
1972
2064
|
limitTokens: number;
|
|
1973
2065
|
parts?: {
|
|
1974
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
2066
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
1975
2067
|
tokens: number;
|
|
1976
2068
|
}[] | undefined;
|
|
1977
2069
|
usedTokens?: number | undefined;
|
|
@@ -2027,7 +2119,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2027
2119
|
threadId: string;
|
|
2028
2120
|
};
|
|
2029
2121
|
query: {
|
|
2030
|
-
status?: "succeeded" | "failed" | "cancelled" | "
|
|
2122
|
+
status?: "succeeded" | "failed" | "cancelled" | "running" | "queued" | undefined;
|
|
2031
2123
|
limit?: string | undefined;
|
|
2032
2124
|
offset?: string | undefined;
|
|
2033
2125
|
order?: "asc" | "desc" | undefined;
|
|
@@ -2036,7 +2128,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2036
2128
|
response: {
|
|
2037
2129
|
200: {
|
|
2038
2130
|
runs: {
|
|
2039
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2131
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2040
2132
|
projectId: string;
|
|
2041
2133
|
id: string;
|
|
2042
2134
|
kind: "conversation" | "subagent";
|
|
@@ -2046,14 +2138,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2046
2138
|
triggerMessageId: string;
|
|
2047
2139
|
streamId: string;
|
|
2048
2140
|
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;
|
|
2049
|
-
requestedBy?: {
|
|
2050
|
-
id: string;
|
|
2051
|
-
type: "user" | "serviceAccount";
|
|
2052
|
-
} | undefined;
|
|
2053
2141
|
model?: {
|
|
2054
2142
|
modelId: string;
|
|
2055
2143
|
provider: string;
|
|
2056
2144
|
} | undefined;
|
|
2145
|
+
requestedBy?: {
|
|
2146
|
+
id: string;
|
|
2147
|
+
type: "user" | "serviceAccount";
|
|
2148
|
+
} | undefined;
|
|
2057
2149
|
modelId?: string | undefined;
|
|
2058
2150
|
startedAt?: string | undefined;
|
|
2059
2151
|
completedAt?: string | undefined;
|
|
@@ -2137,7 +2229,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2137
2229
|
headers: unknown;
|
|
2138
2230
|
response: {
|
|
2139
2231
|
200: {
|
|
2140
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2232
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2141
2233
|
projectId: string;
|
|
2142
2234
|
id: string;
|
|
2143
2235
|
kind: "conversation" | "subagent";
|
|
@@ -2147,14 +2239,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2147
2239
|
triggerMessageId: string;
|
|
2148
2240
|
streamId: string;
|
|
2149
2241
|
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;
|
|
2150
|
-
requestedBy?: {
|
|
2151
|
-
id: string;
|
|
2152
|
-
type: "user" | "serviceAccount";
|
|
2153
|
-
} | undefined;
|
|
2154
2242
|
model?: {
|
|
2155
2243
|
modelId: string;
|
|
2156
2244
|
provider: string;
|
|
2157
2245
|
} | undefined;
|
|
2246
|
+
requestedBy?: {
|
|
2247
|
+
id: string;
|
|
2248
|
+
type: "user" | "serviceAccount";
|
|
2249
|
+
} | undefined;
|
|
2158
2250
|
modelId?: string | undefined;
|
|
2159
2251
|
startedAt?: string | undefined;
|
|
2160
2252
|
completedAt?: string | undefined;
|
|
@@ -2236,7 +2328,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2236
2328
|
response: {
|
|
2237
2329
|
200: {
|
|
2238
2330
|
run: {
|
|
2239
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2331
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2240
2332
|
projectId: string;
|
|
2241
2333
|
id: string;
|
|
2242
2334
|
kind: "conversation" | "subagent";
|
|
@@ -2246,14 +2338,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2246
2338
|
triggerMessageId: string;
|
|
2247
2339
|
streamId: string;
|
|
2248
2340
|
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;
|
|
2249
|
-
requestedBy?: {
|
|
2250
|
-
id: string;
|
|
2251
|
-
type: "user" | "serviceAccount";
|
|
2252
|
-
} | undefined;
|
|
2253
2341
|
model?: {
|
|
2254
2342
|
modelId: string;
|
|
2255
2343
|
provider: string;
|
|
2256
2344
|
} | undefined;
|
|
2345
|
+
requestedBy?: {
|
|
2346
|
+
id: string;
|
|
2347
|
+
type: "user" | "serviceAccount";
|
|
2348
|
+
} | undefined;
|
|
2257
2349
|
modelId?: string | undefined;
|
|
2258
2350
|
startedAt?: string | undefined;
|
|
2259
2351
|
completedAt?: string | undefined;
|
|
@@ -2323,7 +2415,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2323
2415
|
};
|
|
2324
2416
|
202: {
|
|
2325
2417
|
run: {
|
|
2326
|
-
status: "succeeded" | "failed" | "cancelled" | "
|
|
2418
|
+
status: "succeeded" | "failed" | "cancelled" | "running" | "queued";
|
|
2327
2419
|
projectId: string;
|
|
2328
2420
|
id: string;
|
|
2329
2421
|
kind: "conversation" | "subagent";
|
|
@@ -2333,14 +2425,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2333
2425
|
triggerMessageId: string;
|
|
2334
2426
|
streamId: string;
|
|
2335
2427
|
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;
|
|
2336
|
-
requestedBy?: {
|
|
2337
|
-
id: string;
|
|
2338
|
-
type: "user" | "serviceAccount";
|
|
2339
|
-
} | undefined;
|
|
2340
2428
|
model?: {
|
|
2341
2429
|
modelId: string;
|
|
2342
2430
|
provider: string;
|
|
2343
2431
|
} | undefined;
|
|
2432
|
+
requestedBy?: {
|
|
2433
|
+
id: string;
|
|
2434
|
+
type: "user" | "serviceAccount";
|
|
2435
|
+
} | undefined;
|
|
2344
2436
|
modelId?: string | undefined;
|
|
2345
2437
|
startedAt?: string | undefined;
|
|
2346
2438
|
completedAt?: string | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AASnB,OAAO,
|
|
1
|
+
{"version":3,"file":"agents.d.ts","sourceRoot":"","sources":["../../src/routes/agents.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,eAAe,EAIpB,KAAK,YAAY,EAClB,MAAM,YAAY,CAAA;AASnB,OAAO,EACL,KAAK,yBAAyB,EAK9B,KAAK,YAAY,EAGjB,KAAK,iBAAiB,EACtB,KAAK,SAAS,EACf,MAAM,oBAAoB,CAAA;AAC3B,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAY,CAAC,EAAE,MAAM,KAAK,CAAA;AAEjC,OAAO,EAIL,kBAAkB,EACnB,MAAM,eAAe,CAAA;AAStB,OAAO,EAML,wBAAwB,EAKxB,cAAc,EAOd,iBAAiB,EAQlB,MAAM,mBAAmB,CAAA;AAG1B,OAAO,EACL,gBAAgB,EAIjB,MAAM,eAAe,CAAA;AAYtB;;;GAGG;AACH,wBAAsB,gBAAgB,CACpC,IAAI,EAAE,YAAY,EAClB,OAAO,EAAE,SAAS,eAAe,EAAE,EACnC,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;gDA7DlE,MAAM;+CAAiB,qBAAqB;;uCA6DgB,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAu7BvF"}
|
|
@@ -4,7 +4,8 @@ import type { ResolvedSixbApiBrowserPolicy } from "../auth/browser-origin";
|
|
|
4
4
|
/**
|
|
5
5
|
* Serves a version's files to its sandboxed frame, under the token a frame link carries: the token
|
|
6
6
|
* is the credential, so the route is public. Each entry gets its layout's kit and the runtime,
|
|
7
|
-
* which are served beside the files.
|
|
7
|
+
* which are served beside the files. A canvas's board asked for with `?sixb-edit` is served for
|
|
8
|
+
* editing: its static elements marked with their addresses. Hidden from OpenAPI: clients receive frame links, they
|
|
8
9
|
* never build them.
|
|
9
10
|
*/
|
|
10
11
|
export declare function registerArtifactFrameRoutes(app: Elysia, host: SixbHostView, policy: ResolvedSixbApiBrowserPolicy): Elysia<"", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-frames.d.ts","sourceRoot":"","sources":["../../src/routes/artifact-frames.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"artifact-frames.d.ts","sourceRoot":"","sources":["../../src/routes/artifact-frames.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAoB9C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAA;AAQ1E;;;;;;GAMG;AACH,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,YAAY,EAClB,MAAM,EAAE,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAQrC"}
|