@sixb/server 0.2.2 → 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 +2777 -683
- package/dist/index.js.map +41 -34
- 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 +10 -10
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +32 -0
- 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 +48 -48
- 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 +7 -7
- package/dist/routes/ontology.d.ts +6 -6
- package/dist/routes/pipelines.d.ts +8 -4
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/projections.d.ts +2 -2
- 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 +5 -2
- 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 +3 -3
- 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 +8 -8
- package/dist/schemas/agent-approvals.d.ts +27 -27
- package/dist/schemas/agents.d.ts +195 -154
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +12 -12
- 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 +70 -48
- package/dist/schemas/pipelines.d.ts.map +1 -1
- package/dist/schemas/projections.d.ts +14 -14
- 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 +26 -10
- package/dist/schemas/syncs.d.ts.map +1 -1
- package/dist/schemas/telemetry.d.ts +26 -26
- package/dist/schemas/workflows.d.ts +19 -19
- 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 +59 -1
- package/src/routes/agent-runners.ts +1 -0
- 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 +11 -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
|
@@ -156,7 +156,7 @@ export declare function readThreadMessages(host: SixbHostView, storage: AgentSto
|
|
|
156
156
|
} | {
|
|
157
157
|
error: {
|
|
158
158
|
at: string;
|
|
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.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";
|
|
160
160
|
message: string;
|
|
161
161
|
retryable: boolean;
|
|
162
162
|
details?: import("../schemas/common").JsonValue | undefined;
|
|
@@ -294,11 +294,11 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
294
294
|
headers: unknown;
|
|
295
295
|
response: {
|
|
296
296
|
200: {
|
|
297
|
-
name: string;
|
|
298
297
|
model: {
|
|
299
298
|
modelId: string;
|
|
300
299
|
provider: string;
|
|
301
300
|
};
|
|
301
|
+
name: string;
|
|
302
302
|
};
|
|
303
303
|
404: {
|
|
304
304
|
error: string;
|
|
@@ -1291,7 +1291,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1291
1291
|
} | {
|
|
1292
1292
|
error: {
|
|
1293
1293
|
at: string;
|
|
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.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";
|
|
1295
1295
|
message: string;
|
|
1296
1296
|
retryable: boolean;
|
|
1297
1297
|
details?: import("../schemas/common").JsonValue | undefined;
|
|
@@ -1453,6 +1453,10 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1453
1453
|
messages: {
|
|
1454
1454
|
post: {
|
|
1455
1455
|
body: {
|
|
1456
|
+
model?: {
|
|
1457
|
+
modelId: string;
|
|
1458
|
+
provider: string;
|
|
1459
|
+
} | undefined;
|
|
1456
1460
|
locale?: string | undefined;
|
|
1457
1461
|
timeZone?: string | undefined;
|
|
1458
1462
|
context?: {
|
|
@@ -1473,10 +1477,6 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1473
1477
|
};
|
|
1474
1478
|
}[] | undefined;
|
|
1475
1479
|
text?: string | undefined;
|
|
1476
|
-
model?: {
|
|
1477
|
-
modelId: string;
|
|
1478
|
-
provider: string;
|
|
1479
|
-
} | undefined;
|
|
1480
1480
|
approvalMode?: "manual" | "accept-edits" | "auto" | undefined;
|
|
1481
1481
|
attachments?: {
|
|
1482
1482
|
blobId: string;
|
|
@@ -1510,14 +1510,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1510
1510
|
triggerMessageId: string;
|
|
1511
1511
|
streamId: string;
|
|
1512
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;
|
|
1513
|
-
requestedBy?: {
|
|
1514
|
-
id: string;
|
|
1515
|
-
type: "user" | "serviceAccount";
|
|
1516
|
-
} | undefined;
|
|
1517
1513
|
model?: {
|
|
1518
1514
|
modelId: string;
|
|
1519
1515
|
provider: string;
|
|
1520
1516
|
} | undefined;
|
|
1517
|
+
requestedBy?: {
|
|
1518
|
+
id: string;
|
|
1519
|
+
type: "user" | "serviceAccount";
|
|
1520
|
+
} | undefined;
|
|
1521
1521
|
modelId?: string | undefined;
|
|
1522
1522
|
startedAt?: string | undefined;
|
|
1523
1523
|
completedAt?: string | undefined;
|
|
@@ -1602,14 +1602,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1602
1602
|
triggerMessageId: string;
|
|
1603
1603
|
streamId: string;
|
|
1604
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;
|
|
1605
|
-
requestedBy?: {
|
|
1606
|
-
id: string;
|
|
1607
|
-
type: "user" | "serviceAccount";
|
|
1608
|
-
} | undefined;
|
|
1609
1605
|
model?: {
|
|
1610
1606
|
modelId: string;
|
|
1611
1607
|
provider: string;
|
|
1612
1608
|
} | undefined;
|
|
1609
|
+
requestedBy?: {
|
|
1610
|
+
id: string;
|
|
1611
|
+
type: "user" | "serviceAccount";
|
|
1612
|
+
} | undefined;
|
|
1613
1613
|
modelId?: string | undefined;
|
|
1614
1614
|
startedAt?: string | undefined;
|
|
1615
1615
|
completedAt?: string | undefined;
|
|
@@ -1696,14 +1696,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1696
1696
|
triggerMessageId: string;
|
|
1697
1697
|
streamId: string;
|
|
1698
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;
|
|
1699
|
-
requestedBy?: {
|
|
1700
|
-
id: string;
|
|
1701
|
-
type: "user" | "serviceAccount";
|
|
1702
|
-
} | undefined;
|
|
1703
1699
|
model?: {
|
|
1704
1700
|
modelId: string;
|
|
1705
1701
|
provider: string;
|
|
1706
1702
|
} | undefined;
|
|
1703
|
+
requestedBy?: {
|
|
1704
|
+
id: string;
|
|
1705
|
+
type: "user" | "serviceAccount";
|
|
1706
|
+
} | undefined;
|
|
1707
1707
|
modelId?: string | undefined;
|
|
1708
1708
|
startedAt?: string | undefined;
|
|
1709
1709
|
completedAt?: string | undefined;
|
|
@@ -1783,14 +1783,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1783
1783
|
triggerMessageId: string;
|
|
1784
1784
|
streamId: string;
|
|
1785
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;
|
|
1786
|
-
requestedBy?: {
|
|
1787
|
-
id: string;
|
|
1788
|
-
type: "user" | "serviceAccount";
|
|
1789
|
-
} | undefined;
|
|
1790
1786
|
model?: {
|
|
1791
1787
|
modelId: string;
|
|
1792
1788
|
provider: string;
|
|
1793
1789
|
} | undefined;
|
|
1790
|
+
requestedBy?: {
|
|
1791
|
+
id: string;
|
|
1792
|
+
type: "user" | "serviceAccount";
|
|
1793
|
+
} | undefined;
|
|
1794
1794
|
modelId?: string | undefined;
|
|
1795
1795
|
startedAt?: string | undefined;
|
|
1796
1796
|
completedAt?: string | undefined;
|
|
@@ -1878,14 +1878,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1878
1878
|
triggerMessageId: string;
|
|
1879
1879
|
streamId: string;
|
|
1880
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;
|
|
1881
|
-
requestedBy?: {
|
|
1882
|
-
id: string;
|
|
1883
|
-
type: "user" | "serviceAccount";
|
|
1884
|
-
} | undefined;
|
|
1885
1881
|
model?: {
|
|
1886
1882
|
modelId: string;
|
|
1887
1883
|
provider: string;
|
|
1888
1884
|
} | undefined;
|
|
1885
|
+
requestedBy?: {
|
|
1886
|
+
id: string;
|
|
1887
|
+
type: "user" | "serviceAccount";
|
|
1888
|
+
} | undefined;
|
|
1889
1889
|
modelId?: string | undefined;
|
|
1890
1890
|
startedAt?: string | undefined;
|
|
1891
1891
|
completedAt?: string | undefined;
|
|
@@ -1970,14 +1970,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
1970
1970
|
triggerMessageId: string;
|
|
1971
1971
|
streamId: string;
|
|
1972
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;
|
|
1973
|
-
requestedBy?: {
|
|
1974
|
-
id: string;
|
|
1975
|
-
type: "user" | "serviceAccount";
|
|
1976
|
-
} | undefined;
|
|
1977
1973
|
model?: {
|
|
1978
1974
|
modelId: string;
|
|
1979
1975
|
provider: string;
|
|
1980
1976
|
} | undefined;
|
|
1977
|
+
requestedBy?: {
|
|
1978
|
+
id: string;
|
|
1979
|
+
type: "user" | "serviceAccount";
|
|
1980
|
+
} | undefined;
|
|
1981
1981
|
modelId?: string | undefined;
|
|
1982
1982
|
startedAt?: string | undefined;
|
|
1983
1983
|
completedAt?: string | undefined;
|
|
@@ -2063,7 +2063,7 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2063
2063
|
windowTokens: number;
|
|
2064
2064
|
limitTokens: number;
|
|
2065
2065
|
parts?: {
|
|
2066
|
-
part: "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "
|
|
2066
|
+
part: "memory" | "system" | "ontology" | "tools" | "instructions" | "files" | "summary" | "messages" | "skills" | "toolResults";
|
|
2067
2067
|
tokens: number;
|
|
2068
2068
|
}[] | undefined;
|
|
2069
2069
|
usedTokens?: number | undefined;
|
|
@@ -2138,14 +2138,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2138
2138
|
triggerMessageId: string;
|
|
2139
2139
|
streamId: string;
|
|
2140
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;
|
|
2141
|
-
requestedBy?: {
|
|
2142
|
-
id: string;
|
|
2143
|
-
type: "user" | "serviceAccount";
|
|
2144
|
-
} | undefined;
|
|
2145
2141
|
model?: {
|
|
2146
2142
|
modelId: string;
|
|
2147
2143
|
provider: string;
|
|
2148
2144
|
} | undefined;
|
|
2145
|
+
requestedBy?: {
|
|
2146
|
+
id: string;
|
|
2147
|
+
type: "user" | "serviceAccount";
|
|
2148
|
+
} | undefined;
|
|
2149
2149
|
modelId?: string | undefined;
|
|
2150
2150
|
startedAt?: string | undefined;
|
|
2151
2151
|
completedAt?: string | undefined;
|
|
@@ -2239,14 +2239,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2239
2239
|
triggerMessageId: string;
|
|
2240
2240
|
streamId: string;
|
|
2241
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;
|
|
2242
|
-
requestedBy?: {
|
|
2243
|
-
id: string;
|
|
2244
|
-
type: "user" | "serviceAccount";
|
|
2245
|
-
} | undefined;
|
|
2246
2242
|
model?: {
|
|
2247
2243
|
modelId: string;
|
|
2248
2244
|
provider: string;
|
|
2249
2245
|
} | undefined;
|
|
2246
|
+
requestedBy?: {
|
|
2247
|
+
id: string;
|
|
2248
|
+
type: "user" | "serviceAccount";
|
|
2249
|
+
} | undefined;
|
|
2250
2250
|
modelId?: string | undefined;
|
|
2251
2251
|
startedAt?: string | undefined;
|
|
2252
2252
|
completedAt?: string | undefined;
|
|
@@ -2338,14 +2338,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2338
2338
|
triggerMessageId: string;
|
|
2339
2339
|
streamId: string;
|
|
2340
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;
|
|
2341
|
-
requestedBy?: {
|
|
2342
|
-
id: string;
|
|
2343
|
-
type: "user" | "serviceAccount";
|
|
2344
|
-
} | undefined;
|
|
2345
2341
|
model?: {
|
|
2346
2342
|
modelId: string;
|
|
2347
2343
|
provider: string;
|
|
2348
2344
|
} | undefined;
|
|
2345
|
+
requestedBy?: {
|
|
2346
|
+
id: string;
|
|
2347
|
+
type: "user" | "serviceAccount";
|
|
2348
|
+
} | undefined;
|
|
2349
2349
|
modelId?: string | undefined;
|
|
2350
2350
|
startedAt?: string | undefined;
|
|
2351
2351
|
completedAt?: string | undefined;
|
|
@@ -2425,14 +2425,14 @@ export declare function registerAgentRoutes(app: Elysia, host: SixbHostView): El
|
|
|
2425
2425
|
triggerMessageId: string;
|
|
2426
2426
|
streamId: string;
|
|
2427
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;
|
|
2428
|
-
requestedBy?: {
|
|
2429
|
-
id: string;
|
|
2430
|
-
type: "user" | "serviceAccount";
|
|
2431
|
-
} | undefined;
|
|
2432
2428
|
model?: {
|
|
2433
2429
|
modelId: string;
|
|
2434
2430
|
provider: string;
|
|
2435
2431
|
} | undefined;
|
|
2432
|
+
requestedBy?: {
|
|
2433
|
+
id: string;
|
|
2434
|
+
type: "user" | "serviceAccount";
|
|
2435
|
+
} | undefined;
|
|
2436
2436
|
modelId?: string | undefined;
|
|
2437
2437
|
startedAt?: string | undefined;
|
|
2438
2438
|
completedAt?: string | undefined;
|
|
@@ -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"}
|