@lensmcp/protocol-types 1.14.0 → 1.16.0

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/context.d.ts CHANGED
@@ -21,6 +21,7 @@ export declare const FlowOriginTypeSchema: z.ZodEnum<{
21
21
  "mutation-observer": "mutation-observer";
22
22
  "backend-response": "backend-response";
23
23
  "hmr-update": "hmr-update";
24
+ "ai-turn": "ai-turn";
24
25
  }>;
25
26
  export type FlowOriginType = z.infer<typeof FlowOriginTypeSchema>;
26
27
  export declare const TraceContextSchema: z.ZodObject<{
@@ -53,6 +54,7 @@ export declare const TraceContextSchema: z.ZodObject<{
53
54
  "mutation-observer": "mutation-observer";
54
55
  "backend-response": "backend-response";
55
56
  "hmr-update": "hmr-update";
57
+ "ai-turn": "ai-turn";
56
58
  }>>;
57
59
  originNodeId: z.ZodOptional<z.ZodString>;
58
60
  causedByNodeId: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/lib/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;EAsB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoB7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
1
+ {"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../src/lib/context.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;EAuB/B,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoB7B,CAAC;AAEH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
package/lib/context.js CHANGED
@@ -21,6 +21,7 @@ export const FlowOriginTypeSchema = z.enum([
21
21
  'mutation-observer',
22
22
  'backend-response',
23
23
  'hmr-update',
24
+ 'ai-turn',
24
25
  ]);
25
26
  export const TraceContextSchema = z.object({
26
27
  sessionId: z.string(),
package/lib/event.d.ts CHANGED
@@ -20,6 +20,7 @@ export declare const EventSourceSchema: z.ZodEnum<{
20
20
  security: "security";
21
21
  gateway: "gateway";
22
22
  external: "external";
23
+ ai: "ai";
23
24
  }>;
24
25
  export type EventSource = z.infer<typeof EventSourceSchema>;
25
26
  export declare const EventCategorySchema: z.ZodEnum<{
@@ -27,6 +28,7 @@ export declare const EventCategorySchema: z.ZodEnum<{
27
28
  memory: "memory";
28
29
  visual: "visual";
29
30
  security: "security";
31
+ ai: "ai";
30
32
  build: "build";
31
33
  lint: "lint";
32
34
  typecheck: "typecheck";
@@ -43,10 +45,10 @@ export declare const EventCategorySchema: z.ZodEnum<{
43
45
  }>;
44
46
  export type EventCategory = z.infer<typeof EventCategorySchema>;
45
47
  export declare const SeveritySchema: z.ZodEnum<{
46
- error: "error";
47
48
  debug: "debug";
48
49
  info: "info";
49
50
  warning: "warning";
51
+ error: "error";
50
52
  fatal: "fatal";
51
53
  }>;
52
54
  export type Severity = z.infer<typeof SeveritySchema>;
@@ -75,12 +77,14 @@ export declare const BaseEventSchema: z.ZodObject<{
75
77
  security: "security";
76
78
  gateway: "gateway";
77
79
  external: "external";
80
+ ai: "ai";
78
81
  }>;
79
82
  category: z.ZodEnum<{
80
83
  db: "db";
81
84
  memory: "memory";
82
85
  visual: "visual";
83
86
  security: "security";
87
+ ai: "ai";
84
88
  build: "build";
85
89
  lint: "lint";
86
90
  typecheck: "typecheck";
@@ -96,10 +100,10 @@ export declare const BaseEventSchema: z.ZodObject<{
96
100
  cluster: "cluster";
97
101
  }>;
98
102
  severity: z.ZodEnum<{
99
- error: "error";
100
103
  debug: "debug";
101
104
  info: "info";
102
105
  warning: "warning";
106
+ error: "error";
103
107
  fatal: "fatal";
104
108
  }>;
105
109
  context: z.ZodObject<{
@@ -132,6 +136,7 @@ export declare const BaseEventSchema: z.ZodObject<{
132
136
  "mutation-observer": "mutation-observer";
133
137
  "backend-response": "backend-response";
134
138
  "hmr-update": "hmr-update";
139
+ "ai-turn": "ai-turn";
135
140
  }>>;
136
141
  originNodeId: z.ZodOptional<z.ZodString>;
137
142
  causedByNodeId: z.ZodOptional<z.ZodString>;
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/lib/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;EAqB5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAkB9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;EAMzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../src/lib/event.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;EAsB5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;EAmB9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,cAAc;;;;;;EAMzB,CAAC;AACH,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAe1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
package/lib/event.js CHANGED
@@ -22,6 +22,7 @@ export const EventSourceSchema = z.enum([
22
22
  'security',
23
23
  'gateway',
24
24
  'external',
25
+ 'ai',
25
26
  ]);
26
27
  export const EventCategorySchema = z.enum([
27
28
  'build',
@@ -41,6 +42,7 @@ export const EventCategorySchema = z.enum([
41
42
  'security',
42
43
  'deps',
43
44
  'cluster',
45
+ 'ai',
44
46
  ]);
45
47
  export const SeveritySchema = z.enum([
46
48
  'debug',
package/lib/node.d.ts CHANGED
@@ -177,6 +177,7 @@ export declare const TraceNodeSchema: z.ZodObject<{
177
177
  "mutation-observer": "mutation-observer";
178
178
  "backend-response": "backend-response";
179
179
  "hmr-update": "hmr-update";
180
+ "ai-turn": "ai-turn";
180
181
  }>>;
181
182
  originNodeId: z.ZodOptional<z.ZodString>;
182
183
  causedByNodeId: z.ZodOptional<z.ZodString>;
package/lib/node.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/lib/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../src/lib/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuE9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEhE,eAAO,MAAM,eAAe;;;;;;EAM1B,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAmB1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -22,10 +22,10 @@ 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;
@@ -95,10 +95,10 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
95
95
  blocking: z.ZodArray<z.ZodObject<{
96
96
  source: z.ZodString;
97
97
  severity: z.ZodEnum<{
98
- error: "error";
99
98
  debug: "debug";
100
99
  info: "info";
101
100
  warning: "warning";
101
+ error: "error";
102
102
  fatal: "fatal";
103
103
  }>;
104
104
  title: z.ZodString;
@@ -118,10 +118,10 @@ export declare const AgentCurrentStatusSchema: z.ZodObject<{
118
118
  warnings: z.ZodDefault<z.ZodArray<z.ZodObject<{
119
119
  source: z.ZodString;
120
120
  severity: z.ZodEnum<{
121
- error: "error";
122
121
  debug: "debug";
123
122
  info: "info";
124
123
  warning: "warning";
124
+ error: "error";
125
125
  fatal: "fatal";
126
126
  }>;
127
127
  title: z.ZodString;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lensmcp/protocol-types",
3
- "version": "1.14.0",
3
+ "version": "1.16.0",
4
4
  "type": "module",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",