@lensmcp/protocol-types 1.25.46 → 1.25.47

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.
@@ -150,10 +150,10 @@ export declare const MemoryOwnerAttrsSchema: z.ZodObject<{
150
150
  }, z.core.$strip>;
151
151
  export type MemoryOwnerAttrs = z.infer<typeof MemoryOwnerAttrsSchema>;
152
152
  export declare const MemoryMutationOperationSchema: z.ZodEnum<{
153
- delete: "delete";
154
- push: "push";
155
153
  set: "set";
154
+ push: "push";
156
155
  add: "add";
156
+ delete: "delete";
157
157
  clear: "clear";
158
158
  subscribe: "subscribe";
159
159
  listen: "listen";
@@ -163,10 +163,10 @@ export type MemoryMutationOperation = z.infer<typeof MemoryMutationOperationSche
163
163
  export declare const MemoryMutationAttrsSchema: z.ZodObject<{
164
164
  ownerNodeId: z.ZodString;
165
165
  operation: z.ZodEnum<{
166
- delete: "delete";
167
- push: "push";
168
166
  set: "set";
167
+ push: "push";
169
168
  add: "add";
169
+ delete: "delete";
170
170
  clear: "clear";
171
171
  subscribe: "subscribe";
172
172
  listen: "listen";
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/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
- test: "test";
31
- state: "state";
32
- agent: "agent";
33
- network: "network";
34
- ai: "ai";
35
29
  db: "db";
36
- typecheck: "typecheck";
37
- lint: "lint";
38
- visual: "visual";
39
30
  memory: "memory";
40
- cluster: "cluster";
41
- trace: "trace";
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
51
  error: "error";
52
+ debug: "debug";
52
53
  info: "info";
53
54
  warning: "warning";
54
- debug: "debug";
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
- test: "test";
90
- state: "state";
91
- agent: "agent";
92
- network: "network";
93
- ai: "ai";
94
88
  db: "db";
95
- typecheck: "typecheck";
96
- lint: "lint";
97
- visual: "visual";
98
89
  memory: "memory";
99
- cluster: "cluster";
100
- trace: "trace";
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
109
  error: "error";
110
+ debug: "debug";
110
111
  info: "info";
111
112
  warning: "warning";
112
- debug: "debug";
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
- page: "page";
4
- route: "route";
5
- session: "session";
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
- completed: "completed";
68
- active: "active";
69
67
  created: "created";
68
+ active: "active";
69
+ completed: "completed";
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
- page: "page";
79
- route: "route";
80
- session: "session";
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
- completed: "completed";
145
- active: "active";
146
144
  created: "created";
145
+ active: "active";
146
+ completed: "completed";
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>;
@@ -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
25
  error: "error";
26
+ debug: "debug";
26
27
  info: "info";
27
28
  warning: "warning";
28
- debug: "debug";
29
29
  fatal: "fatal";
30
30
  }>;
31
31
  title: z.ZodString;
@@ -49,37 +49,37 @@ export declare const AgentBlockingItemSchema: z.ZodObject<{
49
49
  export type AgentBlockingItem = z.infer<typeof AgentBlockingItemSchema>;
50
50
  export declare const AgentChecksSchema: z.ZodObject<{
51
51
  typecheck: z.ZodOptional<z.ZodEnum<{
52
+ unknown: "unknown";
52
53
  passed: "passed";
53
54
  failed: "failed";
54
- unknown: "unknown";
55
55
  }>>;
56
56
  lint: z.ZodOptional<z.ZodEnum<{
57
+ unknown: "unknown";
57
58
  passed: "passed";
58
59
  failed: "failed";
59
- unknown: "unknown";
60
60
  }>>;
61
61
  build: z.ZodOptional<z.ZodEnum<{
62
+ unknown: "unknown";
62
63
  passed: "passed";
63
64
  failed: "failed";
64
- unknown: "unknown";
65
65
  }>>;
66
66
  runtime: z.ZodOptional<z.ZodEnum<{
67
- passed: "passed";
68
- failed: "failed";
69
67
  warning: "warning";
70
68
  unknown: "unknown";
71
- }>>;
72
- visual: z.ZodOptional<z.ZodEnum<{
73
69
  passed: "passed";
74
70
  failed: "failed";
71
+ }>>;
72
+ visual: z.ZodOptional<z.ZodEnum<{
75
73
  warning: "warning";
76
74
  unknown: "unknown";
77
- }>>;
78
- memory: z.ZodOptional<z.ZodEnum<{
79
75
  passed: "passed";
80
76
  failed: "failed";
77
+ }>>;
78
+ memory: z.ZodOptional<z.ZodEnum<{
81
79
  warning: "warning";
82
80
  unknown: "unknown";
81
+ passed: "passed";
82
+ failed: "failed";
83
83
  }>>;
84
84
  }, z.core.$strip>;
85
85
  /**
@@ -92,14 +92,14 @@ export declare const AgentChecksSchema: z.ZodObject<{
92
92
  * bundle it started with until that session ends).
93
93
  */
94
94
  export declare const AgentServerModeSchema: z.ZodEnum<{
95
- shared: "shared";
96
95
  embedded: "embedded";
96
+ shared: "shared";
97
97
  }>;
98
98
  export type AgentServerMode = z.infer<typeof AgentServerModeSchema>;
99
99
  export declare const AgentServerInfoSchema: z.ZodObject<{
100
100
  mode: z.ZodEnum<{
101
- shared: "shared";
102
101
  embedded: "embedded";
102
+ shared: "shared";
103
103
  }>;
104
104
  pid: z.ZodNumber;
105
105
  startedAt: z.ZodString;
@@ -114,9 +114,9 @@ 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>>;
@@ -124,9 +124,9 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
124
124
  source: z.ZodString;
125
125
  severity: z.ZodEnum<{
126
126
  error: "error";
127
+ debug: "debug";
127
128
  info: "info";
128
129
  warning: "warning";
129
- debug: "debug";
130
130
  fatal: "fatal";
131
131
  }>;
132
132
  title: z.ZodString;
@@ -151,9 +151,9 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
151
151
  source: z.ZodString;
152
152
  severity: z.ZodEnum<{
153
153
  error: "error";
154
+ debug: "debug";
154
155
  info: "info";
155
156
  warning: "warning";
156
- debug: "debug";
157
157
  fatal: "fatal";
158
158
  }>;
159
159
  title: z.ZodString;
@@ -177,43 +177,43 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
177
177
  suggestedReads: z.ZodArray<z.ZodString>;
178
178
  checks: z.ZodOptional<z.ZodObject<{
179
179
  typecheck: z.ZodOptional<z.ZodEnum<{
180
+ unknown: "unknown";
180
181
  passed: "passed";
181
182
  failed: "failed";
182
- unknown: "unknown";
183
183
  }>>;
184
184
  lint: z.ZodOptional<z.ZodEnum<{
185
+ unknown: "unknown";
185
186
  passed: "passed";
186
187
  failed: "failed";
187
- unknown: "unknown";
188
188
  }>>;
189
189
  build: z.ZodOptional<z.ZodEnum<{
190
+ unknown: "unknown";
190
191
  passed: "passed";
191
192
  failed: "failed";
192
- unknown: "unknown";
193
193
  }>>;
194
194
  runtime: z.ZodOptional<z.ZodEnum<{
195
- passed: "passed";
196
- failed: "failed";
197
195
  warning: "warning";
198
196
  unknown: "unknown";
199
- }>>;
200
- visual: z.ZodOptional<z.ZodEnum<{
201
197
  passed: "passed";
202
198
  failed: "failed";
199
+ }>>;
200
+ visual: z.ZodOptional<z.ZodEnum<{
203
201
  warning: "warning";
204
202
  unknown: "unknown";
205
- }>>;
206
- memory: z.ZodOptional<z.ZodEnum<{
207
203
  passed: "passed";
208
204
  failed: "failed";
205
+ }>>;
206
+ memory: z.ZodOptional<z.ZodEnum<{
209
207
  warning: "warning";
210
208
  unknown: "unknown";
209
+ passed: "passed";
210
+ failed: "failed";
211
211
  }>>;
212
212
  }, z.core.$strip>>;
213
213
  server: z.ZodOptional<z.ZodObject<{
214
214
  mode: z.ZodEnum<{
215
- shared: "shared";
216
215
  embedded: "embedded";
216
+ shared: "shared";
217
217
  }>;
218
218
  pid: z.ZodNumber;
219
219
  startedAt: z.ZodString;
@@ -328,9 +328,9 @@ declare const CheckEntrySchema: z.ZodObject<{
328
328
  rule: z.ZodOptional<z.ZodString>;
329
329
  severity: z.ZodOptional<z.ZodEnum<{
330
330
  error: "error";
331
+ debug: "debug";
331
332
  info: "info";
332
333
  warning: "warning";
333
- debug: "debug";
334
334
  fatal: "fatal";
335
335
  }>>;
336
336
  file: z.ZodOptional<z.ZodString>;
@@ -417,9 +417,9 @@ export declare const TypecheckErrorsSchema: z.ZodObject<{
417
417
  rule: z.ZodOptional<z.ZodString>;
418
418
  severity: z.ZodOptional<z.ZodEnum<{
419
419
  error: "error";
420
+ debug: "debug";
420
421
  info: "info";
421
422
  warning: "warning";
422
- debug: "debug";
423
423
  fatal: "fatal";
424
424
  }>>;
425
425
  file: z.ZodOptional<z.ZodString>;
package/lib/team.d.ts CHANGED
@@ -970,7 +970,7 @@ export interface DashTeamQuestionOption {
970
970
  label: string;
971
971
  detail?: string;
972
972
  }
973
- /** Who answered: the manager it went to, the person (Team › Inbox, the CLI), or the person's delegate — their inbox session. */
973
+ /** Who answered: the manager it went to, the person (the dashboard's Inbox, the CLI), or the person's delegate — their inbox session. */
974
974
  export interface DashTeamQuestionAnswer {
975
975
  text: string;
976
976
  /** The option picked, 1-based. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.25.46",
3
+ "version": "1.25.47",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",