@sixb/server 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/artifacts/frame.d.ts +5 -0
- package/dist/artifacts/frame.d.ts.map +1 -1
- package/dist/auth/browser-origin.d.ts +5 -1
- package/dist/auth/browser-origin.d.ts.map +1 -1
- package/dist/auth/experience.d.ts +1 -0
- package/dist/auth/experience.d.ts.map +1 -1
- package/dist/auth/public-routes.d.ts.map +1 -1
- package/dist/auth/responses.d.ts +1 -1
- package/dist/auth/responses.d.ts.map +1 -1
- package/dist/auth/scope.d.ts +19 -3
- package/dist/auth/scope.d.ts.map +1 -1
- package/dist/index.js +10093 -7553
- package/dist/index.js.map +51 -39
- package/dist/models/display.d.ts +27 -0
- package/dist/models/display.d.ts.map +1 -1
- package/dist/openapi/components.d.ts +14 -0
- package/dist/openapi/components.d.ts.map +1 -0
- package/dist/openapi/tags.d.ts +14 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/agent-api-gateway.d.ts.map +1 -1
- package/dist/routes/agent-approval-gate.d.ts +27 -0
- package/dist/routes/agent-approval-gate.d.ts.map +1 -0
- package/dist/routes/agent-approvals.d.ts +599 -0
- package/dist/routes/agent-approvals.d.ts.map +1 -0
- package/dist/routes/agent-children.d.ts +318 -0
- package/dist/routes/agent-children.d.ts.map +1 -0
- package/dist/routes/agent-memory.d.ts +267 -0
- package/dist/routes/agent-memory.d.ts.map +1 -0
- package/dist/routes/agents.d.ts +999 -80
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/artifact-frames.d.ts +3 -3
- package/dist/routes/artifact-frames.d.ts.map +1 -1
- package/dist/routes/artifacts.d.ts +790 -134
- package/dist/routes/artifacts.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +116 -10
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +50 -50
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +20 -20
- package/dist/routes/events.d.ts +4 -4
- package/dist/routes/files.d.ts +14 -14
- package/dist/routes/files.d.ts.map +1 -1
- package/dist/routes/links.d.ts +2 -2
- package/dist/routes/logs.d.ts +5 -5
- package/dist/routes/model-calls.d.ts +155 -0
- package/dist/routes/model-calls.d.ts.map +1 -0
- package/dist/routes/model-generations.d.ts +400 -0
- package/dist/routes/model-generations.d.ts.map +1 -0
- package/dist/routes/models.d.ts +434 -1
- package/dist/routes/models.d.ts.map +1 -1
- package/dist/routes/objects.d.ts +71 -40
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +682 -0
- package/dist/routes/observed-agent-threads.d.ts.map +1 -0
- package/dist/routes/ontology.d.ts +66 -62
- package/dist/routes/ontology.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +24 -24
- package/dist/routes/projections.d.ts +55 -55
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +9 -9
- package/dist/routes/syncs.d.ts +46 -46
- package/dist/routes/users.d.ts +117 -0
- package/dist/routes/users.d.ts.map +1 -0
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +118 -52
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +7 -2
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/events.d.ts +6 -6
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +48 -28
- package/dist/schemas/activity.d.ts.map +1 -1
- package/dist/schemas/agent-approvals.d.ts +1091 -0
- package/dist/schemas/agent-approvals.d.ts.map +1 -0
- package/dist/schemas/agent-memory.d.ts +250 -0
- package/dist/schemas/agent-memory.d.ts.map +1 -0
- package/dist/schemas/agents.d.ts +5442 -369
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1290 -411
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +10 -10
- package/dist/schemas/ai-usage.d.ts +12 -0
- package/dist/schemas/ai-usage.d.ts.map +1 -1
- package/dist/schemas/artifacts.d.ts +650 -98
- package/dist/schemas/artifacts.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +119 -46
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +22 -22
- package/dist/schemas/datasets.d.ts +98 -98
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +26 -26
- package/dist/schemas/events.d.ts.map +1 -1
- package/dist/schemas/files.d.ts +24 -24
- package/dist/schemas/links.d.ts +2 -2
- package/dist/schemas/logs.d.ts +32 -32
- package/dist/schemas/models.d.ts +8889 -10
- package/dist/schemas/models.d.ts.map +1 -1
- package/dist/schemas/objects.d.ts +48 -12
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/ontology.d.ts +127 -104
- package/dist/schemas/ontology.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +132 -132
- package/dist/schemas/projections.d.ts +314 -314
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +30 -30
- package/dist/schemas/syncs.d.ts +49 -49
- package/dist/schemas/users.d.ts +72 -0
- package/dist/schemas/users.d.ts.map +1 -0
- package/dist/schemas/webhook-runs.d.ts +6 -6
- package/dist/schemas/workflows.d.ts +701 -186
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/http.d.ts.map +1 -1
- package/package.json +7 -7
- package/src/artifacts/frame.ts +6 -1
- package/src/auth/browser-origin.ts +8 -3
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +6 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +12 -0
- package/src/registerRoutes.ts +14 -0
- package/src/routes/agent-api-gateway.ts +115 -91
- package/src/routes/agent-approval-gate.ts +213 -0
- package/src/routes/agent-approvals.ts +299 -0
- package/src/routes/agent-children.ts +209 -0
- package/src/routes/agent-memory.ts +210 -0
- package/src/routes/agents.ts +363 -142
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +14 -8
- package/src/routes/artifacts.ts +297 -22
- package/src/routes/auth.ts +306 -13
- package/src/routes/files.ts +6 -7
- package/src/routes/model-calls.ts +120 -0
- package/src/routes/model-generations.ts +245 -0
- package/src/routes/models.ts +116 -9
- package/src/routes/objects.ts +55 -61
- package/src/routes/observed-agent-threads.ts +253 -0
- package/src/routes/ontology.ts +1 -0
- package/src/routes/users.ts +73 -0
- package/src/routes/workflows.ts +6 -9
- package/src/routes/ws/agents.ts +10 -5
- package/src/schemas/activity.ts +2 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +239 -0
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +91 -3
- package/src/schemas/auth.ts +25 -0
- package/src/schemas/models.ts +197 -1
- package/src/schemas/objects.ts +181 -0
- package/src/schemas/ontology.ts +1 -0
- package/src/schemas/users.ts +24 -0
- package/src/schemas/workflows.ts +2 -0
- package/src/server.ts +9 -10
- package/src/utils/http.ts +2 -0
|
@@ -3,8 +3,8 @@ import { z } from "zod";
|
|
|
3
3
|
import type { SixbServer } from "../../server";
|
|
4
4
|
declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
5
5
|
type: z.ZodLiteral<"subscribe">;
|
|
6
|
-
topic: z.ZodOptional<z.ZodEnum<["datasets" | "
|
|
7
|
-
types: z.ZodOptional<z.ZodArray<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[]]>, "many">>;
|
|
6
|
+
topic: z.ZodOptional<z.ZodEnum<["objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links", ...("objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links")[]]>>;
|
|
7
|
+
types: z.ZodOptional<z.ZodArray<z.ZodEnum<["object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated", ...("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[]]>, "many">>;
|
|
8
8
|
objectTypeId: z.ZodOptional<z.ZodString>;
|
|
9
9
|
primaryId: z.ZodOptional<z.ZodString>;
|
|
10
10
|
runId: z.ZodOptional<z.ZodString>;
|
|
@@ -16,8 +16,8 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
16
16
|
runId?: string | undefined;
|
|
17
17
|
primaryId?: string | undefined;
|
|
18
18
|
limit?: number | undefined;
|
|
19
|
-
types?: ("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[] | undefined;
|
|
20
|
-
topic?: "datasets" | "
|
|
19
|
+
types?: ("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[] | undefined;
|
|
20
|
+
topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links" | undefined;
|
|
21
21
|
afterCursor?: string | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
type: "subscribe";
|
|
@@ -25,8 +25,8 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
25
25
|
runId?: string | undefined;
|
|
26
26
|
primaryId?: string | undefined;
|
|
27
27
|
limit?: number | undefined;
|
|
28
|
-
types?: ("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed")[] | undefined;
|
|
29
|
-
topic?: "datasets" | "
|
|
28
|
+
types?: ("object.created" | "object.updated" | "object.deleted" | "link.created" | "link.updated" | "link.deleted" | "telemetry.appended" | "schedule.triggered" | "rule.triggered" | "rule.resolved" | "sync.run.started" | "sync.run.finished" | "pipeline.run.started" | "pipeline.run.step.started" | "pipeline.run.step.finished" | "pipeline.run.finished" | "workflow.run.queued" | "workflow.run.started" | "workflow.run.node.started" | "workflow.run.waiting" | "workflow.run.node.waiting" | "workflow.run.node.finished" | "workflow.run.finished" | "workflow.intervention.requested" | "workflow.intervention.submitted" | "workflow.intervention.cancelled" | "workflow.intervention.expired" | "dataset.version.committed" | "user.joined" | "user.suspended" | "user.reactivated" | "user.invited" | "user.profile.updated")[] | undefined;
|
|
29
|
+
topic?: "objects" | "datasets" | "workflows" | "syncs" | "pipelines" | "rules" | "schedules" | "users" | "telemetry" | "links" | undefined;
|
|
30
30
|
afterCursor?: string | undefined;
|
|
31
31
|
}>, z.ZodObject<{
|
|
32
32
|
type: z.ZodLiteral<"unsubscribe">;
|
package/dist/routes/ws/logs.d.ts
CHANGED
|
@@ -19,48 +19,48 @@ declare const SubscriptionMessageSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
}, "strip", z.ZodTypeAny, {
|
|
21
21
|
id: string;
|
|
22
|
-
kind: "workflow" | "agent" | "action" | "
|
|
22
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
23
23
|
}, {
|
|
24
24
|
id: string;
|
|
25
|
-
kind: "workflow" | "agent" | "action" | "
|
|
25
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
26
26
|
}>>;
|
|
27
27
|
afterCursor: z.ZodOptional<z.ZodString>;
|
|
28
28
|
}, "strip", z.ZodTypeAny, {
|
|
29
29
|
type: "subscribe";
|
|
30
30
|
run?: {
|
|
31
31
|
id: string;
|
|
32
|
-
kind: "workflow" | "agent" | "action" | "
|
|
32
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
33
33
|
} | undefined;
|
|
34
|
-
kinds?: ("workflow" | "agent" | "action" | "
|
|
34
|
+
kinds?: ("workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection")[] | undefined;
|
|
35
35
|
afterCursor?: string | undefined;
|
|
36
|
-
levels?: ("error" | "
|
|
36
|
+
levels?: ("error" | "info" | "debug" | "warn")[] | undefined;
|
|
37
37
|
}, {
|
|
38
38
|
type: "subscribe";
|
|
39
39
|
run?: {
|
|
40
40
|
id: string;
|
|
41
|
-
kind: "workflow" | "agent" | "action" | "
|
|
41
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
42
42
|
} | undefined;
|
|
43
|
-
kinds?: ("workflow" | "agent" | "action" | "
|
|
43
|
+
kinds?: ("workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection")[] | undefined;
|
|
44
44
|
afterCursor?: string | undefined;
|
|
45
|
-
levels?: ("error" | "
|
|
45
|
+
levels?: ("error" | "info" | "debug" | "warn")[] | undefined;
|
|
46
46
|
}>, {
|
|
47
47
|
type: "subscribe";
|
|
48
48
|
run?: {
|
|
49
49
|
id: string;
|
|
50
|
-
kind: "workflow" | "agent" | "action" | "
|
|
50
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
51
51
|
} | undefined;
|
|
52
|
-
kinds?: ("workflow" | "agent" | "action" | "
|
|
52
|
+
kinds?: ("workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection")[] | undefined;
|
|
53
53
|
afterCursor?: string | undefined;
|
|
54
|
-
levels?: ("error" | "
|
|
54
|
+
levels?: ("error" | "info" | "debug" | "warn")[] | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
type: "subscribe";
|
|
57
57
|
run?: {
|
|
58
58
|
id: string;
|
|
59
|
-
kind: "workflow" | "agent" | "action" | "
|
|
59
|
+
kind: "workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection";
|
|
60
60
|
} | undefined;
|
|
61
|
-
kinds?: ("workflow" | "agent" | "action" | "
|
|
61
|
+
kinds?: ("workflow" | "agent" | "action" | "pipeline" | "webhook" | "sync" | "projection")[] | undefined;
|
|
62
62
|
afterCursor?: string | undefined;
|
|
63
|
-
levels?: ("error" | "
|
|
63
|
+
levels?: ("error" | "info" | "debug" | "warn")[] | undefined;
|
|
64
64
|
}>, z.ZodObject<{
|
|
65
65
|
type: z.ZodLiteral<"unsubscribe">;
|
|
66
66
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -95,13 +95,13 @@ export declare const ActionRunInProgressResponseSchema: z.ZodObject<{
|
|
|
95
95
|
export declare const ActionRequestFailedResponseSchema: z.ZodObject<{
|
|
96
96
|
error: z.ZodString;
|
|
97
97
|
} & {
|
|
98
|
-
code: z.ZodEnum<["action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "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" | "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", ...("action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "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" | "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")[]]>;
|
|
98
|
+
code: z.ZodEnum<["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", ...("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")[]]>;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
100
|
error: string;
|
|
101
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "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" | "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";
|
|
101
|
+
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";
|
|
102
102
|
}, {
|
|
103
103
|
error: string;
|
|
104
|
-
code: "action.phase_failed" | "action.read_conflict" | "action.run_in_progress" | "action.timeout" | "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" | "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";
|
|
104
|
+
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";
|
|
105
105
|
}>;
|
|
106
106
|
/** The server is stopping and refused the request before starting anything. */
|
|
107
107
|
export declare const RuntimeStoppingResponseSchema: z.ZodObject<{
|
|
@@ -131,16 +131,16 @@ export declare const ActionCatalogItemSchema: z.ZodObject<{
|
|
|
131
131
|
}, "strip", z.ZodTypeAny, {
|
|
132
132
|
id: string;
|
|
133
133
|
name: string;
|
|
134
|
-
description?: string | undefined;
|
|
135
134
|
nullable?: boolean | undefined;
|
|
135
|
+
description?: string | undefined;
|
|
136
136
|
required?: boolean | undefined;
|
|
137
137
|
semanticType?: string | undefined;
|
|
138
138
|
schema?: unknown;
|
|
139
139
|
}, {
|
|
140
140
|
id: string;
|
|
141
141
|
name: string;
|
|
142
|
-
description?: string | undefined;
|
|
143
142
|
nullable?: boolean | undefined;
|
|
143
|
+
description?: string | undefined;
|
|
144
144
|
required?: boolean | undefined;
|
|
145
145
|
semanticType?: string | undefined;
|
|
146
146
|
schema?: unknown;
|
|
@@ -163,16 +163,16 @@ export declare const ActionCatalogItemSchema: z.ZodObject<{
|
|
|
163
163
|
}>;
|
|
164
164
|
}, "strip", z.ZodTypeAny, {
|
|
165
165
|
id: string;
|
|
166
|
-
name: string;
|
|
167
166
|
params: {
|
|
168
167
|
id: string;
|
|
169
168
|
name: string;
|
|
170
|
-
description?: string | undefined;
|
|
171
169
|
nullable?: boolean | undefined;
|
|
170
|
+
description?: string | undefined;
|
|
172
171
|
required?: boolean | undefined;
|
|
173
172
|
semanticType?: string | undefined;
|
|
174
173
|
schema?: unknown;
|
|
175
174
|
}[];
|
|
175
|
+
name: string;
|
|
176
176
|
phases: {
|
|
177
177
|
validate: boolean;
|
|
178
178
|
writeback: boolean;
|
|
@@ -183,16 +183,16 @@ export declare const ActionCatalogItemSchema: z.ZodObject<{
|
|
|
183
183
|
objectTypeId?: string | undefined;
|
|
184
184
|
}, {
|
|
185
185
|
id: string;
|
|
186
|
-
name: string;
|
|
187
186
|
params: {
|
|
188
187
|
id: string;
|
|
189
188
|
name: string;
|
|
190
|
-
description?: string | undefined;
|
|
191
189
|
nullable?: boolean | undefined;
|
|
190
|
+
description?: string | undefined;
|
|
192
191
|
required?: boolean | undefined;
|
|
193
192
|
semanticType?: string | undefined;
|
|
194
193
|
schema?: unknown;
|
|
195
194
|
}[];
|
|
195
|
+
name: string;
|
|
196
196
|
phases: {
|
|
197
197
|
validate: boolean;
|
|
198
198
|
writeback: boolean;
|
|
@@ -218,16 +218,16 @@ export declare const ActionDetailSchema: z.ZodObject<{
|
|
|
218
218
|
}, "strip", z.ZodTypeAny, {
|
|
219
219
|
id: string;
|
|
220
220
|
name: string;
|
|
221
|
-
description?: string | undefined;
|
|
222
221
|
nullable?: boolean | undefined;
|
|
222
|
+
description?: string | undefined;
|
|
223
223
|
required?: boolean | undefined;
|
|
224
224
|
semanticType?: string | undefined;
|
|
225
225
|
schema?: unknown;
|
|
226
226
|
}, {
|
|
227
227
|
id: string;
|
|
228
228
|
name: string;
|
|
229
|
-
description?: string | undefined;
|
|
230
229
|
nullable?: boolean | undefined;
|
|
230
|
+
description?: string | undefined;
|
|
231
231
|
required?: boolean | undefined;
|
|
232
232
|
semanticType?: string | undefined;
|
|
233
233
|
schema?: unknown;
|
|
@@ -253,16 +253,16 @@ export declare const ActionDetailSchema: z.ZodObject<{
|
|
|
253
253
|
inputSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
254
254
|
}, "strip", z.ZodTypeAny, {
|
|
255
255
|
id: string;
|
|
256
|
-
name: string;
|
|
257
256
|
params: {
|
|
258
257
|
id: string;
|
|
259
258
|
name: string;
|
|
260
|
-
description?: string | undefined;
|
|
261
259
|
nullable?: boolean | undefined;
|
|
260
|
+
description?: string | undefined;
|
|
262
261
|
required?: boolean | undefined;
|
|
263
262
|
semanticType?: string | undefined;
|
|
264
263
|
schema?: unknown;
|
|
265
264
|
}[];
|
|
265
|
+
name: string;
|
|
266
266
|
phases: {
|
|
267
267
|
validate: boolean;
|
|
268
268
|
writeback: boolean;
|
|
@@ -274,16 +274,16 @@ export declare const ActionDetailSchema: z.ZodObject<{
|
|
|
274
274
|
objectTypeId?: string | undefined;
|
|
275
275
|
}, {
|
|
276
276
|
id: string;
|
|
277
|
-
name: string;
|
|
278
277
|
params: {
|
|
279
278
|
id: string;
|
|
280
279
|
name: string;
|
|
281
|
-
description?: string | undefined;
|
|
282
280
|
nullable?: boolean | undefined;
|
|
281
|
+
description?: string | undefined;
|
|
283
282
|
required?: boolean | undefined;
|
|
284
283
|
semanticType?: string | undefined;
|
|
285
284
|
schema?: unknown;
|
|
286
285
|
}[];
|
|
286
|
+
name: string;
|
|
287
287
|
phases: {
|
|
288
288
|
validate: boolean;
|
|
289
289
|
writeback: boolean;
|
|
@@ -46,13 +46,13 @@ export declare const ActivityEventInputSchema: z.ZodDiscriminatedUnion<"type", [
|
|
|
46
46
|
route: z.ZodEffects<z.ZodString, string, string>;
|
|
47
47
|
}, "strict", z.ZodTypeAny, {
|
|
48
48
|
id: string;
|
|
49
|
-
name: string;
|
|
50
49
|
type: "ui.interaction";
|
|
50
|
+
name: string;
|
|
51
51
|
route: string;
|
|
52
52
|
}, {
|
|
53
53
|
id: string;
|
|
54
|
-
name: string;
|
|
55
54
|
type: "ui.interaction";
|
|
55
|
+
name: string;
|
|
56
56
|
route: string;
|
|
57
57
|
}>]>;
|
|
58
58
|
export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
@@ -103,13 +103,13 @@ export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
103
103
|
route: z.ZodEffects<z.ZodString, string, string>;
|
|
104
104
|
}, "strict", z.ZodTypeAny, {
|
|
105
105
|
id: string;
|
|
106
|
-
name: string;
|
|
107
106
|
type: "ui.interaction";
|
|
107
|
+
name: string;
|
|
108
108
|
route: string;
|
|
109
109
|
}, {
|
|
110
110
|
id: string;
|
|
111
|
-
name: string;
|
|
112
111
|
type: "ui.interaction";
|
|
112
|
+
name: string;
|
|
113
113
|
route: string;
|
|
114
114
|
}>]>, "many">;
|
|
115
115
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -125,8 +125,8 @@ export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
125
125
|
} | undefined;
|
|
126
126
|
} | {
|
|
127
127
|
id: string;
|
|
128
|
-
name: string;
|
|
129
128
|
type: "ui.interaction";
|
|
129
|
+
name: string;
|
|
130
130
|
route: string;
|
|
131
131
|
})[];
|
|
132
132
|
}, {
|
|
@@ -142,8 +142,8 @@ export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
142
142
|
} | undefined;
|
|
143
143
|
} | {
|
|
144
144
|
id: string;
|
|
145
|
-
name: string;
|
|
146
145
|
type: "ui.interaction";
|
|
146
|
+
name: string;
|
|
147
147
|
route: string;
|
|
148
148
|
})[];
|
|
149
149
|
}>, {
|
|
@@ -159,8 +159,8 @@ export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
159
159
|
} | undefined;
|
|
160
160
|
} | {
|
|
161
161
|
id: string;
|
|
162
|
-
name: string;
|
|
163
162
|
type: "ui.interaction";
|
|
163
|
+
name: string;
|
|
164
164
|
route: string;
|
|
165
165
|
})[];
|
|
166
166
|
}, {
|
|
@@ -176,8 +176,8 @@ export declare const CaptureActivityBodySchema: z.ZodEffects<z.ZodObject<{
|
|
|
176
176
|
} | undefined;
|
|
177
177
|
} | {
|
|
178
178
|
id: string;
|
|
179
|
-
name: string;
|
|
180
179
|
type: "ui.interaction";
|
|
180
|
+
name: string;
|
|
181
181
|
route: string;
|
|
182
182
|
})[];
|
|
183
183
|
}>;
|
|
@@ -357,7 +357,6 @@ export declare const ActivityUsersPageSchema: z.ZodObject<{
|
|
|
357
357
|
}>, "many">;
|
|
358
358
|
hasMore: z.ZodBoolean;
|
|
359
359
|
}, "strip", z.ZodTypeAny, {
|
|
360
|
-
hasMore: boolean;
|
|
361
360
|
users: {
|
|
362
361
|
userId: string;
|
|
363
362
|
lastSeenAt: string;
|
|
@@ -365,8 +364,8 @@ export declare const ActivityUsersPageSchema: z.ZodObject<{
|
|
|
365
364
|
visits: number;
|
|
366
365
|
displayName?: string | undefined;
|
|
367
366
|
}[];
|
|
368
|
-
}, {
|
|
369
367
|
hasMore: boolean;
|
|
368
|
+
}, {
|
|
370
369
|
users: {
|
|
371
370
|
userId: string;
|
|
372
371
|
lastSeenAt: string;
|
|
@@ -374,6 +373,7 @@ export declare const ActivityUsersPageSchema: z.ZodObject<{
|
|
|
374
373
|
visits: number;
|
|
375
374
|
displayName?: string | undefined;
|
|
376
375
|
}[];
|
|
376
|
+
hasMore: boolean;
|
|
377
377
|
}>;
|
|
378
378
|
export declare const ActivitySummarySchema: z.ZodObject<{
|
|
379
379
|
users: z.ZodNumber;
|
|
@@ -381,14 +381,14 @@ export declare const ActivitySummarySchema: z.ZodObject<{
|
|
|
381
381
|
sharedVisits: z.ZodNumber;
|
|
382
382
|
pageViews: z.ZodNumber;
|
|
383
383
|
}, "strip", z.ZodTypeAny, {
|
|
384
|
+
users: number;
|
|
384
385
|
pageViews: number;
|
|
385
386
|
visits: number;
|
|
386
|
-
users: number;
|
|
387
387
|
sharedVisits: number;
|
|
388
388
|
}, {
|
|
389
|
+
users: number;
|
|
389
390
|
pageViews: number;
|
|
390
391
|
visits: number;
|
|
391
|
-
users: number;
|
|
392
392
|
sharedVisits: number;
|
|
393
393
|
}>;
|
|
394
394
|
export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
@@ -623,19 +623,19 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
623
623
|
runVisible: z.ZodBoolean;
|
|
624
624
|
}, "strip", z.ZodTypeAny, {
|
|
625
625
|
at: string;
|
|
626
|
-
status: "succeeded" | "failed" | "
|
|
626
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | "incomplete";
|
|
627
627
|
kind: "workflow";
|
|
628
628
|
runId: string;
|
|
629
|
-
executionId: string;
|
|
630
629
|
workflowId: string;
|
|
630
|
+
executionId: string;
|
|
631
631
|
runVisible: boolean;
|
|
632
632
|
}, {
|
|
633
633
|
at: string;
|
|
634
|
-
status: "succeeded" | "failed" | "
|
|
634
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | "incomplete";
|
|
635
635
|
kind: "workflow";
|
|
636
636
|
runId: string;
|
|
637
|
-
executionId: string;
|
|
638
637
|
workflowId: string;
|
|
638
|
+
executionId: string;
|
|
639
639
|
runVisible: boolean;
|
|
640
640
|
}>, z.ZodObject<{
|
|
641
641
|
kind: z.ZodLiteral<"agent">;
|
|
@@ -643,6 +643,14 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
643
643
|
executionId: z.ZodString;
|
|
644
644
|
runId: z.ZodString;
|
|
645
645
|
threadId: z.ZodString;
|
|
646
|
+
/** Only for a reader with can.observe(agent.threads), who can open the conversation. */
|
|
647
|
+
thread: z.ZodOptional<z.ZodObject<{
|
|
648
|
+
title: z.ZodOptional<z.ZodString>;
|
|
649
|
+
}, "strip", z.ZodTypeAny, {
|
|
650
|
+
title?: string | undefined;
|
|
651
|
+
}, {
|
|
652
|
+
title?: string | undefined;
|
|
653
|
+
}>>;
|
|
646
654
|
status: z.ZodEnum<["queued", "running", "succeeded", "failed", "cancelled"]>;
|
|
647
655
|
messages: z.ZodNumber;
|
|
648
656
|
cost: z.ZodOptional<z.ZodObject<{
|
|
@@ -678,12 +686,15 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
678
686
|
}>>;
|
|
679
687
|
}, "strip", z.ZodTypeAny, {
|
|
680
688
|
at: string;
|
|
681
|
-
status: "succeeded" | "failed" | "
|
|
689
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
682
690
|
kind: "agent";
|
|
683
691
|
runId: string;
|
|
684
|
-
executionId: string;
|
|
685
692
|
threadId: string;
|
|
693
|
+
executionId: string;
|
|
686
694
|
messages: number;
|
|
695
|
+
thread?: {
|
|
696
|
+
title?: string | undefined;
|
|
697
|
+
} | undefined;
|
|
687
698
|
cost?: {
|
|
688
699
|
amounts: {
|
|
689
700
|
currency: string;
|
|
@@ -695,12 +706,15 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
695
706
|
} | undefined;
|
|
696
707
|
}, {
|
|
697
708
|
at: string;
|
|
698
|
-
status: "succeeded" | "failed" | "
|
|
709
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
699
710
|
kind: "agent";
|
|
700
711
|
runId: string;
|
|
701
|
-
executionId: string;
|
|
702
712
|
threadId: string;
|
|
713
|
+
executionId: string;
|
|
703
714
|
messages: number;
|
|
715
|
+
thread?: {
|
|
716
|
+
title?: string | undefined;
|
|
717
|
+
} | undefined;
|
|
704
718
|
cost?: {
|
|
705
719
|
amounts: {
|
|
706
720
|
currency: string;
|
|
@@ -738,20 +752,23 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
738
752
|
} | undefined;
|
|
739
753
|
} | {
|
|
740
754
|
at: string;
|
|
741
|
-
status: "succeeded" | "failed" | "
|
|
755
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | "incomplete";
|
|
742
756
|
kind: "workflow";
|
|
743
757
|
runId: string;
|
|
744
|
-
executionId: string;
|
|
745
758
|
workflowId: string;
|
|
759
|
+
executionId: string;
|
|
746
760
|
runVisible: boolean;
|
|
747
761
|
} | {
|
|
748
762
|
at: string;
|
|
749
|
-
status: "succeeded" | "failed" | "
|
|
763
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
750
764
|
kind: "agent";
|
|
751
765
|
runId: string;
|
|
752
|
-
executionId: string;
|
|
753
766
|
threadId: string;
|
|
767
|
+
executionId: string;
|
|
754
768
|
messages: number;
|
|
769
|
+
thread?: {
|
|
770
|
+
title?: string | undefined;
|
|
771
|
+
} | undefined;
|
|
755
772
|
cost?: {
|
|
756
773
|
amounts: {
|
|
757
774
|
currency: string;
|
|
@@ -829,20 +846,23 @@ export declare const ActivityVisitTimelineSchema: z.ZodObject<{
|
|
|
829
846
|
} | undefined;
|
|
830
847
|
} | {
|
|
831
848
|
at: string;
|
|
832
|
-
status: "succeeded" | "failed" | "
|
|
849
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running" | "waiting" | "incomplete";
|
|
833
850
|
kind: "workflow";
|
|
834
851
|
runId: string;
|
|
835
|
-
executionId: string;
|
|
836
852
|
workflowId: string;
|
|
853
|
+
executionId: string;
|
|
837
854
|
runVisible: boolean;
|
|
838
855
|
} | {
|
|
839
856
|
at: string;
|
|
840
|
-
status: "succeeded" | "failed" | "
|
|
857
|
+
status: "succeeded" | "failed" | "cancelled" | "queued" | "running";
|
|
841
858
|
kind: "agent";
|
|
842
859
|
runId: string;
|
|
843
|
-
executionId: string;
|
|
844
860
|
threadId: string;
|
|
861
|
+
executionId: string;
|
|
845
862
|
messages: number;
|
|
863
|
+
thread?: {
|
|
864
|
+
title?: string | undefined;
|
|
865
|
+
} | undefined;
|
|
846
866
|
cost?: {
|
|
847
867
|
amounts: {
|
|
848
868
|
currency: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/schemas/activity.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBnC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAA;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA;AAqBF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAA;
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/schemas/activity.ts"],"names":[],"mappings":"AAgBA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AA2CvB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqBnC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMnC,CAAA;AAEH,eAAO,MAAM,4BAA4B;;;;;;;;;EAGvC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA;AAqBF,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWlC,CAAA;AAEF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;EAKhC,CAAA;AAsEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QARpC,wFAAwF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe1F,CAAA;AAEF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQxC,CAAA;AAEF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAIjC,CAAA;AAyBF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;EAEqC,CAAA;AAE3E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAG0B,CAAA;AAE9D,eAAO,MAAM,2BAA2B;;;;;;;;;EAGtC,CAAA;AAEF,eAAO,MAAM,8BAA8B;;;;;;;;;;;;EAUzC,CAAA;AAEF,eAAO,MAAM,yBAAyB;;;;;;EAAuC,CAAA"}
|