@cat-factory/contracts 0.34.0 → 0.35.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/api-keys.d.ts +17 -0
- package/dist/api-keys.d.ts.map +1 -1
- package/dist/api-keys.js +2 -0
- package/dist/api-keys.js.map +1 -1
- package/dist/github.d.ts +14 -0
- package/dist/github.d.ts.map +1 -1
- package/dist/github.js +13 -0
- package/dist/github.js.map +1 -1
- 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/observability.d.ts +63 -0
- package/dist/observability.d.ts.map +1 -1
- package/dist/observability.js +57 -0
- package/dist/observability.js.map +1 -1
- package/dist/requests.d.ts +7 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/requests.js +2 -0
- package/dist/requests.js.map +1 -1
- package/dist/routes/_shared.d.ts +49 -0
- package/dist/routes/_shared.d.ts.map +1 -0
- package/dist/routes/_shared.js +34 -0
- package/dist/routes/_shared.js.map +1 -0
- package/dist/routes/accounts.d.ts +775 -0
- package/dist/routes/accounts.d.ts.map +1 -0
- package/dist/routes/accounts.js +145 -0
- package/dist/routes/accounts.js.map +1 -0
- package/dist/routes/agent-runs.d.ts +659 -0
- package/dist/routes/agent-runs.d.ts.map +1 -0
- package/dist/routes/agent-runs.js +33 -0
- package/dist/routes/agent-runs.js.map +1 -0
- package/dist/routes/api-keys.d.ts +245 -0
- package/dist/routes/api-keys.d.ts.map +1 -0
- package/dist/routes/api-keys.js +49 -0
- package/dist/routes/api-keys.js.map +1 -0
- package/dist/routes/auth.d.ts +411 -0
- package/dist/routes/auth.d.ts.map +1 -0
- package/dist/routes/auth.js +129 -0
- package/dist/routes/auth.js.map +1 -0
- package/dist/routes/board.d.ts +1260 -0
- package/dist/routes/board.d.ts.map +1 -0
- package/dist/routes/board.js +85 -0
- package/dist/routes/board.js.map +1 -0
- package/dist/routes/bootstrap.d.ts +395 -0
- package/dist/routes/bootstrap.d.ts.map +1 -0
- package/dist/routes/bootstrap.js +56 -0
- package/dist/routes/bootstrap.js.map +1 -0
- package/dist/routes/brainstorm.d.ts +482 -0
- package/dist/routes/brainstorm.d.ts.map +1 -0
- package/dist/routes/brainstorm.js +69 -0
- package/dist/routes/brainstorm.js.map +1 -0
- package/dist/routes/clarity.d.ts +462 -0
- package/dist/routes/clarity.d.ts.map +1 -0
- package/dist/routes/clarity.js +67 -0
- package/dist/routes/clarity.js.map +1 -0
- package/dist/routes/consensus.d.ts +71 -0
- package/dist/routes/consensus.d.ts.map +1 -0
- package/dist/routes/consensus.js +23 -0
- package/dist/routes/consensus.js.map +1 -0
- package/dist/routes/documents.d.ts +449 -0
- package/dist/routes/documents.d.ts.map +1 -0
- package/dist/routes/documents.js +89 -0
- package/dist/routes/documents.js.map +1 -0
- package/dist/routes/environments.d.ts +715 -0
- package/dist/routes/environments.d.ts.map +1 -0
- package/dist/routes/environments.js +82 -0
- package/dist/routes/environments.js.map +1 -0
- package/dist/routes/execution.d.ts +2768 -0
- package/dist/routes/execution.d.ts.map +1 -0
- package/dist/routes/execution.js +119 -0
- package/dist/routes/execution.js.map +1 -0
- package/dist/routes/followUp.d.ts +277 -0
- package/dist/routes/followUp.d.ts.map +1 -0
- package/dist/routes/followUp.js +47 -0
- package/dist/routes/followUp.js.map +1 -0
- package/dist/routes/fragment-library.d.ts +594 -0
- package/dist/routes/fragment-library.d.ts.map +1 -0
- package/dist/routes/fragment-library.js +102 -0
- package/dist/routes/fragment-library.js.map +1 -0
- package/dist/routes/github.d.ts +807 -0
- package/dist/routes/github.d.ts.map +1 -0
- package/dist/routes/github.js +157 -0
- package/dist/routes/github.js.map +1 -0
- package/dist/routes/human-review.d.ts +290 -0
- package/dist/routes/human-review.d.ts.map +1 -0
- package/dist/routes/human-review.js +20 -0
- package/dist/routes/human-review.js.map +1 -0
- package/dist/routes/human-test.d.ts +1435 -0
- package/dist/routes/human-test.d.ts.map +1 -0
- package/dist/routes/human-test.js +48 -0
- package/dist/routes/human-test.js.map +1 -0
- package/dist/routes/incident-enrichment.d.ts +110 -0
- package/dist/routes/incident-enrichment.d.ts.map +1 -0
- package/dist/routes/incident-enrichment.js +26 -0
- package/dist/routes/incident-enrichment.js.map +1 -0
- package/dist/routes/index.d.ts +47 -0
- package/dist/routes/index.d.ts.map +1 -0
- package/dist/routes/index.js +50 -0
- package/dist/routes/index.js.map +1 -0
- package/dist/routes/kaizen.d.ts +113 -0
- package/dist/routes/kaizen.d.ts.map +1 -0
- package/dist/routes/kaizen.js +22 -0
- package/dist/routes/kaizen.js.map +1 -0
- package/dist/routes/localModels.d.ts +163 -0
- package/dist/routes/localModels.d.ts.map +1 -0
- package/dist/routes/localModels.js +41 -0
- package/dist/routes/localModels.js.map +1 -0
- package/dist/routes/localSettings.d.ts +93 -0
- package/dist/routes/localSettings.d.ts.map +1 -0
- package/dist/routes/localSettings.js +22 -0
- package/dist/routes/localSettings.js.map +1 -0
- package/dist/routes/merge.d.ts +197 -0
- package/dist/routes/merge.d.ts.map +1 -0
- package/dist/routes/merge.js +36 -0
- package/dist/routes/merge.js.map +1 -0
- package/dist/routes/model-presets.d.ts +162 -0
- package/dist/routes/model-presets.d.ts.map +1 -0
- package/dist/routes/model-presets.js +36 -0
- package/dist/routes/model-presets.js.map +1 -0
- package/dist/routes/models.d.ts +123 -0
- package/dist/routes/models.d.ts.map +1 -0
- package/dist/routes/models.js +25 -0
- package/dist/routes/models.js.map +1 -0
- package/dist/routes/notifications.d.ts +213 -0
- package/dist/routes/notifications.d.ts.map +1 -0
- package/dist/routes/notifications.js +31 -0
- package/dist/routes/notifications.js.map +1 -0
- package/dist/routes/openrouter.d.ts +145 -0
- package/dist/routes/openrouter.d.ts.map +1 -0
- package/dist/routes/openrouter.js +32 -0
- package/dist/routes/openrouter.js.map +1 -0
- package/dist/routes/personal-subscriptions.d.ts +124 -0
- package/dist/routes/personal-subscriptions.d.ts.map +1 -0
- package/dist/routes/personal-subscriptions.js +32 -0
- package/dist/routes/personal-subscriptions.js.map +1 -0
- package/dist/routes/pipelines.d.ts +457 -0
- package/dist/routes/pipelines.d.ts.map +1 -0
- package/dist/routes/pipelines.js +51 -0
- package/dist/routes/pipelines.js.map +1 -0
- package/dist/routes/prompt-fragments.d.ts +52 -0
- package/dist/routes/prompt-fragments.d.ts.map +1 -0
- package/dist/routes/prompt-fragments.js +14 -0
- package/dist/routes/prompt-fragments.js.map +1 -0
- package/dist/routes/provisioning-logs.d.ts +45 -0
- package/dist/routes/provisioning-logs.d.ts.map +1 -0
- package/dist/routes/provisioning-logs.js +14 -0
- package/dist/routes/provisioning-logs.js.map +1 -0
- package/dist/routes/recurring.d.ts +309 -0
- package/dist/routes/recurring.d.ts.map +1 -0
- package/dist/routes/recurring.js +50 -0
- package/dist/routes/recurring.js.map +1 -0
- package/dist/routes/release.d.ts +218 -0
- package/dist/routes/release.d.ts.map +1 -0
- package/dist/routes/release.js +47 -0
- package/dist/routes/release.js.map +1 -0
- package/dist/routes/requirements.d.ts +901 -0
- package/dist/routes/requirements.d.ts.map +1 -0
- package/dist/routes/requirements.js +96 -0
- package/dist/routes/requirements.js.map +1 -0
- package/dist/routes/runners.d.ts +442 -0
- package/dist/routes/runners.d.ts.map +1 -0
- package/dist/routes/runners.js +47 -0
- package/dist/routes/runners.js.map +1 -0
- package/dist/routes/sandbox.d.ts +898 -0
- package/dist/routes/sandbox.d.ts.map +1 -0
- package/dist/routes/sandbox.js +119 -0
- package/dist/routes/sandbox.js.map +1 -0
- package/dist/routes/service-fragment-defaults.d.ts +66 -0
- package/dist/routes/service-fragment-defaults.d.ts.map +1 -0
- package/dist/routes/service-fragment-defaults.js +20 -0
- package/dist/routes/service-fragment-defaults.js.map +1 -0
- package/dist/routes/services.d.ts +224 -0
- package/dist/routes/services.d.ts.map +1 -0
- package/dist/routes/services.js +44 -0
- package/dist/routes/services.js.map +1 -0
- package/dist/routes/slack.d.ts +332 -0
- package/dist/routes/slack.d.ts.map +1 -0
- package/dist/routes/slack.js +72 -0
- package/dist/routes/slack.js.map +1 -0
- package/dist/routes/spec.d.ts +76 -0
- package/dist/routes/spec.d.ts.map +1 -0
- package/dist/routes/spec.js +17 -0
- package/dist/routes/spec.js.map +1 -0
- package/dist/routes/tasks.d.ts +723 -0
- package/dist/routes/tasks.d.ts.map +1 -0
- package/dist/routes/tasks.js +108 -0
- package/dist/routes/tasks.js.map +1 -0
- package/dist/routes/tracker.d.ts +77 -0
- package/dist/routes/tracker.d.ts.map +1 -0
- package/dist/routes/tracker.js +20 -0
- package/dist/routes/tracker.js.map +1 -0
- package/dist/routes/user-secret.d.ts +231 -0
- package/dist/routes/user-secret.d.ts.map +1 -0
- package/dist/routes/user-secret.js +49 -0
- package/dist/routes/user-secret.js.map +1 -0
- package/dist/routes/vendor-credentials.d.ts +120 -0
- package/dist/routes/vendor-credentials.d.ts.map +1 -0
- package/dist/routes/vendor-credentials.js +33 -0
- package/dist/routes/vendor-credentials.js.map +1 -0
- package/dist/routes/workspace-settings.d.ts +93 -0
- package/dist/routes/workspace-settings.d.ts.map +1 -0
- package/dist/routes/workspace-settings.js +20 -0
- package/dist/routes/workspace-settings.js.map +1 -0
- package/dist/routes/workspaces.d.ts +1309 -0
- package/dist/routes/workspaces.d.ts.map +1 -0
- package/dist/routes/workspaces.js +45 -0
- package/dist/routes/workspaces.js.map +1 -0
- package/package.json +3 -1
|
@@ -0,0 +1,1309 @@
|
|
|
1
|
+
import { ContractNoBody } from '@toad-contracts/valibot';
|
|
2
|
+
import * as v from 'valibot';
|
|
3
|
+
export declare const listWorkspacesContract: {
|
|
4
|
+
readonly method: "get";
|
|
5
|
+
readonly pathResolver: () => string;
|
|
6
|
+
readonly responsesByStatusCode: {
|
|
7
|
+
readonly '4xx': v.ObjectSchema<{
|
|
8
|
+
readonly error: v.ObjectSchema<{
|
|
9
|
+
readonly code: v.StringSchema<undefined>;
|
|
10
|
+
readonly message: v.StringSchema<undefined>;
|
|
11
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
12
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
13
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
14
|
+
readonly message: v.StringSchema<undefined>;
|
|
15
|
+
}, undefined>, undefined>, undefined>;
|
|
16
|
+
}, undefined>;
|
|
17
|
+
}, undefined>;
|
|
18
|
+
readonly '5xx': v.ObjectSchema<{
|
|
19
|
+
readonly error: v.ObjectSchema<{
|
|
20
|
+
readonly code: v.StringSchema<undefined>;
|
|
21
|
+
readonly message: v.StringSchema<undefined>;
|
|
22
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
23
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
24
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
25
|
+
readonly message: v.StringSchema<undefined>;
|
|
26
|
+
}, undefined>, undefined>, undefined>;
|
|
27
|
+
}, undefined>;
|
|
28
|
+
}, undefined>;
|
|
29
|
+
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
30
|
+
readonly id: v.StringSchema<undefined>;
|
|
31
|
+
readonly name: v.StringSchema<undefined>;
|
|
32
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
34
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
35
|
+
}, undefined>, undefined>;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
export declare const createWorkspaceContract: {
|
|
39
|
+
readonly method: "post";
|
|
40
|
+
readonly pathResolver: () => string;
|
|
41
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
42
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
43
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
44
|
+
readonly seed: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
|
+
readonly accountId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
46
|
+
}, undefined>;
|
|
47
|
+
readonly responsesByStatusCode: {
|
|
48
|
+
readonly '4xx': v.ObjectSchema<{
|
|
49
|
+
readonly error: v.ObjectSchema<{
|
|
50
|
+
readonly code: v.StringSchema<undefined>;
|
|
51
|
+
readonly message: v.StringSchema<undefined>;
|
|
52
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
53
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
54
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
55
|
+
readonly message: v.StringSchema<undefined>;
|
|
56
|
+
}, undefined>, undefined>, undefined>;
|
|
57
|
+
}, undefined>;
|
|
58
|
+
}, undefined>;
|
|
59
|
+
readonly '5xx': v.ObjectSchema<{
|
|
60
|
+
readonly error: v.ObjectSchema<{
|
|
61
|
+
readonly code: v.StringSchema<undefined>;
|
|
62
|
+
readonly message: v.StringSchema<undefined>;
|
|
63
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
64
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
65
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
66
|
+
readonly message: v.StringSchema<undefined>;
|
|
67
|
+
}, undefined>, undefined>, undefined>;
|
|
68
|
+
}, undefined>;
|
|
69
|
+
}, undefined>;
|
|
70
|
+
readonly 201: v.ObjectSchema<{
|
|
71
|
+
readonly workspace: v.ObjectSchema<{
|
|
72
|
+
readonly id: v.StringSchema<undefined>;
|
|
73
|
+
readonly name: v.StringSchema<undefined>;
|
|
74
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
75
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
76
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
77
|
+
}, undefined>;
|
|
78
|
+
readonly blocks: v.ArraySchema<v.ObjectSchema<{
|
|
79
|
+
readonly id: v.StringSchema<undefined>;
|
|
80
|
+
readonly title: v.StringSchema<undefined>;
|
|
81
|
+
readonly type: v.PicklistSchema<["frontend", "service", "api", "database", "queue", "integration", "external", "environment"], undefined>;
|
|
82
|
+
readonly description: v.StringSchema<undefined>;
|
|
83
|
+
readonly position: v.ObjectSchema<{
|
|
84
|
+
readonly x: v.NumberSchema<undefined>;
|
|
85
|
+
readonly y: v.NumberSchema<undefined>;
|
|
86
|
+
}, undefined>;
|
|
87
|
+
readonly size: v.OptionalSchema<v.ObjectSchema<{
|
|
88
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
89
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
90
|
+
}, undefined>, undefined>;
|
|
91
|
+
readonly status: v.PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
92
|
+
readonly progress: v.NumberSchema<undefined>;
|
|
93
|
+
readonly dependsOn: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
+
readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
95
|
+
readonly level: v.PicklistSchema<["frame", "module", "task", "epic"], undefined>;
|
|
96
|
+
readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
97
|
+
readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
98
|
+
readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
99
|
+
readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
100
|
+
readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
101
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
102
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
103
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
104
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
105
|
+
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
106
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
107
|
+
}, undefined>, undefined>, undefined>;
|
|
108
|
+
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
|
|
110
|
+
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
111
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
112
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
113
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
114
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
|
|
115
|
+
}, undefined>, undefined>, undefined>;
|
|
116
|
+
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
117
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
118
|
+
readonly serviceFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
119
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
120
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
121
|
+
readonly testComposePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
122
|
+
readonly noInfraDependencies: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
123
|
+
readonly defaultTestEnvironment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
124
|
+
readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
|
|
125
|
+
readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
|
|
126
|
+
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
127
|
+
readonly url: v.StringSchema<undefined>;
|
|
128
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
129
|
+
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
130
|
+
}, undefined>, undefined>;
|
|
131
|
+
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
132
|
+
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
133
|
+
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
134
|
+
readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
135
|
+
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
136
|
+
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
137
|
+
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
138
|
+
}, undefined>, undefined>;
|
|
139
|
+
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
140
|
+
readonly id: v.StringSchema<undefined>;
|
|
141
|
+
readonly name: v.StringSchema<undefined>;
|
|
142
|
+
readonly agentKinds: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
143
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
144
|
+
readonly thresholds: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>, undefined>;
|
|
145
|
+
readonly enabled: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
146
|
+
readonly consensus: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
|
|
147
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
148
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
149
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
150
|
+
readonly id: v.StringSchema<undefined>;
|
|
151
|
+
readonly role: v.StringSchema<undefined>;
|
|
152
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
153
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
154
|
+
}, undefined>, undefined>;
|
|
155
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
156
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
157
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
158
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
159
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
160
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
161
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
162
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
163
|
+
}, undefined>, undefined>;
|
|
164
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
165
|
+
readonly gating: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
|
|
166
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
167
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
168
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
169
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
170
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
|
|
171
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
172
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>, undefined>;
|
|
173
|
+
readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
174
|
+
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
175
|
+
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
176
|
+
}, undefined>, undefined>;
|
|
177
|
+
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
178
|
+
readonly id: v.StringSchema<undefined>;
|
|
179
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
180
|
+
readonly pipelineId: v.StringSchema<undefined>;
|
|
181
|
+
readonly pipelineName: v.StringSchema<undefined>;
|
|
182
|
+
readonly steps: v.ArraySchema<v.ObjectSchema<{
|
|
183
|
+
readonly runId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
184
|
+
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
185
|
+
readonly state: v.PicklistSchema<["pending", "working", "waiting_decision", "done"], undefined>;
|
|
186
|
+
readonly progress: v.NumberSchema<undefined>;
|
|
187
|
+
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
188
|
+
readonly calls: v.NumberSchema<undefined>;
|
|
189
|
+
readonly promptTokens: v.NumberSchema<undefined>;
|
|
190
|
+
readonly completionTokens: v.NumberSchema<undefined>;
|
|
191
|
+
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
192
|
+
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
193
|
+
readonly truncatedCalls: v.NumberSchema<undefined>;
|
|
194
|
+
readonly upstreamMs: v.NumberSchema<undefined>;
|
|
195
|
+
readonly overheadMs: v.NumberSchema<undefined>;
|
|
196
|
+
readonly errors: v.NumberSchema<undefined>;
|
|
197
|
+
readonly warnings: v.NumberSchema<undefined>;
|
|
198
|
+
}, undefined>, undefined>, undefined>;
|
|
199
|
+
readonly gate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
200
|
+
readonly phase: v.PicklistSchema<["checking", "working"], undefined>;
|
|
201
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
202
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
203
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
204
|
+
readonly lastVerdict: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
|
|
205
|
+
readonly lastFailureSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
206
|
+
readonly failingChecks: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
207
|
+
readonly name: v.StringSchema<undefined>;
|
|
208
|
+
readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
209
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
210
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
211
|
+
readonly watchSince: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
212
|
+
readonly watchWindowMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
213
|
+
readonly regressedSignals: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
214
|
+
readonly kind: v.PicklistSchema<["monitor", "slo"], undefined>;
|
|
215
|
+
readonly id: v.StringSchema<undefined>;
|
|
216
|
+
readonly name: v.StringSchema<undefined>;
|
|
217
|
+
readonly state: v.PicklistSchema<["ok", "warn", "alert", "no_data"], undefined>;
|
|
218
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
219
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
220
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
221
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
222
|
+
readonly at: v.NumberSchema<undefined>;
|
|
223
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
224
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
225
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
226
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
227
|
+
readonly lastApprovals: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
228
|
+
readonly requiredApprovingReviewCount: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
229
|
+
readonly pendingThreadIds: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
230
|
+
readonly lastAddressedCommentAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
231
|
+
readonly humanReviewGraceMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
232
|
+
readonly pendingFix: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
233
|
+
readonly instructions: v.StringSchema<undefined>;
|
|
234
|
+
readonly at: v.NumberSchema<undefined>;
|
|
235
|
+
}, undefined>, undefined>, undefined>;
|
|
236
|
+
}, undefined>, undefined>, undefined>;
|
|
237
|
+
readonly test: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
238
|
+
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
239
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
240
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
241
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
242
|
+
readonly greenlight: v.BooleanSchema<undefined>;
|
|
243
|
+
readonly summary: v.StringSchema<undefined>;
|
|
244
|
+
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
245
|
+
readonly outcomes: v.ArraySchema<v.ObjectSchema<{
|
|
246
|
+
readonly name: v.StringSchema<undefined>;
|
|
247
|
+
readonly status: v.PicklistSchema<["passed", "failed", "skipped"], undefined>;
|
|
248
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
249
|
+
}, undefined>, undefined>;
|
|
250
|
+
readonly concerns: v.ArraySchema<v.ObjectSchema<{
|
|
251
|
+
readonly title: v.StringSchema<undefined>;
|
|
252
|
+
readonly detail: v.StringSchema<undefined>;
|
|
253
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
254
|
+
}, undefined>, undefined>;
|
|
255
|
+
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
256
|
+
}, undefined>, undefined>, undefined>;
|
|
257
|
+
}, undefined>, undefined>, undefined>;
|
|
258
|
+
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
259
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
260
|
+
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
261
|
+
readonly id: v.StringSchema<undefined>;
|
|
262
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
263
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
264
|
+
readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
265
|
+
}, undefined>, undefined>, undefined>;
|
|
266
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
267
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
268
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
269
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
270
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
271
|
+
readonly kind: v.PicklistSchema<["fix", "pull-main"], undefined>;
|
|
272
|
+
readonly findings: v.StringSchema<undefined>;
|
|
273
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
274
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
275
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
276
|
+
readonly at: v.NumberSchema<undefined>;
|
|
277
|
+
}, undefined>, undefined>, undefined>;
|
|
278
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
279
|
+
readonly type: v.PicklistSchema<["confirm", "request-fix", "pull-main", "recreate"], undefined>;
|
|
280
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
281
|
+
}, undefined>, undefined>, undefined>;
|
|
282
|
+
}, undefined>, undefined>, undefined>;
|
|
283
|
+
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
284
|
+
readonly id: v.StringSchema<undefined>;
|
|
285
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
286
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
287
|
+
readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
288
|
+
readonly lastError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
289
|
+
}, undefined>, undefined>, undefined>;
|
|
290
|
+
readonly subtasks: v.OptionalSchema<v.ObjectSchema<{
|
|
291
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
292
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
293
|
+
readonly total: v.NumberSchema<undefined>;
|
|
294
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
295
|
+
readonly label: v.StringSchema<undefined>;
|
|
296
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
297
|
+
}, undefined>, undefined>, undefined>;
|
|
298
|
+
}, undefined>, undefined>;
|
|
299
|
+
readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
300
|
+
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
301
|
+
readonly id: v.StringSchema<undefined>;
|
|
302
|
+
readonly question: v.StringSchema<undefined>;
|
|
303
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
304
|
+
readonly chosen: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
305
|
+
}, undefined>, undefined>;
|
|
306
|
+
readonly requiresApproval: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
307
|
+
readonly approval: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
308
|
+
readonly id: v.StringSchema<undefined>;
|
|
309
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
310
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
311
|
+
readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
312
|
+
readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
313
|
+
readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
314
|
+
readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
315
|
+
readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
316
|
+
readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
317
|
+
readonly body: v.StringSchema<undefined>;
|
|
318
|
+
}, undefined>, undefined>, undefined>;
|
|
319
|
+
}, undefined>, undefined>, undefined>;
|
|
320
|
+
readonly companion: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
321
|
+
readonly threshold: v.NumberSchema<undefined>;
|
|
322
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
323
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
324
|
+
readonly verdicts: v.ArraySchema<v.ObjectSchema<{
|
|
325
|
+
readonly rating: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
326
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
327
|
+
readonly passed: v.BooleanSchema<undefined>;
|
|
328
|
+
readonly feedback: v.StringSchema<undefined>;
|
|
329
|
+
}, undefined>, undefined>;
|
|
330
|
+
readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
331
|
+
}, undefined>, undefined>, undefined>;
|
|
332
|
+
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
333
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
334
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
335
|
+
readonly id: v.StringSchema<undefined>;
|
|
336
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
337
|
+
readonly title: v.StringSchema<undefined>;
|
|
338
|
+
readonly detail: v.StringSchema<undefined>;
|
|
339
|
+
readonly suggestedAction: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
340
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
341
|
+
readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
342
|
+
readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
343
|
+
readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
344
|
+
readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
345
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
346
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
347
|
+
}, undefined>, undefined>;
|
|
348
|
+
readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
349
|
+
readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
|
|
350
|
+
}, undefined>, undefined>, undefined>;
|
|
351
|
+
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
352
|
+
readonly previousProposal: v.StringSchema<undefined>;
|
|
353
|
+
readonly feedback: v.StringSchema<undefined>;
|
|
354
|
+
readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
355
|
+
readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
356
|
+
readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
357
|
+
readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
358
|
+
readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
359
|
+
readonly body: v.StringSchema<undefined>;
|
|
360
|
+
}, undefined>, undefined>, undefined>;
|
|
361
|
+
}, undefined>, undefined>, undefined>;
|
|
362
|
+
readonly pendingIncorporation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
363
|
+
readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
364
|
+
}, undefined>, undefined>, undefined>;
|
|
365
|
+
readonly pendingRecommendation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
366
|
+
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
367
|
+
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
368
|
+
}, undefined>, undefined>, undefined>;
|
|
369
|
+
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
370
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
371
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
372
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
373
|
+
readonly id: v.StringSchema<undefined>;
|
|
374
|
+
readonly role: v.StringSchema<undefined>;
|
|
375
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
376
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
377
|
+
}, undefined>, undefined>;
|
|
378
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
379
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
380
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
381
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
382
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
383
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
384
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
385
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
386
|
+
}, undefined>, undefined>;
|
|
387
|
+
}, undefined>, undefined>, undefined>;
|
|
388
|
+
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
389
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
390
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
391
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
392
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
393
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
|
|
394
|
+
}, undefined>, undefined>, undefined>;
|
|
395
|
+
readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
396
|
+
readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
397
|
+
readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
398
|
+
readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
399
|
+
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
400
|
+
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
401
|
+
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
402
|
+
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
403
|
+
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
404
|
+
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
405
|
+
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
406
|
+
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
407
|
+
readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
408
|
+
}, undefined>, undefined>;
|
|
409
|
+
readonly currentStep: v.NumberSchema<undefined>;
|
|
410
|
+
readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
|
|
411
|
+
readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
412
|
+
readonly kind: v.PicklistSchema<["preflight", "dispatch", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
|
|
413
|
+
readonly message: v.StringSchema<undefined>;
|
|
414
|
+
readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
415
|
+
readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
416
|
+
readonly occurredAt: v.NumberSchema<undefined>;
|
|
417
|
+
readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
|
|
418
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
419
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
420
|
+
readonly total: v.NumberSchema<undefined>;
|
|
421
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
422
|
+
readonly label: v.StringSchema<undefined>;
|
|
423
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
424
|
+
}, undefined>, undefined>, undefined>;
|
|
425
|
+
}, undefined>, undefined>;
|
|
426
|
+
}, undefined>, undefined>, undefined>;
|
|
427
|
+
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
428
|
+
}, undefined>, undefined>;
|
|
429
|
+
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
430
|
+
readonly id: v.StringSchema<undefined>;
|
|
431
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
432
|
+
readonly referenceArchitectureId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
433
|
+
readonly referenceArchitectureName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
434
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
435
|
+
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
436
|
+
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
437
|
+
readonly instructions: v.StringSchema<undefined>;
|
|
438
|
+
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
439
|
+
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
440
|
+
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
441
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
442
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
443
|
+
readonly total: v.NumberSchema<undefined>;
|
|
444
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
445
|
+
readonly label: v.StringSchema<undefined>;
|
|
446
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
447
|
+
}, undefined>, undefined>, undefined>;
|
|
448
|
+
}, undefined>, undefined>;
|
|
449
|
+
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
450
|
+
readonly failure: v.NullableSchema<v.ObjectSchema<{
|
|
451
|
+
readonly kind: v.PicklistSchema<["preflight", "dispatch", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
|
|
452
|
+
readonly message: v.StringSchema<undefined>;
|
|
453
|
+
readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
454
|
+
readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
455
|
+
readonly occurredAt: v.NumberSchema<undefined>;
|
|
456
|
+
readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
|
|
457
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
458
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
459
|
+
readonly total: v.NumberSchema<undefined>;
|
|
460
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
461
|
+
readonly label: v.StringSchema<undefined>;
|
|
462
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
463
|
+
}, undefined>, undefined>, undefined>;
|
|
464
|
+
}, undefined>, undefined>;
|
|
465
|
+
}, undefined>, undefined>;
|
|
466
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
467
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
468
|
+
}, undefined>, undefined>, undefined>;
|
|
469
|
+
readonly spend: v.OptionalSchema<v.ObjectSchema<{
|
|
470
|
+
readonly periodStart: v.NumberSchema<undefined>;
|
|
471
|
+
readonly inputTokens: v.NumberSchema<undefined>;
|
|
472
|
+
readonly outputTokens: v.NumberSchema<undefined>;
|
|
473
|
+
readonly costSpent: v.NumberSchema<undefined>;
|
|
474
|
+
readonly costLimit: v.NumberSchema<undefined>;
|
|
475
|
+
readonly currency: v.StringSchema<undefined>;
|
|
476
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
477
|
+
}, undefined>, undefined>;
|
|
478
|
+
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
479
|
+
readonly id: v.StringSchema<undefined>;
|
|
480
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "human_review", "followup_pending"], undefined>;
|
|
481
|
+
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
482
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
483
|
+
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
484
|
+
readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
485
|
+
readonly title: v.StringSchema<undefined>;
|
|
486
|
+
readonly body: v.StringSchema<undefined>;
|
|
487
|
+
readonly payload: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
488
|
+
readonly assessment: v.OptionalSchema<v.ObjectSchema<{
|
|
489
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
490
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
491
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
492
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
493
|
+
}, undefined>, undefined>;
|
|
494
|
+
readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
495
|
+
readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
496
|
+
readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
497
|
+
readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
|
|
498
|
+
readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
499
|
+
readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
|
|
500
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
501
|
+
readonly evidence: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
502
|
+
}, undefined>, undefined>;
|
|
503
|
+
readonly releaseSignals: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
504
|
+
readonly kind: v.PicklistSchema<["monitor", "slo"], undefined>;
|
|
505
|
+
readonly id: v.StringSchema<undefined>;
|
|
506
|
+
readonly name: v.StringSchema<undefined>;
|
|
507
|
+
readonly state: v.PicklistSchema<["ok", "warn", "alert", "no_data"], undefined>;
|
|
508
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
509
|
+
}, undefined>, undefined>, undefined>;
|
|
510
|
+
readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
511
|
+
readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
512
|
+
}, undefined>, undefined>, undefined>;
|
|
513
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
514
|
+
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
515
|
+
}, undefined>, undefined>, undefined>;
|
|
516
|
+
readonly mergePresets: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
517
|
+
readonly id: v.StringSchema<undefined>;
|
|
518
|
+
readonly name: v.StringSchema<undefined>;
|
|
519
|
+
readonly maxComplexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
520
|
+
readonly maxRisk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
521
|
+
readonly maxImpact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
522
|
+
readonly ciMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
523
|
+
readonly maxRequirementIterations: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
524
|
+
readonly maxRequirementConcernAllowed: v.PicklistSchema<["none", "low", "medium", "high"], undefined>;
|
|
525
|
+
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
526
|
+
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
527
|
+
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
528
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
529
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
530
|
+
}, undefined>, undefined>, undefined>;
|
|
531
|
+
readonly agentConfigCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
532
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
533
|
+
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
534
|
+
readonly label: v.StringSchema<undefined>;
|
|
535
|
+
readonly description: v.StringSchema<undefined>;
|
|
536
|
+
readonly type: v.PicklistSchema<["select"], undefined>;
|
|
537
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
538
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
539
|
+
readonly label: v.StringSchema<undefined>;
|
|
540
|
+
}, undefined>, undefined>;
|
|
541
|
+
readonly default: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
542
|
+
}, undefined>, undefined>, undefined>;
|
|
543
|
+
readonly modelPresets: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
544
|
+
readonly id: v.StringSchema<undefined>;
|
|
545
|
+
readonly name: v.StringSchema<undefined>;
|
|
546
|
+
readonly baseModelId: v.StringSchema<undefined>;
|
|
547
|
+
readonly overrides: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
548
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
549
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
550
|
+
}, undefined>, undefined>, undefined>;
|
|
551
|
+
readonly deploymentModelDefaults: v.OptionalSchema<v.ObjectSchema<{
|
|
552
|
+
readonly default: v.StringSchema<undefined>;
|
|
553
|
+
readonly byKind: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
554
|
+
}, undefined>, undefined>;
|
|
555
|
+
readonly serviceFragmentDefaults: v.OptionalSchema<v.ObjectSchema<{
|
|
556
|
+
readonly fragmentIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
557
|
+
}, undefined>, undefined>;
|
|
558
|
+
readonly recurringPipelines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
559
|
+
readonly id: v.StringSchema<undefined>;
|
|
560
|
+
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
561
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
562
|
+
readonly frameId: v.StringSchema<undefined>;
|
|
563
|
+
readonly pipelineId: v.StringSchema<undefined>;
|
|
564
|
+
readonly template: v.PicklistSchema<["dep-update", "tech-debt", "custom"], undefined>;
|
|
565
|
+
readonly name: v.StringSchema<undefined>;
|
|
566
|
+
readonly recurrence: v.ObjectSchema<{
|
|
567
|
+
readonly intervalHours: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>;
|
|
568
|
+
readonly weekdays: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 6, undefined>]>, undefined>;
|
|
569
|
+
readonly windowStartHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
|
|
570
|
+
readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
|
|
571
|
+
readonly timezone: v.StringSchema<undefined>;
|
|
572
|
+
}, undefined>;
|
|
573
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
574
|
+
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
575
|
+
readonly nextRunAt: v.NumberSchema<undefined>;
|
|
576
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
577
|
+
}, undefined>, undefined>, undefined>;
|
|
578
|
+
readonly trackerSettings: v.OptionalSchema<v.ObjectSchema<{
|
|
579
|
+
readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira"], undefined>, undefined>;
|
|
580
|
+
readonly jiraProjectKey: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
581
|
+
readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
|
|
582
|
+
readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
|
|
583
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
584
|
+
}, undefined>, undefined>;
|
|
585
|
+
readonly mounts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
586
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
587
|
+
readonly serviceId: v.StringSchema<undefined>;
|
|
588
|
+
readonly position: v.ObjectSchema<{
|
|
589
|
+
readonly x: v.NumberSchema<undefined>;
|
|
590
|
+
readonly y: v.NumberSchema<undefined>;
|
|
591
|
+
}, undefined>;
|
|
592
|
+
readonly size: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
593
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
594
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
595
|
+
}, undefined>, undefined>, undefined>;
|
|
596
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
597
|
+
}, undefined>, undefined>, undefined>;
|
|
598
|
+
readonly serviceCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
599
|
+
readonly id: v.StringSchema<undefined>;
|
|
600
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
601
|
+
readonly frameBlockId: v.StringSchema<undefined>;
|
|
602
|
+
readonly installationId: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
603
|
+
readonly repoGithubId: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
604
|
+
readonly directory: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
605
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
606
|
+
readonly mountCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
607
|
+
}, undefined>, undefined>, undefined>;
|
|
608
|
+
readonly settings: v.OptionalSchema<v.ObjectSchema<{
|
|
609
|
+
readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
|
|
610
|
+
readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
611
|
+
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>;
|
|
612
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
613
|
+
readonly storeAgentContext: v.BooleanSchema<undefined>;
|
|
614
|
+
readonly kaizenEnabled: v.BooleanSchema<undefined>;
|
|
615
|
+
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
616
|
+
readonly delegateTestEnvToProvider: v.BooleanSchema<undefined>;
|
|
617
|
+
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>;
|
|
618
|
+
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
619
|
+
}, undefined>, undefined>;
|
|
620
|
+
readonly customAgentKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
621
|
+
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
622
|
+
readonly presentation: v.ObjectSchema<{
|
|
623
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
624
|
+
readonly icon: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
625
|
+
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
626
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
627
|
+
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
628
|
+
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups"], undefined>, undefined>;
|
|
629
|
+
}, undefined>;
|
|
630
|
+
readonly container: v.BooleanSchema<undefined>;
|
|
631
|
+
}, undefined>, undefined>, undefined>;
|
|
632
|
+
}, undefined>;
|
|
633
|
+
};
|
|
634
|
+
};
|
|
635
|
+
export declare const getWorkspaceContract: {
|
|
636
|
+
readonly method: "get";
|
|
637
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
638
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
639
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
640
|
+
readonly pathResolver: ({ workspaceId }: {
|
|
641
|
+
workspaceId: string;
|
|
642
|
+
}) => string;
|
|
643
|
+
readonly responsesByStatusCode: {
|
|
644
|
+
readonly '4xx': v.ObjectSchema<{
|
|
645
|
+
readonly error: v.ObjectSchema<{
|
|
646
|
+
readonly code: v.StringSchema<undefined>;
|
|
647
|
+
readonly message: v.StringSchema<undefined>;
|
|
648
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
649
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
650
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
651
|
+
readonly message: v.StringSchema<undefined>;
|
|
652
|
+
}, undefined>, undefined>, undefined>;
|
|
653
|
+
}, undefined>;
|
|
654
|
+
}, undefined>;
|
|
655
|
+
readonly '5xx': v.ObjectSchema<{
|
|
656
|
+
readonly error: v.ObjectSchema<{
|
|
657
|
+
readonly code: v.StringSchema<undefined>;
|
|
658
|
+
readonly message: v.StringSchema<undefined>;
|
|
659
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
660
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
661
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
662
|
+
readonly message: v.StringSchema<undefined>;
|
|
663
|
+
}, undefined>, undefined>, undefined>;
|
|
664
|
+
}, undefined>;
|
|
665
|
+
}, undefined>;
|
|
666
|
+
readonly 200: v.ObjectSchema<{
|
|
667
|
+
readonly workspace: v.ObjectSchema<{
|
|
668
|
+
readonly id: v.StringSchema<undefined>;
|
|
669
|
+
readonly name: v.StringSchema<undefined>;
|
|
670
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
671
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
672
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
673
|
+
}, undefined>;
|
|
674
|
+
readonly blocks: v.ArraySchema<v.ObjectSchema<{
|
|
675
|
+
readonly id: v.StringSchema<undefined>;
|
|
676
|
+
readonly title: v.StringSchema<undefined>;
|
|
677
|
+
readonly type: v.PicklistSchema<["frontend", "service", "api", "database", "queue", "integration", "external", "environment"], undefined>;
|
|
678
|
+
readonly description: v.StringSchema<undefined>;
|
|
679
|
+
readonly position: v.ObjectSchema<{
|
|
680
|
+
readonly x: v.NumberSchema<undefined>;
|
|
681
|
+
readonly y: v.NumberSchema<undefined>;
|
|
682
|
+
}, undefined>;
|
|
683
|
+
readonly size: v.OptionalSchema<v.ObjectSchema<{
|
|
684
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
685
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
686
|
+
}, undefined>, undefined>;
|
|
687
|
+
readonly status: v.PicklistSchema<["planned", "ready", "in_progress", "blocked", "pr_ready", "done"], undefined>;
|
|
688
|
+
readonly progress: v.NumberSchema<undefined>;
|
|
689
|
+
readonly dependsOn: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
690
|
+
readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
691
|
+
readonly level: v.PicklistSchema<["frame", "module", "task", "epic"], undefined>;
|
|
692
|
+
readonly parentId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
693
|
+
readonly epicId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
694
|
+
readonly autoStartDependents: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
695
|
+
readonly confidence: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
696
|
+
readonly estimate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
697
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
698
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
699
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
700
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
701
|
+
readonly model: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
702
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
703
|
+
}, undefined>, undefined>, undefined>;
|
|
704
|
+
readonly moduleName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
705
|
+
readonly taskType: v.OptionalSchema<v.PicklistSchema<["feature", "bug", "document", "spike", "recurring"], undefined>, undefined>;
|
|
706
|
+
readonly taskTypeFields: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
707
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["low", "medium", "high", "critical"], undefined>, undefined>;
|
|
708
|
+
readonly stepsToReproduce: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
709
|
+
readonly timeboxHours: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>;
|
|
710
|
+
readonly docKind: v.OptionalSchema<v.PicklistSchema<["prd", "rfc", "runbook", "reference", "other"], undefined>, undefined>;
|
|
711
|
+
}, undefined>, undefined>, undefined>;
|
|
712
|
+
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
713
|
+
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
714
|
+
readonly serviceFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
715
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
716
|
+
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
717
|
+
readonly testComposePath: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
718
|
+
readonly noInfraDependencies: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
719
|
+
readonly defaultTestEnvironment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
720
|
+
readonly cloudProvider: v.OptionalSchema<v.PicklistSchema<["cloudflare", "docker", "aws", "gcp", "azure", "custom"], undefined>, undefined>;
|
|
721
|
+
readonly instanceSize: v.OptionalSchema<v.PicklistSchema<["small", "medium", "large", "xlarge"], undefined>, undefined>;
|
|
722
|
+
readonly pullRequest: v.OptionalSchema<v.ObjectSchema<{
|
|
723
|
+
readonly url: v.StringSchema<undefined>;
|
|
724
|
+
readonly number: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
725
|
+
readonly branch: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
726
|
+
}, undefined>, undefined>;
|
|
727
|
+
readonly mergePresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
728
|
+
readonly modelPresetId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
729
|
+
readonly pipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
730
|
+
readonly createdBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
731
|
+
readonly responsibleProductUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
732
|
+
readonly trackerCommentOnPrOpen: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
733
|
+
readonly trackerResolveOnMerge: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["on", "off"], undefined>, undefined>, undefined>;
|
|
734
|
+
}, undefined>, undefined>;
|
|
735
|
+
readonly pipelines: v.ArraySchema<v.ObjectSchema<{
|
|
736
|
+
readonly id: v.StringSchema<undefined>;
|
|
737
|
+
readonly name: v.StringSchema<undefined>;
|
|
738
|
+
readonly agentKinds: v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>, undefined>;
|
|
739
|
+
readonly gates: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
740
|
+
readonly thresholds: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>, undefined>, undefined>;
|
|
741
|
+
readonly enabled: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
742
|
+
readonly consensus: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
|
|
743
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
744
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
745
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
746
|
+
readonly id: v.StringSchema<undefined>;
|
|
747
|
+
readonly role: v.StringSchema<undefined>;
|
|
748
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
749
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
750
|
+
}, undefined>, undefined>;
|
|
751
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
752
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
753
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
754
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
755
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
756
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
757
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
758
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
759
|
+
}, undefined>, undefined>;
|
|
760
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
761
|
+
readonly gating: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
|
|
762
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
763
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
764
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
765
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
766
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
|
|
767
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
768
|
+
readonly followUps: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>, undefined>;
|
|
769
|
+
readonly labels: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
770
|
+
readonly archived: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
771
|
+
readonly builtin: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
772
|
+
}, undefined>, undefined>;
|
|
773
|
+
readonly executions: v.ArraySchema<v.ObjectSchema<{
|
|
774
|
+
readonly id: v.StringSchema<undefined>;
|
|
775
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
776
|
+
readonly pipelineId: v.StringSchema<undefined>;
|
|
777
|
+
readonly pipelineName: v.StringSchema<undefined>;
|
|
778
|
+
readonly steps: v.ArraySchema<v.ObjectSchema<{
|
|
779
|
+
readonly runId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
780
|
+
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
781
|
+
readonly state: v.PicklistSchema<["pending", "working", "waiting_decision", "done"], undefined>;
|
|
782
|
+
readonly progress: v.NumberSchema<undefined>;
|
|
783
|
+
readonly metrics: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
784
|
+
readonly calls: v.NumberSchema<undefined>;
|
|
785
|
+
readonly promptTokens: v.NumberSchema<undefined>;
|
|
786
|
+
readonly completionTokens: v.NumberSchema<undefined>;
|
|
787
|
+
readonly peakCompletionTokens: v.NumberSchema<undefined>;
|
|
788
|
+
readonly maxOutputTokens: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
789
|
+
readonly truncatedCalls: v.NumberSchema<undefined>;
|
|
790
|
+
readonly upstreamMs: v.NumberSchema<undefined>;
|
|
791
|
+
readonly overheadMs: v.NumberSchema<undefined>;
|
|
792
|
+
readonly errors: v.NumberSchema<undefined>;
|
|
793
|
+
readonly warnings: v.NumberSchema<undefined>;
|
|
794
|
+
}, undefined>, undefined>, undefined>;
|
|
795
|
+
readonly gate: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
796
|
+
readonly phase: v.PicklistSchema<["checking", "working"], undefined>;
|
|
797
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
798
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
799
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
800
|
+
readonly lastVerdict: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["pass", "pending", "fail"], undefined>, undefined>, undefined>;
|
|
801
|
+
readonly lastFailureSummary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
802
|
+
readonly failingChecks: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
803
|
+
readonly name: v.StringSchema<undefined>;
|
|
804
|
+
readonly conclusion: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
805
|
+
readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
806
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
807
|
+
readonly watchSince: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
808
|
+
readonly watchWindowMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
809
|
+
readonly regressedSignals: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
810
|
+
readonly kind: v.PicklistSchema<["monitor", "slo"], undefined>;
|
|
811
|
+
readonly id: v.StringSchema<undefined>;
|
|
812
|
+
readonly name: v.StringSchema<undefined>;
|
|
813
|
+
readonly state: v.PicklistSchema<["ok", "warn", "alert", "no_data"], undefined>;
|
|
814
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
815
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
816
|
+
readonly attemptLog: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.ObjectSchema<{
|
|
817
|
+
readonly attempt: v.NumberSchema<undefined>;
|
|
818
|
+
readonly at: v.NumberSchema<undefined>;
|
|
819
|
+
readonly outcome: v.PicklistSchema<["completed", "failed"], undefined>;
|
|
820
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
821
|
+
readonly summary: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
822
|
+
}, undefined>, undefined>, undefined>, undefined>;
|
|
823
|
+
readonly lastApprovals: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
824
|
+
readonly requiredApprovingReviewCount: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
825
|
+
readonly pendingThreadIds: v.OptionalSchema<v.NullableSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
826
|
+
readonly lastAddressedCommentAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
827
|
+
readonly humanReviewGraceMinutes: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
828
|
+
readonly pendingFix: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
829
|
+
readonly instructions: v.StringSchema<undefined>;
|
|
830
|
+
readonly at: v.NumberSchema<undefined>;
|
|
831
|
+
}, undefined>, undefined>, undefined>;
|
|
832
|
+
}, undefined>, undefined>, undefined>;
|
|
833
|
+
readonly test: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
834
|
+
readonly phase: v.PicklistSchema<["testing", "fixing"], undefined>;
|
|
835
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
836
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
837
|
+
readonly lastReport: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
838
|
+
readonly greenlight: v.BooleanSchema<undefined>;
|
|
839
|
+
readonly summary: v.StringSchema<undefined>;
|
|
840
|
+
readonly tested: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
841
|
+
readonly outcomes: v.ArraySchema<v.ObjectSchema<{
|
|
842
|
+
readonly name: v.StringSchema<undefined>;
|
|
843
|
+
readonly status: v.PicklistSchema<["passed", "failed", "skipped"], undefined>;
|
|
844
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
845
|
+
}, undefined>, undefined>;
|
|
846
|
+
readonly concerns: v.ArraySchema<v.ObjectSchema<{
|
|
847
|
+
readonly title: v.StringSchema<undefined>;
|
|
848
|
+
readonly detail: v.StringSchema<undefined>;
|
|
849
|
+
readonly severity: v.PicklistSchema<["low", "medium", "high", "critical"], undefined>;
|
|
850
|
+
}, undefined>, undefined>;
|
|
851
|
+
readonly environment: v.OptionalSchema<v.PicklistSchema<["local", "ephemeral"], undefined>, undefined>;
|
|
852
|
+
}, undefined>, undefined>, undefined>;
|
|
853
|
+
}, undefined>, undefined>, undefined>;
|
|
854
|
+
readonly humanTest: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
855
|
+
readonly phase: v.PicklistSchema<["provisioning", "awaiting_human", "fixing", "resolving_conflicts", "passed"], undefined>;
|
|
856
|
+
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
857
|
+
readonly id: v.StringSchema<undefined>;
|
|
858
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
859
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
860
|
+
readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
861
|
+
}, undefined>, undefined>, undefined>;
|
|
862
|
+
readonly degradedReason: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
863
|
+
readonly attempts: v.NumberSchema<undefined>;
|
|
864
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
865
|
+
readonly headSha: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
866
|
+
readonly rounds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
867
|
+
readonly kind: v.PicklistSchema<["fix", "pull-main"], undefined>;
|
|
868
|
+
readonly findings: v.StringSchema<undefined>;
|
|
869
|
+
readonly helperKind: v.StringSchema<undefined>;
|
|
870
|
+
readonly jobId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
871
|
+
readonly outcome: v.OptionalSchema<v.NullableSchema<v.PicklistSchema<["completed", "failed"], undefined>, undefined>, undefined>;
|
|
872
|
+
readonly at: v.NumberSchema<undefined>;
|
|
873
|
+
}, undefined>, undefined>, undefined>;
|
|
874
|
+
readonly pendingAction: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
875
|
+
readonly type: v.PicklistSchema<["confirm", "request-fix", "pull-main", "recreate"], undefined>;
|
|
876
|
+
readonly findings: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
877
|
+
}, undefined>, undefined>, undefined>;
|
|
878
|
+
}, undefined>, undefined>, undefined>;
|
|
879
|
+
readonly environment: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
880
|
+
readonly id: v.StringSchema<undefined>;
|
|
881
|
+
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
882
|
+
readonly status: v.PicklistSchema<["provisioning", "ready", "failed", "expired", "tearing_down", "torn_down"], undefined>;
|
|
883
|
+
readonly expiresAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
884
|
+
readonly lastError: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
885
|
+
}, undefined>, undefined>, undefined>;
|
|
886
|
+
readonly subtasks: v.OptionalSchema<v.ObjectSchema<{
|
|
887
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
888
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
889
|
+
readonly total: v.NumberSchema<undefined>;
|
|
890
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
891
|
+
readonly label: v.StringSchema<undefined>;
|
|
892
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
893
|
+
}, undefined>, undefined>, undefined>;
|
|
894
|
+
}, undefined>, undefined>;
|
|
895
|
+
readonly startingContainer: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
896
|
+
readonly decision: v.NullableSchema<v.ObjectSchema<{
|
|
897
|
+
readonly id: v.StringSchema<undefined>;
|
|
898
|
+
readonly question: v.StringSchema<undefined>;
|
|
899
|
+
readonly options: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
900
|
+
readonly chosen: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
901
|
+
}, undefined>, undefined>;
|
|
902
|
+
readonly requiresApproval: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
903
|
+
readonly approval: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
904
|
+
readonly id: v.StringSchema<undefined>;
|
|
905
|
+
readonly status: v.PicklistSchema<["pending", "approved", "changes_requested", "rejected"], undefined>;
|
|
906
|
+
readonly proposal: v.StringSchema<undefined>;
|
|
907
|
+
readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
908
|
+
readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
909
|
+
readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
910
|
+
readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
911
|
+
readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
912
|
+
readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
913
|
+
readonly body: v.StringSchema<undefined>;
|
|
914
|
+
}, undefined>, undefined>, undefined>;
|
|
915
|
+
}, undefined>, undefined>, undefined>;
|
|
916
|
+
readonly companion: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
917
|
+
readonly threshold: v.NumberSchema<undefined>;
|
|
918
|
+
readonly maxAttempts: v.NumberSchema<undefined>;
|
|
919
|
+
readonly attempts: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
920
|
+
readonly verdicts: v.ArraySchema<v.ObjectSchema<{
|
|
921
|
+
readonly rating: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
922
|
+
readonly threshold: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
923
|
+
readonly passed: v.BooleanSchema<undefined>;
|
|
924
|
+
readonly feedback: v.StringSchema<undefined>;
|
|
925
|
+
}, undefined>, undefined>;
|
|
926
|
+
readonly exceeded: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
927
|
+
}, undefined>, undefined>, undefined>;
|
|
928
|
+
readonly followUps: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
929
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
930
|
+
readonly items: v.ArraySchema<v.ObjectSchema<{
|
|
931
|
+
readonly id: v.StringSchema<undefined>;
|
|
932
|
+
readonly kind: v.PicklistSchema<["follow_up", "question"], undefined>;
|
|
933
|
+
readonly title: v.StringSchema<undefined>;
|
|
934
|
+
readonly detail: v.StringSchema<undefined>;
|
|
935
|
+
readonly suggestedAction: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
936
|
+
readonly status: v.PicklistSchema<["pending", "filed", "queued", "answered", "dismissed"], undefined>;
|
|
937
|
+
readonly answer: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
938
|
+
readonly sentToCoder: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
939
|
+
readonly ticketExternalId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
940
|
+
readonly ticketUrl: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
941
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
942
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
943
|
+
}, undefined>, undefined>;
|
|
944
|
+
readonly loops: v.OptionalSchema<v.NumberSchema<undefined>, 0>;
|
|
945
|
+
readonly maxLoops: v.OptionalSchema<v.NumberSchema<undefined>, 3>;
|
|
946
|
+
}, undefined>, undefined>, undefined>;
|
|
947
|
+
readonly rework: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
948
|
+
readonly previousProposal: v.StringSchema<undefined>;
|
|
949
|
+
readonly feedback: v.StringSchema<undefined>;
|
|
950
|
+
readonly comments: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
951
|
+
readonly quotedSource: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
952
|
+
readonly srcStart: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
953
|
+
readonly srcEnd: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
954
|
+
readonly anchorId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
955
|
+
readonly body: v.StringSchema<undefined>;
|
|
956
|
+
}, undefined>, undefined>, undefined>;
|
|
957
|
+
}, undefined>, undefined>, undefined>;
|
|
958
|
+
readonly pendingIncorporation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
959
|
+
readonly feedback: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
960
|
+
}, undefined>, undefined>, undefined>;
|
|
961
|
+
readonly pendingRecommendation: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
962
|
+
readonly itemIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
963
|
+
readonly note: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
964
|
+
}, undefined>, undefined>, undefined>;
|
|
965
|
+
readonly consensus: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
966
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
967
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
968
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
969
|
+
readonly id: v.StringSchema<undefined>;
|
|
970
|
+
readonly role: v.StringSchema<undefined>;
|
|
971
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
972
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
973
|
+
}, undefined>, undefined>;
|
|
974
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
975
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
976
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
977
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
978
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
979
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
980
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
981
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
982
|
+
}, undefined>, undefined>;
|
|
983
|
+
}, undefined>, undefined>, undefined>;
|
|
984
|
+
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
985
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
986
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
987
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
988
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
989
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["run", "skip"], undefined>, "run">;
|
|
990
|
+
}, undefined>, undefined>, undefined>;
|
|
991
|
+
readonly skipped: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
992
|
+
readonly noBusinessSpecs: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
993
|
+
readonly technicalCorroborated: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
994
|
+
readonly output: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
995
|
+
readonly custom: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
996
|
+
readonly model: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
997
|
+
readonly selectedFragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
998
|
+
readonly jobId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
999
|
+
readonly startedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1000
|
+
readonly finishedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1001
|
+
readonly pausedAt: v.OptionalSchema<v.NullableSchema<v.NumberSchema<undefined>, undefined>, undefined>;
|
|
1002
|
+
readonly evictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1003
|
+
readonly transientEvictionRecoveries: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1004
|
+
}, undefined>, undefined>;
|
|
1005
|
+
readonly currentStep: v.NumberSchema<undefined>;
|
|
1006
|
+
readonly status: v.PicklistSchema<["running", "blocked", "done", "paused", "failed"], undefined>;
|
|
1007
|
+
readonly failure: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1008
|
+
readonly kind: v.PicklistSchema<["preflight", "dispatch", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
|
|
1009
|
+
readonly message: v.StringSchema<undefined>;
|
|
1010
|
+
readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1011
|
+
readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1012
|
+
readonly occurredAt: v.NumberSchema<undefined>;
|
|
1013
|
+
readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
|
|
1014
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
1015
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
1016
|
+
readonly total: v.NumberSchema<undefined>;
|
|
1017
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1018
|
+
readonly label: v.StringSchema<undefined>;
|
|
1019
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1020
|
+
}, undefined>, undefined>, undefined>;
|
|
1021
|
+
}, undefined>, undefined>;
|
|
1022
|
+
}, undefined>, undefined>, undefined>;
|
|
1023
|
+
readonly initiatedBy: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1024
|
+
}, undefined>, undefined>;
|
|
1025
|
+
readonly bootstrapJobs: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1026
|
+
readonly id: v.StringSchema<undefined>;
|
|
1027
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
1028
|
+
readonly referenceArchitectureId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1029
|
+
readonly referenceArchitectureName: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1030
|
+
readonly repoName: v.StringSchema<undefined>;
|
|
1031
|
+
readonly repoOwner: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1032
|
+
readonly repoUrl: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1033
|
+
readonly instructions: v.StringSchema<undefined>;
|
|
1034
|
+
readonly status: v.PicklistSchema<["pending", "running", "succeeded", "failed"], undefined>;
|
|
1035
|
+
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1036
|
+
readonly subtasks: v.NullableSchema<v.ObjectSchema<{
|
|
1037
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
1038
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
1039
|
+
readonly total: v.NumberSchema<undefined>;
|
|
1040
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1041
|
+
readonly label: v.StringSchema<undefined>;
|
|
1042
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1043
|
+
}, undefined>, undefined>, undefined>;
|
|
1044
|
+
}, undefined>, undefined>;
|
|
1045
|
+
readonly error: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1046
|
+
readonly failure: v.NullableSchema<v.ObjectSchema<{
|
|
1047
|
+
readonly kind: v.PicklistSchema<["preflight", "dispatch", "evicted", "timeout", "agent", "job_failed", "rejected", "companion_rejected", "cancelled", "unknown"], undefined>;
|
|
1048
|
+
readonly message: v.StringSchema<undefined>;
|
|
1049
|
+
readonly detail: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1050
|
+
readonly hint: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1051
|
+
readonly occurredAt: v.NumberSchema<undefined>;
|
|
1052
|
+
readonly lastSubtasks: v.NullableSchema<v.ObjectSchema<{
|
|
1053
|
+
readonly completed: v.NumberSchema<undefined>;
|
|
1054
|
+
readonly inProgress: v.NumberSchema<undefined>;
|
|
1055
|
+
readonly total: v.NumberSchema<undefined>;
|
|
1056
|
+
readonly items: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1057
|
+
readonly label: v.StringSchema<undefined>;
|
|
1058
|
+
readonly status: v.PicklistSchema<["pending", "in_progress", "completed"], undefined>;
|
|
1059
|
+
}, undefined>, undefined>, undefined>;
|
|
1060
|
+
}, undefined>, undefined>;
|
|
1061
|
+
}, undefined>, undefined>;
|
|
1062
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1063
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1064
|
+
}, undefined>, undefined>, undefined>;
|
|
1065
|
+
readonly spend: v.OptionalSchema<v.ObjectSchema<{
|
|
1066
|
+
readonly periodStart: v.NumberSchema<undefined>;
|
|
1067
|
+
readonly inputTokens: v.NumberSchema<undefined>;
|
|
1068
|
+
readonly outputTokens: v.NumberSchema<undefined>;
|
|
1069
|
+
readonly costSpent: v.NumberSchema<undefined>;
|
|
1070
|
+
readonly costLimit: v.NumberSchema<undefined>;
|
|
1071
|
+
readonly currency: v.StringSchema<undefined>;
|
|
1072
|
+
readonly exceeded: v.BooleanSchema<undefined>;
|
|
1073
|
+
}, undefined>, undefined>;
|
|
1074
|
+
readonly notifications: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1075
|
+
readonly id: v.StringSchema<undefined>;
|
|
1076
|
+
readonly type: v.PicklistSchema<["merge_review", "pipeline_complete", "ci_failed", "test_failed", "requirement_review", "clarity_review", "release_regression", "decision_required", "human_test_ready", "human_review", "followup_pending"], undefined>;
|
|
1077
|
+
readonly status: v.PicklistSchema<["open", "acted", "dismissed"], undefined>;
|
|
1078
|
+
readonly severity: v.OptionalSchema<v.PicklistSchema<["normal", "urgent"], undefined>, undefined>;
|
|
1079
|
+
readonly blockId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1080
|
+
readonly executionId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1081
|
+
readonly title: v.StringSchema<undefined>;
|
|
1082
|
+
readonly body: v.StringSchema<undefined>;
|
|
1083
|
+
readonly payload: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1084
|
+
readonly assessment: v.OptionalSchema<v.ObjectSchema<{
|
|
1085
|
+
readonly complexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1086
|
+
readonly risk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1087
|
+
readonly impact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1088
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
1089
|
+
}, undefined>, undefined>;
|
|
1090
|
+
readonly prUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1091
|
+
readonly pipelineName: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1092
|
+
readonly findingCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1093
|
+
readonly onCallAssessment: v.OptionalSchema<v.ObjectSchema<{
|
|
1094
|
+
readonly culpritConfidence: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1095
|
+
readonly recommendation: v.PicklistSchema<["revert", "hold", "monitor"], undefined>;
|
|
1096
|
+
readonly rationale: v.StringSchema<undefined>;
|
|
1097
|
+
readonly evidence: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, readonly []>;
|
|
1098
|
+
}, undefined>, undefined>;
|
|
1099
|
+
readonly releaseSignals: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1100
|
+
readonly kind: v.PicklistSchema<["monitor", "slo"], undefined>;
|
|
1101
|
+
readonly id: v.StringSchema<undefined>;
|
|
1102
|
+
readonly name: v.StringSchema<undefined>;
|
|
1103
|
+
readonly state: v.PicklistSchema<["ok", "warn", "alert", "no_data"], undefined>;
|
|
1104
|
+
readonly detail: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1105
|
+
}, undefined>, undefined>, undefined>;
|
|
1106
|
+
readonly revertUrl: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1107
|
+
readonly targetUserId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1108
|
+
}, undefined>, undefined>, undefined>;
|
|
1109
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1110
|
+
readonly resolvedAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1111
|
+
}, undefined>, undefined>, undefined>;
|
|
1112
|
+
readonly mergePresets: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1113
|
+
readonly id: v.StringSchema<undefined>;
|
|
1114
|
+
readonly name: v.StringSchema<undefined>;
|
|
1115
|
+
readonly maxComplexity: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1116
|
+
readonly maxRisk: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1117
|
+
readonly maxImpact: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>;
|
|
1118
|
+
readonly ciMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1119
|
+
readonly maxRequirementIterations: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1120
|
+
readonly maxRequirementConcernAllowed: v.PicklistSchema<["none", "low", "medium", "high"], undefined>;
|
|
1121
|
+
readonly releaseWatchWindowMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1122
|
+
readonly releaseMaxAttempts: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1123
|
+
readonly humanReviewGraceMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1124
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
1125
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1126
|
+
}, undefined>, undefined>, undefined>;
|
|
1127
|
+
readonly agentConfigCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1128
|
+
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1129
|
+
readonly agentKind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1130
|
+
readonly label: v.StringSchema<undefined>;
|
|
1131
|
+
readonly description: v.StringSchema<undefined>;
|
|
1132
|
+
readonly type: v.PicklistSchema<["select"], undefined>;
|
|
1133
|
+
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
1134
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1135
|
+
readonly label: v.StringSchema<undefined>;
|
|
1136
|
+
}, undefined>, undefined>;
|
|
1137
|
+
readonly default: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1138
|
+
}, undefined>, undefined>, undefined>;
|
|
1139
|
+
readonly modelPresets: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1140
|
+
readonly id: v.StringSchema<undefined>;
|
|
1141
|
+
readonly name: v.StringSchema<undefined>;
|
|
1142
|
+
readonly baseModelId: v.StringSchema<undefined>;
|
|
1143
|
+
readonly overrides: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
1144
|
+
readonly isDefault: v.BooleanSchema<undefined>;
|
|
1145
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1146
|
+
}, undefined>, undefined>, undefined>;
|
|
1147
|
+
readonly deploymentModelDefaults: v.OptionalSchema<v.ObjectSchema<{
|
|
1148
|
+
readonly default: v.StringSchema<undefined>;
|
|
1149
|
+
readonly byKind: v.RecordSchema<v.StringSchema<undefined>, v.StringSchema<undefined>, undefined>;
|
|
1150
|
+
}, undefined>, undefined>;
|
|
1151
|
+
readonly serviceFragmentDefaults: v.OptionalSchema<v.ObjectSchema<{
|
|
1152
|
+
readonly fragmentIds: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
1153
|
+
}, undefined>, undefined>;
|
|
1154
|
+
readonly recurringPipelines: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1155
|
+
readonly id: v.StringSchema<undefined>;
|
|
1156
|
+
readonly serviceId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1157
|
+
readonly blockId: v.StringSchema<undefined>;
|
|
1158
|
+
readonly frameId: v.StringSchema<undefined>;
|
|
1159
|
+
readonly pipelineId: v.StringSchema<undefined>;
|
|
1160
|
+
readonly template: v.PicklistSchema<["dep-update", "tech-debt", "custom"], undefined>;
|
|
1161
|
+
readonly name: v.StringSchema<undefined>;
|
|
1162
|
+
readonly recurrence: v.ObjectSchema<{
|
|
1163
|
+
readonly intervalHours: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, number, undefined>]>;
|
|
1164
|
+
readonly weekdays: v.ArraySchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 6, undefined>]>, undefined>;
|
|
1165
|
+
readonly windowStartHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
|
|
1166
|
+
readonly windowEndHour: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 23, undefined>]>, undefined>;
|
|
1167
|
+
readonly timezone: v.StringSchema<undefined>;
|
|
1168
|
+
}, undefined>;
|
|
1169
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
1170
|
+
readonly lastRunAt: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1171
|
+
readonly nextRunAt: v.NumberSchema<undefined>;
|
|
1172
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1173
|
+
}, undefined>, undefined>, undefined>;
|
|
1174
|
+
readonly trackerSettings: v.OptionalSchema<v.ObjectSchema<{
|
|
1175
|
+
readonly tracker: v.NullableSchema<v.PicklistSchema<["github", "jira"], undefined>, undefined>;
|
|
1176
|
+
readonly jiraProjectKey: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1177
|
+
readonly writebackCommentOnPrOpen: v.BooleanSchema<undefined>;
|
|
1178
|
+
readonly writebackResolveOnMerge: v.BooleanSchema<undefined>;
|
|
1179
|
+
readonly updatedAt: v.NumberSchema<undefined>;
|
|
1180
|
+
}, undefined>, undefined>;
|
|
1181
|
+
readonly mounts: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1182
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
1183
|
+
readonly serviceId: v.StringSchema<undefined>;
|
|
1184
|
+
readonly position: v.ObjectSchema<{
|
|
1185
|
+
readonly x: v.NumberSchema<undefined>;
|
|
1186
|
+
readonly y: v.NumberSchema<undefined>;
|
|
1187
|
+
}, undefined>;
|
|
1188
|
+
readonly size: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1189
|
+
readonly w: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1190
|
+
readonly h: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 1, undefined>]>;
|
|
1191
|
+
}, undefined>, undefined>, undefined>;
|
|
1192
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1193
|
+
}, undefined>, undefined>, undefined>;
|
|
1194
|
+
readonly serviceCatalog: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1195
|
+
readonly id: v.StringSchema<undefined>;
|
|
1196
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1197
|
+
readonly frameBlockId: v.StringSchema<undefined>;
|
|
1198
|
+
readonly installationId: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1199
|
+
readonly repoGithubId: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
1200
|
+
readonly directory: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1201
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1202
|
+
readonly mountCount: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1203
|
+
}, undefined>, undefined>, undefined>;
|
|
1204
|
+
readonly settings: v.OptionalSchema<v.ObjectSchema<{
|
|
1205
|
+
readonly waitingEscalationMinutes: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 100000, undefined>]>;
|
|
1206
|
+
readonly taskLimitMode: v.PicklistSchema<["off", "shared", "per_type"], undefined>;
|
|
1207
|
+
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>;
|
|
1208
|
+
readonly taskLimitPerType: v.NullableSchema<v.RecordSchema<v.PicklistSchema<["feature", "bug", "document", "spike"], undefined>, v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 1000, undefined>]>, undefined>, undefined>;
|
|
1209
|
+
readonly storeAgentContext: v.BooleanSchema<undefined>;
|
|
1210
|
+
readonly kaizenEnabled: v.BooleanSchema<undefined>;
|
|
1211
|
+
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
1212
|
+
readonly delegateTestEnvToProvider: v.BooleanSchema<undefined>;
|
|
1213
|
+
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>;
|
|
1214
|
+
readonly spendMonthlyLimit: v.NullableSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>]>, undefined>;
|
|
1215
|
+
}, undefined>, undefined>;
|
|
1216
|
+
readonly customAgentKinds: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1217
|
+
readonly kind: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
1218
|
+
readonly presentation: v.ObjectSchema<{
|
|
1219
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
1220
|
+
readonly icon: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
1221
|
+
readonly color: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 40, undefined>]>;
|
|
1222
|
+
readonly description: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 500, undefined>]>;
|
|
1223
|
+
readonly category: v.OptionalSchema<v.PicklistSchema<["review", "design", "build", "test", "docs", "gates"], undefined>, undefined>;
|
|
1224
|
+
readonly resultView: v.OptionalSchema<v.PicklistSchema<readonly ["requirements-review", "clarity-review", "brainstorm", "tester", "human-test", "gate", "consensus-session", "generic-structured", "service-spec", "follow-ups"], undefined>, undefined>;
|
|
1225
|
+
}, undefined>;
|
|
1226
|
+
readonly container: v.BooleanSchema<undefined>;
|
|
1227
|
+
}, undefined>, undefined>, undefined>;
|
|
1228
|
+
}, undefined>;
|
|
1229
|
+
};
|
|
1230
|
+
};
|
|
1231
|
+
export declare const updateWorkspaceContract: {
|
|
1232
|
+
readonly method: "patch";
|
|
1233
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1234
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
1235
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
1236
|
+
readonly pathResolver: ({ workspaceId }: {
|
|
1237
|
+
workspaceId: string;
|
|
1238
|
+
}) => string;
|
|
1239
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
1240
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
1241
|
+
readonly description: v.OptionalSchema<v.NullableSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>, undefined>;
|
|
1242
|
+
}, undefined>;
|
|
1243
|
+
readonly responsesByStatusCode: {
|
|
1244
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1245
|
+
readonly error: v.ObjectSchema<{
|
|
1246
|
+
readonly code: v.StringSchema<undefined>;
|
|
1247
|
+
readonly message: v.StringSchema<undefined>;
|
|
1248
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1249
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1250
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1251
|
+
readonly message: v.StringSchema<undefined>;
|
|
1252
|
+
}, undefined>, undefined>, undefined>;
|
|
1253
|
+
}, undefined>;
|
|
1254
|
+
}, undefined>;
|
|
1255
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1256
|
+
readonly error: v.ObjectSchema<{
|
|
1257
|
+
readonly code: v.StringSchema<undefined>;
|
|
1258
|
+
readonly message: v.StringSchema<undefined>;
|
|
1259
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1260
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1261
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1262
|
+
readonly message: v.StringSchema<undefined>;
|
|
1263
|
+
}, undefined>, undefined>, undefined>;
|
|
1264
|
+
}, undefined>;
|
|
1265
|
+
}, undefined>;
|
|
1266
|
+
readonly 200: v.ObjectSchema<{
|
|
1267
|
+
readonly id: v.StringSchema<undefined>;
|
|
1268
|
+
readonly name: v.StringSchema<undefined>;
|
|
1269
|
+
readonly description: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1270
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
1271
|
+
readonly accountId: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1272
|
+
}, undefined>;
|
|
1273
|
+
};
|
|
1274
|
+
};
|
|
1275
|
+
export declare const deleteWorkspaceContract: {
|
|
1276
|
+
readonly method: "delete";
|
|
1277
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
1278
|
+
readonly workspaceId: v.StringSchema<undefined>;
|
|
1279
|
+
}, undefined> & import("@toad-contracts/core").ObjectKeysCarrier;
|
|
1280
|
+
readonly pathResolver: ({ workspaceId }: {
|
|
1281
|
+
workspaceId: string;
|
|
1282
|
+
}) => string;
|
|
1283
|
+
readonly responsesByStatusCode: {
|
|
1284
|
+
readonly '4xx': v.ObjectSchema<{
|
|
1285
|
+
readonly error: v.ObjectSchema<{
|
|
1286
|
+
readonly code: v.StringSchema<undefined>;
|
|
1287
|
+
readonly message: v.StringSchema<undefined>;
|
|
1288
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1289
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1290
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1291
|
+
readonly message: v.StringSchema<undefined>;
|
|
1292
|
+
}, undefined>, undefined>, undefined>;
|
|
1293
|
+
}, undefined>;
|
|
1294
|
+
}, undefined>;
|
|
1295
|
+
readonly '5xx': v.ObjectSchema<{
|
|
1296
|
+
readonly error: v.ObjectSchema<{
|
|
1297
|
+
readonly code: v.StringSchema<undefined>;
|
|
1298
|
+
readonly message: v.StringSchema<undefined>;
|
|
1299
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
1300
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
1301
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1302
|
+
readonly message: v.StringSchema<undefined>;
|
|
1303
|
+
}, undefined>, undefined>, undefined>;
|
|
1304
|
+
}, undefined>;
|
|
1305
|
+
}, undefined>;
|
|
1306
|
+
readonly 204: typeof ContractNoBody;
|
|
1307
|
+
};
|
|
1308
|
+
};
|
|
1309
|
+
//# sourceMappingURL=workspaces.d.ts.map
|