Skip to content

Commit 31199c7

Browse files
committed
fix(skills): keep verdict helper internal
1 parent 66dcce4 commit 31199c7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/infra/clawhub-skill-security.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
const MAX_SECURITY_VERDICT_BATCH_SIZE = 100;
1111
const NON_SECURITY_VERIFY_REASONS = new Set(["card.missing", "card_missing"]);
1212

13-
export type ClawHubExactSkillSecurityTarget = {
13+
type ClawHubExactSkillSecurityTarget = {
1414
slug: string;
1515
ownerHandle?: string;
1616
version: string;
@@ -89,7 +89,7 @@ function readOptionalNumberField(value: unknown, field: string): number | undefi
8989
return typeof raw === "number" && Number.isFinite(raw) ? raw : undefined;
9090
}
9191

92-
function normalizeReason(reason: string): string {
92+
function normalizeReason(reason: string | null | undefined): string {
9393
return normalizeOptionalString(reason)?.toLowerCase() ?? "";
9494
}
9595

0 commit comments

Comments
 (0)