@sixb/server 0.1.20 → 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 +18 -0
- package/dist/artifacts/frame.d.ts.map +1 -0
- package/dist/auth/browser-origin.d.ts +10 -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/files/content.d.ts +2 -3
- package/dist/files/content.d.ts.map +1 -1
- package/dist/index.js +10636 -7071
- package/dist/index.js.map +56 -38
- 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 +22 -2
- package/dist/openapi/tags.d.ts.map +1 -1
- package/dist/registerRoutes.d.ts +3 -0
- package/dist/registerRoutes.d.ts.map +1 -1
- package/dist/routes/actions.d.ts +5 -5
- package/dist/routes/activity.d.ts +35 -0
- package/dist/routes/activity.d.ts.map +1 -0
- 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 +1008 -98
- 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 +98 -0
- package/dist/routes/artifact-frames.d.ts.map +1 -0
- package/dist/routes/artifacts.d.ts +1508 -0
- package/dist/routes/artifacts.d.ts.map +1 -0
- package/dist/routes/auth.d.ts +117 -11
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/connector-connection-runs.d.ts +84 -84
- package/dist/routes/connector-connections.d.ts +2 -2
- package/dist/routes/connectors.d.ts +2 -2
- package/dist/routes/datasets.d.ts +27 -27
- package/dist/routes/events.d.ts +5 -5
- 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 +53 -53
- package/dist/routes/projections.d.ts +63 -63
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/share-grants.d.ts +4 -4
- package/dist/routes/syncs.d.ts +18 -18
- 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 +142 -76
- 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/events.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +14 -14
- package/dist/routes/ws/subscription-hub.d.ts +8 -3
- package/dist/routes/ws/subscription-hub.d.ts.map +1 -1
- package/dist/schemas/actions.d.ts +15 -15
- package/dist/schemas/activity.d.ts +1298 -0
- package/dist/schemas/activity.d.ts.map +1 -0
- 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 +5485 -460
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1315 -436
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/ai-limits.d.ts +36 -36
- 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 +1857 -0
- package/dist/schemas/artifacts.d.ts.map +1 -0
- package/dist/schemas/auth.d.ts +125 -52
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/connectors.d.ts +42 -42
- package/dist/schemas/datasets.d.ts +108 -108
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +32 -32
- 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 +166 -166
- package/dist/schemas/projections.d.ts +346 -346
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/share-grants.d.ts +14 -14
- package/dist/schemas/syncs.d.ts +40 -40
- 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 +769 -254
- 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 +51 -0
- package/src/auth/browser-origin.ts +20 -5
- package/src/auth/experience.ts +1 -1
- package/src/auth/guard.ts +2 -2
- package/src/auth/public-routes.ts +16 -0
- package/src/auth/responses.ts +7 -6
- package/src/auth/scope.ts +32 -3
- package/src/files/content.ts +9 -13
- package/src/models/display.ts +61 -16
- package/src/openapi/components.ts +54 -0
- package/src/openapi/tags.ts +20 -0
- package/src/registerRoutes.ts +23 -0
- package/src/routes/activity.ts +327 -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 +364 -143
- package/src/routes/ai-accounting.ts +4 -0
- package/src/routes/artifact-frames.ts +144 -0
- package/src/routes/artifacts.ts +717 -0
- package/src/routes/auth.ts +306 -13
- package/src/routes/file-downloads.ts +1 -3
- 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/routes/ws/events.ts +3 -2
- package/src/routes/ws/subscription-hub.ts +53 -20
- package/src/schemas/activity.ts +287 -0
- package/src/schemas/agent-approvals.ts +129 -0
- package/src/schemas/agent-memory.ts +96 -0
- package/src/schemas/agents.ts +240 -2
- package/src/schemas/ai-accounting.ts +40 -4
- package/src/schemas/ai-usage.ts +10 -0
- package/src/schemas/artifacts.ts +246 -0
- 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 +34 -19
- 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">;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/events.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA4B9C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAgD,CAAA;AAE/E,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GACrD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;CAChD,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"events.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/events.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AA4B9C,QAAA,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAgD,CAAA;AAE/E,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,OAAO,GACrD;IACE,EAAE,EAAE,IAAI,CAAA;IACR,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;CAChD,GACD;IACE,EAAE,EAAE,KAAK,CAAA;IACT,KAAK,EAAE,MAAM,CAAA;CACd,CAcJ;AAED,wBAAgB,yBAAyB,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8IxE"}
|
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, {
|
|
@@ -19,10 +19,13 @@ export interface HubSource<T extends HubRecord> {
|
|
|
19
19
|
export interface HubSubscription<T extends HubRecord> {
|
|
20
20
|
matches(record: T): boolean;
|
|
21
21
|
/**
|
|
22
|
-
* The matching
|
|
23
|
-
*
|
|
22
|
+
* The matching records of one outgoing batch as this socket may read them, in order: withheld
|
|
23
|
+
* records are left out, the others keep their cursor. It is applied as the batch is sent, so it
|
|
24
|
+
* reflects what the socket may read then, and may wait for what decides it. A batch it fails on
|
|
25
|
+
* is never sent unviewed: the stream closes there, so the client resumes from the last cursor it
|
|
26
|
+
* received. Omit to deliver matching records unchanged.
|
|
24
27
|
*/
|
|
25
|
-
view?(
|
|
28
|
+
view?(records: readonly T[]): readonly T[] | Promise<readonly T[]>;
|
|
26
29
|
/** Replays retained records after `afterCursor` (or from the oldest) before live ones. */
|
|
27
30
|
readonly replay?: {
|
|
28
31
|
readonly afterCursor: string | undefined;
|
|
@@ -62,6 +65,8 @@ export declare class SubscriptionHub<T extends HubRecord> {
|
|
|
62
65
|
private enqueuePendingLive;
|
|
63
66
|
private scheduleFlush;
|
|
64
67
|
private flush;
|
|
68
|
+
private sendViewed;
|
|
69
|
+
private sendFrames;
|
|
65
70
|
private waitForQueueProgress;
|
|
66
71
|
private notifyQueueProgress;
|
|
67
72
|
private send;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-hub.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/subscription-hub.ts"],"names":[],"mappings":"AAQA,UAAU,SAAS;IACjB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9C,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,UAAU,SAAS;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,SAAS;IAC5C,gDAAgD;IAChD,SAAS,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAAA;IACxE,qDAAqD;IACrD,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,OAAO,EAAE,CAAA;IACjD,+FAA+F;IAC/F,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,CAAA;CAC5B;AAED,uCAAuC;AACvC,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS;IAClD,OAAO,CAAC,MAAM,EAAE,CAAC,GAAG,OAAO,CAAA;IAC3B
|
|
1
|
+
{"version":3,"file":"subscription-hub.d.ts","sourceRoot":"","sources":["../../../src/routes/ws/subscription-hub.ts"],"names":[],"mappings":"AAQA,UAAU,SAAS;IACjB,IAAI,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,KAAK,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9C,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAA;CACvB;AAED,UAAU,SAAS;IACjB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAA;CACxB;AAED,qEAAqE;AACrE,MAAM,WAAW,SAAS,CAAC,CAAC,SAAS,SAAS;IAC5C,gDAAgD;IAChD,SAAS,CAAC,OAAO,EAAE,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,MAAM,IAAI,CAAC,CAAA;IACxE,qDAAqD;IACrD,MAAM,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,OAAO,EAAE,CAAA;IACjD,+FAA+F;IAC/F,OAAO,IAAI,OAAO,CAAC,OAAO,CAAC,CAAA;CAC5B;AAED,uCAAuC;AACvC,MAAM,WAAW,eAAe,CAAC,CAAC,SAAS,SAAS;IAClD,OAAO,CAAC,MAAM,EAAE,CAAC,GAAG,OAAO,CAAA;IAC3B;;;;;;OAMG;IACH,IAAI,CAAC,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,GAAG,SAAS,CAAC,EAAE,GAAG,OAAO,CAAC,SAAS,CAAC,EAAE,CAAC,CAAA;IAClE,0FAA0F;IAC1F,QAAQ,CAAC,MAAM,CAAC,EAAE;QAChB,QAAQ,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;QACxC,IAAI,CAAC,WAAW,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;YAC7C,QAAQ,CAAC,OAAO,EAAE,SAAS,CAAC,EAAE,CAAA;YAC9B,QAAQ,CAAC,MAAM,CAAC,EAAE,MAAM,CAAA;YACxB,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAA;SAC1B,CAAC,CAAA;KACH,CAAA;CACF;AAoBD;;;;GAIG;AACH,qBAAa,eAAe,CAAC,CAAC,SAAS,SAAS;IAMlC,OAAO,CAAC,QAAQ,CAAC,MAAM;IALnC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAoC;IAC5D,OAAO,CAAC,QAAQ,CAAC,uBAAuB,CAAgC;IACxE,OAAO,CAAC,OAAO,CAAmC;IAClD,OAAO,CAAC,MAAM,CAAQ;gBAEO,MAAM,EAAE,SAAS,CAAC,CAAC,CAAC;IAE3C,SAAS,CACb,GAAG,EAAE,MAAM,EACX,EAAE,EAAE,SAAS,EACb,YAAY,EAAE,eAAe,CAAC,CAAC,CAAC,EAChC,YAAY,EAAE,MAAM,IAAI,GACvB,OAAO,CAAC,IAAI,CAAC;IA0ChB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAK9B,OAAO,CAAC,YAAY;IASpB,OAAO,CAAC,YAAY;IAKpB,OAAO,CAAC,0BAA0B;IAMlC,OAAO,CAAC,qBAAqB;IAIvB,KAAK,IAAI,OAAO,CAAC,IAAI,CAAC;IAM5B,OAAO,CAAC,KAAK;IAYb,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,WAAW;YAUL,OAAO;IA8DrB,OAAO,CAAC,OAAO;YAWD,aAAa;IAsB3B,OAAO,CAAC,gBAAgB;IAOxB,OAAO,CAAC,kBAAkB;IAY1B,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,KAAK;YA4BC,UAAU;IAsBxB,OAAO,CAAC,UAAU;IAIlB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,mBAAmB;IAM3B,OAAO,CAAC,IAAI;IASZ,OAAO,CAAC,IAAI;CAmBb"}
|
|
@@ -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;
|