@myagentroam/protocol 0.9.136 → 0.9.137

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/dist/index.d.ts CHANGED
@@ -5577,23 +5577,23 @@ export type RunEvent = z.infer<typeof runEventSchema>;
5577
5577
  /** Ephemeral metrics for the currently observed model request, never a history item. */
5578
5578
  export declare const runPerformanceSchema: z.ZodEffects<z.ZodObject<{
5579
5579
  runId: z.ZodString;
5580
- ttftMs: z.ZodOptional<z.ZodNumber>;
5580
+ latencyMs: z.ZodOptional<z.ZodNumber>;
5581
5581
  tokensPerSecond: z.ZodOptional<z.ZodNumber>;
5582
5582
  }, "strip", z.ZodTypeAny, {
5583
5583
  runId: string;
5584
- ttftMs?: number | undefined;
5584
+ latencyMs?: number | undefined;
5585
5585
  tokensPerSecond?: number | undefined;
5586
5586
  }, {
5587
5587
  runId: string;
5588
- ttftMs?: number | undefined;
5588
+ latencyMs?: number | undefined;
5589
5589
  tokensPerSecond?: number | undefined;
5590
5590
  }>, {
5591
5591
  runId: string;
5592
- ttftMs?: number | undefined;
5592
+ latencyMs?: number | undefined;
5593
5593
  tokensPerSecond?: number | undefined;
5594
5594
  }, {
5595
5595
  runId: string;
5596
- ttftMs?: number | undefined;
5596
+ latencyMs?: number | undefined;
5597
5597
  tokensPerSecond?: number | undefined;
5598
5598
  }>;
5599
5599
  export type RunPerformance = z.infer<typeof runPerformanceSchema>;
package/dist/index.js CHANGED
@@ -1181,10 +1181,10 @@ export const runEventSchema = z.object({
1181
1181
  export const runPerformanceSchema = z
1182
1182
  .object({
1183
1183
  runId: z.string().min(1).max(128),
1184
- ttftMs: z.number().int().nonnegative().optional(),
1184
+ latencyMs: z.number().int().nonnegative().optional(),
1185
1185
  tokensPerSecond: z.number().finite().nonnegative().optional()
1186
1186
  })
1187
- .refine((value) => value.ttftMs !== undefined || value.tokensPerSecond !== undefined);
1187
+ .refine((value) => value.latencyMs !== undefined || value.tokensPerSecond !== undefined);
1188
1188
  /**
1189
1189
  * Node-to-Workbench asynchronous notifications. This is deliberately a
1190
1190
  * small envelope: business payloads remain owned by the Node and Server only
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@myagentroam/protocol",
3
- "version": "0.9.136",
3
+ "version": "0.9.137",
4
4
  "description": "Shared runtime protocol schemas for MyAgentRoam.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",