@lensmcp/protocol-types 1.25.31 → 1.25.32
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/lib/attributes.d.ts +4 -4
- package/lib/context.d.ts +2 -2
- package/lib/dashboard.d.ts +54 -1
- package/lib/edge.d.ts +8 -8
- package/lib/event.d.ts +43 -43
- package/lib/node.d.ts +9 -9
- package/lib/producer-health.d.ts +3 -3
- package/lib/replay.d.ts +2 -0
- package/lib/resources.d.ts +23 -23
- package/package.json +1 -1
package/lib/attributes.d.ts
CHANGED
|
@@ -148,8 +148,8 @@ export declare const MemoryOwnerAttrsSchema: z.ZodObject<{
|
|
|
148
148
|
}, z.core.$strip>;
|
|
149
149
|
export type MemoryOwnerAttrs = z.infer<typeof MemoryOwnerAttrsSchema>;
|
|
150
150
|
export declare const MemoryMutationOperationSchema: z.ZodEnum<{
|
|
151
|
-
push: "push";
|
|
152
151
|
set: "set";
|
|
152
|
+
push: "push";
|
|
153
153
|
add: "add";
|
|
154
154
|
delete: "delete";
|
|
155
155
|
clear: "clear";
|
|
@@ -161,8 +161,8 @@ export type MemoryMutationOperation = z.infer<typeof MemoryMutationOperationSche
|
|
|
161
161
|
export declare const MemoryMutationAttrsSchema: z.ZodObject<{
|
|
162
162
|
ownerNodeId: z.ZodString;
|
|
163
163
|
operation: z.ZodEnum<{
|
|
164
|
-
push: "push";
|
|
165
164
|
set: "set";
|
|
165
|
+
push: "push";
|
|
166
166
|
add: "add";
|
|
167
167
|
delete: "delete";
|
|
168
168
|
clear: "clear";
|
|
@@ -255,9 +255,9 @@ export declare const VisualRuleTimingSchema: z.ZodEnum<{
|
|
|
255
255
|
}>;
|
|
256
256
|
export type VisualRuleTiming = z.infer<typeof VisualRuleTimingSchema>;
|
|
257
257
|
export declare const VisualViolationSeveritySchema: z.ZodEnum<{
|
|
258
|
+
error: "error";
|
|
258
259
|
info: "info";
|
|
259
260
|
warning: "warning";
|
|
260
|
-
error: "error";
|
|
261
261
|
}>;
|
|
262
262
|
export type VisualViolationSeverity = z.infer<typeof VisualViolationSeveritySchema>;
|
|
263
263
|
export declare const VisualViolationAttrsSchema: z.ZodObject<{
|
|
@@ -274,9 +274,9 @@ export declare const VisualViolationAttrsSchema: z.ZodObject<{
|
|
|
274
274
|
responsive: "responsive";
|
|
275
275
|
}>;
|
|
276
276
|
severity: z.ZodEnum<{
|
|
277
|
+
error: "error";
|
|
277
278
|
info: "info";
|
|
278
279
|
warning: "warning";
|
|
279
|
-
error: "error";
|
|
280
280
|
}>;
|
|
281
281
|
timing: z.ZodEnum<{
|
|
282
282
|
always: "always";
|
package/lib/context.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const FlowOriginTypeSchema: z.ZodEnum<{
|
|
3
|
-
request: "request";
|
|
4
3
|
"user-click": "user-click";
|
|
5
4
|
"user-input": "user-input";
|
|
6
5
|
keyboard: "keyboard";
|
|
@@ -26,6 +25,7 @@ export declare const FlowOriginTypeSchema: z.ZodEnum<{
|
|
|
26
25
|
"page-load": "page-load";
|
|
27
26
|
"form-submit": "form-submit";
|
|
28
27
|
"input-change": "input-change";
|
|
28
|
+
request: "request";
|
|
29
29
|
job: "job";
|
|
30
30
|
}>;
|
|
31
31
|
export type FlowOriginType = z.infer<typeof FlowOriginTypeSchema>;
|
|
@@ -38,7 +38,6 @@ export declare const TraceContextSchema: z.ZodObject<{
|
|
|
38
38
|
url: z.ZodOptional<z.ZodString>;
|
|
39
39
|
flowId: z.ZodOptional<z.ZodString>;
|
|
40
40
|
originType: z.ZodOptional<z.ZodEnum<{
|
|
41
|
-
request: "request";
|
|
42
41
|
"user-click": "user-click";
|
|
43
42
|
"user-input": "user-input";
|
|
44
43
|
keyboard: "keyboard";
|
|
@@ -64,6 +63,7 @@ export declare const TraceContextSchema: z.ZodObject<{
|
|
|
64
63
|
"page-load": "page-load";
|
|
65
64
|
"form-submit": "form-submit";
|
|
66
65
|
"input-change": "input-change";
|
|
66
|
+
request: "request";
|
|
67
67
|
job: "job";
|
|
68
68
|
}>>;
|
|
69
69
|
originNodeId: z.ZodOptional<z.ZodString>;
|
package/lib/dashboard.d.ts
CHANGED
|
@@ -35,6 +35,8 @@ export interface DashHello {
|
|
|
35
35
|
workspace: DashWorkspace;
|
|
36
36
|
/** The log ring's current sequence — resume `/api/logs?since=` from here. */
|
|
37
37
|
logSeq: number;
|
|
38
|
+
/** The lensmcp this dashboard runs — read at its start, so an upgrade after it started does not change it. */
|
|
39
|
+
version?: string;
|
|
38
40
|
}
|
|
39
41
|
/**
|
|
40
42
|
* Whether the dev gateway in front of this workspace is serving.
|
|
@@ -485,6 +487,13 @@ export interface DashFlowNode {
|
|
|
485
487
|
streamed?: boolean;
|
|
486
488
|
/** A call out whose request and response were captured (`/api/exchange?id=`). */
|
|
487
489
|
exchangeId?: string;
|
|
490
|
+
/**
|
|
491
|
+
* A call out to one of the cluster's own hosts (`*.localhost`): a hop through the gateway to another service, drawn
|
|
492
|
+
* in the calling service's row — not an External API.
|
|
493
|
+
*/
|
|
494
|
+
hop?: true;
|
|
495
|
+
/** On a {@link hop}: the id of the request it opened (`x-lensmcp-request-id`) — the callee's leg hangs off it. */
|
|
496
|
+
calleeRequestId?: string;
|
|
488
497
|
/**
|
|
489
498
|
* A SQL run's every parameter and its result rows (`/api/sql-values?id=`), or a cache command's every argument and
|
|
490
499
|
* its reply (`cav_`), kept beside the bus.
|
|
@@ -3563,8 +3572,23 @@ export interface DashAgentEvent {
|
|
|
3563
3572
|
/** The answer's size. */
|
|
3564
3573
|
bytes?: number;
|
|
3565
3574
|
isError?: boolean;
|
|
3566
|
-
/** What the answer said first, a line (a tool's first text; a read's MIME type). */
|
|
3575
|
+
/** What the answer said first, a line (a tool's first text; a read's MIME type) — a failed call's error message. */
|
|
3567
3576
|
result?: string;
|
|
3577
|
+
/** Why it failed, when it threw: the error the agent was answered with. */
|
|
3578
|
+
failure?: DashAgentFailure;
|
|
3579
|
+
}
|
|
3580
|
+
/** The error a failed call threw — its class, the lens's reason (`NOT_FOUND`, `UNAVAILABLE`…), message and stack. */
|
|
3581
|
+
export interface DashAgentFailure {
|
|
3582
|
+
/** The error's class: `PublicMcpError`, `InvalidInputError`, `ExecutionTimeoutError`, `Error`… */
|
|
3583
|
+
type: string;
|
|
3584
|
+
/** Its MCP error code, when it has one (`NOT_FOUND`, `UNAVAILABLE`, `REFUSED`, `INVALID_INPUT`…). */
|
|
3585
|
+
status?: string;
|
|
3586
|
+
/** The message, redacted — at most 1 KB. */
|
|
3587
|
+
message: string;
|
|
3588
|
+
/** Its first stack frames, redacted. */
|
|
3589
|
+
stack?: string;
|
|
3590
|
+
/** The SDK's id for it (`err_…`), as the agent was told it. */
|
|
3591
|
+
errorId?: string;
|
|
3568
3592
|
}
|
|
3569
3593
|
/** One MCP session — one agent connected through the lensmcp plugin and the shim to this lens. */
|
|
3570
3594
|
export interface DashAgentSession {
|
|
@@ -3604,6 +3628,9 @@ export interface DashAgentSession {
|
|
|
3604
3628
|
errors: number;
|
|
3605
3629
|
lastMs?: number;
|
|
3606
3630
|
p95Ms?: number;
|
|
3631
|
+
/** The lensmcp the lens server runs and the shim's — each as it loaded it at its start; absent when it did not say. */
|
|
3632
|
+
serverVersion?: string;
|
|
3633
|
+
shimVersion?: string;
|
|
3607
3634
|
};
|
|
3608
3635
|
/** Newest last, at most 500. */
|
|
3609
3636
|
events: DashAgentEvent[];
|
|
@@ -3613,3 +3640,29 @@ export interface DashAgentSessions {
|
|
|
3613
3640
|
/** Live first, then by last seen; at most 20 per server. */
|
|
3614
3641
|
sessions: DashAgentSession[];
|
|
3615
3642
|
}
|
|
3643
|
+
/** One process of the lens: the dashboard, the gateway, a lens MCP server, an agent's shim. */
|
|
3644
|
+
export interface DashRunningVersion {
|
|
3645
|
+
role: 'dashboard' | 'gateway' | 'mcp-server' | 'shim';
|
|
3646
|
+
/** As a person names it: `Dashboard`, `Gateway`, `Lens MCP server`, `Claude Code's shim`. */
|
|
3647
|
+
label: string;
|
|
3648
|
+
pid?: number;
|
|
3649
|
+
/** The lensmcp it loaded at its start — absent when it does not say (a lensmcp from before 1.25.32). */
|
|
3650
|
+
version?: string;
|
|
3651
|
+
startedAt?: number;
|
|
3652
|
+
/**
|
|
3653
|
+
* `current`: it runs the installed lensmcp. `stale`: it runs an older one — it says so, or it started before the
|
|
3654
|
+
* installed one was put in place. `unknown`: neither can be told.
|
|
3655
|
+
*/
|
|
3656
|
+
state: 'current' | 'stale' | 'unknown';
|
|
3657
|
+
/** One line on how that was decided, and what loads the installed one. */
|
|
3658
|
+
note: string;
|
|
3659
|
+
}
|
|
3660
|
+
export interface DashVersions {
|
|
3661
|
+
at: number;
|
|
3662
|
+
/** The lensmcp in this workspace's node_modules now, and when it was put there. */
|
|
3663
|
+
installed?: {
|
|
3664
|
+
version: string;
|
|
3665
|
+
at?: number;
|
|
3666
|
+
};
|
|
3667
|
+
processes: DashRunningVersion[];
|
|
3668
|
+
}
|
package/lib/edge.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const EdgeAxisSchema: z.ZodEnum<{
|
|
3
|
-
state: "state";
|
|
4
|
-
network: "network";
|
|
5
|
-
data: "data";
|
|
6
3
|
db: "db";
|
|
7
|
-
visual: "visual";
|
|
8
4
|
memory: "memory";
|
|
5
|
+
visual: "visual";
|
|
9
6
|
render: "render";
|
|
7
|
+
state: "state";
|
|
8
|
+
network: "network";
|
|
10
9
|
backend: "backend";
|
|
11
10
|
performance: "performance";
|
|
12
11
|
lifecycle: "lifecycle";
|
|
13
12
|
ownership: "ownership";
|
|
14
13
|
caused: "caused";
|
|
15
14
|
async: "async";
|
|
15
|
+
data: "data";
|
|
16
16
|
}>;
|
|
17
17
|
export type EdgeAxis = z.infer<typeof EdgeAxisSchema>;
|
|
18
18
|
export declare const TraceEdgeSchema: z.ZodObject<{
|
|
@@ -20,19 +20,19 @@ export declare const TraceEdgeSchema: z.ZodObject<{
|
|
|
20
20
|
from: z.ZodString;
|
|
21
21
|
to: z.ZodString;
|
|
22
22
|
axis: z.ZodEnum<{
|
|
23
|
-
state: "state";
|
|
24
|
-
network: "network";
|
|
25
|
-
data: "data";
|
|
26
23
|
db: "db";
|
|
27
|
-
visual: "visual";
|
|
28
24
|
memory: "memory";
|
|
25
|
+
visual: "visual";
|
|
29
26
|
render: "render";
|
|
27
|
+
state: "state";
|
|
28
|
+
network: "network";
|
|
30
29
|
backend: "backend";
|
|
31
30
|
performance: "performance";
|
|
32
31
|
lifecycle: "lifecycle";
|
|
33
32
|
ownership: "ownership";
|
|
34
33
|
caused: "caused";
|
|
35
34
|
async: "async";
|
|
35
|
+
data: "data";
|
|
36
36
|
}>;
|
|
37
37
|
type: z.ZodString;
|
|
38
38
|
timestamp: z.ZodNumber;
|
package/lib/event.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const EventSourceSchema: z.ZodEnum<{
|
|
3
|
-
gateway: "gateway";
|
|
4
|
-
ai: "ai";
|
|
5
|
-
db: "db";
|
|
6
|
-
redis: "redis";
|
|
7
|
-
queue: "queue";
|
|
8
|
-
external: "external";
|
|
9
|
-
visual: "visual";
|
|
10
|
-
react: "react";
|
|
11
|
-
memory: "memory";
|
|
12
3
|
nx: "nx";
|
|
13
4
|
vite: "vite";
|
|
14
5
|
typescript: "typescript";
|
|
@@ -16,42 +7,51 @@ export declare const EventSourceSchema: z.ZodEnum<{
|
|
|
16
7
|
rollup: "rollup";
|
|
17
8
|
"client-runtime": "client-runtime";
|
|
18
9
|
chrome: "chrome";
|
|
10
|
+
react: "react";
|
|
19
11
|
valtio: "valtio";
|
|
20
12
|
nestjs: "nestjs";
|
|
21
13
|
nextjs: "nextjs";
|
|
14
|
+
db: "db";
|
|
15
|
+
redis: "redis";
|
|
16
|
+
queue: "queue";
|
|
17
|
+
memory: "memory";
|
|
18
|
+
visual: "visual";
|
|
22
19
|
perf: "perf";
|
|
23
20
|
security: "security";
|
|
21
|
+
gateway: "gateway";
|
|
22
|
+
external: "external";
|
|
23
|
+
ai: "ai";
|
|
24
24
|
lens: "lens";
|
|
25
25
|
custom: "custom";
|
|
26
26
|
}>;
|
|
27
27
|
export type EventSource = z.infer<typeof EventSourceSchema>;
|
|
28
28
|
export declare const EventCategorySchema: z.ZodEnum<{
|
|
29
|
-
build: "build";
|
|
30
|
-
typecheck: "typecheck";
|
|
31
|
-
lint: "lint";
|
|
32
|
-
cluster: "cluster";
|
|
33
|
-
agent: "agent";
|
|
34
|
-
state: "state";
|
|
35
|
-
network: "network";
|
|
36
|
-
ai: "ai";
|
|
37
29
|
db: "db";
|
|
38
|
-
test: "test";
|
|
39
|
-
visual: "visual";
|
|
40
30
|
memory: "memory";
|
|
41
|
-
|
|
31
|
+
visual: "visual";
|
|
42
32
|
security: "security";
|
|
33
|
+
ai: "ai";
|
|
34
|
+
build: "build";
|
|
35
|
+
lint: "lint";
|
|
36
|
+
typecheck: "typecheck";
|
|
37
|
+
test: "test";
|
|
43
38
|
runtime: "runtime";
|
|
44
39
|
render: "render";
|
|
40
|
+
trace: "trace";
|
|
41
|
+
state: "state";
|
|
42
|
+
network: "network";
|
|
45
43
|
backend: "backend";
|
|
46
44
|
performance: "performance";
|
|
47
45
|
deps: "deps";
|
|
46
|
+
cluster: "cluster";
|
|
47
|
+
agent: "agent";
|
|
48
48
|
}>;
|
|
49
49
|
export type EventCategory = z.infer<typeof EventCategorySchema>;
|
|
50
50
|
export declare const SeveritySchema: z.ZodEnum<{
|
|
51
|
+
error: "error";
|
|
51
52
|
debug: "debug";
|
|
52
53
|
info: "info";
|
|
53
54
|
warning: "warning";
|
|
54
|
-
error: "error";
|
|
55
55
|
fatal: "fatal";
|
|
56
56
|
}>;
|
|
57
57
|
export type Severity = z.infer<typeof SeveritySchema>;
|
|
@@ -60,15 +60,6 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
60
60
|
sessionId: z.ZodString;
|
|
61
61
|
timestamp: z.ZodNumber;
|
|
62
62
|
source: z.ZodEnum<{
|
|
63
|
-
gateway: "gateway";
|
|
64
|
-
ai: "ai";
|
|
65
|
-
db: "db";
|
|
66
|
-
redis: "redis";
|
|
67
|
-
queue: "queue";
|
|
68
|
-
external: "external";
|
|
69
|
-
visual: "visual";
|
|
70
|
-
react: "react";
|
|
71
|
-
memory: "memory";
|
|
72
63
|
nx: "nx";
|
|
73
64
|
vite: "vite";
|
|
74
65
|
typescript: "typescript";
|
|
@@ -76,40 +67,49 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
76
67
|
rollup: "rollup";
|
|
77
68
|
"client-runtime": "client-runtime";
|
|
78
69
|
chrome: "chrome";
|
|
70
|
+
react: "react";
|
|
79
71
|
valtio: "valtio";
|
|
80
72
|
nestjs: "nestjs";
|
|
81
73
|
nextjs: "nextjs";
|
|
74
|
+
db: "db";
|
|
75
|
+
redis: "redis";
|
|
76
|
+
queue: "queue";
|
|
77
|
+
memory: "memory";
|
|
78
|
+
visual: "visual";
|
|
82
79
|
perf: "perf";
|
|
83
80
|
security: "security";
|
|
81
|
+
gateway: "gateway";
|
|
82
|
+
external: "external";
|
|
83
|
+
ai: "ai";
|
|
84
84
|
lens: "lens";
|
|
85
85
|
custom: "custom";
|
|
86
86
|
}>;
|
|
87
87
|
category: z.ZodEnum<{
|
|
88
|
-
build: "build";
|
|
89
|
-
typecheck: "typecheck";
|
|
90
|
-
lint: "lint";
|
|
91
|
-
cluster: "cluster";
|
|
92
|
-
agent: "agent";
|
|
93
|
-
state: "state";
|
|
94
|
-
network: "network";
|
|
95
|
-
ai: "ai";
|
|
96
88
|
db: "db";
|
|
97
|
-
test: "test";
|
|
98
|
-
visual: "visual";
|
|
99
89
|
memory: "memory";
|
|
100
|
-
|
|
90
|
+
visual: "visual";
|
|
101
91
|
security: "security";
|
|
92
|
+
ai: "ai";
|
|
93
|
+
build: "build";
|
|
94
|
+
lint: "lint";
|
|
95
|
+
typecheck: "typecheck";
|
|
96
|
+
test: "test";
|
|
102
97
|
runtime: "runtime";
|
|
103
98
|
render: "render";
|
|
99
|
+
trace: "trace";
|
|
100
|
+
state: "state";
|
|
101
|
+
network: "network";
|
|
104
102
|
backend: "backend";
|
|
105
103
|
performance: "performance";
|
|
106
104
|
deps: "deps";
|
|
105
|
+
cluster: "cluster";
|
|
106
|
+
agent: "agent";
|
|
107
107
|
}>;
|
|
108
108
|
severity: z.ZodEnum<{
|
|
109
|
+
error: "error";
|
|
109
110
|
debug: "debug";
|
|
110
111
|
info: "info";
|
|
111
112
|
warning: "warning";
|
|
112
|
-
error: "error";
|
|
113
113
|
fatal: "fatal";
|
|
114
114
|
}>;
|
|
115
115
|
context: z.ZodObject<{
|
|
@@ -121,7 +121,6 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
121
121
|
url: z.ZodOptional<z.ZodString>;
|
|
122
122
|
flowId: z.ZodOptional<z.ZodString>;
|
|
123
123
|
originType: z.ZodOptional<z.ZodEnum<{
|
|
124
|
-
request: "request";
|
|
125
124
|
"user-click": "user-click";
|
|
126
125
|
"user-input": "user-input";
|
|
127
126
|
keyboard: "keyboard";
|
|
@@ -147,6 +146,7 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
147
146
|
"page-load": "page-load";
|
|
148
147
|
"form-submit": "form-submit";
|
|
149
148
|
"input-change": "input-change";
|
|
149
|
+
request: "request";
|
|
150
150
|
job: "job";
|
|
151
151
|
}>>;
|
|
152
152
|
originNodeId: z.ZodOptional<z.ZodString>;
|
package/lib/node.d.ts
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const TraceNodeTypeSchema: z.ZodEnum<{
|
|
3
|
-
session: "session";
|
|
4
|
-
route: "route";
|
|
5
|
-
page: "page";
|
|
6
3
|
effect: "effect";
|
|
7
4
|
timer: "timer";
|
|
8
5
|
"hmr-update": "hmr-update";
|
|
6
|
+
route: "route";
|
|
9
7
|
render: "render";
|
|
10
8
|
promise: "promise";
|
|
9
|
+
session: "session";
|
|
11
10
|
"browser-context": "browser-context";
|
|
12
11
|
tab: "tab";
|
|
13
12
|
renderer: "renderer";
|
|
14
13
|
router: "router";
|
|
14
|
+
page: "page";
|
|
15
15
|
component: "component";
|
|
16
16
|
element: "element";
|
|
17
17
|
slot: "slot";
|
|
@@ -64,9 +64,9 @@ export declare const TraceNodeTypeSchema: z.ZodEnum<{
|
|
|
64
64
|
}>;
|
|
65
65
|
export type TraceNodeType = z.infer<typeof TraceNodeTypeSchema>;
|
|
66
66
|
export declare const LifecycleSchema: z.ZodEnum<{
|
|
67
|
+
created: "created";
|
|
67
68
|
active: "active";
|
|
68
69
|
completed: "completed";
|
|
69
|
-
created: "created";
|
|
70
70
|
disposed: "disposed";
|
|
71
71
|
errored: "errored";
|
|
72
72
|
}>;
|
|
@@ -75,18 +75,18 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
75
75
|
id: z.ZodString;
|
|
76
76
|
parentTraceNodeId: z.ZodOptional<z.ZodString>;
|
|
77
77
|
type: z.ZodEnum<{
|
|
78
|
-
session: "session";
|
|
79
|
-
route: "route";
|
|
80
|
-
page: "page";
|
|
81
78
|
effect: "effect";
|
|
82
79
|
timer: "timer";
|
|
83
80
|
"hmr-update": "hmr-update";
|
|
81
|
+
route: "route";
|
|
84
82
|
render: "render";
|
|
85
83
|
promise: "promise";
|
|
84
|
+
session: "session";
|
|
86
85
|
"browser-context": "browser-context";
|
|
87
86
|
tab: "tab";
|
|
88
87
|
renderer: "renderer";
|
|
89
88
|
router: "router";
|
|
89
|
+
page: "page";
|
|
90
90
|
component: "component";
|
|
91
91
|
element: "element";
|
|
92
92
|
slot: "slot";
|
|
@@ -141,9 +141,9 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
141
141
|
instanceId: z.ZodOptional<z.ZodString>;
|
|
142
142
|
generation: z.ZodOptional<z.ZodNumber>;
|
|
143
143
|
lifecycle: z.ZodEnum<{
|
|
144
|
+
created: "created";
|
|
144
145
|
active: "active";
|
|
145
146
|
completed: "completed";
|
|
146
|
-
created: "created";
|
|
147
147
|
disposed: "disposed";
|
|
148
148
|
errored: "errored";
|
|
149
149
|
}>;
|
|
@@ -156,7 +156,6 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
156
156
|
url: z.ZodOptional<z.ZodString>;
|
|
157
157
|
flowId: z.ZodOptional<z.ZodString>;
|
|
158
158
|
originType: z.ZodOptional<z.ZodEnum<{
|
|
159
|
-
request: "request";
|
|
160
159
|
"user-click": "user-click";
|
|
161
160
|
"user-input": "user-input";
|
|
162
161
|
keyboard: "keyboard";
|
|
@@ -182,6 +181,7 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
182
181
|
"page-load": "page-load";
|
|
183
182
|
"form-submit": "form-submit";
|
|
184
183
|
"input-change": "input-change";
|
|
184
|
+
request: "request";
|
|
185
185
|
job: "job";
|
|
186
186
|
}>>;
|
|
187
187
|
originNodeId: z.ZodOptional<z.ZodString>;
|
package/lib/producer-health.d.ts
CHANGED
|
@@ -47,9 +47,9 @@ export type ProducerState = z.infer<typeof ProducerStateSchema>;
|
|
|
47
47
|
/** Outcome of a producer's most recent run. */
|
|
48
48
|
export declare const ProducerRunStatusSchema: z.ZodEnum<{
|
|
49
49
|
error: "error";
|
|
50
|
+
running: "running";
|
|
50
51
|
clean: "clean";
|
|
51
52
|
failing: "failing";
|
|
52
|
-
running: "running";
|
|
53
53
|
}>;
|
|
54
54
|
export type ProducerRunStatus = z.infer<typeof ProducerRunStatusSchema>;
|
|
55
55
|
/**
|
|
@@ -66,9 +66,9 @@ export declare const ProducerReportSchema: z.ZodObject<{
|
|
|
66
66
|
lastReportedAt: z.ZodNumber;
|
|
67
67
|
lastRunStatus: z.ZodEnum<{
|
|
68
68
|
error: "error";
|
|
69
|
+
running: "running";
|
|
69
70
|
clean: "clean";
|
|
70
71
|
failing: "failing";
|
|
71
|
-
running: "running";
|
|
72
72
|
}>;
|
|
73
73
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
74
74
|
errorCount: z.ZodNumber;
|
|
@@ -93,9 +93,9 @@ export declare const ProducerHealthSchema: z.ZodObject<{
|
|
|
93
93
|
lastReportedAt: z.ZodNumber;
|
|
94
94
|
lastRunStatus: z.ZodEnum<{
|
|
95
95
|
error: "error";
|
|
96
|
+
running: "running";
|
|
96
97
|
clean: "clean";
|
|
97
98
|
failing: "failing";
|
|
98
|
-
running: "running";
|
|
99
99
|
}>;
|
|
100
100
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
101
101
|
errorCount: z.ZodNumber;
|
package/lib/replay.d.ts
CHANGED
|
@@ -129,6 +129,8 @@ export type DashReplayStoryItem = {
|
|
|
129
129
|
valuesId?: string;
|
|
130
130
|
/** A call out's captured request and response. */
|
|
131
131
|
exchangeId?: string;
|
|
132
|
+
/** A call to one of the cluster's own services through the gateway (`DashFlowNode.hop`), not a call out. */
|
|
133
|
+
hop?: true;
|
|
132
134
|
/** An AI call's prompt and completion — `ai_get_call { callId }`. */
|
|
133
135
|
aiCallId?: string;
|
|
134
136
|
/** The lane's node a system item tells (`DashFlowNode.id`) — what the dashboard's player lights. */
|
package/lib/resources.d.ts
CHANGED
|
@@ -14,18 +14,18 @@ export declare const ResourceEnvelopeSchema: z.ZodObject<{
|
|
|
14
14
|
export type ResourceEnvelope = z.infer<typeof ResourceEnvelopeSchema>;
|
|
15
15
|
export declare const AgentStatusKindSchema: z.ZodEnum<{
|
|
16
16
|
warning: "warning";
|
|
17
|
-
starting: "starting";
|
|
18
17
|
clean: "clean";
|
|
19
18
|
failing: "failing";
|
|
19
|
+
starting: "starting";
|
|
20
20
|
}>;
|
|
21
21
|
export type AgentStatusKind = z.infer<typeof AgentStatusKindSchema>;
|
|
22
22
|
export declare const AgentBlockingItemSchema: z.ZodObject<{
|
|
23
23
|
source: z.ZodString;
|
|
24
24
|
severity: z.ZodEnum<{
|
|
25
|
+
error: "error";
|
|
25
26
|
debug: "debug";
|
|
26
27
|
info: "info";
|
|
27
28
|
warning: "warning";
|
|
28
|
-
error: "error";
|
|
29
29
|
fatal: "fatal";
|
|
30
30
|
}>;
|
|
31
31
|
title: z.ZodString;
|
|
@@ -50,36 +50,36 @@ export type AgentBlockingItem = z.infer<typeof AgentBlockingItemSchema>;
|
|
|
50
50
|
export declare const AgentChecksSchema: z.ZodObject<{
|
|
51
51
|
typecheck: z.ZodOptional<z.ZodEnum<{
|
|
52
52
|
unknown: "unknown";
|
|
53
|
-
failed: "failed";
|
|
54
53
|
passed: "passed";
|
|
54
|
+
failed: "failed";
|
|
55
55
|
}>>;
|
|
56
56
|
lint: z.ZodOptional<z.ZodEnum<{
|
|
57
57
|
unknown: "unknown";
|
|
58
|
-
failed: "failed";
|
|
59
58
|
passed: "passed";
|
|
59
|
+
failed: "failed";
|
|
60
60
|
}>>;
|
|
61
61
|
build: z.ZodOptional<z.ZodEnum<{
|
|
62
62
|
unknown: "unknown";
|
|
63
|
-
failed: "failed";
|
|
64
63
|
passed: "passed";
|
|
64
|
+
failed: "failed";
|
|
65
65
|
}>>;
|
|
66
66
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
67
67
|
warning: "warning";
|
|
68
68
|
unknown: "unknown";
|
|
69
|
-
failed: "failed";
|
|
70
69
|
passed: "passed";
|
|
70
|
+
failed: "failed";
|
|
71
71
|
}>>;
|
|
72
72
|
visual: z.ZodOptional<z.ZodEnum<{
|
|
73
73
|
warning: "warning";
|
|
74
74
|
unknown: "unknown";
|
|
75
|
-
failed: "failed";
|
|
76
75
|
passed: "passed";
|
|
76
|
+
failed: "failed";
|
|
77
77
|
}>>;
|
|
78
78
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
79
79
|
warning: "warning";
|
|
80
80
|
unknown: "unknown";
|
|
81
|
-
failed: "failed";
|
|
82
81
|
passed: "passed";
|
|
82
|
+
failed: "failed";
|
|
83
83
|
}>>;
|
|
84
84
|
}, z.core.$strip>;
|
|
85
85
|
/**
|
|
@@ -114,19 +114,19 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
|
|
|
114
114
|
sessionId: z.ZodString;
|
|
115
115
|
status: z.ZodEnum<{
|
|
116
116
|
warning: "warning";
|
|
117
|
-
starting: "starting";
|
|
118
117
|
clean: "clean";
|
|
119
118
|
failing: "failing";
|
|
119
|
+
starting: "starting";
|
|
120
120
|
}>;
|
|
121
121
|
activeTab: z.ZodOptional<z.ZodString>;
|
|
122
122
|
tabsWithIssues: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
123
123
|
blocking: z.ZodArray<z.ZodObject<{
|
|
124
124
|
source: z.ZodString;
|
|
125
125
|
severity: z.ZodEnum<{
|
|
126
|
+
error: "error";
|
|
126
127
|
debug: "debug";
|
|
127
128
|
info: "info";
|
|
128
129
|
warning: "warning";
|
|
129
|
-
error: "error";
|
|
130
130
|
fatal: "fatal";
|
|
131
131
|
}>;
|
|
132
132
|
title: z.ZodString;
|
|
@@ -150,10 +150,10 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
|
|
|
150
150
|
warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
151
151
|
source: z.ZodString;
|
|
152
152
|
severity: z.ZodEnum<{
|
|
153
|
+
error: "error";
|
|
153
154
|
debug: "debug";
|
|
154
155
|
info: "info";
|
|
155
156
|
warning: "warning";
|
|
156
|
-
error: "error";
|
|
157
157
|
fatal: "fatal";
|
|
158
158
|
}>;
|
|
159
159
|
title: z.ZodString;
|
|
@@ -178,36 +178,36 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
|
|
|
178
178
|
checks: z.ZodOptional<z.ZodObject<{
|
|
179
179
|
typecheck: z.ZodOptional<z.ZodEnum<{
|
|
180
180
|
unknown: "unknown";
|
|
181
|
-
failed: "failed";
|
|
182
181
|
passed: "passed";
|
|
182
|
+
failed: "failed";
|
|
183
183
|
}>>;
|
|
184
184
|
lint: z.ZodOptional<z.ZodEnum<{
|
|
185
185
|
unknown: "unknown";
|
|
186
|
-
failed: "failed";
|
|
187
186
|
passed: "passed";
|
|
187
|
+
failed: "failed";
|
|
188
188
|
}>>;
|
|
189
189
|
build: z.ZodOptional<z.ZodEnum<{
|
|
190
190
|
unknown: "unknown";
|
|
191
|
-
failed: "failed";
|
|
192
191
|
passed: "passed";
|
|
192
|
+
failed: "failed";
|
|
193
193
|
}>>;
|
|
194
194
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
195
195
|
warning: "warning";
|
|
196
196
|
unknown: "unknown";
|
|
197
|
-
failed: "failed";
|
|
198
197
|
passed: "passed";
|
|
198
|
+
failed: "failed";
|
|
199
199
|
}>>;
|
|
200
200
|
visual: z.ZodOptional<z.ZodEnum<{
|
|
201
201
|
warning: "warning";
|
|
202
202
|
unknown: "unknown";
|
|
203
|
-
failed: "failed";
|
|
204
203
|
passed: "passed";
|
|
204
|
+
failed: "failed";
|
|
205
205
|
}>>;
|
|
206
206
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
207
207
|
warning: "warning";
|
|
208
208
|
unknown: "unknown";
|
|
209
|
-
failed: "failed";
|
|
210
209
|
passed: "passed";
|
|
210
|
+
failed: "failed";
|
|
211
211
|
}>>;
|
|
212
212
|
}, z.core.$strip>>;
|
|
213
213
|
server: z.ZodOptional<z.ZodObject<{
|
|
@@ -327,10 +327,10 @@ declare const CheckEntrySchema: z.ZodObject<{
|
|
|
327
327
|
code: z.ZodOptional<z.ZodString>;
|
|
328
328
|
rule: z.ZodOptional<z.ZodString>;
|
|
329
329
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
330
|
+
error: "error";
|
|
330
331
|
debug: "debug";
|
|
331
332
|
info: "info";
|
|
332
333
|
warning: "warning";
|
|
333
|
-
error: "error";
|
|
334
334
|
fatal: "fatal";
|
|
335
335
|
}>>;
|
|
336
336
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -356,9 +356,9 @@ export declare const TypecheckCurrentSchema: z.ZodObject<{
|
|
|
356
356
|
lastReportedAt: z.ZodNumber;
|
|
357
357
|
lastRunStatus: z.ZodEnum<{
|
|
358
358
|
error: "error";
|
|
359
|
+
running: "running";
|
|
359
360
|
clean: "clean";
|
|
360
361
|
failing: "failing";
|
|
361
|
-
running: "running";
|
|
362
362
|
}>;
|
|
363
363
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
364
364
|
errorCount: z.ZodNumber;
|
|
@@ -395,9 +395,9 @@ export declare const TypecheckErrorsSchema: z.ZodObject<{
|
|
|
395
395
|
lastReportedAt: z.ZodNumber;
|
|
396
396
|
lastRunStatus: z.ZodEnum<{
|
|
397
397
|
error: "error";
|
|
398
|
+
running: "running";
|
|
398
399
|
clean: "clean";
|
|
399
400
|
failing: "failing";
|
|
400
|
-
running: "running";
|
|
401
401
|
}>;
|
|
402
402
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
403
403
|
errorCount: z.ZodNumber;
|
|
@@ -416,10 +416,10 @@ export declare const TypecheckErrorsSchema: z.ZodObject<{
|
|
|
416
416
|
code: z.ZodOptional<z.ZodString>;
|
|
417
417
|
rule: z.ZodOptional<z.ZodString>;
|
|
418
418
|
severity: z.ZodOptional<z.ZodEnum<{
|
|
419
|
+
error: "error";
|
|
419
420
|
debug: "debug";
|
|
420
421
|
info: "info";
|
|
421
422
|
warning: "warning";
|
|
422
|
-
error: "error";
|
|
423
423
|
fatal: "fatal";
|
|
424
424
|
}>>;
|
|
425
425
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -446,9 +446,9 @@ export declare const LintCurrentSchema: z.ZodObject<{
|
|
|
446
446
|
lastReportedAt: z.ZodNumber;
|
|
447
447
|
lastRunStatus: z.ZodEnum<{
|
|
448
448
|
error: "error";
|
|
449
|
+
running: "running";
|
|
449
450
|
clean: "clean";
|
|
450
451
|
failing: "failing";
|
|
451
|
-
running: "running";
|
|
452
452
|
}>;
|
|
453
453
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
454
454
|
errorCount: z.ZodNumber;
|
|
@@ -487,9 +487,9 @@ export declare const BuildCurrentSchema: z.ZodObject<{
|
|
|
487
487
|
lastReportedAt: z.ZodNumber;
|
|
488
488
|
lastRunStatus: z.ZodEnum<{
|
|
489
489
|
error: "error";
|
|
490
|
+
running: "running";
|
|
490
491
|
clean: "clean";
|
|
491
492
|
failing: "failing";
|
|
492
|
-
running: "running";
|
|
493
493
|
}>;
|
|
494
494
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
495
495
|
errorCount: z.ZodNumber;
|