@h-rig/contracts 0.0.6-alpha.78 → 0.0.6-alpha.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5277 -0
- package/dist/index.mjs +5234 -0
- package/dist/src/artifact.d.ts +13 -0
- package/dist/src/baseSchemas.d.ts +57 -0
- package/dist/src/cli-output.d.ts +234 -0
- package/dist/src/config.d.ts +316 -0
- package/dist/src/conversation.d.ts +50 -0
- package/dist/src/editor.d.ts +25 -0
- package/dist/src/engine.d.ts +2789 -0
- package/dist/src/git.d.ts +144 -0
- package/dist/src/graph.d.ts +39 -0
- package/dist/src/index.d.ts +33 -0
- package/dist/src/ipc.d.ts +247 -0
- package/dist/src/keybindings.d.ts +71 -0
- package/dist/src/model.d.ts +77 -0
- package/dist/src/orchestration.d.ts +3695 -0
- package/dist/src/pi-session.d.ts +113 -0
- package/dist/src/plugin-hooks.d.ts +51 -0
- package/dist/src/plugin.d.ts +230 -0
- package/dist/src/policy.d.ts +16 -0
- package/dist/src/project.d.ts +71 -0
- package/dist/src/protocol-version.d.ts +21 -0
- package/dist/src/provider.d.ts +105 -0
- package/dist/src/providerRuntime.d.ts +3949 -0
- package/dist/src/remote.d.ts +326 -0
- package/dist/src/review.d.ts +18 -0
- package/dist/src/rig.d.ts +753 -0
- package/dist/src/run-journal.d.ts +763 -0
- package/dist/src/runtime.d.ts +103 -0
- package/dist/src/server.d.ts +106 -0
- package/dist/src/serviceFabric.d.ts +62 -0
- package/dist/src/task-source.d.ts +28 -0
- package/dist/src/terminal.d.ts +130 -0
- package/dist/src/validation.d.ts +14 -0
- package/dist/src/workspace.d.ts +204 -0
- package/dist/src/ws.d.ts +733 -0
- package/package.json +6 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const ArtifactSummary: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.brand<Schema.Trim, "ArtifactId">;
|
|
4
|
+
readonly runId: Schema.brand<Schema.Trim, "RunId">;
|
|
5
|
+
readonly taskId: Schema.NullOr<Schema.brand<Schema.Trim, "TaskId">>;
|
|
6
|
+
readonly kind: Schema.Trim;
|
|
7
|
+
readonly label: Schema.Trim;
|
|
8
|
+
readonly path: Schema.NullOr<Schema.Trim>;
|
|
9
|
+
readonly url: Schema.NullOr<Schema.Trim>;
|
|
10
|
+
readonly metadata: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
11
|
+
readonly createdAt: Schema.String;
|
|
12
|
+
}>;
|
|
13
|
+
export type ArtifactSummary = typeof ArtifactSummary.Type;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const TrimmedString: Schema.Trim;
|
|
3
|
+
export declare const TrimmedNonEmptyString: Schema.Trim;
|
|
4
|
+
export declare const NonNegativeInt: Schema.Int;
|
|
5
|
+
export declare const PositiveInt: Schema.Int;
|
|
6
|
+
export declare const IsoDateTime: Schema.String;
|
|
7
|
+
export type IsoDateTime = typeof IsoDateTime.Type;
|
|
8
|
+
export declare const ThreadId: Schema.brand<Schema.Trim, "ThreadId">;
|
|
9
|
+
export type ThreadId = typeof ThreadId.Type;
|
|
10
|
+
export declare const ProjectId: Schema.brand<Schema.Trim, "ProjectId">;
|
|
11
|
+
export type ProjectId = typeof ProjectId.Type;
|
|
12
|
+
export declare const WorkspaceId: Schema.brand<Schema.Trim, "WorkspaceId">;
|
|
13
|
+
export type WorkspaceId = typeof WorkspaceId.Type;
|
|
14
|
+
export declare const GraphId: Schema.brand<Schema.Trim, "GraphId">;
|
|
15
|
+
export type GraphId = typeof GraphId.Type;
|
|
16
|
+
export declare const TaskId: Schema.brand<Schema.Trim, "TaskId">;
|
|
17
|
+
export type TaskId = typeof TaskId.Type;
|
|
18
|
+
export declare const RunId: Schema.brand<Schema.Trim, "RunId">;
|
|
19
|
+
export type RunId = typeof RunId.Type;
|
|
20
|
+
export declare const EngineRuntimeId: Schema.brand<Schema.Trim, "EngineRuntimeId">;
|
|
21
|
+
export type EngineRuntimeId = typeof EngineRuntimeId.Type;
|
|
22
|
+
export declare const ConversationId: Schema.brand<Schema.Trim, "ConversationId">;
|
|
23
|
+
export type ConversationId = typeof ConversationId.Type;
|
|
24
|
+
export declare const ActionId: Schema.brand<Schema.Trim, "ActionId">;
|
|
25
|
+
export type ActionId = typeof ActionId.Type;
|
|
26
|
+
export declare const ArtifactId: Schema.brand<Schema.Trim, "ArtifactId">;
|
|
27
|
+
export type ArtifactId = typeof ArtifactId.Type;
|
|
28
|
+
export declare const WorktreeId: Schema.brand<Schema.Trim, "WorktreeId">;
|
|
29
|
+
export type WorktreeId = typeof WorktreeId.Type;
|
|
30
|
+
export declare const ValidationResultId: Schema.brand<Schema.Trim, "ValidationResultId">;
|
|
31
|
+
export type ValidationResultId = typeof ValidationResultId.Type;
|
|
32
|
+
export declare const ReviewResultId: Schema.brand<Schema.Trim, "ReviewResultId">;
|
|
33
|
+
export type ReviewResultId = typeof ReviewResultId.Type;
|
|
34
|
+
export declare const CommandId: Schema.brand<Schema.Trim, "CommandId">;
|
|
35
|
+
export type CommandId = typeof CommandId.Type;
|
|
36
|
+
export declare const EventId: Schema.brand<Schema.Trim, "EventId">;
|
|
37
|
+
export type EventId = typeof EventId.Type;
|
|
38
|
+
export declare const MessageId: Schema.brand<Schema.Trim, "MessageId">;
|
|
39
|
+
export type MessageId = typeof MessageId.Type;
|
|
40
|
+
export declare const TurnId: Schema.brand<Schema.Trim, "TurnId">;
|
|
41
|
+
export type TurnId = typeof TurnId.Type;
|
|
42
|
+
export declare const ProviderItemId: Schema.brand<Schema.Trim, "ProviderItemId">;
|
|
43
|
+
export type ProviderItemId = typeof ProviderItemId.Type;
|
|
44
|
+
export declare const RuntimeSessionId: Schema.brand<Schema.Trim, "RuntimeSessionId">;
|
|
45
|
+
export type RuntimeSessionId = typeof RuntimeSessionId.Type;
|
|
46
|
+
export declare const RuntimeItemId: Schema.brand<Schema.Trim, "RuntimeItemId">;
|
|
47
|
+
export type RuntimeItemId = typeof RuntimeItemId.Type;
|
|
48
|
+
export declare const RuntimeRequestId: Schema.brand<Schema.Trim, "RuntimeRequestId">;
|
|
49
|
+
export type RuntimeRequestId = typeof RuntimeRequestId.Type;
|
|
50
|
+
export declare const RuntimeTaskId: Schema.brand<Schema.Trim, "RuntimeTaskId">;
|
|
51
|
+
export type RuntimeTaskId = typeof RuntimeTaskId.Type;
|
|
52
|
+
export declare const ApprovalRequestId: Schema.brand<Schema.Trim, "ApprovalRequestId">;
|
|
53
|
+
export type ApprovalRequestId = typeof ApprovalRequestId.Type;
|
|
54
|
+
export declare const CheckpointRef: Schema.brand<Schema.Trim, "CheckpointRef">;
|
|
55
|
+
export type CheckpointRef = typeof CheckpointRef.Type;
|
|
56
|
+
export declare const RemoteEndpointId: Schema.brand<Schema.Trim, "RemoteEndpointId">;
|
|
57
|
+
export type RemoteEndpointId = typeof RemoteEndpointId.Type;
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const CLI_OUTPUT_VERSION: 1;
|
|
3
|
+
/** Loose envelope shape shared by every schematized command. */
|
|
4
|
+
export declare const RigCliOutputEnvelope: Schema.Struct<{
|
|
5
|
+
readonly v: Schema.Literal<1>;
|
|
6
|
+
readonly command: Schema.String;
|
|
7
|
+
readonly data: Schema.Unknown;
|
|
8
|
+
}>;
|
|
9
|
+
export type RigCliOutputEnvelope = typeof RigCliOutputEnvelope.Type;
|
|
10
|
+
/** Task summary as emitted by `rig task list|show|next` (summarizeTask). */
|
|
11
|
+
export declare const CliTaskSummary: Schema.Struct<{
|
|
12
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
13
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
14
|
+
readonly status: Schema.NullOr<Schema.String>;
|
|
15
|
+
readonly source: Schema.optional<Schema.String>;
|
|
16
|
+
readonly url: Schema.optional<Schema.String>;
|
|
17
|
+
readonly number: Schema.optional<Schema.Number>;
|
|
18
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
19
|
+
readonly assignees: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
20
|
+
readonly readiness: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Boolean]>>;
|
|
21
|
+
readonly validators: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
22
|
+
readonly raw: Schema.optional<Schema.Unknown>;
|
|
23
|
+
}>;
|
|
24
|
+
export type CliTaskSummary = typeof CliTaskSummary.Type;
|
|
25
|
+
export declare const CliTaskFilters: Schema.Struct<{
|
|
26
|
+
readonly assignee: Schema.optional<Schema.String>;
|
|
27
|
+
readonly state: Schema.optional<Schema.String>;
|
|
28
|
+
readonly status: Schema.optional<Schema.String>;
|
|
29
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
30
|
+
}>;
|
|
31
|
+
export type CliTaskFilters = typeof CliTaskFilters.Type;
|
|
32
|
+
/**
|
|
33
|
+
* Run records cross local disk state and remote server payloads, so the
|
|
34
|
+
* record itself stays an open map; identity fields are validated where the
|
|
35
|
+
* emitting command guarantees them.
|
|
36
|
+
*/
|
|
37
|
+
export declare const CliRunRecord: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
38
|
+
export type CliRunRecord = typeof CliRunRecord.Type;
|
|
39
|
+
export declare const CliInboxRecord: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
40
|
+
export type CliInboxRecord = typeof CliInboxRecord.Type;
|
|
41
|
+
export declare const CliDoctorCheck: Schema.Struct<{
|
|
42
|
+
readonly id: Schema.String;
|
|
43
|
+
readonly label: Schema.String;
|
|
44
|
+
readonly status: Schema.Literals<readonly ["pass", "warn", "fail"]>;
|
|
45
|
+
readonly detail: Schema.optional<Schema.String>;
|
|
46
|
+
readonly remediation: Schema.optional<Schema.String>;
|
|
47
|
+
}>;
|
|
48
|
+
export type CliDoctorCheck = typeof CliDoctorCheck.Type;
|
|
49
|
+
export declare const CliServerConnection: Schema.Union<readonly [Schema.Struct<{
|
|
50
|
+
readonly kind: Schema.Literal<"local">;
|
|
51
|
+
readonly mode: Schema.Literal<"auto">;
|
|
52
|
+
}>, Schema.Struct<{
|
|
53
|
+
readonly kind: Schema.Literal<"remote">;
|
|
54
|
+
readonly baseUrl: Schema.String;
|
|
55
|
+
}>]>;
|
|
56
|
+
export type CliServerConnection = typeof CliServerConnection.Type;
|
|
57
|
+
export declare const CliRepoConnectionState: Schema.Struct<{
|
|
58
|
+
readonly selected: Schema.String;
|
|
59
|
+
readonly project: Schema.optional<Schema.String>;
|
|
60
|
+
readonly linkedAt: Schema.optional<Schema.String>;
|
|
61
|
+
readonly serverProjectRoot: Schema.optional<Schema.String>;
|
|
62
|
+
}>;
|
|
63
|
+
export type CliRepoConnectionState = typeof CliRepoConnectionState.Type;
|
|
64
|
+
export declare const RigTaskListOutput: Schema.Struct<{
|
|
65
|
+
readonly v: Schema.Literal<1>;
|
|
66
|
+
readonly command: Schema.Literal<"task list">;
|
|
67
|
+
readonly data: Schema.Struct<{
|
|
68
|
+
readonly count: Schema.Number;
|
|
69
|
+
readonly filters: Schema.Struct<{
|
|
70
|
+
readonly assignee: Schema.optional<Schema.String>;
|
|
71
|
+
readonly state: Schema.optional<Schema.String>;
|
|
72
|
+
readonly status: Schema.optional<Schema.String>;
|
|
73
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
74
|
+
}>;
|
|
75
|
+
readonly raw: Schema.Boolean;
|
|
76
|
+
readonly tasks: Schema.$Array<Schema.Struct<{
|
|
77
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
78
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
79
|
+
readonly status: Schema.NullOr<Schema.String>;
|
|
80
|
+
readonly source: Schema.optional<Schema.String>;
|
|
81
|
+
readonly url: Schema.optional<Schema.String>;
|
|
82
|
+
readonly number: Schema.optional<Schema.Number>;
|
|
83
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
84
|
+
readonly assignees: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
85
|
+
readonly readiness: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Boolean]>>;
|
|
86
|
+
readonly validators: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
87
|
+
readonly raw: Schema.optional<Schema.Unknown>;
|
|
88
|
+
}>>;
|
|
89
|
+
}>;
|
|
90
|
+
}>;
|
|
91
|
+
export type RigTaskListOutput = typeof RigTaskListOutput.Type;
|
|
92
|
+
export declare const RigTaskShowOutput: Schema.Struct<{
|
|
93
|
+
readonly v: Schema.Literal<1>;
|
|
94
|
+
readonly command: Schema.Literal<"task show">;
|
|
95
|
+
readonly data: Schema.Struct<{
|
|
96
|
+
readonly task: Schema.Struct<{
|
|
97
|
+
readonly id: Schema.NullOr<Schema.String>;
|
|
98
|
+
readonly title: Schema.NullOr<Schema.String>;
|
|
99
|
+
readonly status: Schema.NullOr<Schema.String>;
|
|
100
|
+
readonly source: Schema.optional<Schema.String>;
|
|
101
|
+
readonly url: Schema.optional<Schema.String>;
|
|
102
|
+
readonly number: Schema.optional<Schema.Number>;
|
|
103
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
104
|
+
readonly assignees: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
105
|
+
readonly readiness: Schema.optional<Schema.Union<readonly [Schema.String, Schema.Boolean]>>;
|
|
106
|
+
readonly validators: Schema.optional<Schema.$Array<Schema.Unknown>>;
|
|
107
|
+
readonly raw: Schema.optional<Schema.Unknown>;
|
|
108
|
+
}>;
|
|
109
|
+
readonly raw: Schema.Boolean;
|
|
110
|
+
}>;
|
|
111
|
+
}>;
|
|
112
|
+
export type RigTaskShowOutput = typeof RigTaskShowOutput.Type;
|
|
113
|
+
export declare const RigRunListOutput: Schema.Struct<{
|
|
114
|
+
readonly v: Schema.Literal<1>;
|
|
115
|
+
readonly command: Schema.Literal<"run list">;
|
|
116
|
+
readonly data: Schema.Struct<{
|
|
117
|
+
readonly runs: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
118
|
+
readonly source: Schema.Literals<readonly ["local", "server"]>;
|
|
119
|
+
}>;
|
|
120
|
+
}>;
|
|
121
|
+
export type RigRunListOutput = typeof RigRunListOutput.Type;
|
|
122
|
+
export declare const RigRunShowOutput: Schema.Struct<{
|
|
123
|
+
readonly v: Schema.Literal<1>;
|
|
124
|
+
readonly command: Schema.Literal<"run show">;
|
|
125
|
+
readonly data: Schema.$Record<Schema.String, Schema.Unknown>;
|
|
126
|
+
}>;
|
|
127
|
+
export type RigRunShowOutput = typeof RigRunShowOutput.Type;
|
|
128
|
+
export declare const RigServerStatusOutput: Schema.Struct<{
|
|
129
|
+
readonly v: Schema.Literal<1>;
|
|
130
|
+
readonly command: Schema.Literal<"server status">;
|
|
131
|
+
readonly data: Schema.Struct<{
|
|
132
|
+
readonly selected: Schema.String;
|
|
133
|
+
readonly repo: Schema.NullOr<Schema.Struct<{
|
|
134
|
+
readonly selected: Schema.String;
|
|
135
|
+
readonly project: Schema.optional<Schema.String>;
|
|
136
|
+
readonly linkedAt: Schema.optional<Schema.String>;
|
|
137
|
+
readonly serverProjectRoot: Schema.optional<Schema.String>;
|
|
138
|
+
}>>;
|
|
139
|
+
readonly connections: Schema.$Record<Schema.String, Schema.Union<readonly [Schema.Struct<{
|
|
140
|
+
readonly kind: Schema.Literal<"local">;
|
|
141
|
+
readonly mode: Schema.Literal<"auto">;
|
|
142
|
+
}>, Schema.Struct<{
|
|
143
|
+
readonly kind: Schema.Literal<"remote">;
|
|
144
|
+
readonly baseUrl: Schema.String;
|
|
145
|
+
}>]>>;
|
|
146
|
+
}>;
|
|
147
|
+
}>;
|
|
148
|
+
export type RigServerStatusOutput = typeof RigServerStatusOutput.Type;
|
|
149
|
+
export declare const RigInboxApprovalsOutput: Schema.Struct<{
|
|
150
|
+
readonly v: Schema.Literal<1>;
|
|
151
|
+
readonly command: Schema.Literal<"inbox approvals">;
|
|
152
|
+
readonly data: Schema.Struct<{
|
|
153
|
+
readonly approvals: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
154
|
+
}>;
|
|
155
|
+
}>;
|
|
156
|
+
export type RigInboxApprovalsOutput = typeof RigInboxApprovalsOutput.Type;
|
|
157
|
+
export declare const RigInboxInputsOutput: Schema.Struct<{
|
|
158
|
+
readonly v: Schema.Literal<1>;
|
|
159
|
+
readonly command: Schema.Literal<"inbox inputs">;
|
|
160
|
+
readonly data: Schema.Struct<{
|
|
161
|
+
readonly requests: Schema.$Array<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
162
|
+
}>;
|
|
163
|
+
}>;
|
|
164
|
+
export type RigInboxInputsOutput = typeof RigInboxInputsOutput.Type;
|
|
165
|
+
export declare const RigDoctorCheckOutput: Schema.Struct<{
|
|
166
|
+
readonly v: Schema.Literal<1>;
|
|
167
|
+
readonly command: Schema.Literal<"doctor check">;
|
|
168
|
+
readonly data: Schema.Struct<{
|
|
169
|
+
readonly checks: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly id: Schema.String;
|
|
171
|
+
readonly label: Schema.String;
|
|
172
|
+
readonly status: Schema.Literals<readonly ["pass", "warn", "fail"]>;
|
|
173
|
+
readonly detail: Schema.optional<Schema.String>;
|
|
174
|
+
readonly remediation: Schema.optional<Schema.String>;
|
|
175
|
+
}>>;
|
|
176
|
+
readonly failures: Schema.Number;
|
|
177
|
+
}>;
|
|
178
|
+
}>;
|
|
179
|
+
export type RigDoctorCheckOutput = typeof RigDoctorCheckOutput.Type;
|
|
180
|
+
/** Fleet metrics computed from on-disk run journals (`rig stats`). */
|
|
181
|
+
export declare const RigStatsData: Schema.Struct<{
|
|
182
|
+
/** ISO timestamp of the window start, or null for all-time. */
|
|
183
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
184
|
+
readonly totalRuns: Schema.Number;
|
|
185
|
+
/** Run count per terminal/current status. */
|
|
186
|
+
readonly statusCounts: Schema.$Record<Schema.String, Schema.Number>;
|
|
187
|
+
readonly completedRuns: Schema.Number;
|
|
188
|
+
readonly failedRuns: Schema.Number;
|
|
189
|
+
readonly needsAttentionRuns: Schema.Number;
|
|
190
|
+
/** Rates over totalRuns; null when there are no runs in the window. */
|
|
191
|
+
readonly completionRate: Schema.NullOr<Schema.Number>;
|
|
192
|
+
readonly failureRate: Schema.NullOr<Schema.Number>;
|
|
193
|
+
readonly needsAttentionRate: Schema.NullOr<Schema.Number>;
|
|
194
|
+
/** Median createdAt -> completedAt for completed runs, in milliseconds. */
|
|
195
|
+
readonly medianCompletionMs: Schema.NullOr<Schema.Number>;
|
|
196
|
+
readonly steeringTotal: Schema.Number;
|
|
197
|
+
/** Average steering interventions per run; null when there are no runs. */
|
|
198
|
+
readonly steeringPerRun: Schema.NullOr<Schema.Number>;
|
|
199
|
+
readonly stallTotal: Schema.Number;
|
|
200
|
+
readonly approvalsRequested: Schema.Number;
|
|
201
|
+
readonly approvalsApproved: Schema.Number;
|
|
202
|
+
readonly approvalsRejected: Schema.Number;
|
|
203
|
+
readonly approvalsPending: Schema.Number;
|
|
204
|
+
}>;
|
|
205
|
+
export type RigStatsData = typeof RigStatsData.Type;
|
|
206
|
+
export declare const RigStatsOutput: Schema.Struct<{
|
|
207
|
+
readonly v: Schema.Literal<1>;
|
|
208
|
+
readonly command: Schema.Literal<"stats show">;
|
|
209
|
+
readonly data: Schema.Struct<{
|
|
210
|
+
/** ISO timestamp of the window start, or null for all-time. */
|
|
211
|
+
readonly since: Schema.NullOr<Schema.String>;
|
|
212
|
+
readonly totalRuns: Schema.Number;
|
|
213
|
+
/** Run count per terminal/current status. */
|
|
214
|
+
readonly statusCounts: Schema.$Record<Schema.String, Schema.Number>;
|
|
215
|
+
readonly completedRuns: Schema.Number;
|
|
216
|
+
readonly failedRuns: Schema.Number;
|
|
217
|
+
readonly needsAttentionRuns: Schema.Number;
|
|
218
|
+
/** Rates over totalRuns; null when there are no runs in the window. */
|
|
219
|
+
readonly completionRate: Schema.NullOr<Schema.Number>;
|
|
220
|
+
readonly failureRate: Schema.NullOr<Schema.Number>;
|
|
221
|
+
readonly needsAttentionRate: Schema.NullOr<Schema.Number>;
|
|
222
|
+
/** Median createdAt -> completedAt for completed runs, in milliseconds. */
|
|
223
|
+
readonly medianCompletionMs: Schema.NullOr<Schema.Number>;
|
|
224
|
+
readonly steeringTotal: Schema.Number;
|
|
225
|
+
/** Average steering interventions per run; null when there are no runs. */
|
|
226
|
+
readonly steeringPerRun: Schema.NullOr<Schema.Number>;
|
|
227
|
+
readonly stallTotal: Schema.Number;
|
|
228
|
+
readonly approvalsRequested: Schema.Number;
|
|
229
|
+
readonly approvalsApproved: Schema.Number;
|
|
230
|
+
readonly approvalsRejected: Schema.Number;
|
|
231
|
+
readonly approvalsPending: Schema.Number;
|
|
232
|
+
}>;
|
|
233
|
+
}>;
|
|
234
|
+
export type RigStatsOutput = typeof RigStatsOutput.Type;
|
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
import { Schema } from "effect";
|
|
2
|
+
export declare const WorkspaceIsolation: Schema.Literals<readonly ["worktree", "directory"]>;
|
|
3
|
+
export type WorkspaceIsolation = typeof WorkspaceIsolation.Type;
|
|
4
|
+
/**
|
|
5
|
+
* Git checkout strategy for agent workspaces. This is git HYGIENE (parallel
|
|
6
|
+
* runs don't trample each other), NOT a security boundary — the security
|
|
7
|
+
* boundary is `workspace.sandbox`.
|
|
8
|
+
*/
|
|
9
|
+
export declare const WorkspaceCheckout: Schema.Literals<readonly ["worktree", "directory"]>;
|
|
10
|
+
export type WorkspaceCheckout = typeof WorkspaceCheckout.Type;
|
|
11
|
+
/**
|
|
12
|
+
* Security sandbox mode for agent processes (macOS seatbelt / Linux bwrap).
|
|
13
|
+
* "enforce" (the default) refuses to run unsandboxed when no backend is
|
|
14
|
+
* available; "auto" degrades to unsandboxed with a warning; "off" opts out
|
|
15
|
+
* explicitly.
|
|
16
|
+
*/
|
|
17
|
+
export declare const WorkspaceSandbox: Schema.Literals<readonly ["enforce", "auto", "off"]>;
|
|
18
|
+
export type WorkspaceSandbox = typeof WorkspaceSandbox.Type;
|
|
19
|
+
export declare const ScopeSearchPrefix: Schema.Struct<{
|
|
20
|
+
readonly prefix: Schema.String;
|
|
21
|
+
readonly matchStartsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
22
|
+
readonly matchExact: Schema.optional<Schema.$Array<Schema.String>>;
|
|
23
|
+
}>;
|
|
24
|
+
export type ScopeSearchPrefix = typeof ScopeSearchPrefix.Type;
|
|
25
|
+
export declare const ScopeNormalizationRules: Schema.Struct<{
|
|
26
|
+
readonly stripPrefixes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
27
|
+
readonly searchPrefixes: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
28
|
+
readonly prefix: Schema.String;
|
|
29
|
+
readonly matchStartsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
30
|
+
readonly matchExact: Schema.optional<Schema.$Array<Schema.String>>;
|
|
31
|
+
}>>>;
|
|
32
|
+
}>;
|
|
33
|
+
export type ScopeNormalizationRules = typeof ScopeNormalizationRules.Type;
|
|
34
|
+
export declare const WorkspaceConfig: Schema.Struct<{
|
|
35
|
+
readonly mainRepo: Schema.String;
|
|
36
|
+
/** Canonical name for the checkout axis; `isolation` is the deprecated alias. */
|
|
37
|
+
readonly checkout: Schema.optional<Schema.Literals<readonly ["worktree", "directory"]>>;
|
|
38
|
+
/** @deprecated Renamed to `checkout` — worktrees are git hygiene, not isolation. */
|
|
39
|
+
readonly isolation: Schema.optional<Schema.Literals<readonly ["worktree", "directory"]>>;
|
|
40
|
+
readonly sandbox: Schema.optional<Schema.Literals<readonly ["enforce", "auto", "off"]>>;
|
|
41
|
+
readonly scopeNormalization: Schema.optional<Schema.Struct<{
|
|
42
|
+
readonly stripPrefixes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
43
|
+
readonly searchPrefixes: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
44
|
+
readonly prefix: Schema.String;
|
|
45
|
+
readonly matchStartsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
46
|
+
readonly matchExact: Schema.optional<Schema.$Array<Schema.String>>;
|
|
47
|
+
}>>>;
|
|
48
|
+
}>>;
|
|
49
|
+
}>;
|
|
50
|
+
export type WorkspaceConfig = typeof WorkspaceConfig.Type;
|
|
51
|
+
export declare const TaskSourceConfig: Schema.Struct<{
|
|
52
|
+
readonly kind: Schema.String;
|
|
53
|
+
readonly path: Schema.optional<Schema.String>;
|
|
54
|
+
readonly owner: Schema.optional<Schema.String>;
|
|
55
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
56
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
57
|
+
readonly state: Schema.optional<Schema.Literals<readonly ["open", "closed", "all"]>>;
|
|
58
|
+
readonly url: Schema.optional<Schema.String>;
|
|
59
|
+
readonly options: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
60
|
+
}>;
|
|
61
|
+
export type TaskSourceConfig = typeof TaskSourceConfig.Type;
|
|
62
|
+
export declare const RuntimeHarness: Schema.Literals<readonly ["pi", "claude-code", "codex"]>;
|
|
63
|
+
export type RuntimeHarness = typeof RuntimeHarness.Type;
|
|
64
|
+
export declare const RigRuntimeMode: Schema.Literals<readonly ["yolo", "approval-required"]>;
|
|
65
|
+
export type RigRuntimeMode = typeof RigRuntimeMode.Type;
|
|
66
|
+
/**
|
|
67
|
+
* Pi harness configuration. `packages` lists Pi extension packages (npm
|
|
68
|
+
* specifiers like "pi-subagents" or "pi-web-access@1.2.0", or git sources)
|
|
69
|
+
* that Rig materializes into the workspace's `.pi/settings.json`. Pi
|
|
70
|
+
* auto-installs missing packages at session start, so worker sessions on
|
|
71
|
+
* remote hosts pick them up with no extra provisioning.
|
|
72
|
+
*/
|
|
73
|
+
export declare const PiRuntimeConfig: Schema.Struct<{
|
|
74
|
+
readonly packages: Schema.optional<Schema.$Array<Schema.String>>;
|
|
75
|
+
}>;
|
|
76
|
+
export type PiRuntimeConfig = typeof PiRuntimeConfig.Type;
|
|
77
|
+
export declare const RuntimeConfig: Schema.Struct<{
|
|
78
|
+
readonly agentRoles: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
79
|
+
readonly timeouts: Schema.optional<Schema.$Record<Schema.String, Schema.Number>>;
|
|
80
|
+
readonly harness: Schema.optional<Schema.Literals<readonly ["pi", "claude-code", "codex"]>>;
|
|
81
|
+
readonly model: Schema.optional<Schema.String>;
|
|
82
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["yolo", "approval-required"]>>;
|
|
83
|
+
readonly pi: Schema.optional<Schema.Struct<{
|
|
84
|
+
readonly packages: Schema.optional<Schema.$Array<Schema.String>>;
|
|
85
|
+
}>>;
|
|
86
|
+
}>;
|
|
87
|
+
export type RuntimeConfig = typeof RuntimeConfig.Type;
|
|
88
|
+
export declare const ProjectIdentity: Schema.Struct<{
|
|
89
|
+
readonly name: Schema.String;
|
|
90
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
91
|
+
}>;
|
|
92
|
+
export type ProjectIdentity = typeof ProjectIdentity.Type;
|
|
93
|
+
export declare const PlanningConfig: Schema.Struct<{
|
|
94
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "always", "off"]>>;
|
|
95
|
+
readonly requireForLabels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
96
|
+
readonly skipForLabels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
97
|
+
}>;
|
|
98
|
+
export type PlanningConfig = typeof PlanningConfig.Type;
|
|
99
|
+
export declare const GitHubProjectStatusConfig: Schema.Struct<{
|
|
100
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
101
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
102
|
+
readonly statusFieldId: Schema.optional<Schema.String>;
|
|
103
|
+
readonly statuses: Schema.optional<Schema.Struct<{
|
|
104
|
+
readonly running: Schema.optional<Schema.String>;
|
|
105
|
+
readonly prOpen: Schema.optional<Schema.String>;
|
|
106
|
+
readonly ciFixing: Schema.optional<Schema.String>;
|
|
107
|
+
readonly merging: Schema.optional<Schema.String>;
|
|
108
|
+
readonly done: Schema.optional<Schema.String>;
|
|
109
|
+
readonly needsAttention: Schema.optional<Schema.String>;
|
|
110
|
+
}>>;
|
|
111
|
+
}>;
|
|
112
|
+
export type GitHubProjectStatusConfig = typeof GitHubProjectStatusConfig.Type;
|
|
113
|
+
export declare const GitHubConfig: Schema.Struct<{
|
|
114
|
+
readonly issueUpdates: Schema.optional<Schema.Literals<readonly ["lifecycle", "minimal", "off"]>>;
|
|
115
|
+
readonly projects: Schema.optional<Schema.Struct<{
|
|
116
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
117
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
118
|
+
readonly statusFieldId: Schema.optional<Schema.String>;
|
|
119
|
+
readonly statuses: Schema.optional<Schema.Struct<{
|
|
120
|
+
readonly running: Schema.optional<Schema.String>;
|
|
121
|
+
readonly prOpen: Schema.optional<Schema.String>;
|
|
122
|
+
readonly ciFixing: Schema.optional<Schema.String>;
|
|
123
|
+
readonly merging: Schema.optional<Schema.String>;
|
|
124
|
+
readonly done: Schema.optional<Schema.String>;
|
|
125
|
+
readonly needsAttention: Schema.optional<Schema.String>;
|
|
126
|
+
}>>;
|
|
127
|
+
}>>;
|
|
128
|
+
}>;
|
|
129
|
+
export type GitHubConfig = typeof GitHubConfig.Type;
|
|
130
|
+
export declare const AutomationConfig: Schema.Struct<{
|
|
131
|
+
readonly maxValidationAttempts: Schema.optional<Schema.Number>;
|
|
132
|
+
readonly maxPrFixIterations: Schema.optional<Schema.Number>;
|
|
133
|
+
}>;
|
|
134
|
+
export type AutomationConfig = typeof AutomationConfig.Type;
|
|
135
|
+
export declare const PullRequestConfig: Schema.Struct<{
|
|
136
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "ask", "off"]>>;
|
|
137
|
+
readonly watchChecks: Schema.optional<Schema.Boolean>;
|
|
138
|
+
readonly autoFixChecks: Schema.optional<Schema.Boolean>;
|
|
139
|
+
readonly autoFixReview: Schema.optional<Schema.Boolean>;
|
|
140
|
+
readonly pendingTimeoutMs: Schema.optional<Schema.Number>;
|
|
141
|
+
readonly pendingPollMs: Schema.optional<Schema.Number>;
|
|
142
|
+
}>;
|
|
143
|
+
export type PullRequestConfig = typeof PullRequestConfig.Type;
|
|
144
|
+
export declare const MergeConfig: Schema.Struct<{
|
|
145
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "off", "pr-ready"]>>;
|
|
146
|
+
readonly method: Schema.optional<Schema.Literals<readonly ["repo-default", "squash", "merge", "rebase"]>>;
|
|
147
|
+
readonly deleteBranch: Schema.optional<Schema.Union<readonly [Schema.Literal<"repo-default">, Schema.Boolean]>>;
|
|
148
|
+
readonly allowedFailures: Schema.optional<Schema.$Array<Schema.String>>;
|
|
149
|
+
readonly bypass: Schema.optional<Schema.Boolean>;
|
|
150
|
+
}>;
|
|
151
|
+
export type MergeConfig = typeof MergeConfig.Type;
|
|
152
|
+
export declare const IssueAnalysisConfig: Schema.Struct<{
|
|
153
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
154
|
+
readonly harness: Schema.optional<Schema.Literal<"pi">>;
|
|
155
|
+
readonly model: Schema.optional<Schema.String>;
|
|
156
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["continuous", "off"]>>;
|
|
157
|
+
}>;
|
|
158
|
+
export type IssueAnalysisConfig = typeof IssueAnalysisConfig.Type;
|
|
159
|
+
export declare const ReviewConfig: Schema.Struct<{
|
|
160
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["off", "advisory", "required"]>>;
|
|
161
|
+
readonly provider: Schema.optional<Schema.Literal<"greptile">>;
|
|
162
|
+
}>;
|
|
163
|
+
export type ReviewConfig = typeof ReviewConfig.Type;
|
|
164
|
+
export declare const RigConfig: Schema.Struct<{
|
|
165
|
+
readonly project: Schema.Struct<{
|
|
166
|
+
readonly name: Schema.String;
|
|
167
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
168
|
+
}>;
|
|
169
|
+
readonly plugins: Schema.$Array<Schema.Struct<{
|
|
170
|
+
readonly name: Schema.String;
|
|
171
|
+
readonly version: Schema.String;
|
|
172
|
+
readonly contributes: Schema.optional<Schema.Struct<{
|
|
173
|
+
readonly validators: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
174
|
+
readonly id: Schema.String;
|
|
175
|
+
readonly category: Schema.Literals<readonly ["boundary", "contract", "integration", "regression", "external", "custom"]>;
|
|
176
|
+
readonly description: Schema.optional<Schema.String>;
|
|
177
|
+
}>>>;
|
|
178
|
+
readonly hooks: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
179
|
+
readonly id: Schema.String;
|
|
180
|
+
readonly event: Schema.Literals<readonly ["PreToolUse", "PostToolUse", "UserPromptSubmit", "Stop", "SessionStart", "SessionEnd"]>;
|
|
181
|
+
readonly matcher: Schema.Union<readonly [Schema.Struct<{
|
|
182
|
+
readonly kind: Schema.Literal<"all">;
|
|
183
|
+
}>, Schema.Struct<{
|
|
184
|
+
readonly kind: Schema.Literal<"tool">;
|
|
185
|
+
readonly name: Schema.String;
|
|
186
|
+
}>, Schema.Struct<{
|
|
187
|
+
readonly kind: Schema.Literal<"glob">;
|
|
188
|
+
readonly pattern: Schema.String;
|
|
189
|
+
}>]>;
|
|
190
|
+
readonly command: Schema.optional<Schema.String>;
|
|
191
|
+
readonly description: Schema.optional<Schema.String>;
|
|
192
|
+
}>>>;
|
|
193
|
+
readonly skills: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
194
|
+
readonly id: Schema.String;
|
|
195
|
+
readonly path: Schema.String;
|
|
196
|
+
readonly description: Schema.optional<Schema.String>;
|
|
197
|
+
}>>>;
|
|
198
|
+
readonly repoSources: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
199
|
+
readonly id: Schema.String;
|
|
200
|
+
readonly url: Schema.String;
|
|
201
|
+
readonly defaultPath: Schema.optional<Schema.String>;
|
|
202
|
+
readonly description: Schema.optional<Schema.String>;
|
|
203
|
+
readonly defaultBranch: Schema.optional<Schema.String>;
|
|
204
|
+
readonly remoteEnvVar: Schema.optional<Schema.String>;
|
|
205
|
+
readonly checkoutEnvVar: Schema.optional<Schema.String>;
|
|
206
|
+
}>>>;
|
|
207
|
+
readonly agentRoles: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
208
|
+
readonly id: Schema.String;
|
|
209
|
+
readonly defaultModel: Schema.optional<Schema.String>;
|
|
210
|
+
readonly description: Schema.optional<Schema.String>;
|
|
211
|
+
}>>>;
|
|
212
|
+
readonly taskFieldSchemas: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
213
|
+
readonly id: Schema.String;
|
|
214
|
+
readonly fieldName: Schema.String;
|
|
215
|
+
readonly schemaJson: Schema.String;
|
|
216
|
+
}>>>;
|
|
217
|
+
readonly taskSources: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
218
|
+
readonly id: Schema.String;
|
|
219
|
+
readonly kind: Schema.String;
|
|
220
|
+
readonly description: Schema.optional<Schema.String>;
|
|
221
|
+
}>>>;
|
|
222
|
+
readonly cliCommands: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
223
|
+
readonly id: Schema.String;
|
|
224
|
+
readonly command: Schema.String;
|
|
225
|
+
readonly description: Schema.optional<Schema.String>;
|
|
226
|
+
}>>>;
|
|
227
|
+
}>>;
|
|
228
|
+
}>>;
|
|
229
|
+
readonly taskSource: Schema.Struct<{
|
|
230
|
+
readonly kind: Schema.String;
|
|
231
|
+
readonly path: Schema.optional<Schema.String>;
|
|
232
|
+
readonly owner: Schema.optional<Schema.String>;
|
|
233
|
+
readonly repo: Schema.optional<Schema.String>;
|
|
234
|
+
readonly labels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
235
|
+
readonly state: Schema.optional<Schema.Literals<readonly ["open", "closed", "all"]>>;
|
|
236
|
+
readonly url: Schema.optional<Schema.String>;
|
|
237
|
+
readonly options: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
238
|
+
}>;
|
|
239
|
+
readonly workspace: Schema.Struct<{
|
|
240
|
+
readonly mainRepo: Schema.String;
|
|
241
|
+
/** Canonical name for the checkout axis; `isolation` is the deprecated alias. */
|
|
242
|
+
readonly checkout: Schema.optional<Schema.Literals<readonly ["worktree", "directory"]>>;
|
|
243
|
+
/** @deprecated Renamed to `checkout` — worktrees are git hygiene, not isolation. */
|
|
244
|
+
readonly isolation: Schema.optional<Schema.Literals<readonly ["worktree", "directory"]>>;
|
|
245
|
+
readonly sandbox: Schema.optional<Schema.Literals<readonly ["enforce", "auto", "off"]>>;
|
|
246
|
+
readonly scopeNormalization: Schema.optional<Schema.Struct<{
|
|
247
|
+
readonly stripPrefixes: Schema.optional<Schema.$Array<Schema.String>>;
|
|
248
|
+
readonly searchPrefixes: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
249
|
+
readonly prefix: Schema.String;
|
|
250
|
+
readonly matchStartsWith: Schema.optional<Schema.$Array<Schema.String>>;
|
|
251
|
+
readonly matchExact: Schema.optional<Schema.$Array<Schema.String>>;
|
|
252
|
+
}>>>;
|
|
253
|
+
}>>;
|
|
254
|
+
}>;
|
|
255
|
+
readonly runtime: Schema.optional<Schema.Struct<{
|
|
256
|
+
readonly agentRoles: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
|
|
257
|
+
readonly timeouts: Schema.optional<Schema.$Record<Schema.String, Schema.Number>>;
|
|
258
|
+
readonly harness: Schema.optional<Schema.Literals<readonly ["pi", "claude-code", "codex"]>>;
|
|
259
|
+
readonly model: Schema.optional<Schema.String>;
|
|
260
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["yolo", "approval-required"]>>;
|
|
261
|
+
readonly pi: Schema.optional<Schema.Struct<{
|
|
262
|
+
readonly packages: Schema.optional<Schema.$Array<Schema.String>>;
|
|
263
|
+
}>>;
|
|
264
|
+
}>>;
|
|
265
|
+
readonly planning: Schema.optional<Schema.Struct<{
|
|
266
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "always", "off"]>>;
|
|
267
|
+
readonly requireForLabels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
268
|
+
readonly skipForLabels: Schema.optional<Schema.$Array<Schema.String>>;
|
|
269
|
+
}>>;
|
|
270
|
+
readonly github: Schema.optional<Schema.Struct<{
|
|
271
|
+
readonly issueUpdates: Schema.optional<Schema.Literals<readonly ["lifecycle", "minimal", "off"]>>;
|
|
272
|
+
readonly projects: Schema.optional<Schema.Struct<{
|
|
273
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
274
|
+
readonly projectId: Schema.optional<Schema.String>;
|
|
275
|
+
readonly statusFieldId: Schema.optional<Schema.String>;
|
|
276
|
+
readonly statuses: Schema.optional<Schema.Struct<{
|
|
277
|
+
readonly running: Schema.optional<Schema.String>;
|
|
278
|
+
readonly prOpen: Schema.optional<Schema.String>;
|
|
279
|
+
readonly ciFixing: Schema.optional<Schema.String>;
|
|
280
|
+
readonly merging: Schema.optional<Schema.String>;
|
|
281
|
+
readonly done: Schema.optional<Schema.String>;
|
|
282
|
+
readonly needsAttention: Schema.optional<Schema.String>;
|
|
283
|
+
}>>;
|
|
284
|
+
}>>;
|
|
285
|
+
}>>;
|
|
286
|
+
readonly automation: Schema.optional<Schema.Struct<{
|
|
287
|
+
readonly maxValidationAttempts: Schema.optional<Schema.Number>;
|
|
288
|
+
readonly maxPrFixIterations: Schema.optional<Schema.Number>;
|
|
289
|
+
}>>;
|
|
290
|
+
readonly pr: Schema.optional<Schema.Struct<{
|
|
291
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "ask", "off"]>>;
|
|
292
|
+
readonly watchChecks: Schema.optional<Schema.Boolean>;
|
|
293
|
+
readonly autoFixChecks: Schema.optional<Schema.Boolean>;
|
|
294
|
+
readonly autoFixReview: Schema.optional<Schema.Boolean>;
|
|
295
|
+
readonly pendingTimeoutMs: Schema.optional<Schema.Number>;
|
|
296
|
+
readonly pendingPollMs: Schema.optional<Schema.Number>;
|
|
297
|
+
}>>;
|
|
298
|
+
readonly merge: Schema.optional<Schema.Struct<{
|
|
299
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["auto", "off", "pr-ready"]>>;
|
|
300
|
+
readonly method: Schema.optional<Schema.Literals<readonly ["repo-default", "squash", "merge", "rebase"]>>;
|
|
301
|
+
readonly deleteBranch: Schema.optional<Schema.Union<readonly [Schema.Literal<"repo-default">, Schema.Boolean]>>;
|
|
302
|
+
readonly allowedFailures: Schema.optional<Schema.$Array<Schema.String>>;
|
|
303
|
+
readonly bypass: Schema.optional<Schema.Boolean>;
|
|
304
|
+
}>>;
|
|
305
|
+
readonly review: Schema.optional<Schema.Struct<{
|
|
306
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["off", "advisory", "required"]>>;
|
|
307
|
+
readonly provider: Schema.optional<Schema.Literal<"greptile">>;
|
|
308
|
+
}>>;
|
|
309
|
+
readonly issueAnalysis: Schema.optional<Schema.Struct<{
|
|
310
|
+
readonly enabled: Schema.optional<Schema.Boolean>;
|
|
311
|
+
readonly harness: Schema.optional<Schema.Literal<"pi">>;
|
|
312
|
+
readonly model: Schema.optional<Schema.String>;
|
|
313
|
+
readonly mode: Schema.optional<Schema.Literals<readonly ["continuous", "off"]>>;
|
|
314
|
+
}>>;
|
|
315
|
+
}>;
|
|
316
|
+
export type RigConfig = typeof RigConfig.Type;
|