@cat-factory/contracts 0.315.0 → 0.316.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/agent-presentation.d.ts +2 -2
- package/dist/binary-outputs.d.ts.map +1 -1
- package/dist/binary-outputs.js +9 -5
- package/dist/binary-outputs.js.map +1 -1
- package/dist/entities.d.ts +2 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative.d.ts +5 -5
- package/dist/pipeline-purpose-vocabulary.d.ts +8 -2
- package/dist/pipeline-purpose-vocabulary.d.ts.map +1 -1
- package/dist/pipeline-purpose-vocabulary.js +7 -0
- package/dist/pipeline-purpose-vocabulary.js.map +1 -1
- package/dist/pipeline-purpose.d.ts +6 -4
- package/dist/pipeline-purpose.d.ts.map +1 -1
- package/dist/pipeline-purpose.js +13 -4
- package/dist/pipeline-purpose.js.map +1 -1
- package/dist/platform-assets.d.ts +48 -0
- package/dist/platform-assets.d.ts.map +1 -0
- package/dist/platform-assets.js +94 -0
- package/dist/platform-assets.js.map +1 -0
- package/dist/primitives.d.ts +7 -5
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +5 -1
- package/dist/primitives.js.map +1 -1
- package/dist/public-api.d.ts +3 -3
- package/dist/public-evidence.d.ts +17 -6
- package/dist/public-evidence.d.ts.map +1 -1
- package/dist/public-evidence.js +15 -4
- package/dist/public-evidence.js.map +1 -1
- package/dist/public-task-types.d.ts.map +1 -1
- package/dist/public-task-types.js +7 -0
- package/dist/public-task-types.js.map +1 -1
- package/dist/requests.d.ts +3 -3
- package/dist/routes/board.d.ts +14 -14
- package/dist/routes/bug-hunt.d.ts +2 -2
- package/dist/routes/execution.d.ts +2 -2
- package/dist/routes/initiative.d.ts +17 -17
- package/dist/routes/pipelines.d.ts +8 -8
- package/dist/routes/public-api.d.ts +8 -8
- package/dist/routes/public-board.d.ts +2 -2
- package/dist/routes/public-evidence.d.ts +1 -1
- package/dist/routes/tasks.d.ts +3 -3
- package/dist/routes/workspace-settings.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +12 -12
- package/dist/snapshot.d.ts +6 -6
- package/dist/workspace-settings.d.ts +3 -3
- package/dist/workspace-settings.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -127,7 +127,7 @@ export declare const createWorkspaceContract: {
|
|
|
127
127
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
128
128
|
}, undefined>, undefined>, undefined>;
|
|
129
129
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
130
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
130
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
131
131
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
132
132
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
133
133
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -555,7 +555,7 @@ export declare const createWorkspaceContract: {
|
|
|
555
555
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
556
556
|
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
557
557
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
558
|
-
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>;
|
|
558
|
+
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>;
|
|
559
559
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
560
560
|
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
561
561
|
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2845,7 +2845,7 @@ export declare const createWorkspaceContract: {
|
|
|
2845
2845
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
2846
2846
|
}, undefined>, undefined>, undefined>;
|
|
2847
2847
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2848
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
2848
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
2849
2849
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2850
2850
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2851
2851
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -3187,7 +3187,7 @@ export declare const createWorkspaceContract: {
|
|
|
3187
3187
|
readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
|
|
3188
3188
|
readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
3189
3189
|
readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
3190
|
-
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
3190
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
3191
3191
|
readonly storeAgentContext: v.BooleanSchema<undefined>;
|
|
3192
3192
|
readonly publishPrVerificationReport: v.BooleanSchema<undefined>;
|
|
3193
3193
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
@@ -3217,7 +3217,7 @@ export declare const createWorkspaceContract: {
|
|
|
3217
3217
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
3218
3218
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3219
3219
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
3220
|
-
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
3220
|
+
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "media" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
3221
3221
|
readonly tier: v.OptionalSchema<v.PicklistSchema<readonly ["basic", "intermediate", "advanced"], undefined>, undefined>;
|
|
3222
3222
|
readonly resultView: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["outcome", "requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision", "binary-candidates", "judge", "pr-review", "ralph-loop"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3223
3223
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3399,7 +3399,7 @@ export declare const createWorkspaceContract: {
|
|
|
3399
3399
|
}, undefined>, undefined>;
|
|
3400
3400
|
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3401
3401
|
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
3402
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3402
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3403
3403
|
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
3404
3404
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
3405
3405
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -3704,7 +3704,7 @@ export declare const getWorkspaceContract: {
|
|
|
3704
3704
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
3705
3705
|
}, undefined>, undefined>, undefined>;
|
|
3706
3706
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3707
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3707
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3708
3708
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3709
3709
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
3710
3710
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -4132,7 +4132,7 @@ export declare const getWorkspaceContract: {
|
|
|
4132
4132
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4133
4133
|
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4134
4134
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
4135
|
-
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>;
|
|
4135
|
+
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>;
|
|
4136
4136
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4137
4137
|
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
4138
4138
|
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -6422,7 +6422,7 @@ export declare const getWorkspaceContract: {
|
|
|
6422
6422
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
6423
6423
|
}, undefined>, undefined>, undefined>;
|
|
6424
6424
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6425
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
6425
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
6426
6426
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
6427
6427
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
6428
6428
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -6764,7 +6764,7 @@ export declare const getWorkspaceContract: {
|
|
|
6764
6764
|
readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
|
|
6765
6765
|
readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
6766
6766
|
readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
6767
|
-
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
6767
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
6768
6768
|
readonly storeAgentContext: v.BooleanSchema<undefined>;
|
|
6769
6769
|
readonly publishPrVerificationReport: v.BooleanSchema<undefined>;
|
|
6770
6770
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
@@ -6794,7 +6794,7 @@ export declare const getWorkspaceContract: {
|
|
|
6794
6794
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
6795
6795
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
6796
6796
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
6797
|
-
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
6797
|
+
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "media" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
6798
6798
|
readonly tier: v.OptionalSchema<v.PicklistSchema<readonly ["basic", "intermediate", "advanced"], undefined>, undefined>;
|
|
6799
6799
|
readonly resultView: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["outcome", "requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision", "binary-candidates", "judge", "pr-review", "ralph-loop"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
6800
6800
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -6976,7 +6976,7 @@ export declare const getWorkspaceContract: {
|
|
|
6976
6976
|
}, undefined>, undefined>;
|
|
6977
6977
|
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
6978
6978
|
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
6979
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
6979
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
6980
6980
|
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
6981
6981
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
6982
6982
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -65,7 +65,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
65
65
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
66
66
|
}, undefined>, undefined>, undefined>;
|
|
67
67
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
68
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
68
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
69
69
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
70
70
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
71
71
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -493,7 +493,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
493
493
|
readonly version: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
494
494
|
readonly public: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
495
495
|
readonly availability: v.OptionalSchema<v.UnionSchema<[v.LiteralSchema<"one-off", undefined>, v.LiteralSchema<"recurring", undefined>, v.LiteralSchema<"both", undefined>], undefined>, undefined>;
|
|
496
|
-
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>;
|
|
496
|
+
readonly purpose: v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>;
|
|
497
497
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
498
498
|
readonly isDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
499
499
|
readonly isUnattendedDefault: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -2906,7 +2906,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2906
2906
|
readonly createdAt: v.NumberSchema<undefined>;
|
|
2907
2907
|
}, undefined>, undefined>, undefined>;
|
|
2908
2908
|
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
2909
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
2909
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media", "recurring"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
2910
2910
|
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2911
2911
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
2912
2912
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -3253,7 +3253,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3253
3253
|
readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
|
|
3254
3254
|
readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
3255
3255
|
readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
3256
|
-
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
3256
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
3257
3257
|
readonly storeAgentContext: v.BooleanSchema<undefined>;
|
|
3258
3258
|
readonly publishPrVerificationReport: v.BooleanSchema<undefined>;
|
|
3259
3259
|
readonly artifactRetentionDays: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>;
|
|
@@ -3290,7 +3290,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3290
3290
|
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
3291
3291
|
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
3292
3292
|
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
3293
|
-
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
3293
|
+
readonly purposes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.PicklistSchema<readonly ["build", "bugfix", "document", "review", "research", "planning", "media"], undefined>, undefined>, v.MinLengthAction<("bugfix" | "build" | "document" | "media" | "planning" | "research" | "review")[], 1, undefined>]>, undefined>;
|
|
3294
3294
|
readonly tier: v.OptionalSchema<v.PicklistSchema<readonly ["basic", "intermediate", "advanced"], undefined>, undefined>;
|
|
3295
3295
|
readonly resultView: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["outcome", "requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "visual-confirm", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups", "merger", "initiative-tracker", "initiative-planning", "doc-interview", "fork-decision", "binary-candidates", "judge", "pr-review", "ralph-loop"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3296
3296
|
readonly internal: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3637,7 +3637,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3637
3637
|
}, undefined>, undefined>;
|
|
3638
3638
|
readonly note: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3639
3639
|
readonly spawn: v.OptionalSchema<v.ObjectSchema<{
|
|
3640
|
-
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3640
|
+
readonly taskType: v.OptionalSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, undefined>;
|
|
3641
3641
|
readonly taskTypeFields: v.OptionalSchema<v.ObjectSchema<{
|
|
3642
3642
|
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
3643
3643
|
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
@@ -8,7 +8,7 @@ import * as v from 'valibot';
|
|
|
8
8
|
export declare const taskLimitModeSchema: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
9
9
|
export type TaskLimitMode = v.InferOutput<typeof taskLimitModeSchema>;
|
|
10
10
|
/** Per-task-type running-task caps (used when {@link taskLimitModeSchema} is `per_type`). */
|
|
11
|
-
export declare const taskLimitPerTypeSchema: v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
11
|
+
export declare const taskLimitPerTypeSchema: v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
12
12
|
export type TaskLimitPerType = v.InferOutput<typeof taskLimitPerTypeSchema>;
|
|
13
13
|
/**
|
|
14
14
|
* Whether/how review-debt friction is applied to task creation:
|
|
@@ -61,7 +61,7 @@ export declare const workspaceSettingsSchema: v.ObjectSchema<{
|
|
|
61
61
|
/** The shared cap, when {@link taskLimitMode} is `shared`. Null otherwise. */
|
|
62
62
|
readonly taskLimitShared: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
63
63
|
/** The per-type caps, when {@link taskLimitMode} is `per_type`. Null otherwise. */
|
|
64
|
-
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
64
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
65
65
|
/**
|
|
66
66
|
* Whether to store the complete context provided to each container agent (the
|
|
67
67
|
* fully composed system + user prompts, the best-practice fragment bodies folded
|
|
@@ -228,7 +228,7 @@ export declare const updateWorkspaceSettingsSchema: v.ObjectSchema<{
|
|
|
228
228
|
readonly waitingEscalationMinutes: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>, undefined>;
|
|
229
229
|
readonly taskLimitMode: v.OptionalSchema<v.PicklistSchema<["off", "shared", "per_type"], undefined>, undefined>;
|
|
230
230
|
readonly taskLimitShared: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
231
|
-
readonly taskLimitPerType: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
|
|
231
|
+
readonly taskLimitPerType: v.OptionalSchema<v.NullableSchema<v.RecordSchema<v.UnionSchema<[v.PicklistSchema<readonly ["feature", "bug", "document", "spike", "review", "ralph", "media"], undefined>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.RegexAction<string, "Consumer id must be <namespace>:<name> (lowercase a-z0-9, dash-separated)">]>], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>, undefined>;
|
|
232
232
|
readonly storeAgentContext: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
233
233
|
readonly publishPrVerificationReport: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
234
234
|
readonly artifactRetentionDays: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 3650, undefined>]>, undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../src/workspace-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,4DAA4C,CAAA;AAC5E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAIrE,6FAA6F;AAC7F,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"workspace-settings.d.ts","sourceRoot":"","sources":["../src/workspace-settings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAa5B;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,4DAA4C,CAAA;AAC5E,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAIrE,6FAA6F;AAC7F,eAAO,MAAM,sBAAsB,6eAA8C,CAAA;AACjF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAW3E;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB,yDAAyC,CAAA;AAC9E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AA0D/E,iDAAiD;AACjD,eAAO,MAAM,8BAA8B,KAAK,CAAA;AAChD,oDAAoD;AACpD,eAAO,MAAM,mCAAmC,OAAO,CAAA;AAEvD;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,0BAA0B,2LAMtC,CAAA;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB;;uDASnC,CAAA;AACD,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,sCAAsC;AACtC,eAAO,MAAM,uBAAuB;IAClC;;;OAGG;;IAEH,kEAAkE;;IAElE,8EAA8E;;IAE9E,mFAAmF;;IAEnF;;;;;;;OAOG;;IAEH;;;;;;;;;;;OAWG;;IAEH;;;;;;;;;OASG;;IAEH;;;;;;;;;;;;;OAaG;;IAEH;;;;;;;;;;;;OAYG;;IAIH;;;;OAIG;;IAEH;;;;;;OAMG;;IAEH;;;;;;;;;;OAUG;;IAEH,6EAA6E;;IAE7E;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;OAGG;;IAIH,6EAA6E;;IAE7E;;;;;;;;;;OAUG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;IAEH;;;;;;;;;;;;;;;;;OAiBG;;IAEH;;;OAGG;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,mFAAmF;AACnF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;IAgCxC;;;;;;OAMG;;;;aAEH,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
|