@cat-factory/contracts 0.74.0 → 0.76.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.
@@ -155,6 +155,33 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
155
155
  }, undefined>, undefined>;
156
156
  readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
157
157
  readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
158
+ readonly frontendConfig: v.OptionalSchema<v.ObjectSchema<{
159
+ readonly packageManager: v.OptionalSchema<v.PicklistSchema<["pnpm", "npm", "yarn"], undefined>, undefined>;
160
+ readonly installCommand: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
161
+ readonly buildScript: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
162
+ readonly outputDir: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
163
+ readonly serveMode: v.OptionalSchema<v.PicklistSchema<["static", "command"], undefined>, undefined>;
164
+ readonly serveScript: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
165
+ readonly servePort: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 65535, undefined>]>, undefined>;
166
+ readonly envInjection: v.OptionalSchema<v.PicklistSchema<["build", "runtime"], undefined>, undefined>;
167
+ readonly branch: v.OptionalSchema<v.VariantSchema<"kind", [v.ObjectSchema<{
168
+ readonly kind: v.LiteralSchema<"default", undefined>;
169
+ }, undefined>, v.ObjectSchema<{
170
+ readonly kind: v.LiteralSchema<"task", undefined>;
171
+ readonly fromTaskBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
172
+ }, undefined>], undefined>, undefined>;
173
+ readonly mockMappingsPath: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
174
+ readonly previewEnabled: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
175
+ readonly backendBindings: v.ArraySchema<v.ObjectSchema<{
176
+ readonly envVar: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 200, undefined>]>;
177
+ readonly source: v.VariantSchema<"kind", [v.ObjectSchema<{
178
+ readonly kind: v.LiteralSchema<"service", undefined>;
179
+ readonly serviceBlockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
180
+ }, undefined>, v.ObjectSchema<{
181
+ readonly kind: v.LiteralSchema<"mock", undefined>;
182
+ }, undefined>], undefined>;
183
+ }, undefined>, undefined>;
184
+ }, undefined>, undefined>;
158
185
  readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
159
186
  readonly url: v.StringSchema<undefined>;
160
187
  readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
@@ -641,7 +668,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
641
668
  readonly currentStep: v.NumberSchema<undefined>;
642
669
  readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
643
670
  readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
644
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
671
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
645
672
  readonly message: v.StringSchema<undefined>;
646
673
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
647
674
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -687,7 +714,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
687
714
  }, undefined>, undefined>;
688
715
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
689
716
  readonly failure: v.NullableSchema<v.ObjectSchema<{
690
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
717
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
691
718
  readonly message: v.StringSchema<undefined>;
692
719
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
693
720
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -735,7 +762,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
735
762
  }, undefined>, undefined>;
736
763
  readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
737
764
  readonly failure: v.NullableSchema<v.ObjectSchema<{
738
- readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
765
+ readonly kind: v.PicklistSchema<["preflight", "dispatch", "environment", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "stalled", "cancelled", "unknown"], undefined>;
739
766
  readonly message: v.StringSchema<undefined>;
740
767
  readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
741
768
  readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.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0.76.0",
4
4
  "description": "Valibot wire contract shared between the Agent Architecture Board frontend and backend.",
5
5
  "repository": {
6
6
  "type": "git",