@hol-org/rb-client 0.1.159 → 0.1.161
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 +19 -0
- package/dist/index.d.cts +1560 -12
- package/dist/index.d.ts +1560 -12
- package/dist/index.js +19 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1096,6 +1096,22 @@ var trustScoreBreakdownSchema = z2.record(z2.number()).refine(
|
|
|
1096
1096
|
(record) => typeof record.total === "number" && Number.isFinite(record.total),
|
|
1097
1097
|
{ message: "trustScores.total is required" }
|
|
1098
1098
|
);
|
|
1099
|
+
var skillSafetyLabelSchema = z2.enum(["safe", "review", "caution", "unsafe"]);
|
|
1100
|
+
var skillSafetySummarySchema = z2.object({
|
|
1101
|
+
score: z2.number(),
|
|
1102
|
+
label: skillSafetyLabelSchema,
|
|
1103
|
+
findingsTotal: z2.number().int(),
|
|
1104
|
+
highFindings: z2.number().int(),
|
|
1105
|
+
scriptsTotal: z2.number().int(),
|
|
1106
|
+
permissionsMissing: z2.array(z2.string())
|
|
1107
|
+
}).passthrough();
|
|
1108
|
+
var skillSafetyFindingSeveritySchema = z2.enum(["low", "medium", "high"]);
|
|
1109
|
+
var skillSafetyFindingSchema = z2.object({
|
|
1110
|
+
ruleId: z2.string(),
|
|
1111
|
+
severity: skillSafetyFindingSeveritySchema,
|
|
1112
|
+
file: z2.string(),
|
|
1113
|
+
message: z2.string()
|
|
1114
|
+
}).passthrough();
|
|
1099
1115
|
var skillRegistryFileDescriptorSchema = z2.object({
|
|
1100
1116
|
name: z2.string(),
|
|
1101
1117
|
mimeType: z2.string(),
|
|
@@ -1126,6 +1142,8 @@ var skillRegistryPublishSummarySchema = z2.object({
|
|
|
1126
1142
|
upvotes: z2.number().int().optional(),
|
|
1127
1143
|
trustScore: z2.number().optional(),
|
|
1128
1144
|
trustScores: trustScoreBreakdownSchema.optional(),
|
|
1145
|
+
safety: skillSafetySummarySchema.optional(),
|
|
1146
|
+
safetyFindings: z2.array(skillSafetyFindingSchema).optional(),
|
|
1129
1147
|
files: z2.array(skillRegistryFileDescriptorSchema).optional()
|
|
1130
1148
|
}).passthrough();
|
|
1131
1149
|
var skillRegistryListResponseSchema = z2.object({
|
|
@@ -1183,6 +1201,7 @@ var skillRegistryJobStatusResponseSchema = z2.object({
|
|
|
1183
1201
|
files: z2.array(skillRegistryFileDescriptorSchema).nullable().optional(),
|
|
1184
1202
|
quoteCredits: z2.number().nullable().optional(),
|
|
1185
1203
|
quoteUsdCents: z2.number().nullable().optional(),
|
|
1204
|
+
safety: skillSafetySummarySchema.nullable().optional(),
|
|
1186
1205
|
reservationId: z2.string().nullable().optional(),
|
|
1187
1206
|
totalCostHbar: z2.number().nullable().optional(),
|
|
1188
1207
|
totalCostCredits: z2.number().nullable().optional(),
|