@sixb/server 0.1.26 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2495 -1845
- package/dist/index.js.map +29 -27
- package/dist/routes/actions.d.ts +1 -1
- package/dist/routes/agent-approvals.d.ts +11 -5
- package/dist/routes/agent-approvals.d.ts.map +1 -1
- package/dist/routes/agent-children.d.ts +2 -2
- package/dist/routes/agent-computers.d.ts +214 -10
- package/dist/routes/agent-computers.d.ts.map +1 -1
- package/dist/routes/agent-runners.d.ts +1 -1
- package/dist/routes/agent-runners.d.ts.map +1 -1
- package/dist/routes/agents.d.ts +230 -24
- package/dist/routes/agents.d.ts.map +1 -1
- package/dist/routes/ai-accounting.d.ts.map +1 -1
- package/dist/routes/auth.d.ts +9 -0
- package/dist/routes/auth.d.ts.map +1 -1
- package/dist/routes/datasets.d.ts +93 -17
- package/dist/routes/datasets.d.ts.map +1 -1
- package/dist/routes/events.d.ts +1 -1
- package/dist/routes/links.d.ts +121 -81
- package/dist/routes/links.d.ts.map +1 -1
- package/dist/routes/logs.d.ts +3 -3
- package/dist/routes/objects.d.ts +149 -58
- package/dist/routes/objects.d.ts.map +1 -1
- package/dist/routes/observed-agent-threads.d.ts +23 -5
- package/dist/routes/observed-agent-threads.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +2 -2
- package/dist/routes/projections.d.ts +122 -122
- package/dist/routes/rules.d.ts +2 -2
- package/dist/routes/telemetry.d.ts +0 -50
- package/dist/routes/telemetry.d.ts.map +1 -1
- package/dist/routes/webhook-runs.d.ts +1 -1
- package/dist/routes/workflows.d.ts +21 -10
- package/dist/routes/workflows.d.ts.map +1 -1
- package/dist/routes/ws/agents.d.ts +4 -1
- package/dist/routes/ws/agents.d.ts.map +1 -1
- package/dist/routes/ws/logs.d.ts +10 -10
- package/dist/schemas/actions.d.ts +3 -3
- package/dist/schemas/activity.d.ts +4 -4
- package/dist/schemas/agent-approvals.d.ts +21 -21
- package/dist/schemas/agents.d.ts +760 -107
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/ai-accounting.d.ts +1114 -6
- package/dist/schemas/ai-accounting.d.ts.map +1 -1
- package/dist/schemas/auth.d.ts +47 -0
- package/dist/schemas/auth.d.ts.map +1 -1
- package/dist/schemas/datasets.d.ts +303 -60
- package/dist/schemas/datasets.d.ts.map +1 -1
- package/dist/schemas/event-payloads.d.ts +6 -6
- package/dist/schemas/events.d.ts +8 -8
- package/dist/schemas/lineage.d.ts +1272 -0
- package/dist/schemas/lineage.d.ts.map +1 -0
- package/dist/schemas/links.d.ts +4 -27
- package/dist/schemas/links.d.ts.map +1 -1
- package/dist/schemas/logs.d.ts +22 -22
- package/dist/schemas/objects.d.ts +7 -26
- package/dist/schemas/objects.d.ts.map +1 -1
- package/dist/schemas/pipelines.d.ts +12 -12
- package/dist/schemas/projections.d.ts +733 -733
- package/dist/schemas/rules.d.ts +4 -4
- package/dist/schemas/telemetry.d.ts +0 -13
- package/dist/schemas/telemetry.d.ts.map +1 -1
- package/dist/schemas/webhook-runs.d.ts +2 -2
- package/dist/schemas/workflows.d.ts +133 -44
- package/dist/schemas/workflows.d.ts.map +1 -1
- package/dist/server.d.ts +4 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/utils/request-body.d.ts +5 -0
- package/dist/utils/request-body.d.ts.map +1 -1
- package/dist/utils/request-timing.d.ts +18 -0
- package/dist/utils/request-timing.d.ts.map +1 -0
- package/package.json +7 -7
- package/src/index.ts +1 -0
- package/src/routes/agent-approvals.ts +2 -2
- package/src/routes/agent-computers.ts +309 -87
- package/src/routes/agent-runners.ts +30 -6
- package/src/routes/agents.ts +187 -25
- package/src/routes/ai-accounting.ts +149 -12
- package/src/routes/auth.ts +24 -2
- package/src/routes/datasets.ts +55 -5
- package/src/routes/links.ts +43 -76
- package/src/routes/objects.ts +49 -42
- package/src/routes/observed-agent-threads.ts +2 -2
- package/src/routes/telemetry.ts +1 -42
- package/src/routes/ws/agents.ts +10 -1
- package/src/schemas/agents.ts +121 -6
- package/src/schemas/ai-accounting.ts +78 -15
- package/src/schemas/auth.ts +19 -0
- package/src/schemas/datasets.ts +36 -0
- package/src/schemas/lineage.ts +115 -0
- package/src/schemas/links.ts +3 -11
- package/src/schemas/objects.ts +6 -10
- package/src/schemas/telemetry.ts +0 -6
- package/src/server.ts +18 -2
- package/src/utils/request-body.ts +10 -4
- package/src/utils/request-timing.ts +136 -0
package/dist/schemas/rules.d.ts
CHANGED
|
@@ -59,12 +59,12 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
59
59
|
linkId: z.ZodString;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
61
|
type: "link.created" | "link.updated" | "link.deleted";
|
|
62
|
-
linkId: string;
|
|
63
62
|
sourceTypeId: string;
|
|
63
|
+
linkId: string;
|
|
64
64
|
}, {
|
|
65
65
|
type: "link.created" | "link.updated" | "link.deleted";
|
|
66
|
-
linkId: string;
|
|
67
66
|
sourceTypeId: string;
|
|
67
|
+
linkId: string;
|
|
68
68
|
}>]>, "many">;
|
|
69
69
|
}, "strip", z.ZodTypeAny, {
|
|
70
70
|
id: string;
|
|
@@ -79,8 +79,8 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
79
79
|
objectTypeId: string;
|
|
80
80
|
} | {
|
|
81
81
|
type: "link.created" | "link.updated" | "link.deleted";
|
|
82
|
-
linkId: string;
|
|
83
82
|
sourceTypeId: string;
|
|
83
|
+
linkId: string;
|
|
84
84
|
})[];
|
|
85
85
|
}, {
|
|
86
86
|
id: string;
|
|
@@ -95,8 +95,8 @@ export declare const RuleSchema: z.ZodObject<{
|
|
|
95
95
|
objectTypeId: string;
|
|
96
96
|
} | {
|
|
97
97
|
type: "link.created" | "link.updated" | "link.deleted";
|
|
98
|
-
linkId: string;
|
|
99
98
|
sourceTypeId: string;
|
|
99
|
+
linkId: string;
|
|
100
100
|
})[];
|
|
101
101
|
}>;
|
|
102
102
|
export declare const RuleStateSchema: z.ZodObject<{
|
|
@@ -80,19 +80,6 @@ export declare const BulkTelemetryHistoryBodySchema: z.ZodObject<{
|
|
|
80
80
|
to?: string | undefined;
|
|
81
81
|
limitPerSeries?: number | undefined;
|
|
82
82
|
}>;
|
|
83
|
-
export declare const AppendTelemetryBodySchema: z.ZodObject<{
|
|
84
|
-
value: z.ZodUnknown;
|
|
85
|
-
unit: z.ZodOptional<z.ZodString>;
|
|
86
|
-
at: z.ZodOptional<z.ZodString>;
|
|
87
|
-
}, "strip", z.ZodTypeAny, {
|
|
88
|
-
at?: string | undefined;
|
|
89
|
-
value?: unknown;
|
|
90
|
-
unit?: string | undefined;
|
|
91
|
-
}, {
|
|
92
|
-
at?: string | undefined;
|
|
93
|
-
value?: unknown;
|
|
94
|
-
unit?: string | undefined;
|
|
95
|
-
}>;
|
|
96
83
|
export declare const TelemetryPointSchema: z.ZodObject<{
|
|
97
84
|
projectId: z.ZodString;
|
|
98
85
|
objectTypeId: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/schemas/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAMvC,CAAA;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAA;AAEX,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"telemetry.d.ts","sourceRoot":"","sources":["../../src/schemas/telemetry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAIhC,CAAA;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;EAKtC,CAAA;AAEF,eAAO,MAAM,qCAAqC;;;;;;;;;;;;EAMvC,CAAA;AAEX,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQhC,CAAA;AAEX,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;EAQ/B,CAAA;AAEF,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK3C,CAAA;AAEF,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE7C,CAAA"}
|
|
@@ -18,8 +18,8 @@ export declare const WebhookRunsQuerySchema: z.ZodObject<{
|
|
|
18
18
|
limit?: string | undefined;
|
|
19
19
|
offset?: string | undefined;
|
|
20
20
|
order?: "asc" | "desc" | undefined;
|
|
21
|
-
connectorId?: string | undefined;
|
|
22
21
|
idempotencyKey?: string | undefined;
|
|
22
|
+
connectorId?: string | undefined;
|
|
23
23
|
webhookId?: string | undefined;
|
|
24
24
|
}, {
|
|
25
25
|
status?: "succeeded" | "failed" | "running" | undefined;
|
|
@@ -28,8 +28,8 @@ export declare const WebhookRunsQuerySchema: z.ZodObject<{
|
|
|
28
28
|
limit?: string | undefined;
|
|
29
29
|
offset?: string | undefined;
|
|
30
30
|
order?: "asc" | "desc" | undefined;
|
|
31
|
-
connectorId?: string | undefined;
|
|
32
31
|
idempotencyKey?: string | undefined;
|
|
32
|
+
connectorId?: string | undefined;
|
|
33
33
|
webhookId?: string | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export declare const WebhookRunSchema: z.ZodObject<{
|