@kitman-sh/sdk 0.7.0 → 0.7.2
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/package.json +1 -1
- package/types/packages/live/src/rpc/runner-group.d.ts +260 -260
- package/types/packages/core/src/a2a.d.ts +0 -577
- package/types/packages/core/src/agent-capabilities.d.ts +0 -1434
- package/types/packages/core/src/agent-launch-snapshot.d.ts +0 -44
- package/types/packages/core/src/approval-queue.d.ts +0 -126
- package/types/packages/core/src/audit.d.ts +0 -52
- package/types/packages/core/src/change-delivery.d.ts +0 -39
- package/types/packages/core/src/change-request-review.d.ts +0 -146
- package/types/packages/core/src/change-request.d.ts +0 -432
- package/types/packages/core/src/connection.d.ts +0 -33
- package/types/packages/core/src/context-feedback.d.ts +0 -89
- package/types/packages/core/src/data-lifecycle.d.ts +0 -195
- package/types/packages/core/src/decision.d.ts +0 -48
- package/types/packages/core/src/delivery-operation.d.ts +0 -125
- package/types/packages/core/src/delivery-policy.d.ts +0 -174
- package/types/packages/core/src/engineering-resources.d.ts +0 -26
- package/types/packages/core/src/enterprise-code-host.d.ts +0 -18
- package/types/packages/core/src/epic-delivery.d.ts +0 -38
- package/types/packages/core/src/external-effect.d.ts +0 -313
- package/types/packages/core/src/fix-flow.d.ts +0 -149
- package/types/packages/core/src/following.d.ts +0 -59
- package/types/packages/core/src/github-delivery-fixtures.d.ts +0 -28
- package/types/packages/core/src/github-delivery.d.ts +0 -78
- package/types/packages/core/src/gitlab-delivery-fixtures.d.ts +0 -26
- package/types/packages/core/src/gitlab-delivery.d.ts +0 -76
- package/types/packages/core/src/global-search.d.ts +0 -42
- package/types/packages/core/src/id.d.ts +0 -1
- package/types/packages/core/src/integration.d.ts +0 -255
- package/types/packages/core/src/intent.d.ts +0 -260
- package/types/packages/core/src/json.d.ts +0 -10
- package/types/packages/core/src/kit-taxonomy.d.ts +0 -21
- package/types/packages/core/src/live.d.ts +0 -8309
- package/types/packages/core/src/me.d.ts +0 -31
- package/types/packages/core/src/memory.d.ts +0 -88
- package/types/packages/core/src/my-teams.d.ts +0 -1230
- package/types/packages/core/src/notification.d.ts +0 -181
- package/types/packages/core/src/observability.d.ts +0 -175
- package/types/packages/core/src/package.d.ts +0 -369
- package/types/packages/core/src/personal-development-profile.d.ts +0 -11
- package/types/packages/core/src/platform-release.d.ts +0 -60
- package/types/packages/core/src/program-credential.d.ts +0 -10
- package/types/packages/core/src/project.d.ts +0 -66
- package/types/packages/core/src/provider-safe-text.d.ts +0 -2
- package/types/packages/core/src/repo-binding.d.ts +0 -131
- package/types/packages/core/src/run-journal.d.ts +0 -28
- package/types/packages/core/src/run-launch.d.ts +0 -67
- package/types/packages/core/src/runner-eligibility.d.ts +0 -43
- package/types/packages/core/src/runner-routing.d.ts +0 -11
- package/types/packages/core/src/runner-trust.d.ts +0 -67
- package/types/packages/core/src/runner.d.ts +0 -3750
- package/types/packages/core/src/scope-directory.d.ts +0 -100
- package/types/packages/core/src/secret.d.ts +0 -37
- package/types/packages/core/src/session.d.ts +0 -90
- package/types/packages/core/src/step-brief.d.ts +0 -50
- package/types/packages/core/src/sync-kit.d.ts +0 -587
- package/types/packages/core/src/task-detail.d.ts +0 -491
- package/types/packages/core/src/task-execution-record.d.ts +0 -620
- package/types/packages/core/src/task-key.d.ts +0 -9
- package/types/packages/core/src/task.d.ts +0 -543
- package/types/packages/core/src/work-unit.d.ts +0 -740
- package/types/packages/core/src/workspace.d.ts +0 -96
|
@@ -1,620 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const TaskExecutionRecordEntryKinds: readonly ['session', 'run', 'step_attempt', 'question', 'task_thread_entry', 'artefact', 'task_action'];
|
|
3
|
-
export declare const TaskExecutionRecordStepAttempt: Schema.Struct<{
|
|
4
|
-
readonly id: Schema.String;
|
|
5
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
6
|
-
readonly runId: Schema.String;
|
|
7
|
-
readonly stepSnapshotId: Schema.optionalKey<Schema.String>;
|
|
8
|
-
readonly stepKey: Schema.String;
|
|
9
|
-
readonly sequence: Schema.Int;
|
|
10
|
-
readonly attempt: Schema.Int;
|
|
11
|
-
readonly retryOfAttemptId: Schema.optionalKey<Schema.String>;
|
|
12
|
-
readonly status: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "canceled"]>;
|
|
13
|
-
readonly inputManifest: Schema.Struct<{
|
|
14
|
-
readonly manifestVersion: Schema.Int;
|
|
15
|
-
readonly assembledAt: Schema.String;
|
|
16
|
-
readonly entries: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
17
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
18
|
-
readonly sourceId: Schema.String;
|
|
19
|
-
readonly sourceScope: Schema.Struct<{
|
|
20
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
21
|
-
readonly id: Schema.String;
|
|
22
|
-
}>;
|
|
23
|
-
readonly inclusionReason: Schema.String;
|
|
24
|
-
readonly resolvedAt: Schema.String;
|
|
25
|
-
readonly appliedToStepKey: Schema.String;
|
|
26
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
27
|
-
readonly kind: Schema.Literal<"available">;
|
|
28
|
-
readonly inspectRef: Schema.Struct<{
|
|
29
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
30
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
31
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
32
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
33
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
34
|
-
}>;
|
|
35
|
-
}>, Schema.Struct<{
|
|
36
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
37
|
-
readonly reason: Schema.String;
|
|
38
|
-
}>]>;
|
|
39
|
-
readonly sourceVersion: Schema.String;
|
|
40
|
-
}>, Schema.Struct<{
|
|
41
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
42
|
-
readonly sourceId: Schema.String;
|
|
43
|
-
readonly sourceScope: Schema.Struct<{
|
|
44
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
45
|
-
readonly id: Schema.String;
|
|
46
|
-
}>;
|
|
47
|
-
readonly inclusionReason: Schema.String;
|
|
48
|
-
readonly resolvedAt: Schema.String;
|
|
49
|
-
readonly appliedToStepKey: Schema.String;
|
|
50
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
51
|
-
readonly kind: Schema.Literal<"available">;
|
|
52
|
-
readonly inspectRef: Schema.Struct<{
|
|
53
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
54
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
55
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
56
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
57
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
58
|
-
}>;
|
|
59
|
-
}>, Schema.Struct<{
|
|
60
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
61
|
-
readonly reason: Schema.String;
|
|
62
|
-
}>]>;
|
|
63
|
-
readonly contentSha256: Schema.String;
|
|
64
|
-
}>]>>;
|
|
65
|
-
readonly budget: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>;
|
|
66
|
-
}>;
|
|
67
|
-
readonly execution: Schema.Struct<{
|
|
68
|
-
readonly agent: Schema.optionalKey<Schema.Struct<{
|
|
69
|
-
readonly id: Schema.String;
|
|
70
|
-
readonly version: Schema.optionalKey<Schema.String>;
|
|
71
|
-
}>>;
|
|
72
|
-
readonly runner: Schema.optionalKey<Schema.Struct<{
|
|
73
|
-
readonly id: Schema.String;
|
|
74
|
-
}>>;
|
|
75
|
-
readonly harness: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
76
|
-
readonly model: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
77
|
-
}>;
|
|
78
|
-
readonly output: Schema.optionalKey<Schema.Struct<{
|
|
79
|
-
readonly summary: Schema.String;
|
|
80
|
-
readonly refs: Schema.$Array<Schema.Struct<{
|
|
81
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
82
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
83
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
84
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
85
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
86
|
-
}>>;
|
|
87
|
-
readonly metadata: Schema.optionalKey<Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>>;
|
|
88
|
-
}>>;
|
|
89
|
-
readonly failureSummary: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
90
|
-
readonly reviewEvidence: Schema.$Array<Schema.Struct<{
|
|
91
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
92
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
93
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
94
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
95
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
96
|
-
}>>;
|
|
97
|
-
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
98
|
-
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
99
|
-
readonly createdAt: Schema.String;
|
|
100
|
-
readonly updatedAt: Schema.String;
|
|
101
|
-
}>;
|
|
102
|
-
export declare const TaskExecutionRecordEntry: Schema.Union<readonly [Schema.Struct<{
|
|
103
|
-
readonly id: Schema.String;
|
|
104
|
-
readonly taskId: Schema.String;
|
|
105
|
-
readonly occurredAt: Schema.String;
|
|
106
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
107
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
108
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
109
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
110
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
111
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
112
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
113
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
114
|
-
}>>;
|
|
115
|
-
readonly kind: Schema.Literal<"session">;
|
|
116
|
-
readonly session: Schema.Struct<{
|
|
117
|
-
readonly id: Schema.String;
|
|
118
|
-
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
119
|
-
readonly actorId: Schema.String;
|
|
120
|
-
readonly agentIdentityId: Schema.optionalKey<Schema.String>;
|
|
121
|
-
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"ended">]>;
|
|
122
|
-
readonly startedAt: Schema.String;
|
|
123
|
-
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
124
|
-
readonly createdAt: Schema.String;
|
|
125
|
-
readonly updatedAt: Schema.String;
|
|
126
|
-
}>;
|
|
127
|
-
}>, Schema.Struct<{
|
|
128
|
-
readonly id: Schema.String;
|
|
129
|
-
readonly taskId: Schema.String;
|
|
130
|
-
readonly occurredAt: Schema.String;
|
|
131
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
132
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
133
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
134
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
135
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
136
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
137
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
138
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
139
|
-
}>>;
|
|
140
|
-
readonly kind: Schema.Literal<"run">;
|
|
141
|
-
readonly run: Schema.Struct<{
|
|
142
|
-
readonly id: Schema.String;
|
|
143
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
144
|
-
readonly loopId: Schema.String;
|
|
145
|
-
readonly resourceVersion: Schema.Int;
|
|
146
|
-
readonly status: Schema.Literals<readonly ["pending", "running", "blocked", "completed", "failed", "canceled", "expired"]>;
|
|
147
|
-
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
148
|
-
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
149
|
-
readonly createdAt: Schema.String;
|
|
150
|
-
readonly updatedAt: Schema.String;
|
|
151
|
-
}>;
|
|
152
|
-
}>, Schema.Struct<{
|
|
153
|
-
readonly id: Schema.String;
|
|
154
|
-
readonly taskId: Schema.String;
|
|
155
|
-
readonly occurredAt: Schema.String;
|
|
156
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
157
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
158
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
159
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
160
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
161
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
162
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
163
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
164
|
-
}>>;
|
|
165
|
-
readonly kind: Schema.Literal<"step_attempt">;
|
|
166
|
-
readonly stepAttempt: Schema.Struct<{
|
|
167
|
-
readonly id: Schema.String;
|
|
168
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
169
|
-
readonly runId: Schema.String;
|
|
170
|
-
readonly stepSnapshotId: Schema.optionalKey<Schema.String>;
|
|
171
|
-
readonly stepKey: Schema.String;
|
|
172
|
-
readonly sequence: Schema.Int;
|
|
173
|
-
readonly attempt: Schema.Int;
|
|
174
|
-
readonly retryOfAttemptId: Schema.optionalKey<Schema.String>;
|
|
175
|
-
readonly status: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "canceled"]>;
|
|
176
|
-
readonly inputManifest: Schema.Struct<{
|
|
177
|
-
readonly manifestVersion: Schema.Int;
|
|
178
|
-
readonly assembledAt: Schema.String;
|
|
179
|
-
readonly entries: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
180
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
181
|
-
readonly sourceId: Schema.String;
|
|
182
|
-
readonly sourceScope: Schema.Struct<{
|
|
183
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
184
|
-
readonly id: Schema.String;
|
|
185
|
-
}>;
|
|
186
|
-
readonly inclusionReason: Schema.String;
|
|
187
|
-
readonly resolvedAt: Schema.String;
|
|
188
|
-
readonly appliedToStepKey: Schema.String;
|
|
189
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
190
|
-
readonly kind: Schema.Literal<"available">;
|
|
191
|
-
readonly inspectRef: Schema.Struct<{
|
|
192
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
193
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
194
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
195
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
196
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
197
|
-
}>;
|
|
198
|
-
}>, Schema.Struct<{
|
|
199
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
200
|
-
readonly reason: Schema.String;
|
|
201
|
-
}>]>;
|
|
202
|
-
readonly sourceVersion: Schema.String;
|
|
203
|
-
}>, Schema.Struct<{
|
|
204
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
205
|
-
readonly sourceId: Schema.String;
|
|
206
|
-
readonly sourceScope: Schema.Struct<{
|
|
207
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
208
|
-
readonly id: Schema.String;
|
|
209
|
-
}>;
|
|
210
|
-
readonly inclusionReason: Schema.String;
|
|
211
|
-
readonly resolvedAt: Schema.String;
|
|
212
|
-
readonly appliedToStepKey: Schema.String;
|
|
213
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
214
|
-
readonly kind: Schema.Literal<"available">;
|
|
215
|
-
readonly inspectRef: Schema.Struct<{
|
|
216
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
217
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
218
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
219
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
220
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
221
|
-
}>;
|
|
222
|
-
}>, Schema.Struct<{
|
|
223
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
224
|
-
readonly reason: Schema.String;
|
|
225
|
-
}>]>;
|
|
226
|
-
readonly contentSha256: Schema.String;
|
|
227
|
-
}>]>>;
|
|
228
|
-
readonly budget: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>;
|
|
229
|
-
}>;
|
|
230
|
-
readonly execution: Schema.Struct<{
|
|
231
|
-
readonly agent: Schema.optionalKey<Schema.Struct<{
|
|
232
|
-
readonly id: Schema.String;
|
|
233
|
-
readonly version: Schema.optionalKey<Schema.String>;
|
|
234
|
-
}>>;
|
|
235
|
-
readonly runner: Schema.optionalKey<Schema.Struct<{
|
|
236
|
-
readonly id: Schema.String;
|
|
237
|
-
}>>;
|
|
238
|
-
readonly harness: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
239
|
-
readonly model: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
240
|
-
}>;
|
|
241
|
-
readonly output: Schema.optionalKey<Schema.Struct<{
|
|
242
|
-
readonly summary: Schema.String;
|
|
243
|
-
readonly refs: Schema.$Array<Schema.Struct<{
|
|
244
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
245
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
246
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
247
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
248
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
249
|
-
}>>;
|
|
250
|
-
readonly metadata: Schema.optionalKey<Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>>;
|
|
251
|
-
}>>;
|
|
252
|
-
readonly failureSummary: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
253
|
-
readonly reviewEvidence: Schema.$Array<Schema.Struct<{
|
|
254
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
255
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
256
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
257
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
258
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
259
|
-
}>>;
|
|
260
|
-
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
261
|
-
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
262
|
-
readonly createdAt: Schema.String;
|
|
263
|
-
readonly updatedAt: Schema.String;
|
|
264
|
-
}>;
|
|
265
|
-
}>, Schema.Struct<{
|
|
266
|
-
readonly id: Schema.String;
|
|
267
|
-
readonly taskId: Schema.String;
|
|
268
|
-
readonly occurredAt: Schema.String;
|
|
269
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
270
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
271
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
272
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
273
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
274
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
275
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
276
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
277
|
-
}>>;
|
|
278
|
-
readonly kind: Schema.Literal<"question">;
|
|
279
|
-
readonly question: Schema.Struct<{
|
|
280
|
-
readonly id: Schema.String;
|
|
281
|
-
readonly runId: Schema.String;
|
|
282
|
-
readonly stepKey: Schema.String;
|
|
283
|
-
readonly status: Schema.Literals<readonly ["open", "answered", "resume_requested", "resumed", "resume_failed", "expired", "cancelled"]>;
|
|
284
|
-
readonly createdAt: Schema.String;
|
|
285
|
-
readonly updatedAt: Schema.String;
|
|
286
|
-
readonly resolvedAt: Schema.optionalKey<Schema.String>;
|
|
287
|
-
}>;
|
|
288
|
-
}>, Schema.Struct<{
|
|
289
|
-
readonly id: Schema.String;
|
|
290
|
-
readonly taskId: Schema.String;
|
|
291
|
-
readonly occurredAt: Schema.String;
|
|
292
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
293
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
294
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
295
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
296
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
297
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
298
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
299
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
300
|
-
}>>;
|
|
301
|
-
readonly kind: Schema.Literal<"task_thread_entry">;
|
|
302
|
-
readonly threadEntry: Schema.Struct<{
|
|
303
|
-
readonly id: Schema.String;
|
|
304
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">, Schema.Literal<"change_request_review">]>;
|
|
305
|
-
readonly createdAt: Schema.String;
|
|
306
|
-
}>;
|
|
307
|
-
}>, Schema.Struct<{
|
|
308
|
-
readonly id: Schema.String;
|
|
309
|
-
readonly taskId: Schema.String;
|
|
310
|
-
readonly occurredAt: Schema.String;
|
|
311
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
312
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
313
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
314
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
315
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
316
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
317
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
318
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
319
|
-
}>>;
|
|
320
|
-
readonly kind: Schema.Literal<"artefact">;
|
|
321
|
-
readonly artefact: Schema.Struct<{
|
|
322
|
-
readonly id: Schema.String;
|
|
323
|
-
readonly filename: Schema.String;
|
|
324
|
-
readonly contentType: Schema.String;
|
|
325
|
-
readonly byteSize: Schema.Finite;
|
|
326
|
-
readonly status: Schema.Literals<readonly ["pending", "available", "deleted"]>;
|
|
327
|
-
readonly createdAt: Schema.String;
|
|
328
|
-
readonly updatedAt: Schema.String;
|
|
329
|
-
}>;
|
|
330
|
-
}>, Schema.Struct<{
|
|
331
|
-
readonly id: Schema.String;
|
|
332
|
-
readonly taskId: Schema.String;
|
|
333
|
-
readonly occurredAt: Schema.String;
|
|
334
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
335
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
336
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
337
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
338
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
339
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
340
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
341
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
342
|
-
}>>;
|
|
343
|
-
readonly kind: Schema.Literal<"task_action">;
|
|
344
|
-
readonly taskAction: Schema.Struct<{
|
|
345
|
-
readonly id: Schema.String;
|
|
346
|
-
readonly action: Schema.String;
|
|
347
|
-
readonly actorType: Schema.String;
|
|
348
|
-
readonly actorId: Schema.String;
|
|
349
|
-
}>;
|
|
350
|
-
}>]>;
|
|
351
|
-
export declare const TaskExecutionRecord: Schema.Struct<{
|
|
352
|
-
readonly taskId: Schema.String;
|
|
353
|
-
readonly items: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
354
|
-
readonly id: Schema.String;
|
|
355
|
-
readonly taskId: Schema.String;
|
|
356
|
-
readonly occurredAt: Schema.String;
|
|
357
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
358
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
359
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
360
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
361
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
362
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
363
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
364
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
365
|
-
}>>;
|
|
366
|
-
readonly kind: Schema.Literal<"session">;
|
|
367
|
-
readonly session: Schema.Struct<{
|
|
368
|
-
readonly id: Schema.String;
|
|
369
|
-
readonly actorType: Schema.Union<readonly [Schema.Literal<"human">, Schema.Literal<"delegated_agent">, Schema.Literal<"agent">]>;
|
|
370
|
-
readonly actorId: Schema.String;
|
|
371
|
-
readonly agentIdentityId: Schema.optionalKey<Schema.String>;
|
|
372
|
-
readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"ended">]>;
|
|
373
|
-
readonly startedAt: Schema.String;
|
|
374
|
-
readonly endedAt: Schema.optionalKey<Schema.String>;
|
|
375
|
-
readonly createdAt: Schema.String;
|
|
376
|
-
readonly updatedAt: Schema.String;
|
|
377
|
-
}>;
|
|
378
|
-
}>, Schema.Struct<{
|
|
379
|
-
readonly id: Schema.String;
|
|
380
|
-
readonly taskId: Schema.String;
|
|
381
|
-
readonly occurredAt: Schema.String;
|
|
382
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
383
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
384
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
385
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
386
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
387
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
388
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
389
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
390
|
-
}>>;
|
|
391
|
-
readonly kind: Schema.Literal<"run">;
|
|
392
|
-
readonly run: Schema.Struct<{
|
|
393
|
-
readonly id: Schema.String;
|
|
394
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
395
|
-
readonly loopId: Schema.String;
|
|
396
|
-
readonly resourceVersion: Schema.Int;
|
|
397
|
-
readonly status: Schema.Literals<readonly ["pending", "running", "blocked", "completed", "failed", "canceled", "expired"]>;
|
|
398
|
-
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
399
|
-
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
400
|
-
readonly createdAt: Schema.String;
|
|
401
|
-
readonly updatedAt: Schema.String;
|
|
402
|
-
}>;
|
|
403
|
-
}>, Schema.Struct<{
|
|
404
|
-
readonly id: Schema.String;
|
|
405
|
-
readonly taskId: Schema.String;
|
|
406
|
-
readonly occurredAt: Schema.String;
|
|
407
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
408
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
409
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
410
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
411
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
412
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
413
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
414
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
415
|
-
}>>;
|
|
416
|
-
readonly kind: Schema.Literal<"step_attempt">;
|
|
417
|
-
readonly stepAttempt: Schema.Struct<{
|
|
418
|
-
readonly id: Schema.String;
|
|
419
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
420
|
-
readonly runId: Schema.String;
|
|
421
|
-
readonly stepSnapshotId: Schema.optionalKey<Schema.String>;
|
|
422
|
-
readonly stepKey: Schema.String;
|
|
423
|
-
readonly sequence: Schema.Int;
|
|
424
|
-
readonly attempt: Schema.Int;
|
|
425
|
-
readonly retryOfAttemptId: Schema.optionalKey<Schema.String>;
|
|
426
|
-
readonly status: Schema.Literals<readonly ["pending", "running", "waiting", "blocked", "completed", "failed", "canceled"]>;
|
|
427
|
-
readonly inputManifest: Schema.Struct<{
|
|
428
|
-
readonly manifestVersion: Schema.Int;
|
|
429
|
-
readonly assembledAt: Schema.String;
|
|
430
|
-
readonly entries: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
|
|
431
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
432
|
-
readonly sourceId: Schema.String;
|
|
433
|
-
readonly sourceScope: Schema.Struct<{
|
|
434
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
435
|
-
readonly id: Schema.String;
|
|
436
|
-
}>;
|
|
437
|
-
readonly inclusionReason: Schema.String;
|
|
438
|
-
readonly resolvedAt: Schema.String;
|
|
439
|
-
readonly appliedToStepKey: Schema.String;
|
|
440
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
441
|
-
readonly kind: Schema.Literal<"available">;
|
|
442
|
-
readonly inspectRef: Schema.Struct<{
|
|
443
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
444
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
445
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
446
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
447
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
448
|
-
}>;
|
|
449
|
-
}>, Schema.Struct<{
|
|
450
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
451
|
-
readonly reason: Schema.String;
|
|
452
|
-
}>]>;
|
|
453
|
-
readonly sourceVersion: Schema.String;
|
|
454
|
-
}>, Schema.Struct<{
|
|
455
|
-
readonly kind: Schema.Literals<readonly ["kit", "memory", "decision", "knowledge_record", "context_pack"]>;
|
|
456
|
-
readonly sourceId: Schema.String;
|
|
457
|
-
readonly sourceScope: Schema.Struct<{
|
|
458
|
-
readonly kind: Schema.Literals<readonly ["workspace", "project", "task", "loop", "agent"]>;
|
|
459
|
-
readonly id: Schema.String;
|
|
460
|
-
}>;
|
|
461
|
-
readonly inclusionReason: Schema.String;
|
|
462
|
-
readonly resolvedAt: Schema.String;
|
|
463
|
-
readonly appliedToStepKey: Schema.String;
|
|
464
|
-
readonly availability: Schema.Union<readonly [Schema.Struct<{
|
|
465
|
-
readonly kind: Schema.Literal<"available">;
|
|
466
|
-
readonly inspectRef: Schema.Struct<{
|
|
467
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
468
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
469
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
470
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
471
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
472
|
-
}>;
|
|
473
|
-
}>, Schema.Struct<{
|
|
474
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"redacted">, Schema.Literal<"unavailable">]>;
|
|
475
|
-
readonly reason: Schema.String;
|
|
476
|
-
}>]>;
|
|
477
|
-
readonly contentSha256: Schema.String;
|
|
478
|
-
}>]>>;
|
|
479
|
-
readonly budget: Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>;
|
|
480
|
-
}>;
|
|
481
|
-
readonly execution: Schema.Struct<{
|
|
482
|
-
readonly agent: Schema.optionalKey<Schema.Struct<{
|
|
483
|
-
readonly id: Schema.String;
|
|
484
|
-
readonly version: Schema.optionalKey<Schema.String>;
|
|
485
|
-
}>>;
|
|
486
|
-
readonly runner: Schema.optionalKey<Schema.Struct<{
|
|
487
|
-
readonly id: Schema.String;
|
|
488
|
-
}>>;
|
|
489
|
-
readonly harness: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
490
|
-
readonly model: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
491
|
-
}>;
|
|
492
|
-
readonly output: Schema.optionalKey<Schema.Struct<{
|
|
493
|
-
readonly summary: Schema.String;
|
|
494
|
-
readonly refs: Schema.$Array<Schema.Struct<{
|
|
495
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
496
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
497
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
498
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
499
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
500
|
-
}>>;
|
|
501
|
-
readonly metadata: Schema.optionalKey<Schema.optionalKey<Schema.$Record<Schema.String, Schema.Codec<import("./loop").LoopStepOutputDataValue, import("./loop").LoopStepOutputDataValue, never, never>>>>;
|
|
502
|
-
}>>;
|
|
503
|
-
readonly failureSummary: Schema.optionalKey<Schema.optionalKey<Schema.String>>;
|
|
504
|
-
readonly reviewEvidence: Schema.$Array<Schema.Struct<{
|
|
505
|
-
readonly kind: Schema.Literals<readonly ["task", "kit", "memory", "decision", "knowledge_record", "context_pack", "step_attempt", "change_request", "change_request_review", "provider_action", "thread_entry", "run", "artifact"]>;
|
|
506
|
-
readonly id: Schema.optionalKey<Schema.String>;
|
|
507
|
-
readonly externalId: Schema.optionalKey<Schema.String>;
|
|
508
|
-
readonly provider: Schema.optionalKey<Schema.String>;
|
|
509
|
-
readonly title: Schema.optionalKey<Schema.String>;
|
|
510
|
-
}>>;
|
|
511
|
-
readonly startedAt: Schema.optionalKey<Schema.String>;
|
|
512
|
-
readonly completedAt: Schema.optionalKey<Schema.String>;
|
|
513
|
-
readonly createdAt: Schema.String;
|
|
514
|
-
readonly updatedAt: Schema.String;
|
|
515
|
-
}>;
|
|
516
|
-
}>, Schema.Struct<{
|
|
517
|
-
readonly id: Schema.String;
|
|
518
|
-
readonly taskId: Schema.String;
|
|
519
|
-
readonly occurredAt: Schema.String;
|
|
520
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
521
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
522
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
523
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
524
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
525
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
526
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
527
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
528
|
-
}>>;
|
|
529
|
-
readonly kind: Schema.Literal<"question">;
|
|
530
|
-
readonly question: Schema.Struct<{
|
|
531
|
-
readonly id: Schema.String;
|
|
532
|
-
readonly runId: Schema.String;
|
|
533
|
-
readonly stepKey: Schema.String;
|
|
534
|
-
readonly status: Schema.Literals<readonly ["open", "answered", "resume_requested", "resumed", "resume_failed", "expired", "cancelled"]>;
|
|
535
|
-
readonly createdAt: Schema.String;
|
|
536
|
-
readonly updatedAt: Schema.String;
|
|
537
|
-
readonly resolvedAt: Schema.optionalKey<Schema.String>;
|
|
538
|
-
}>;
|
|
539
|
-
}>, Schema.Struct<{
|
|
540
|
-
readonly id: Schema.String;
|
|
541
|
-
readonly taskId: Schema.String;
|
|
542
|
-
readonly occurredAt: Schema.String;
|
|
543
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
544
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
545
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
546
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
547
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
548
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
549
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
550
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
551
|
-
}>>;
|
|
552
|
-
readonly kind: Schema.Literal<"task_thread_entry">;
|
|
553
|
-
readonly threadEntry: Schema.Struct<{
|
|
554
|
-
readonly id: Schema.String;
|
|
555
|
-
readonly kind: Schema.Union<readonly [Schema.Literal<"note">, Schema.Literal<"question">, Schema.Literal<"answer">, Schema.Literal<"decision">, Schema.Literal<"blocker">, Schema.Literal<"finding">, Schema.Literal<"handoff">, Schema.Literal<"test_result">, Schema.Literal<"file_reference">, Schema.Literal<"status_change">, Schema.Literal<"assignment_change">, Schema.Literal<"link">, Schema.Literal<"change_request_review">]>;
|
|
556
|
-
readonly createdAt: Schema.String;
|
|
557
|
-
}>;
|
|
558
|
-
}>, Schema.Struct<{
|
|
559
|
-
readonly id: Schema.String;
|
|
560
|
-
readonly taskId: Schema.String;
|
|
561
|
-
readonly occurredAt: Schema.String;
|
|
562
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
563
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
564
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
565
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
566
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
567
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
568
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
569
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
570
|
-
}>>;
|
|
571
|
-
readonly kind: Schema.Literal<"artefact">;
|
|
572
|
-
readonly artefact: Schema.Struct<{
|
|
573
|
-
readonly id: Schema.String;
|
|
574
|
-
readonly filename: Schema.String;
|
|
575
|
-
readonly contentType: Schema.String;
|
|
576
|
-
readonly byteSize: Schema.Finite;
|
|
577
|
-
readonly status: Schema.Literals<readonly ["pending", "available", "deleted"]>;
|
|
578
|
-
readonly createdAt: Schema.String;
|
|
579
|
-
readonly updatedAt: Schema.String;
|
|
580
|
-
}>;
|
|
581
|
-
}>, Schema.Struct<{
|
|
582
|
-
readonly id: Schema.String;
|
|
583
|
-
readonly taskId: Schema.String;
|
|
584
|
-
readonly occurredAt: Schema.String;
|
|
585
|
-
readonly links: Schema.optionalKey<Schema.Struct<{
|
|
586
|
-
readonly sessionId: Schema.optionalKey<Schema.String>;
|
|
587
|
-
readonly runId: Schema.optionalKey<Schema.String>;
|
|
588
|
-
readonly stepAttemptId: Schema.optionalKey<Schema.String>;
|
|
589
|
-
readonly questionId: Schema.optionalKey<Schema.String>;
|
|
590
|
-
readonly taskThreadEntryId: Schema.optionalKey<Schema.String>;
|
|
591
|
-
readonly artefactId: Schema.optionalKey<Schema.String>;
|
|
592
|
-
readonly taskActionId: Schema.optionalKey<Schema.String>;
|
|
593
|
-
}>>;
|
|
594
|
-
readonly kind: Schema.Literal<"task_action">;
|
|
595
|
-
readonly taskAction: Schema.Struct<{
|
|
596
|
-
readonly id: Schema.String;
|
|
597
|
-
readonly action: Schema.String;
|
|
598
|
-
readonly actorType: Schema.String;
|
|
599
|
-
readonly actorId: Schema.String;
|
|
600
|
-
}>;
|
|
601
|
-
}>]>>;
|
|
602
|
-
readonly pageInfo: Schema.Struct<{
|
|
603
|
-
readonly limit: Schema.Int;
|
|
604
|
-
readonly hasNextPage: Schema.Boolean;
|
|
605
|
-
readonly nextCursor: Schema.optionalKey<Schema.String>;
|
|
606
|
-
}>;
|
|
607
|
-
readonly freshness: Schema.Struct<{
|
|
608
|
-
readonly generatedAt: Schema.String;
|
|
609
|
-
readonly isComplete: Schema.Boolean;
|
|
610
|
-
readonly redactedEntryCount: Schema.Int;
|
|
611
|
-
}>;
|
|
612
|
-
}>;
|
|
613
|
-
export declare const TaskExecutionRecordQuery: Schema.Struct<{
|
|
614
|
-
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.FiniteFromString]>>;
|
|
615
|
-
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
616
|
-
}>;
|
|
617
|
-
export type TaskExecutionRecordStepAttempt = (typeof TaskExecutionRecordStepAttempt)['Type'];
|
|
618
|
-
export type TaskExecutionRecordEntry = (typeof TaskExecutionRecordEntry)['Type'];
|
|
619
|
-
export type TaskExecutionRecord = (typeof TaskExecutionRecord)['Type'];
|
|
620
|
-
export type TaskExecutionRecordQuery = (typeof TaskExecutionRecordQuery)['Type'];
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const DefaultStandardBranchTemplate = "feature/{taskKey}";
|
|
3
|
-
export declare const DefaultEpicBranchTemplate = "feature/{epicTaskKey}";
|
|
4
|
-
export declare const DefaultIsolatedChildBranchTemplate = "feature/{epicTaskKey}/{taskKey}";
|
|
5
|
-
export declare const TaskKey: Schema.String;
|
|
6
|
-
type BranchTemplateKind = 'standard' | 'epic' | 'isolated_child';
|
|
7
|
-
export type TaskKey = (typeof TaskKey)['Type'];
|
|
8
|
-
export declare function validateBranchTemplate(template: string, kind: BranchTemplateKind): boolean;
|
|
9
|
-
export {};
|