@lensmcp/protocol-types 1.25.7 → 1.25.8
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 +1 -0
- package/lib/context.js +1 -1
- package/lib/dashboard.d.ts +11 -0
- package/lib/event.d.ts +1 -0
- package/lib/node.d.ts +1 -0
- package/package.json +1 -1
package/lib/context.d.ts
CHANGED
|
@@ -70,6 +70,7 @@ export declare const TraceContextSchema: z.ZodObject<{
|
|
|
70
70
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
71
71
|
requestId: z.ZodOptional<z.ZodString>;
|
|
72
72
|
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
73
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
73
74
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
74
75
|
projectName: z.ZodOptional<z.ZodString>;
|
|
75
76
|
userActionId: z.ZodOptional<z.ZodString>;
|
package/lib/context.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";import{z as e}from"zod";export const FlowOriginTypeSchema=e.enum(["user-click","user-input","keyboard","route-load","effect","memo-recompute","timer","raf","idle-callback","websocket-message","broadcast-channel","post-message","storage-event","service-worker-message","media-query-change","visibility-change","resize","intersection-observer","mutation-observer","backend-response","hmr-update","ai-turn","page-load","form-submit","input-change","request","job"]),TraceContextSchema=e.object({sessionId:e.string(),browserContextId:e.string().optional(),tabId:e.string().optional(),frameId:e.string().optional(),route:e.string().optional(),url:e.string().optional(),flowId:e.string().optional(),originType:FlowOriginTypeSchema.optional(),originNodeId:e.string().optional(),causedByNodeId:e.string().optional(),requestId:e.string().optional(),parentRequestId:e.string().optional(),traceparent:e.string().optional(),projectName:e.string().optional(),userActionId:e.string().optional(),userIdHash:e.string().optional(),tenantIdHash:e.string().optional()});
|
|
1
|
+
"use strict";import{z as e}from"zod";export const FlowOriginTypeSchema=e.enum(["user-click","user-input","keyboard","route-load","effect","memo-recompute","timer","raf","idle-callback","websocket-message","broadcast-channel","post-message","storage-event","service-worker-message","media-query-change","visibility-change","resize","intersection-observer","mutation-observer","backend-response","hmr-update","ai-turn","page-load","form-submit","input-change","request","job"]),TraceContextSchema=e.object({sessionId:e.string(),browserContextId:e.string().optional(),tabId:e.string().optional(),frameId:e.string().optional(),route:e.string().optional(),url:e.string().optional(),flowId:e.string().optional(),originType:FlowOriginTypeSchema.optional(),originNodeId:e.string().optional(),causedByNodeId:e.string().optional(),requestId:e.string().optional(),parentRequestId:e.string().optional(),runId:e.string().optional(),traceparent:e.string().optional(),projectName:e.string().optional(),userActionId:e.string().optional(),userIdHash:e.string().optional(),tenantIdHash:e.string().optional()});
|
package/lib/dashboard.d.ts
CHANGED
|
@@ -1606,6 +1606,15 @@ export interface DashDbStores {
|
|
|
1606
1606
|
errors: string[];
|
|
1607
1607
|
notes: string[];
|
|
1608
1608
|
stores: DashDbStore[];
|
|
1609
|
+
/** The newest read failed, and this is the last one that did not: why the newer failed, and when. */
|
|
1610
|
+
kept?: DashDbKept;
|
|
1611
|
+
}
|
|
1612
|
+
/** A read the lens kept because a newer one failed — a busy machine's statement timeout must not blank the screen. */
|
|
1613
|
+
export interface DashDbKept {
|
|
1614
|
+
/** Why the newer read failed, in Postgres's words. */
|
|
1615
|
+
failed: string;
|
|
1616
|
+
/** When it failed (epoch ms); the kept read's own time is its `at`. */
|
|
1617
|
+
at: number;
|
|
1609
1618
|
}
|
|
1610
1619
|
export interface DashDbStore {
|
|
1611
1620
|
name: string;
|
|
@@ -1707,6 +1716,8 @@ export interface DashDbSchema {
|
|
|
1707
1716
|
checked?: DashDbChecked;
|
|
1708
1717
|
/** A read that failed, in Postgres's words. */
|
|
1709
1718
|
error?: string;
|
|
1719
|
+
/** The newest read failed, and this is the last one that did not: why the newer failed, and when. */
|
|
1720
|
+
kept?: DashDbKept;
|
|
1710
1721
|
}
|
|
1711
1722
|
/** One database's last read by LensMCP's own checks (`db.schema`), as `db://analysis` names it beside the analyzer's runs. */
|
|
1712
1723
|
export interface DashDbChecksSeen {
|
package/lib/event.d.ts
CHANGED
|
@@ -151,6 +151,7 @@ export declare const BaseEventSchema: z.ZodObject<{
|
|
|
151
151
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
152
152
|
requestId: z.ZodOptional<z.ZodString>;
|
|
153
153
|
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
154
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
154
155
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
155
156
|
projectName: z.ZodOptional<z.ZodString>;
|
|
156
157
|
userActionId: z.ZodOptional<z.ZodString>;
|
package/lib/node.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ export declare const TraceNodeSchema: z.ZodObject<{
|
|
|
188
188
|
causedByNodeId: z.ZodOptional<z.ZodString>;
|
|
189
189
|
requestId: z.ZodOptional<z.ZodString>;
|
|
190
190
|
parentRequestId: z.ZodOptional<z.ZodString>;
|
|
191
|
+
runId: z.ZodOptional<z.ZodString>;
|
|
191
192
|
traceparent: z.ZodOptional<z.ZodString>;
|
|
192
193
|
projectName: z.ZodOptional<z.ZodString>;
|
|
193
194
|
userActionId: z.ZodOptional<z.ZodString>;
|