@company-semantics/contracts 0.80.0 → 0.81.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@company-semantics/contracts",
3
- "version": "0.80.0",
3
+ "version": "0.81.0",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
package/src/index.ts CHANGED
@@ -489,4 +489,7 @@ export type {
489
489
  DailyExecutionStats,
490
490
  ExecutionByUser,
491
491
  ExecutionDetail,
492
+ // Budget governance types (PRD-00232)
493
+ BudgetCheck,
494
+ OrgBudgetSettings,
492
495
  } from './usage/execution-types'
@@ -89,3 +89,20 @@ export interface ExecutionDetail {
89
89
  toolCalls: number
90
90
  }>
91
91
  }
92
+
93
+ // --- Budget governance types (PRD-00232) ---
94
+
95
+ export interface BudgetCheck {
96
+ allowed: boolean
97
+ reason?: 'monthly_budget_exceeded' | 'approaching_limit'
98
+ remainingBudgetUsd?: string
99
+ usedThisMonthUsd?: string
100
+ }
101
+
102
+ export interface OrgBudgetSettings {
103
+ monthlyBudgetUsd: string | null
104
+ maxCostPerExecution: string | null
105
+ agenticMaxSteps: number | null
106
+ alertThresholdPct: number
107
+ enabled: boolean
108
+ }