@cat-factory/contracts 0.182.0 → 0.184.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/dist/execution.d.ts +30 -18
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +12 -9
- package/dist/execution.js.map +1 -1
- package/dist/ralph.d.ts +32 -1
- package/dist/ralph.d.ts.map +1 -1
- package/dist/ralph.js +30 -1
- package/dist/ralph.js.map +1 -1
- package/dist/routes/agent-runs.d.ts +10 -4
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +10 -4
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +40 -16
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +5 -2
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +25 -10
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +15 -6
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspace-settings.d.ts +6 -0
- package/dist/routes/workspace-settings.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +14 -4
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +7 -2
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/workspace-settings.d.ts +15 -0
- package/dist/workspace-settings.d.ts.map +1 -1
- package/dist/workspace-settings.js +38 -0
- package/dist/workspace-settings.js.map +1 -1
- package/package.json +1 -1
|
@@ -457,6 +457,7 @@ export declare const approveVisualConfirmContract: {
|
|
|
457
457
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
458
458
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
459
459
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
460
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
460
461
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
461
462
|
readonly attempt: v.NumberSchema<undefined>;
|
|
462
463
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -464,7 +465,9 @@ export declare const approveVisualConfirmContract: {
|
|
|
464
465
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
465
466
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
466
467
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
468
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
467
469
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
470
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
468
471
|
}, undefined>, undefined>, undefined>;
|
|
469
472
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
470
473
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -637,11 +640,11 @@ export declare const approveVisualConfirmContract: {
|
|
|
637
640
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
638
641
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
639
642
|
}, undefined>, undefined>;
|
|
640
|
-
readonly
|
|
643
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
641
644
|
readonly skillId: v.StringSchema<undefined>;
|
|
642
645
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
643
646
|
readonly sha: v.StringSchema<undefined>;
|
|
644
|
-
}, undefined>, undefined>;
|
|
647
|
+
}, undefined>, undefined>, undefined>;
|
|
645
648
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
646
649
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
647
650
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -1397,6 +1400,7 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1397
1400
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1398
1401
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1399
1402
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1403
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1400
1404
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1401
1405
|
readonly attempt: v.NumberSchema<undefined>;
|
|
1402
1406
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -1404,7 +1408,9 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1404
1408
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1405
1409
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1406
1410
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1411
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1407
1412
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
1413
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1408
1414
|
}, undefined>, undefined>, undefined>;
|
|
1409
1415
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1410
1416
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -1577,11 +1583,11 @@ export declare const requestVisualConfirmFixContract: {
|
|
|
1577
1583
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1578
1584
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1579
1585
|
}, undefined>, undefined>;
|
|
1580
|
-
readonly
|
|
1586
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1581
1587
|
readonly skillId: v.StringSchema<undefined>;
|
|
1582
1588
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1583
1589
|
readonly sha: v.StringSchema<undefined>;
|
|
1584
|
-
}, undefined>, undefined>;
|
|
1590
|
+
}, undefined>, undefined>, undefined>;
|
|
1585
1591
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1586
1592
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1587
1593
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -2335,6 +2341,7 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2335
2341
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2336
2342
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2337
2343
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2344
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2338
2345
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2339
2346
|
readonly attempt: v.NumberSchema<undefined>;
|
|
2340
2347
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -2342,7 +2349,9 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2342
2349
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2343
2350
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2344
2351
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2352
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2345
2353
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2354
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2346
2355
|
}, undefined>, undefined>, undefined>;
|
|
2347
2356
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2348
2357
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -2515,11 +2524,11 @@ export declare const recaptureVisualConfirmContract: {
|
|
|
2515
2524
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2516
2525
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
2517
2526
|
}, undefined>, undefined>;
|
|
2518
|
-
readonly
|
|
2527
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2519
2528
|
readonly skillId: v.StringSchema<undefined>;
|
|
2520
2529
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
2521
2530
|
readonly sha: v.StringSchema<undefined>;
|
|
2522
|
-
}, undefined>, undefined>;
|
|
2531
|
+
}, undefined>, undefined>, undefined>;
|
|
2523
2532
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2524
2533
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
2525
2534
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"visual-confirm.d.ts","sourceRoot":"","sources":["../../src/routes/visual-confirm.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqC,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAc5B,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMzC,CAAA"}
|
|
@@ -40,6 +40,8 @@ export declare const getWorkspaceSettingsContract: {
|
|
|
40
40
|
readonly reviewFrictionBlockStuckMinutes: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
41
41
|
readonly spendCurrency: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").LengthAction<string, 3, undefined>, import("valibot").RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>;
|
|
42
42
|
readonly spendMonthlyLimit: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
43
|
+
readonly defaultProvisionType: import("valibot").NullableSchema<import("valibot").PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
44
|
+
readonly defaultProvisionManifestId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
43
45
|
}, undefined>;
|
|
44
46
|
};
|
|
45
47
|
};
|
|
@@ -62,6 +64,8 @@ export declare const updateWorkspaceSettingsContract: {
|
|
|
62
64
|
readonly reviewFrictionBlockStuckMinutes: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>, undefined>, undefined>;
|
|
63
65
|
readonly spendCurrency: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").LengthAction<string, 3, undefined>, import("valibot").RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>, undefined>;
|
|
64
66
|
readonly spendMonthlyLimit: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
67
|
+
readonly defaultProvisionType: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>, undefined>;
|
|
68
|
+
readonly defaultProvisionManifestId: import("valibot").OptionalSchema<import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 64, undefined>]>, undefined>, undefined>;
|
|
65
69
|
}, undefined>;
|
|
66
70
|
readonly responsesByStatusCode: {
|
|
67
71
|
readonly '4xx': import("valibot").ObjectSchema<{
|
|
@@ -102,6 +106,8 @@ export declare const updateWorkspaceSettingsContract: {
|
|
|
102
106
|
readonly reviewFrictionBlockStuckMinutes: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").IntegerAction<number, undefined>, import("valibot").MinValueAction<number, 1, undefined>, import("valibot").MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
103
107
|
readonly spendCurrency: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").TrimAction, import("valibot").ToUpperCaseAction, import("valibot").LengthAction<string, 3, undefined>, import("valibot").RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>;
|
|
104
108
|
readonly spendMonthlyLimit: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").NumberSchema<undefined>, import("valibot").MinValueAction<number, 0, undefined>]>, undefined>;
|
|
109
|
+
readonly defaultProvisionType: import("valibot").NullableSchema<import("valibot").PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
110
|
+
readonly defaultProvisionManifestId: import("valibot").NullableSchema<import("valibot").SchemaWithPipe<readonly [import("valibot").StringSchema<undefined>, import("valibot").RegexAction<string, undefined>, import("valibot").MinLengthAction<string, 1, undefined>, import("valibot").MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
105
111
|
}, undefined>;
|
|
106
112
|
};
|
|
107
113
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B
|
|
1
|
+
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../../src/routes/workspace-settings.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIvC,CAAA;AAEF,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK1C,CAAA"}
|
|
@@ -920,6 +920,7 @@ export declare const createWorkspaceContract: {
|
|
|
920
920
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
921
921
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
922
922
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
923
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
923
924
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
924
925
|
readonly attempt: v.NumberSchema<undefined>;
|
|
925
926
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -927,7 +928,9 @@ export declare const createWorkspaceContract: {
|
|
|
927
928
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
928
929
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
929
930
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
931
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
930
932
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
933
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
931
934
|
}, undefined>, undefined>, undefined>;
|
|
932
935
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
933
936
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -1100,11 +1103,11 @@ export declare const createWorkspaceContract: {
|
|
|
1100
1103
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1101
1104
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1102
1105
|
}, undefined>, undefined>;
|
|
1103
|
-
readonly
|
|
1106
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1104
1107
|
readonly skillId: v.StringSchema<undefined>;
|
|
1105
1108
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1106
1109
|
readonly sha: v.StringSchema<undefined>;
|
|
1107
|
-
}, undefined>, undefined>;
|
|
1110
|
+
}, undefined>, undefined>, undefined>;
|
|
1108
1111
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1109
1112
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1110
1113
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -2219,6 +2222,8 @@ export declare const createWorkspaceContract: {
|
|
|
2219
2222
|
readonly reviewFrictionBlockStuckMinutes: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
2220
2223
|
readonly spendCurrency: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToUpperCaseAction, v.LengthAction<string, 3, undefined>, v.RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>;
|
|
2221
2224
|
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2225
|
+
readonly defaultProvisionType: v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
2226
|
+
readonly defaultProvisionManifestId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
2222
2227
|
}, undefined>, undefined>;
|
|
2223
2228
|
readonly customAgentKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2224
2229
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -3415,6 +3420,7 @@ export declare const getWorkspaceContract: {
|
|
|
3415
3420
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3416
3421
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3417
3422
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3423
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3418
3424
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3419
3425
|
readonly attempt: v.NumberSchema<undefined>;
|
|
3420
3426
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -3422,7 +3428,9 @@ export declare const getWorkspaceContract: {
|
|
|
3422
3428
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3423
3429
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3424
3430
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3431
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3425
3432
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
3433
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3426
3434
|
}, undefined>, undefined>, undefined>;
|
|
3427
3435
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3428
3436
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -3595,11 +3603,11 @@ export declare const getWorkspaceContract: {
|
|
|
3595
3603
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3596
3604
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
3597
3605
|
}, undefined>, undefined>;
|
|
3598
|
-
readonly
|
|
3606
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3599
3607
|
readonly skillId: v.StringSchema<undefined>;
|
|
3600
3608
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
3601
3609
|
readonly sha: v.StringSchema<undefined>;
|
|
3602
|
-
}, undefined>, undefined>;
|
|
3610
|
+
}, undefined>, undefined>, undefined>;
|
|
3603
3611
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3604
3612
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
3605
3613
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -4714,6 +4722,8 @@ export declare const getWorkspaceContract: {
|
|
|
4714
4722
|
readonly reviewFrictionBlockStuckMinutes: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
4715
4723
|
readonly spendCurrency: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToUpperCaseAction, v.LengthAction<string, 3, undefined>, v.RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>;
|
|
4716
4724
|
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
4725
|
+
readonly defaultProvisionType: v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
4726
|
+
readonly defaultProvisionManifestId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
4717
4727
|
}, undefined>, undefined>;
|
|
4718
4728
|
readonly customAgentKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
4719
4729
|
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -847,6 +847,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
847
847
|
readonly progressPath: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
848
848
|
readonly lastExitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
849
849
|
readonly lastValidationTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
850
|
+
readonly noProgressStreak: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
850
851
|
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
851
852
|
readonly attempt: v.NumberSchema<undefined>;
|
|
852
853
|
readonly at: v.NumberSchema<undefined>;
|
|
@@ -854,7 +855,9 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
854
855
|
readonly exitCode: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
855
856
|
readonly outputTail: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
856
857
|
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
858
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
857
859
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
860
|
+
readonly droppedAttempts: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
858
861
|
}, undefined>, undefined>, undefined>;
|
|
859
862
|
readonly validation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
860
863
|
readonly passed: v.SchemaWithFallback<v.BooleanSchema<undefined>, false>;
|
|
@@ -1027,11 +1030,11 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1027
1030
|
readonly reducedEffectiveness: v.SchemaWithFallback<v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1028
1031
|
readonly obstacles: v.SchemaWithFallback<v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
1029
1032
|
}, undefined>, undefined>;
|
|
1030
|
-
readonly
|
|
1033
|
+
readonly skillVersions: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1031
1034
|
readonly skillId: v.StringSchema<undefined>;
|
|
1032
1035
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1033
1036
|
readonly sha: v.StringSchema<undefined>;
|
|
1034
|
-
}, undefined>, undefined>;
|
|
1037
|
+
}, undefined>, undefined>, undefined>;
|
|
1035
1038
|
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1036
1039
|
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1037
1040
|
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
@@ -2256,6 +2259,8 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2256
2259
|
readonly reviewFrictionBlockStuckMinutes: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
2257
2260
|
readonly spendCurrency: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToUpperCaseAction, v.LengthAction<string, 3, undefined>, v.RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>;
|
|
2258
2261
|
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
2262
|
+
readonly defaultProvisionType: v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
2263
|
+
readonly defaultProvisionManifestId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
2259
2264
|
}, undefined>, undefined>;
|
|
2260
2265
|
/**
|
|
2261
2266
|
* Registered CUSTOM agent kinds (kind + presentation + container flag) a deployment
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAqC5B,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;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;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
|
@@ -106,6 +106,19 @@ export declare const workspaceSettingsSchema: v.ObjectSchema<{
|
|
|
106
106
|
* money, so a `0` budget also blocks paid web searches.
|
|
107
107
|
*/
|
|
108
108
|
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
109
|
+
/**
|
|
110
|
+
* The provision type stamped onto every newly added service frame that doesn't declare
|
|
111
|
+
* one of its own. `null` ⇒ the operator has never chosen (the banner-worthy state); see
|
|
112
|
+
* the block comment above for why this is not defaulted to `infraless`.
|
|
113
|
+
*/
|
|
114
|
+
readonly defaultProvisionType: v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* Which custom manifest type a `custom` {@link defaultProvisionType} names. Meaningful
|
|
117
|
+
* only for `custom` (and REQUIRED there — a `custom` service with no pinned id matches no
|
|
118
|
+
* `remote-custom` handler, so seeding one would create services that can never provision);
|
|
119
|
+
* null for every other type. Cross-field validated by `WorkspaceSettingsService.update`.
|
|
120
|
+
*/
|
|
121
|
+
readonly defaultProvisionManifestId: v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>;
|
|
109
122
|
}, undefined>;
|
|
110
123
|
export type WorkspaceSettings = v.InferOutput<typeof workspaceSettingsSchema>;
|
|
111
124
|
/** Update a workspace's runtime settings (full replace of the supplied fields). */
|
|
@@ -125,6 +138,8 @@ export declare const updateWorkspaceSettingsSchema: v.ObjectSchema<{
|
|
|
125
138
|
readonly reviewFrictionBlockStuckMinutes: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>, undefined>;
|
|
126
139
|
readonly spendCurrency: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.ToUpperCaseAction, v.LengthAction<string, 3, undefined>, v.RegexAction<string, "currency must be a 3-letter ISO 4217 code">]>, undefined>, undefined>;
|
|
127
140
|
readonly spendMonthlyLimit: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>, undefined>;
|
|
141
|
+
readonly defaultProvisionType: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["kubernetes", "docker-compose", "cloudflare", "custom", "infraless"], undefined>, undefined>, undefined>;
|
|
142
|
+
readonly defaultProvisionManifestId: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 64, undefined>]>, undefined>, undefined>;
|
|
128
143
|
}, undefined>;
|
|
129
144
|
export type UpdateWorkspaceSettingsInput = v.InferOutput<typeof updateWorkspaceSettingsSchema>;
|
|
130
145
|
//# sourceMappingURL=workspace-settings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../src/workspace-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,M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
+
import { manifestIdSchema, provisionTypeSchema } from './environments.js';
|
|
2
3
|
import { createTaskTypeSchema } from './primitives.js';
|
|
3
4
|
// ---------------------------------------------------------------------------
|
|
4
5
|
// Per-workspace runtime settings. A single settings object per workspace (lazily
|
|
@@ -43,6 +44,28 @@ export const reviewFrictionModeSchema = v.picklist(['off', 'warn', 'enforce']);
|
|
|
43
44
|
// ---------------------------------------------------------------------------
|
|
44
45
|
/** ISO 4217 currency code (3 letters), e.g. `EUR`. */
|
|
45
46
|
const spendCurrencySchema = v.pipe(v.string(), v.trim(), v.toUpperCase(), v.length(3), v.regex(/^[A-Z]{3}$/, 'currency must be a 3-letter ISO 4217 code'));
|
|
47
|
+
// ---------------------------------------------------------------------------
|
|
48
|
+
// The workspace's DEFAULT test-environment provisioning mechanism: the provision
|
|
49
|
+
// type suggested for every newly added service frame (ADR 0007's "what + where",
|
|
50
|
+
// pre-filled at creation instead of left for the operator to discover per service).
|
|
51
|
+
//
|
|
52
|
+
// This is deliberately NULLABLE rather than defaulted to `infraless`, and the
|
|
53
|
+
// distinction is the whole point — it is the same tri-state the infra-setup
|
|
54
|
+
// projection uses:
|
|
55
|
+
// - `null` — the operator has never made a choice. Banner-worthy: the SPA
|
|
56
|
+
// nags once per board until a decision is recorded.
|
|
57
|
+
// - `infraless` — a real, recorded decision that services stand up no
|
|
58
|
+
// environment. Silences the nag exactly like any other choice.
|
|
59
|
+
// - anything else — that type (plus, for `custom`, the manifest id) is stamped
|
|
60
|
+
// onto each new service frame.
|
|
61
|
+
// Collapsing the two would make "nobody decided" indistinguishable from "we decided
|
|
62
|
+
// no environments", so the banner could only either nag forever or never.
|
|
63
|
+
//
|
|
64
|
+
// NOTE this is NOT the `defaultTestEnvironment` toggle ADR 0007 removed. That was a
|
|
65
|
+
// per-service local-vs-ephemeral switch the engine branched on at run time; this
|
|
66
|
+
// never reaches the engine at all — it is a creation-time seed for a field the
|
|
67
|
+
// service still owns and the user can still change.
|
|
68
|
+
// ---------------------------------------------------------------------------
|
|
46
69
|
/** A workspace's runtime settings. */
|
|
47
70
|
export const workspaceSettingsSchema = v.object({
|
|
48
71
|
/**
|
|
@@ -130,6 +153,19 @@ export const workspaceSettingsSchema = v.object({
|
|
|
130
153
|
* money, so a `0` budget also blocks paid web searches.
|
|
131
154
|
*/
|
|
132
155
|
spendMonthlyLimit: v.nullable(v.pipe(v.number(), v.minValue(0))),
|
|
156
|
+
/**
|
|
157
|
+
* The provision type stamped onto every newly added service frame that doesn't declare
|
|
158
|
+
* one of its own. `null` ⇒ the operator has never chosen (the banner-worthy state); see
|
|
159
|
+
* the block comment above for why this is not defaulted to `infraless`.
|
|
160
|
+
*/
|
|
161
|
+
defaultProvisionType: v.nullable(provisionTypeSchema),
|
|
162
|
+
/**
|
|
163
|
+
* Which custom manifest type a `custom` {@link defaultProvisionType} names. Meaningful
|
|
164
|
+
* only for `custom` (and REQUIRED there — a `custom` service with no pinned id matches no
|
|
165
|
+
* `remote-custom` handler, so seeding one would create services that can never provision);
|
|
166
|
+
* null for every other type. Cross-field validated by `WorkspaceSettingsService.update`.
|
|
167
|
+
*/
|
|
168
|
+
defaultProvisionManifestId: v.nullable(manifestIdSchema),
|
|
133
169
|
});
|
|
134
170
|
/** Update a workspace's runtime settings (full replace of the supplied fields). */
|
|
135
171
|
export const updateWorkspaceSettingsSchema = v.object({
|
|
@@ -148,5 +184,7 @@ export const updateWorkspaceSettingsSchema = v.object({
|
|
|
148
184
|
reviewFrictionBlockStuckMinutes: v.optional(v.nullable(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(100_000)))),
|
|
149
185
|
spendCurrency: v.optional(v.nullable(spendCurrencySchema)),
|
|
150
186
|
spendMonthlyLimit: v.optional(v.nullable(v.pipe(v.number(), v.minValue(0)))),
|
|
187
|
+
defaultProvisionType: v.optional(v.nullable(provisionTypeSchema)),
|
|
188
|
+
defaultProvisionManifestId: v.optional(v.nullable(manifestIdSchema)),
|
|
151
189
|
});
|
|
152
190
|
//# sourceMappingUR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