@handlebar/governance-schema 0.0.6-dev.3 → 0.0.6-dev.5

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.
@@ -192,7 +192,7 @@ export declare const ToolResultEventSchema: z.ZodObject<{
192
192
  duration_ms: "duration_ms";
193
193
  records_in: "records_in";
194
194
  records_out: "records_out";
195
- }>, z.ZodObject<{
195
+ }> & z.core.$partial, z.ZodObject<{
196
196
  value: z.ZodNumber;
197
197
  unit: z.ZodOptional<z.ZodString>;
198
198
  }, z.core.$strip>>;
@@ -471,7 +471,7 @@ export declare const AuditEventSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
471
471
  duration_ms: "duration_ms";
472
472
  records_in: "records_in";
473
473
  records_out: "records_out";
474
- }>, z.ZodObject<{
474
+ }> & z.core.$partial, z.ZodObject<{
475
475
  value: z.ZodNumber;
476
476
  unit: z.ZodOptional<z.ZodString>;
477
477
  }, z.core.$strip>>;
@@ -14,7 +14,7 @@ export declare const AgentMetrics: z.ZodObject<{
14
14
  duration_ms: "duration_ms";
15
15
  records_in: "records_in";
16
16
  records_out: "records_out";
17
- }>, z.ZodObject<{
17
+ }> & z.core.$partial, z.ZodObject<{
18
18
  value: z.ZodNumber;
19
19
  unit: z.ZodOptional<z.ZodString>;
20
20
  }, z.core.$strip>>;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from "./audit/events";
2
2
  export * from "./audit/events.base";
3
3
  export * from "./audit/events.llm";
4
+ export * from "./audit/run-metrics";
4
5
  export * from "./audit/governance-actions";
5
6
  export type { EndUserConfig, EndUserGroupConfig } from "./enduser.types";
6
7
  export * from "./rules/action.types";
package/dist/index.js CHANGED
@@ -12668,7 +12668,7 @@ var AgentMetricInfo = exports_external.object({
12668
12668
  value: exports_external.number(),
12669
12669
  unit: exports_external.string().min(1).max(64).optional()
12670
12670
  });
12671
- var InbuiltAgentMetrics = exports_external.record(InbuiltAgentMetricKind, AgentMetricInfo);
12671
+ var InbuiltAgentMetrics = exports_external.partialRecord(InbuiltAgentMetricKind, AgentMetricInfo);
12672
12672
  var CustomAgentMetrics = exports_external.record(CustomAgentMetricKind, AgentMetricInfo);
12673
12673
  var AgentMetrics = exports_external.object({
12674
12674
  inbuilt: InbuiltAgentMetrics,
@@ -12800,11 +12800,14 @@ export {
12800
12800
  MessageRoleSchema,
12801
12801
  MessageKindSchema,
12802
12802
  MessageEventSchema,
12803
+ InbuiltAgentMetricKind,
12803
12804
  HitlMetaSchema,
12804
12805
  GovernanceDecisionSchema,
12805
12806
  ErrorEventSchema,
12807
+ CustomAgentMetricKind,
12806
12808
  AuditEventSchema,
12807
12809
  AuditEnvelopeSchema,
12808
- AppliedActionSchema
12810
+ AppliedActionSchema,
12811
+ AgentMetrics
12809
12812
  };
12810
12813
  // 🚲
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@handlebar/governance-schema",
3
- "version": "0.0.6-dev.3",
3
+ "version": "0.0.6-dev.5",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",