@lensmcp/protocol-types 1.25.27 → 1.25.28
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 +10 -0
- 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/resources.d.ts +23 -23
- package/lib/sources.d.ts +5 -0
- 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
|
-
set: "set";
|
|
152
151
|
push: "push";
|
|
152
|
+
set: "set";
|
|
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
|
-
set: "set";
|
|
165
164
|
push: "push";
|
|
165
|
+
set: "set";
|
|
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";
|
|
259
258
|
info: "info";
|
|
260
259
|
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";
|
|
278
277
|
info: "info";
|
|
279
278
|
warning: "warning";
|
|
279
|
+
error: "error";
|
|
280
280
|
}>;
|
|
281
281
|
timing: z.ZodEnum<{
|
|
282
282
|
always: "always";
|
package/lib/context.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const FlowOriginTypeSchema: z.ZodEnum<{
|
|
3
|
+
request: "request";
|
|
3
4
|
"user-click": "user-click";
|
|
4
5
|
"user-input": "user-input";
|
|
5
6
|
keyboard: "keyboard";
|
|
@@ -25,7 +26,6 @@ export declare const FlowOriginTypeSchema: z.ZodEnum<{
|
|
|
25
26
|
"page-load": "page-load";
|
|
26
27
|
"form-submit": "form-submit";
|
|
27
28
|
"input-change": "input-change";
|
|
28
|
-
request: "request";
|
|
29
29
|
job: "job";
|
|
30
30
|
}>;
|
|
31
31
|
export type FlowOriginType = z.infer<typeof FlowOriginTypeSchema>;
|
|
@@ -38,6 +38,7 @@ 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";
|
|
41
42
|
"user-click": "user-click";
|
|
42
43
|
"user-input": "user-input";
|
|
43
44
|
keyboard: "keyboard";
|
|
@@ -63,7 +64,6 @@ export declare const TraceContextSchema: z.ZodObject<{
|
|
|
63
64
|
"page-load": "page-load";
|
|
64
65
|
"form-submit": "form-submit";
|
|
65
66
|
"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
|
@@ -1731,6 +1731,8 @@ export interface DashSqlCatalog {
|
|
|
1731
1731
|
findings: number;
|
|
1732
1732
|
};
|
|
1733
1733
|
since?: number;
|
|
1734
|
+
/** The most statements the catalog keeps: past it, the one run least recently is dropped — at it, `templates` is a cap. */
|
|
1735
|
+
maxTemplates?: number;
|
|
1734
1736
|
}
|
|
1735
1737
|
/** `/api/db/stores` — every declared store as this checkout sees it, and what the lens could read of it. */
|
|
1736
1738
|
export interface DashDbStores {
|
|
@@ -2106,6 +2108,8 @@ export interface DashRoutesLintIssue {
|
|
|
2106
2108
|
message: string;
|
|
2107
2109
|
/** What to do, for a coding agent. */
|
|
2108
2110
|
fix: string;
|
|
2111
|
+
/** The same in a person's words, where `fix` names an MCP call: the dashboard shows this, and `fix` to copy (foodguard-110). */
|
|
2112
|
+
say?: string;
|
|
2109
2113
|
/** For an issue about its SQL: each statement, with the `db://` resource to check it. */
|
|
2110
2114
|
statements?: DashRoutesLintStatement[];
|
|
2111
2115
|
/** For an issue from its route review: the review, and the indicators it rests on. */
|
|
@@ -2329,6 +2333,8 @@ export interface DashAiToken {
|
|
|
2329
2333
|
nextGrantAt?: number;
|
|
2330
2334
|
sharedWith: string[];
|
|
2331
2335
|
};
|
|
2336
|
+
/** Its credit renewed on this day to an amount it was not told (no monthly quota): set its balance again. */
|
|
2337
|
+
creditRenewedAt?: number;
|
|
2332
2338
|
addedAt: number;
|
|
2333
2339
|
testedAt?: number;
|
|
2334
2340
|
lastUsedAt?: number;
|
|
@@ -2996,6 +3002,8 @@ export interface DashKvLintIssue {
|
|
|
2996
3002
|
message: string;
|
|
2997
3003
|
/** What to do, for a coding agent. */
|
|
2998
3004
|
fix: string;
|
|
3005
|
+
/** The same in a person's words, where `fix` names an MCP call: the dashboard shows this, and `fix` to copy (foodguard-110). */
|
|
3006
|
+
say?: string;
|
|
2999
3007
|
/** For an issue from its cache review: the review, and the indicators it rests on. */
|
|
3000
3008
|
review?: {
|
|
3001
3009
|
runId: string;
|
|
@@ -3053,6 +3061,8 @@ export interface DashQueuesLintIssue {
|
|
|
3053
3061
|
workers: number;
|
|
3054
3062
|
message: string;
|
|
3055
3063
|
fix: string;
|
|
3064
|
+
/** The same in a person's words, where `fix` names an MCP call: the dashboard shows this, and `fix` to copy (foodguard-110). */
|
|
3065
|
+
say?: string;
|
|
3056
3066
|
review?: {
|
|
3057
3067
|
runId: string;
|
|
3058
3068
|
at: number;
|
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";
|
|
3
6
|
db: "db";
|
|
4
|
-
memory: "memory";
|
|
5
7
|
visual: "visual";
|
|
8
|
+
memory: "memory";
|
|
6
9
|
render: "render";
|
|
7
|
-
state: "state";
|
|
8
|
-
network: "network";
|
|
9
10
|
backend: "backend";
|
|
10
11
|
performance: "performance";
|
|
11
12
|
lifecycle: "lifecycle";
|
|
12
13
|
ownership: "ownership";
|
|
13
14
|
caused: "caused";
|
|
14
15
|
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";
|
|
23
26
|
db: "db";
|
|
24
|
-
memory: "memory";
|
|
25
27
|
visual: "visual";
|
|
28
|
+
memory: "memory";
|
|
26
29
|
render: "render";
|
|
27
|
-
state: "state";
|
|
28
|
-
network: "network";
|
|
29
30
|
backend: "backend";
|
|
30
31
|
performance: "performance";
|
|
31
32
|
lifecycle: "lifecycle";
|
|
32
33
|
ownership: "ownership";
|
|
33
34
|
caused: "caused";
|
|
34
35
|
async: "async";
|
|
35
|
-
data: "data";
|
|
36
36
|
}>;
|
|
37
37
|
type: z.ZodString;
|
|
38
38
|
timestamp: z.ZodNumber;
|
package/lib/event.d.ts
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
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";
|
|
3
12
|
nx: "nx";
|
|
4
13
|
vite: "vite";
|
|
5
14
|
typescript: "typescript";
|
|
@@ -7,51 +16,42 @@ export declare const EventSourceSchema: z.ZodEnum<{
|
|
|
7
16
|
rollup: "rollup";
|
|
8
17
|
"client-runtime": "client-runtime";
|
|
9
18
|
chrome: "chrome";
|
|
10
|
-
react: "react";
|
|
11
19
|
valtio: "valtio";
|
|
12
20
|
nestjs: "nestjs";
|
|
13
21
|
nextjs: "nextjs";
|
|
14
|
-
db: "db";
|
|
15
|
-
redis: "redis";
|
|
16
|
-
queue: "queue";
|
|
17
|
-
memory: "memory";
|
|
18
|
-
visual: "visual";
|
|
19
22
|
perf: "perf";
|
|
20
23
|
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
|
-
db: "db";
|
|
30
|
-
memory: "memory";
|
|
31
|
-
visual: "visual";
|
|
32
|
-
security: "security";
|
|
33
|
-
ai: "ai";
|
|
34
29
|
build: "build";
|
|
35
|
-
lint: "lint";
|
|
36
30
|
typecheck: "typecheck";
|
|
31
|
+
lint: "lint";
|
|
32
|
+
cluster: "cluster";
|
|
33
|
+
agent: "agent";
|
|
34
|
+
state: "state";
|
|
35
|
+
network: "network";
|
|
36
|
+
ai: "ai";
|
|
37
|
+
db: "db";
|
|
37
38
|
test: "test";
|
|
39
|
+
visual: "visual";
|
|
40
|
+
memory: "memory";
|
|
41
|
+
trace: "trace";
|
|
42
|
+
security: "security";
|
|
38
43
|
runtime: "runtime";
|
|
39
44
|
render: "render";
|
|
40
|
-
trace: "trace";
|
|
41
|
-
state: "state";
|
|
42
|
-
network: "network";
|
|
43
45
|
backend: "backend";
|
|
44
46
|
performance: "performance";
|
|
45
47
|
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";
|
|
52
51
|
debug: "debug";
|
|
53
52
|
info: "info";
|
|
54
53
|
warning: "warning";
|
|
54
|
+
error: "error";
|
|
55
55
|
fatal: "fatal";
|
|
56
56
|
}>;
|
|
57
57
|
export type Severity = z.infer<typeof SeveritySchema>;
|
|
@@ -60,6 +60,15 @@ 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";
|
|
63
72
|
nx: "nx";
|
|
64
73
|
vite: "vite";
|
|
65
74
|
typescript: "typescript";
|
|
@@ -67,49 +76,40 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
67
76
|
rollup: "rollup";
|
|
68
77
|
"client-runtime": "client-runtime";
|
|
69
78
|
chrome: "chrome";
|
|
70
|
-
react: "react";
|
|
71
79
|
valtio: "valtio";
|
|
72
80
|
nestjs: "nestjs";
|
|
73
81
|
nextjs: "nextjs";
|
|
74
|
-
db: "db";
|
|
75
|
-
redis: "redis";
|
|
76
|
-
queue: "queue";
|
|
77
|
-
memory: "memory";
|
|
78
|
-
visual: "visual";
|
|
79
82
|
perf: "perf";
|
|
80
83
|
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
|
-
db: "db";
|
|
89
|
-
memory: "memory";
|
|
90
|
-
visual: "visual";
|
|
91
|
-
security: "security";
|
|
92
|
-
ai: "ai";
|
|
93
88
|
build: "build";
|
|
94
|
-
lint: "lint";
|
|
95
89
|
typecheck: "typecheck";
|
|
90
|
+
lint: "lint";
|
|
91
|
+
cluster: "cluster";
|
|
92
|
+
agent: "agent";
|
|
93
|
+
state: "state";
|
|
94
|
+
network: "network";
|
|
95
|
+
ai: "ai";
|
|
96
|
+
db: "db";
|
|
96
97
|
test: "test";
|
|
98
|
+
visual: "visual";
|
|
99
|
+
memory: "memory";
|
|
100
|
+
trace: "trace";
|
|
101
|
+
security: "security";
|
|
97
102
|
runtime: "runtime";
|
|
98
103
|
render: "render";
|
|
99
|
-
trace: "trace";
|
|
100
|
-
state: "state";
|
|
101
|
-
network: "network";
|
|
102
104
|
backend: "backend";
|
|
103
105
|
performance: "performance";
|
|
104
106
|
deps: "deps";
|
|
105
|
-
cluster: "cluster";
|
|
106
|
-
agent: "agent";
|
|
107
107
|
}>;
|
|
108
108
|
severity: z.ZodEnum<{
|
|
109
|
-
error: "error";
|
|
110
109
|
debug: "debug";
|
|
111
110
|
info: "info";
|
|
112
111
|
warning: "warning";
|
|
112
|
+
error: "error";
|
|
113
113
|
fatal: "fatal";
|
|
114
114
|
}>;
|
|
115
115
|
context: z.ZodObject<{
|
|
@@ -121,6 +121,7 @@ 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";
|
|
124
125
|
"user-click": "user-click";
|
|
125
126
|
"user-input": "user-input";
|
|
126
127
|
keyboard: "keyboard";
|
|
@@ -146,7 +147,6 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
146
147
|
"page-load": "page-load";
|
|
147
148
|
"form-submit": "form-submit";
|
|
148
149
|
"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";
|
|
3
6
|
effect: "effect";
|
|
4
7
|
timer: "timer";
|
|
5
8
|
"hmr-update": "hmr-update";
|
|
6
|
-
route: "route";
|
|
7
9
|
render: "render";
|
|
8
10
|
promise: "promise";
|
|
9
|
-
session: "session";
|
|
10
11
|
"browser-context": "browser-context";
|
|
11
12
|
tab: "tab";
|
|
12
13
|
renderer: "renderer";
|
|
13
14
|
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";
|
|
68
67
|
active: "active";
|
|
69
68
|
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";
|
|
78
81
|
effect: "effect";
|
|
79
82
|
timer: "timer";
|
|
80
83
|
"hmr-update": "hmr-update";
|
|
81
|
-
route: "route";
|
|
82
84
|
render: "render";
|
|
83
85
|
promise: "promise";
|
|
84
|
-
session: "session";
|
|
85
86
|
"browser-context": "browser-context";
|
|
86
87
|
tab: "tab";
|
|
87
88
|
renderer: "renderer";
|
|
88
89
|
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";
|
|
145
144
|
active: "active";
|
|
146
145
|
completed: "completed";
|
|
146
|
+
created: "created";
|
|
147
147
|
disposed: "disposed";
|
|
148
148
|
errored: "errored";
|
|
149
149
|
}>;
|
|
@@ -156,6 +156,7 @@ 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";
|
|
159
160
|
"user-click": "user-click";
|
|
160
161
|
"user-input": "user-input";
|
|
161
162
|
keyboard: "keyboard";
|
|
@@ -181,7 +182,6 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
181
182
|
"page-load": "page-load";
|
|
182
183
|
"form-submit": "form-submit";
|
|
183
184
|
"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";
|
|
51
50
|
clean: "clean";
|
|
52
51
|
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";
|
|
70
69
|
clean: "clean";
|
|
71
70
|
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";
|
|
97
96
|
clean: "clean";
|
|
98
97
|
failing: "failing";
|
|
98
|
+
running: "running";
|
|
99
99
|
}>;
|
|
100
100
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
101
101
|
errorCount: z.ZodNumber;
|
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";
|
|
17
18
|
clean: "clean";
|
|
18
19
|
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";
|
|
26
25
|
debug: "debug";
|
|
27
26
|
info: "info";
|
|
28
27
|
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
|
-
passed: "passed";
|
|
54
53
|
failed: "failed";
|
|
54
|
+
passed: "passed";
|
|
55
55
|
}>>;
|
|
56
56
|
lint: z.ZodOptional<z.ZodEnum<{
|
|
57
57
|
unknown: "unknown";
|
|
58
|
-
passed: "passed";
|
|
59
58
|
failed: "failed";
|
|
59
|
+
passed: "passed";
|
|
60
60
|
}>>;
|
|
61
61
|
build: z.ZodOptional<z.ZodEnum<{
|
|
62
62
|
unknown: "unknown";
|
|
63
|
-
passed: "passed";
|
|
64
63
|
failed: "failed";
|
|
64
|
+
passed: "passed";
|
|
65
65
|
}>>;
|
|
66
66
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
67
67
|
warning: "warning";
|
|
68
68
|
unknown: "unknown";
|
|
69
|
-
passed: "passed";
|
|
70
69
|
failed: "failed";
|
|
70
|
+
passed: "passed";
|
|
71
71
|
}>>;
|
|
72
72
|
visual: z.ZodOptional<z.ZodEnum<{
|
|
73
73
|
warning: "warning";
|
|
74
74
|
unknown: "unknown";
|
|
75
|
-
passed: "passed";
|
|
76
75
|
failed: "failed";
|
|
76
|
+
passed: "passed";
|
|
77
77
|
}>>;
|
|
78
78
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
79
79
|
warning: "warning";
|
|
80
80
|
unknown: "unknown";
|
|
81
|
-
passed: "passed";
|
|
82
81
|
failed: "failed";
|
|
82
|
+
passed: "passed";
|
|
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";
|
|
117
118
|
clean: "clean";
|
|
118
119
|
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";
|
|
127
126
|
debug: "debug";
|
|
128
127
|
info: "info";
|
|
129
128
|
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";
|
|
154
153
|
debug: "debug";
|
|
155
154
|
info: "info";
|
|
156
155
|
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
|
-
passed: "passed";
|
|
182
181
|
failed: "failed";
|
|
182
|
+
passed: "passed";
|
|
183
183
|
}>>;
|
|
184
184
|
lint: z.ZodOptional<z.ZodEnum<{
|
|
185
185
|
unknown: "unknown";
|
|
186
|
-
passed: "passed";
|
|
187
186
|
failed: "failed";
|
|
187
|
+
passed: "passed";
|
|
188
188
|
}>>;
|
|
189
189
|
build: z.ZodOptional<z.ZodEnum<{
|
|
190
190
|
unknown: "unknown";
|
|
191
|
-
passed: "passed";
|
|
192
191
|
failed: "failed";
|
|
192
|
+
passed: "passed";
|
|
193
193
|
}>>;
|
|
194
194
|
runtime: z.ZodOptional<z.ZodEnum<{
|
|
195
195
|
warning: "warning";
|
|
196
196
|
unknown: "unknown";
|
|
197
|
-
passed: "passed";
|
|
198
197
|
failed: "failed";
|
|
198
|
+
passed: "passed";
|
|
199
199
|
}>>;
|
|
200
200
|
visual: z.ZodOptional<z.ZodEnum<{
|
|
201
201
|
warning: "warning";
|
|
202
202
|
unknown: "unknown";
|
|
203
|
-
passed: "passed";
|
|
204
203
|
failed: "failed";
|
|
204
|
+
passed: "passed";
|
|
205
205
|
}>>;
|
|
206
206
|
memory: z.ZodOptional<z.ZodEnum<{
|
|
207
207
|
warning: "warning";
|
|
208
208
|
unknown: "unknown";
|
|
209
|
-
passed: "passed";
|
|
210
209
|
failed: "failed";
|
|
210
|
+
passed: "passed";
|
|
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";
|
|
331
330
|
debug: "debug";
|
|
332
331
|
info: "info";
|
|
333
332
|
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";
|
|
360
359
|
clean: "clean";
|
|
361
360
|
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";
|
|
399
398
|
clean: "clean";
|
|
400
399
|
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";
|
|
420
419
|
debug: "debug";
|
|
421
420
|
info: "info";
|
|
422
421
|
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";
|
|
450
449
|
clean: "clean";
|
|
451
450
|
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";
|
|
491
490
|
clean: "clean";
|
|
492
491
|
failing: "failing";
|
|
492
|
+
running: "running";
|
|
493
493
|
}>;
|
|
494
494
|
lastRunDurationMs: z.ZodOptional<z.ZodNumber>;
|
|
495
495
|
errorCount: z.ZodNumber;
|
package/lib/sources.d.ts
CHANGED
|
@@ -463,6 +463,11 @@ export interface QueueGroupView extends QueueGroupRaw {
|
|
|
463
463
|
* (`completedInWindow` 0), no `admitted`/`completed` pushed. Absent when nothing is pending or it moved just now.
|
|
464
464
|
*/
|
|
465
465
|
stillMs?: number;
|
|
466
|
+
/**
|
|
467
|
+
* It has not moved since the lens began to watch it (this lens started, or its reads came back after a gap): `stillMs`
|
|
468
|
+
* is how long the lens has watched, so it has been still for AT LEAST that — not a measured span (foodguard-107).
|
|
469
|
+
*/
|
|
470
|
+
stillSinceWatch?: boolean;
|
|
466
471
|
/** `stillMs` is at least the source's `thresholds.stalledMin`. */
|
|
467
472
|
stalled: boolean;
|
|
468
473
|
}
|