@clickraft/cli 0.11.0 → 0.11.1

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.js CHANGED
@@ -2857,9 +2857,15 @@ var ModelSummarySchema = z14.object({
2857
2857
  isDefault: z14.boolean(),
2858
2858
  docsUrl: z14.string().nullable(),
2859
2859
  llmContext: z14.string().nullable(),
2860
- constraints: z14.record(z14.string(), z14.unknown()).nullable(),
2860
+ // Server (AgentModelSchema) types constraints as any-typed (anyOf[{}, null]); mirror it with
2861
+ // z.unknown().nullable() rather than narrowing to object|null, so a non-object emit is accepted.
2862
+ constraints: z14.unknown().nullable(),
2861
2863
  modelFamily: z14.string().nullable(),
2862
- isFamilyPrimary: z14.boolean().nullable()
2864
+ isFamilyPrimary: z14.boolean().nullable(),
2865
+ // Optional lifecycle fields the server emits (string|null, absent when not set).
2866
+ deprecatedAt: z14.string().nullable().optional(),
2867
+ sunsetAt: z14.string().nullable().optional(),
2868
+ successorSlug: z14.string().nullable().optional()
2863
2869
  }).strict();
2864
2870
  var ModelsListResponseSchema = z14.object({
2865
2871
  models: z14.array(ModelSummarySchema)