@scarn/sdk 0.8.8 → 0.8.10
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/{chunk-r01fsz58.js → chunk-1yb2h6t9.js} +1 -1
- package/dist/{chunk-npy0jxfg.js → chunk-aqsa0bpk.js} +1 -1
- package/dist/{chunk-vmdn05vj.js → chunk-c3xzrd3w.js} +28 -1
- package/dist/{chunk-y2s9kpfp.js → chunk-d4e1kz6h.js} +16 -5
- package/dist/{chunk-qy3508g1.js → chunk-nxsa7ksc.js} +1 -1
- package/dist/{chunk-ejzfdm1z.js → chunk-xzx08r6y.js} +20 -7
- package/dist/{chunk-738k8p1c.js → chunk-zjp1c7ye.js} +8 -1
- package/dist/client.js +2 -2
- package/dist/contracts/automation-document/schema.d.ts +1 -1
- package/dist/defaults/index.js +2 -2
- package/dist/definitions/automations/automations-client.d.ts +13 -13
- package/dist/definitions/automations/index.js +2 -2
- package/dist/definitions/pipelines/index.js +2 -2
- package/dist/definitions/pipelines/pipeline-definitions-client.d.ts +10 -10
- package/dist/definitions/steps/index.js +3 -3
- package/dist/definitions/steps/repo.d.ts +15 -4
- package/dist/definitions/steps/step-definitions-client.d.ts +120 -114
- package/dist/definitions/validation/index.js +2 -2
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +10 -2
- package/dist/generated/types.gen.d.ts +1832 -1541
- package/dist/health-checks.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/push/index.js +6 -6
- package/dist/repo-config.d.ts +37 -2
- package/dist/repo-config.js +3 -1
- package/dist/task-plane-client.d.ts +209 -100
- package/package.json +1 -1
|
@@ -13,64 +13,64 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
13
13
|
projectId: string;
|
|
14
14
|
key: string;
|
|
15
15
|
name: string;
|
|
16
|
-
description: string |
|
|
17
|
-
prompt: string |
|
|
16
|
+
description: string | null;
|
|
17
|
+
prompt: string | null;
|
|
18
18
|
version: number;
|
|
19
19
|
kind: "built_in" | "user_defined" | "code";
|
|
20
20
|
entrypointJson: {
|
|
21
21
|
sourceFile: string;
|
|
22
|
-
} |
|
|
22
|
+
} | null;
|
|
23
23
|
executionMode: "workspace" | "no_workspace";
|
|
24
24
|
inputSchemaJson: {
|
|
25
25
|
[key: string]: unknown;
|
|
26
26
|
};
|
|
27
27
|
resultSchemaJson: {
|
|
28
28
|
[key: string]: unknown;
|
|
29
|
-
} |
|
|
29
|
+
} | null;
|
|
30
30
|
errors: Array<string>;
|
|
31
31
|
retry: Array<{
|
|
32
32
|
on: Array<string>;
|
|
33
33
|
maxAttempts: number;
|
|
34
34
|
}>;
|
|
35
35
|
grants: Array<{
|
|
36
|
-
resource:
|
|
37
|
-
action:
|
|
36
|
+
resource: "workItem";
|
|
37
|
+
action: "read";
|
|
38
38
|
scope: "self" | "children" | "project";
|
|
39
39
|
} | {
|
|
40
|
-
resource:
|
|
41
|
-
action:
|
|
40
|
+
resource: "workItem";
|
|
41
|
+
action: "update";
|
|
42
42
|
scope: "self" | "children";
|
|
43
43
|
} | {
|
|
44
|
-
resource:
|
|
45
|
-
action:
|
|
44
|
+
resource: "workItem";
|
|
45
|
+
action: "comment";
|
|
46
46
|
scope: "self" | "children";
|
|
47
47
|
} | {
|
|
48
|
-
resource:
|
|
49
|
-
action:
|
|
48
|
+
resource: "workItem";
|
|
49
|
+
action: "label";
|
|
50
50
|
scope: "self" | "children";
|
|
51
51
|
labels: Array<string>;
|
|
52
52
|
} | {
|
|
53
|
-
resource:
|
|
54
|
-
action:
|
|
53
|
+
resource: "workItem";
|
|
54
|
+
action: "block";
|
|
55
55
|
scope: "self" | "children";
|
|
56
56
|
} | {
|
|
57
|
-
resource:
|
|
58
|
-
action:
|
|
57
|
+
resource: "workItem";
|
|
58
|
+
action: "close";
|
|
59
59
|
scope: "self" | "children";
|
|
60
60
|
} | {
|
|
61
|
-
resource:
|
|
62
|
-
action:
|
|
63
|
-
scope:
|
|
61
|
+
resource: "workItem";
|
|
62
|
+
action: "create";
|
|
63
|
+
scope: "children";
|
|
64
64
|
labels: Array<string>;
|
|
65
65
|
}>;
|
|
66
|
-
maxTurns: number |
|
|
66
|
+
maxTurns: number | null;
|
|
67
67
|
concurrency: {
|
|
68
68
|
max: number;
|
|
69
69
|
waiting: number;
|
|
70
|
-
} |
|
|
70
|
+
} | null;
|
|
71
71
|
opencodeMcpJson: {
|
|
72
72
|
[key: string]: {
|
|
73
|
-
type:
|
|
73
|
+
type: "local";
|
|
74
74
|
command: Array<string>;
|
|
75
75
|
cwd?: string;
|
|
76
76
|
environment?: {
|
|
@@ -85,7 +85,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
85
85
|
};
|
|
86
86
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
87
87
|
} | {
|
|
88
|
-
type:
|
|
88
|
+
type: "remote";
|
|
89
89
|
url: string;
|
|
90
90
|
headers?: {
|
|
91
91
|
[key: string]: string;
|
|
@@ -97,7 +97,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
97
97
|
callback_port?: number;
|
|
98
98
|
redirect_uri?: string;
|
|
99
99
|
auth_server_metadata_url?: string;
|
|
100
|
-
} |
|
|
100
|
+
} | false;
|
|
101
101
|
disabled?: boolean;
|
|
102
102
|
codemode?: boolean;
|
|
103
103
|
timeout?: {
|
|
@@ -107,7 +107,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
107
107
|
};
|
|
108
108
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
109
109
|
} | {
|
|
110
|
-
type:
|
|
110
|
+
type: "ref";
|
|
111
111
|
name?: string;
|
|
112
112
|
disabled?: boolean;
|
|
113
113
|
codemode?: boolean;
|
|
@@ -118,13 +118,13 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
118
118
|
};
|
|
119
119
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
120
120
|
};
|
|
121
|
-
} |
|
|
121
|
+
} | null;
|
|
122
122
|
healthChecksJson: Array<{
|
|
123
123
|
name?: string;
|
|
124
124
|
severity: "required" | "warn";
|
|
125
125
|
timeoutSeconds: number;
|
|
126
126
|
serialGroup?: string;
|
|
127
|
-
kind:
|
|
127
|
+
kind: "tool";
|
|
128
128
|
tool: string;
|
|
129
129
|
mcp?: string;
|
|
130
130
|
args?: {
|
|
@@ -135,36 +135,38 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
135
135
|
severity: "required" | "warn";
|
|
136
136
|
timeoutSeconds: number;
|
|
137
137
|
serialGroup?: string;
|
|
138
|
-
kind:
|
|
138
|
+
kind: "cli";
|
|
139
139
|
command: Array<string>;
|
|
140
140
|
expectExitCode: number;
|
|
141
|
-
}> |
|
|
141
|
+
}> | null;
|
|
142
142
|
envJson: Array<{
|
|
143
143
|
name: string;
|
|
144
|
-
source:
|
|
144
|
+
source: "value";
|
|
145
145
|
value: string;
|
|
146
146
|
secret: boolean;
|
|
147
147
|
applies: "agent" | "setup" | "both";
|
|
148
148
|
} | {
|
|
149
149
|
name: string;
|
|
150
|
-
source:
|
|
150
|
+
source: "inherit";
|
|
151
151
|
from: string;
|
|
152
152
|
secret: boolean;
|
|
153
153
|
optional: boolean;
|
|
154
154
|
default?: string;
|
|
155
155
|
mcp?: string;
|
|
156
156
|
applies: "agent" | "setup" | "both";
|
|
157
|
-
}> |
|
|
158
|
-
devcontainerConfigPath: string |
|
|
159
|
-
managedRuntime: "bun1" | "node24" |
|
|
157
|
+
}> | null;
|
|
158
|
+
devcontainerConfigPath: string | null;
|
|
159
|
+
managedRuntime: "bun1" | "node24" | null;
|
|
160
160
|
repo: {
|
|
161
|
-
mode:
|
|
161
|
+
mode: "none";
|
|
162
162
|
} | {
|
|
163
|
-
mode:
|
|
163
|
+
mode: "readOnly";
|
|
164
|
+
gitCredentials: "auto" | "none";
|
|
164
165
|
} | {
|
|
165
|
-
mode:
|
|
166
|
-
message: string |
|
|
166
|
+
mode: "readWrite";
|
|
167
|
+
message: string | null;
|
|
167
168
|
onPushFailure: "fail" | "warn";
|
|
169
|
+
gitCredentials: "auto" | "none";
|
|
168
170
|
};
|
|
169
171
|
status: "draft" | "active" | "archived";
|
|
170
172
|
createdAt: string;
|
|
@@ -175,64 +177,64 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
175
177
|
projectId: string;
|
|
176
178
|
key: string;
|
|
177
179
|
name: string;
|
|
178
|
-
description: string |
|
|
179
|
-
prompt: string |
|
|
180
|
+
description: string | null;
|
|
181
|
+
prompt: string | null;
|
|
180
182
|
version: number;
|
|
181
183
|
kind: "built_in" | "user_defined" | "code";
|
|
182
184
|
entrypointJson: {
|
|
183
185
|
sourceFile: string;
|
|
184
|
-
} |
|
|
186
|
+
} | null;
|
|
185
187
|
executionMode: "workspace" | "no_workspace";
|
|
186
188
|
inputSchemaJson: {
|
|
187
189
|
[key: string]: unknown;
|
|
188
190
|
};
|
|
189
191
|
resultSchemaJson: {
|
|
190
192
|
[key: string]: unknown;
|
|
191
|
-
} |
|
|
193
|
+
} | null;
|
|
192
194
|
errors: Array<string>;
|
|
193
195
|
retry: Array<{
|
|
194
196
|
on: Array<string>;
|
|
195
197
|
maxAttempts: number;
|
|
196
198
|
}>;
|
|
197
199
|
grants: Array<{
|
|
198
|
-
resource:
|
|
199
|
-
action:
|
|
200
|
+
resource: "workItem";
|
|
201
|
+
action: "read";
|
|
200
202
|
scope: "self" | "children" | "project";
|
|
201
203
|
} | {
|
|
202
|
-
resource:
|
|
203
|
-
action:
|
|
204
|
+
resource: "workItem";
|
|
205
|
+
action: "update";
|
|
204
206
|
scope: "self" | "children";
|
|
205
207
|
} | {
|
|
206
|
-
resource:
|
|
207
|
-
action:
|
|
208
|
+
resource: "workItem";
|
|
209
|
+
action: "comment";
|
|
208
210
|
scope: "self" | "children";
|
|
209
211
|
} | {
|
|
210
|
-
resource:
|
|
211
|
-
action:
|
|
212
|
+
resource: "workItem";
|
|
213
|
+
action: "label";
|
|
212
214
|
scope: "self" | "children";
|
|
213
215
|
labels: Array<string>;
|
|
214
216
|
} | {
|
|
215
|
-
resource:
|
|
216
|
-
action:
|
|
217
|
+
resource: "workItem";
|
|
218
|
+
action: "block";
|
|
217
219
|
scope: "self" | "children";
|
|
218
220
|
} | {
|
|
219
|
-
resource:
|
|
220
|
-
action:
|
|
221
|
+
resource: "workItem";
|
|
222
|
+
action: "close";
|
|
221
223
|
scope: "self" | "children";
|
|
222
224
|
} | {
|
|
223
|
-
resource:
|
|
224
|
-
action:
|
|
225
|
-
scope:
|
|
225
|
+
resource: "workItem";
|
|
226
|
+
action: "create";
|
|
227
|
+
scope: "children";
|
|
226
228
|
labels: Array<string>;
|
|
227
229
|
}>;
|
|
228
|
-
maxTurns: number |
|
|
230
|
+
maxTurns: number | null;
|
|
229
231
|
concurrency: {
|
|
230
232
|
max: number;
|
|
231
233
|
waiting: number;
|
|
232
|
-
} |
|
|
234
|
+
} | null;
|
|
233
235
|
opencodeMcpJson: {
|
|
234
236
|
[key: string]: {
|
|
235
|
-
type:
|
|
237
|
+
type: "local";
|
|
236
238
|
command: Array<string>;
|
|
237
239
|
cwd?: string;
|
|
238
240
|
environment?: {
|
|
@@ -247,7 +249,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
247
249
|
};
|
|
248
250
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
249
251
|
} | {
|
|
250
|
-
type:
|
|
252
|
+
type: "remote";
|
|
251
253
|
url: string;
|
|
252
254
|
headers?: {
|
|
253
255
|
[key: string]: string;
|
|
@@ -259,7 +261,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
259
261
|
callback_port?: number;
|
|
260
262
|
redirect_uri?: string;
|
|
261
263
|
auth_server_metadata_url?: string;
|
|
262
|
-
} |
|
|
264
|
+
} | false;
|
|
263
265
|
disabled?: boolean;
|
|
264
266
|
codemode?: boolean;
|
|
265
267
|
timeout?: {
|
|
@@ -269,7 +271,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
269
271
|
};
|
|
270
272
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
271
273
|
} | {
|
|
272
|
-
type:
|
|
274
|
+
type: "ref";
|
|
273
275
|
name?: string;
|
|
274
276
|
disabled?: boolean;
|
|
275
277
|
codemode?: boolean;
|
|
@@ -280,13 +282,13 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
280
282
|
};
|
|
281
283
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
282
284
|
};
|
|
283
|
-
} |
|
|
285
|
+
} | null;
|
|
284
286
|
healthChecksJson: Array<{
|
|
285
287
|
name?: string;
|
|
286
288
|
severity: "required" | "warn";
|
|
287
289
|
timeoutSeconds: number;
|
|
288
290
|
serialGroup?: string;
|
|
289
|
-
kind:
|
|
291
|
+
kind: "tool";
|
|
290
292
|
tool: string;
|
|
291
293
|
mcp?: string;
|
|
292
294
|
args?: {
|
|
@@ -297,36 +299,38 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
297
299
|
severity: "required" | "warn";
|
|
298
300
|
timeoutSeconds: number;
|
|
299
301
|
serialGroup?: string;
|
|
300
|
-
kind:
|
|
302
|
+
kind: "cli";
|
|
301
303
|
command: Array<string>;
|
|
302
304
|
expectExitCode: number;
|
|
303
|
-
}> |
|
|
305
|
+
}> | null;
|
|
304
306
|
envJson: Array<{
|
|
305
307
|
name: string;
|
|
306
|
-
source:
|
|
308
|
+
source: "value";
|
|
307
309
|
value: string;
|
|
308
310
|
secret: boolean;
|
|
309
311
|
applies: "agent" | "setup" | "both";
|
|
310
312
|
} | {
|
|
311
313
|
name: string;
|
|
312
|
-
source:
|
|
314
|
+
source: "inherit";
|
|
313
315
|
from: string;
|
|
314
316
|
secret: boolean;
|
|
315
317
|
optional: boolean;
|
|
316
318
|
default?: string;
|
|
317
319
|
mcp?: string;
|
|
318
320
|
applies: "agent" | "setup" | "both";
|
|
319
|
-
}> |
|
|
320
|
-
devcontainerConfigPath: string |
|
|
321
|
-
managedRuntime: "bun1" | "node24" |
|
|
321
|
+
}> | null;
|
|
322
|
+
devcontainerConfigPath: string | null;
|
|
323
|
+
managedRuntime: "bun1" | "node24" | null;
|
|
322
324
|
repo: {
|
|
323
|
-
mode:
|
|
325
|
+
mode: "none";
|
|
324
326
|
} | {
|
|
325
|
-
mode:
|
|
327
|
+
mode: "readOnly";
|
|
328
|
+
gitCredentials: "auto" | "none";
|
|
326
329
|
} | {
|
|
327
|
-
mode:
|
|
328
|
-
message: string |
|
|
330
|
+
mode: "readWrite";
|
|
331
|
+
message: string | null;
|
|
329
332
|
onPushFailure: "fail" | "warn";
|
|
333
|
+
gitCredentials: "auto" | "none";
|
|
330
334
|
};
|
|
331
335
|
status: "draft" | "active" | "archived";
|
|
332
336
|
createdAt: string;
|
|
@@ -347,64 +351,64 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
347
351
|
projectId: string;
|
|
348
352
|
key: string;
|
|
349
353
|
name: string;
|
|
350
|
-
description: string |
|
|
351
|
-
prompt: string |
|
|
354
|
+
description: string | null;
|
|
355
|
+
prompt: string | null;
|
|
352
356
|
version: number;
|
|
353
357
|
kind: "built_in" | "user_defined" | "code";
|
|
354
358
|
entrypointJson: {
|
|
355
359
|
sourceFile: string;
|
|
356
|
-
} |
|
|
360
|
+
} | null;
|
|
357
361
|
executionMode: "workspace" | "no_workspace";
|
|
358
362
|
inputSchemaJson: {
|
|
359
363
|
[key: string]: unknown;
|
|
360
364
|
};
|
|
361
365
|
resultSchemaJson: {
|
|
362
366
|
[key: string]: unknown;
|
|
363
|
-
} |
|
|
367
|
+
} | null;
|
|
364
368
|
errors: Array<string>;
|
|
365
369
|
retry: Array<{
|
|
366
370
|
on: Array<string>;
|
|
367
371
|
maxAttempts: number;
|
|
368
372
|
}>;
|
|
369
373
|
grants: Array<{
|
|
370
|
-
resource:
|
|
371
|
-
action:
|
|
374
|
+
resource: "workItem";
|
|
375
|
+
action: "read";
|
|
372
376
|
scope: "self" | "children" | "project";
|
|
373
377
|
} | {
|
|
374
|
-
resource:
|
|
375
|
-
action:
|
|
378
|
+
resource: "workItem";
|
|
379
|
+
action: "update";
|
|
376
380
|
scope: "self" | "children";
|
|
377
381
|
} | {
|
|
378
|
-
resource:
|
|
379
|
-
action:
|
|
382
|
+
resource: "workItem";
|
|
383
|
+
action: "comment";
|
|
380
384
|
scope: "self" | "children";
|
|
381
385
|
} | {
|
|
382
|
-
resource:
|
|
383
|
-
action:
|
|
386
|
+
resource: "workItem";
|
|
387
|
+
action: "label";
|
|
384
388
|
scope: "self" | "children";
|
|
385
389
|
labels: Array<string>;
|
|
386
390
|
} | {
|
|
387
|
-
resource:
|
|
388
|
-
action:
|
|
391
|
+
resource: "workItem";
|
|
392
|
+
action: "block";
|
|
389
393
|
scope: "self" | "children";
|
|
390
394
|
} | {
|
|
391
|
-
resource:
|
|
392
|
-
action:
|
|
395
|
+
resource: "workItem";
|
|
396
|
+
action: "close";
|
|
393
397
|
scope: "self" | "children";
|
|
394
398
|
} | {
|
|
395
|
-
resource:
|
|
396
|
-
action:
|
|
397
|
-
scope:
|
|
399
|
+
resource: "workItem";
|
|
400
|
+
action: "create";
|
|
401
|
+
scope: "children";
|
|
398
402
|
labels: Array<string>;
|
|
399
403
|
}>;
|
|
400
|
-
maxTurns: number |
|
|
404
|
+
maxTurns: number | null;
|
|
401
405
|
concurrency: {
|
|
402
406
|
max: number;
|
|
403
407
|
waiting: number;
|
|
404
|
-
} |
|
|
408
|
+
} | null;
|
|
405
409
|
opencodeMcpJson: {
|
|
406
410
|
[key: string]: {
|
|
407
|
-
type:
|
|
411
|
+
type: "local";
|
|
408
412
|
command: Array<string>;
|
|
409
413
|
cwd?: string;
|
|
410
414
|
environment?: {
|
|
@@ -419,7 +423,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
419
423
|
};
|
|
420
424
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
421
425
|
} | {
|
|
422
|
-
type:
|
|
426
|
+
type: "remote";
|
|
423
427
|
url: string;
|
|
424
428
|
headers?: {
|
|
425
429
|
[key: string]: string;
|
|
@@ -431,7 +435,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
431
435
|
callback_port?: number;
|
|
432
436
|
redirect_uri?: string;
|
|
433
437
|
auth_server_metadata_url?: string;
|
|
434
|
-
} |
|
|
438
|
+
} | false;
|
|
435
439
|
disabled?: boolean;
|
|
436
440
|
codemode?: boolean;
|
|
437
441
|
timeout?: {
|
|
@@ -441,7 +445,7 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
441
445
|
};
|
|
442
446
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
443
447
|
} | {
|
|
444
|
-
type:
|
|
448
|
+
type: "ref";
|
|
445
449
|
name?: string;
|
|
446
450
|
disabled?: boolean;
|
|
447
451
|
codemode?: boolean;
|
|
@@ -452,13 +456,13 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
452
456
|
};
|
|
453
457
|
protocol?: "legacy" | "auto" | "2026-07-28";
|
|
454
458
|
};
|
|
455
|
-
} |
|
|
459
|
+
} | null;
|
|
456
460
|
healthChecksJson: Array<{
|
|
457
461
|
name?: string;
|
|
458
462
|
severity: "required" | "warn";
|
|
459
463
|
timeoutSeconds: number;
|
|
460
464
|
serialGroup?: string;
|
|
461
|
-
kind:
|
|
465
|
+
kind: "tool";
|
|
462
466
|
tool: string;
|
|
463
467
|
mcp?: string;
|
|
464
468
|
args?: {
|
|
@@ -469,36 +473,38 @@ declare const buildStepDefinitionsClient: (stepDefinitions: StepDefinitions) =>
|
|
|
469
473
|
severity: "required" | "warn";
|
|
470
474
|
timeoutSeconds: number;
|
|
471
475
|
serialGroup?: string;
|
|
472
|
-
kind:
|
|
476
|
+
kind: "cli";
|
|
473
477
|
command: Array<string>;
|
|
474
478
|
expectExitCode: number;
|
|
475
|
-
}> |
|
|
479
|
+
}> | null;
|
|
476
480
|
envJson: Array<{
|
|
477
481
|
name: string;
|
|
478
|
-
source:
|
|
482
|
+
source: "value";
|
|
479
483
|
value: string;
|
|
480
484
|
secret: boolean;
|
|
481
485
|
applies: "agent" | "setup" | "both";
|
|
482
486
|
} | {
|
|
483
487
|
name: string;
|
|
484
|
-
source:
|
|
488
|
+
source: "inherit";
|
|
485
489
|
from: string;
|
|
486
490
|
secret: boolean;
|
|
487
491
|
optional: boolean;
|
|
488
492
|
default?: string;
|
|
489
493
|
mcp?: string;
|
|
490
494
|
applies: "agent" | "setup" | "both";
|
|
491
|
-
}> |
|
|
492
|
-
devcontainerConfigPath: string |
|
|
493
|
-
managedRuntime: "bun1" | "node24" |
|
|
495
|
+
}> | null;
|
|
496
|
+
devcontainerConfigPath: string | null;
|
|
497
|
+
managedRuntime: "bun1" | "node24" | null;
|
|
494
498
|
repo: {
|
|
495
|
-
mode:
|
|
499
|
+
mode: "none";
|
|
496
500
|
} | {
|
|
497
|
-
mode:
|
|
501
|
+
mode: "readOnly";
|
|
502
|
+
gitCredentials: "auto" | "none";
|
|
498
503
|
} | {
|
|
499
|
-
mode:
|
|
500
|
-
message: string |
|
|
504
|
+
mode: "readWrite";
|
|
505
|
+
message: string | null;
|
|
501
506
|
onPushFailure: "fail" | "warn";
|
|
507
|
+
gitCredentials: "auto" | "none";
|
|
502
508
|
};
|
|
503
509
|
status: "draft" | "active" | "archived";
|
|
504
510
|
createdAt: string;
|
|
@@ -3,11 +3,11 @@ import {
|
|
|
3
3
|
assertValidDefinitionSpecs,
|
|
4
4
|
listPaths,
|
|
5
5
|
validateDefinitionSpecs
|
|
6
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-1yb2h6t9.js";
|
|
7
7
|
import"../../chunk-5zsavw98.js";
|
|
8
8
|
import"../../chunk-4ggr8af6.js";
|
|
9
9
|
import"../../chunk-k4y5qt4y.js";
|
|
10
|
-
import"../../chunk-
|
|
10
|
+
import"../../chunk-xzx08r6y.js";
|
|
11
11
|
import"../../chunk-ngy1fdcx.js";
|
|
12
12
|
import"../../chunk-y2pv8d6a.js";
|
|
13
13
|
import"../../chunk-skzxcba3.js";
|