Skip to content

Commit dd02d0c

Browse files
committed
fix: add financial_governance type to ComplianceConfig interface
Property was used in shared.ts and validate.ts but the TypeScript interface was missing the type definition, causing CI to fail.
1 parent adb49d9 commit dd02d0c

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

src/utils/loader.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,22 @@ export interface ComplianceConfig {
141141
}>;
142142
enforcement?: string;
143143
};
144+
financial_governance?: {
145+
enabled: boolean;
146+
firewall?: string;
147+
spending?: {
148+
max_per_transaction_cents: number;
149+
max_monthly_cents?: number;
150+
currency?: string;
151+
allowed_categories?: string[];
152+
blocked_categories?: string[];
153+
};
154+
approval?: {
155+
require_above_cents: number;
156+
timeout_minutes: number;
157+
auto_deny_on_timeout: boolean;
158+
};
159+
};
144160
}
145161

146162
export function loadAgentManifest(dir: string): AgentManifest {

0 commit comments

Comments
 (0)