@hol-org/rb-client 0.1.158 → 0.1.160

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.cjs CHANGED
@@ -1145,6 +1145,22 @@ var trustScoreBreakdownSchema = import_zod2.z.record(import_zod2.z.number()).ref
1145
1145
  (record) => typeof record.total === "number" && Number.isFinite(record.total),
1146
1146
  { message: "trustScores.total is required" }
1147
1147
  );
1148
+ var skillSafetyLabelSchema = import_zod2.z.enum(["safe", "review", "caution", "unsafe"]);
1149
+ var skillSafetySummarySchema = import_zod2.z.object({
1150
+ score: import_zod2.z.number(),
1151
+ label: skillSafetyLabelSchema,
1152
+ findingsTotal: import_zod2.z.number().int(),
1153
+ highFindings: import_zod2.z.number().int(),
1154
+ scriptsTotal: import_zod2.z.number().int(),
1155
+ permissionsMissing: import_zod2.z.array(import_zod2.z.string())
1156
+ }).passthrough();
1157
+ var skillSafetyFindingSeveritySchema = import_zod2.z.enum(["low", "medium", "high"]);
1158
+ var skillSafetyFindingSchema = import_zod2.z.object({
1159
+ ruleId: import_zod2.z.string(),
1160
+ severity: skillSafetyFindingSeveritySchema,
1161
+ file: import_zod2.z.string(),
1162
+ message: import_zod2.z.string()
1163
+ }).passthrough();
1148
1164
  var skillRegistryFileDescriptorSchema = import_zod2.z.object({
1149
1165
  name: import_zod2.z.string(),
1150
1166
  mimeType: import_zod2.z.string(),
@@ -1175,6 +1191,8 @@ var skillRegistryPublishSummarySchema = import_zod2.z.object({
1175
1191
  upvotes: import_zod2.z.number().int().optional(),
1176
1192
  trustScore: import_zod2.z.number().optional(),
1177
1193
  trustScores: trustScoreBreakdownSchema.optional(),
1194
+ safety: skillSafetySummarySchema.optional(),
1195
+ safetyFindings: import_zod2.z.array(skillSafetyFindingSchema).optional(),
1178
1196
  files: import_zod2.z.array(skillRegistryFileDescriptorSchema).optional()
1179
1197
  }).passthrough();
1180
1198
  var skillRegistryListResponseSchema = import_zod2.z.object({
@@ -1232,6 +1250,7 @@ var skillRegistryJobStatusResponseSchema = import_zod2.z.object({
1232
1250
  files: import_zod2.z.array(skillRegistryFileDescriptorSchema).nullable().optional(),
1233
1251
  quoteCredits: import_zod2.z.number().nullable().optional(),
1234
1252
  quoteUsdCents: import_zod2.z.number().nullable().optional(),
1253
+ safety: skillSafetySummarySchema.nullable().optional(),
1235
1254
  reservationId: import_zod2.z.string().nullable().optional(),
1236
1255
  totalCostHbar: import_zod2.z.number().nullable().optional(),
1237
1256
  totalCostCredits: import_zod2.z.number().nullable().optional(),