@claritylabs/cl-sdk 3.1.20 → 3.1.22

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.
@@ -17,8 +17,8 @@ function resolveModelBudget(params) {
17
17
  const schemaTokens = estimateTokens(params.schemaSizeBytes) ?? 0;
18
18
  const expectedListLength = positiveInteger(params.expectedListLength) ?? 0;
19
19
  const warnings = [];
20
- const preferredOutputTokens = constrainedPreference ?? taskCapability ?? longListCapability ?? defaultCapability ?? hintTokens;
21
- let maxTokens = hardMaxOutputTokens ?? modelMaxOutputTokens ?? preferredOutputTokens;
20
+ const preferredOutputTokens = constrainedPreference ?? taskCapability ?? longListCapability ?? hintTokens ?? defaultCapability;
21
+ let maxTokens = preferredOutputTokens;
22
22
  if (minOutputTokens) {
23
23
  maxTokens = Math.max(maxTokens, minOutputTokens);
24
24
  }
@@ -1220,7 +1220,6 @@ var OperationalCoverageLineSchema = z2.object({
1220
1220
  retroactiveDate: z2.string().optional(),
1221
1221
  formNumber: z2.string().optional(),
1222
1222
  sectionRef: z2.string().optional(),
1223
- coverageOrigin: z2.enum(["core", "endorsement"]).optional(),
1224
1223
  endorsementNumber: z2.string().optional(),
1225
1224
  limits: z2.array(OperationalCoverageTermSchema).default([]),
1226
1225
  sourceNodeIds: z2.array(z2.string().min(1)).default([]),
@@ -1250,7 +1249,6 @@ var PolicyOperationalProfileSchema = z2.object({
1250
1249
  expirationDate: SourceBackedValueSchema.optional(),
1251
1250
  retroactiveDate: SourceBackedValueSchema.optional(),
1252
1251
  premium: SourceBackedValueSchema.optional(),
1253
- coverageTypes: z2.array(z2.string()).default([]),
1254
1252
  coverages: z2.array(OperationalCoverageLineSchema).default([]),
1255
1253
  parties: z2.array(OperationalPartySchema).default([]),
1256
1254
  endorsementSupport: z2.array(OperationalEndorsementSupportSchema).default([]),