@kya-os/contracts 1.7.21 → 1.7.23
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/agentshield-api/schemas.d.ts +198 -198
- package/dist/audit/index.d.ts +21 -21
- package/dist/config/base.d.ts +8 -0
- package/dist/consent/schemas.d.ts +112 -112
- package/dist/dashboard-config/schemas.d.ts +1771 -1771
- package/dist/delegation/schemas.d.ts +234 -234
- package/dist/deploy/schemas.d.ts +19 -19
- package/dist/handshake.d.ts +30 -30
- package/dist/molti/admin-ws.d.ts +1480 -0
- package/dist/molti/admin-ws.js +138 -0
- package/dist/molti/index.d.ts +2 -0
- package/dist/molti/index.js +19 -1
- package/dist/molti/schemas.d.ts +102 -102
- package/dist/policy/schemas.d.ts +676 -676
- package/dist/registry.d.ts +43 -43
- package/dist/reputation/credentials.d.ts +60 -60
- package/dist/tool-protection/index.d.ts +6 -6
- package/dist/verifier.d.ts +6 -6
- package/dist/well-known/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/molti/schemas.d.ts
CHANGED
|
@@ -48,18 +48,18 @@ export declare const moltiDeployConfigSchema: z.ZodObject<{
|
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
projectName: string;
|
|
50
50
|
agentName?: string | undefined;
|
|
51
|
+
agentDescription?: string | undefined;
|
|
51
52
|
agentShieldProjectId?: string | undefined;
|
|
52
53
|
agentShieldApiKey?: string | undefined;
|
|
53
|
-
|
|
54
|
-
instanceType?: "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
54
|
+
instanceType?: "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
55
55
|
enableReputation?: boolean | undefined;
|
|
56
56
|
}, {
|
|
57
57
|
projectName: string;
|
|
58
58
|
agentName?: string | undefined;
|
|
59
|
+
agentDescription?: string | undefined;
|
|
59
60
|
agentShieldProjectId?: string | undefined;
|
|
60
61
|
agentShieldApiKey?: string | undefined;
|
|
61
|
-
|
|
62
|
-
instanceType?: "basic" | "lite" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
62
|
+
instanceType?: "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
63
63
|
enableReputation?: boolean | undefined;
|
|
64
64
|
}>;
|
|
65
65
|
/**
|
|
@@ -80,14 +80,14 @@ export declare const moltiDeployRequestSchema: z.ZodObject<{
|
|
|
80
80
|
organizationId: string;
|
|
81
81
|
agentName?: string | undefined;
|
|
82
82
|
agentDescription?: string | undefined;
|
|
83
|
-
instanceType?: "
|
|
83
|
+
instanceType?: "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
84
84
|
existingProjectId?: string | undefined;
|
|
85
85
|
}, {
|
|
86
86
|
projectName: string;
|
|
87
87
|
organizationId: string;
|
|
88
88
|
agentName?: string | undefined;
|
|
89
89
|
agentDescription?: string | undefined;
|
|
90
|
-
instanceType?: "
|
|
90
|
+
instanceType?: "lite" | "basic" | "standard-1" | "standard-2" | "standard-3" | "standard-4" | undefined;
|
|
91
91
|
enableReputation?: boolean | undefined;
|
|
92
92
|
existingProjectId?: string | undefined;
|
|
93
93
|
}>;
|
|
@@ -123,16 +123,16 @@ export declare const moltiDeployStepSchema: z.ZodObject<{
|
|
|
123
123
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
124
124
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
status: "pending" | "
|
|
127
|
-
name: string;
|
|
126
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
128
127
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
128
|
+
name: string;
|
|
129
129
|
message?: string | undefined;
|
|
130
130
|
startedAt?: string | undefined;
|
|
131
131
|
completedAt?: string | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
status: "pending" | "
|
|
134
|
-
name: string;
|
|
133
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
135
134
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
135
|
+
name: string;
|
|
136
136
|
message?: string | undefined;
|
|
137
137
|
startedAt?: string | undefined;
|
|
138
138
|
completedAt?: string | undefined;
|
|
@@ -150,16 +150,16 @@ export declare const moltiDeployProgressSchema: z.ZodObject<{
|
|
|
150
150
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
151
151
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
152
152
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
status: "pending" | "
|
|
154
|
-
name: string;
|
|
153
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
155
154
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
155
|
+
name: string;
|
|
156
156
|
message?: string | undefined;
|
|
157
157
|
startedAt?: string | undefined;
|
|
158
158
|
completedAt?: string | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
status: "pending" | "
|
|
161
|
-
name: string;
|
|
160
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
162
161
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
162
|
+
name: string;
|
|
163
163
|
message?: string | undefined;
|
|
164
164
|
startedAt?: string | undefined;
|
|
165
165
|
completedAt?: string | undefined;
|
|
@@ -168,31 +168,31 @@ export declare const moltiDeployProgressSchema: z.ZodObject<{
|
|
|
168
168
|
totalSteps: z.ZodNumber;
|
|
169
169
|
overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
|
+
deploymentId: string;
|
|
171
172
|
steps: {
|
|
172
|
-
status: "pending" | "
|
|
173
|
-
name: string;
|
|
173
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
174
174
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
175
|
+
name: string;
|
|
175
176
|
message?: string | undefined;
|
|
176
177
|
startedAt?: string | undefined;
|
|
177
178
|
completedAt?: string | undefined;
|
|
178
179
|
}[];
|
|
179
180
|
currentStep: number;
|
|
180
181
|
totalSteps: number;
|
|
181
|
-
overallStatus: "pending" | "
|
|
182
|
-
deploymentId: string;
|
|
182
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
183
183
|
}, {
|
|
184
|
+
deploymentId: string;
|
|
184
185
|
steps: {
|
|
185
|
-
status: "pending" | "
|
|
186
|
-
name: string;
|
|
186
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
187
187
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
188
|
+
name: string;
|
|
188
189
|
message?: string | undefined;
|
|
189
190
|
startedAt?: string | undefined;
|
|
190
191
|
completedAt?: string | undefined;
|
|
191
192
|
}[];
|
|
192
193
|
currentStep: number;
|
|
193
194
|
totalSteps: number;
|
|
194
|
-
overallStatus: "pending" | "
|
|
195
|
-
deploymentId: string;
|
|
195
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
196
196
|
}>;
|
|
197
197
|
/**
|
|
198
198
|
* Successful deploy result schema
|
|
@@ -208,18 +208,18 @@ export declare const moltiDeployResultSchema: z.ZodObject<{
|
|
|
208
208
|
gatewayHostname: z.ZodOptional<z.ZodString>;
|
|
209
209
|
}, "strip", z.ZodTypeAny, {
|
|
210
210
|
agentDid: string;
|
|
211
|
-
projectId: string;
|
|
212
211
|
repoUrl: string;
|
|
213
212
|
repoFullName: string;
|
|
213
|
+
projectId: string;
|
|
214
214
|
projectFriendlyId: string;
|
|
215
215
|
deployButtonUrl: string;
|
|
216
216
|
ktaClaimUrl?: string | undefined;
|
|
217
217
|
gatewayHostname?: string | undefined;
|
|
218
218
|
}, {
|
|
219
219
|
agentDid: string;
|
|
220
|
-
projectId: string;
|
|
221
220
|
repoUrl: string;
|
|
222
221
|
repoFullName: string;
|
|
222
|
+
projectId: string;
|
|
223
223
|
projectFriendlyId: string;
|
|
224
224
|
deployButtonUrl: string;
|
|
225
225
|
ktaClaimUrl?: string | undefined;
|
|
@@ -239,28 +239,28 @@ export declare const moltiDeployErrorResponseSchema: z.ZodObject<{
|
|
|
239
239
|
message: z.ZodString;
|
|
240
240
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
241
241
|
}, "strip", z.ZodTypeAny, {
|
|
242
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
242
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
243
243
|
message: string;
|
|
244
244
|
details?: Record<string, unknown> | undefined;
|
|
245
245
|
}, {
|
|
246
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
246
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
247
247
|
message: string;
|
|
248
248
|
details?: Record<string, unknown> | undefined;
|
|
249
249
|
}>;
|
|
250
250
|
}, "strip", z.ZodTypeAny, {
|
|
251
|
-
success: false;
|
|
252
251
|
error: {
|
|
253
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
252
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
254
253
|
message: string;
|
|
255
254
|
details?: Record<string, unknown> | undefined;
|
|
256
255
|
};
|
|
257
|
-
}, {
|
|
258
256
|
success: false;
|
|
257
|
+
}, {
|
|
259
258
|
error: {
|
|
260
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
259
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
261
260
|
message: string;
|
|
262
261
|
details?: Record<string, unknown> | undefined;
|
|
263
262
|
};
|
|
263
|
+
success: false;
|
|
264
264
|
}>;
|
|
265
265
|
/**
|
|
266
266
|
* Molti deploy success response schema
|
|
@@ -278,18 +278,18 @@ export declare const moltiDeploySuccessResponseSchema: z.ZodObject<{
|
|
|
278
278
|
gatewayHostname: z.ZodOptional<z.ZodString>;
|
|
279
279
|
}, "strip", z.ZodTypeAny, {
|
|
280
280
|
agentDid: string;
|
|
281
|
-
projectId: string;
|
|
282
281
|
repoUrl: string;
|
|
283
282
|
repoFullName: string;
|
|
283
|
+
projectId: string;
|
|
284
284
|
projectFriendlyId: string;
|
|
285
285
|
deployButtonUrl: string;
|
|
286
286
|
ktaClaimUrl?: string | undefined;
|
|
287
287
|
gatewayHostname?: string | undefined;
|
|
288
288
|
}, {
|
|
289
289
|
agentDid: string;
|
|
290
|
-
projectId: string;
|
|
291
290
|
repoUrl: string;
|
|
292
291
|
repoFullName: string;
|
|
292
|
+
projectId: string;
|
|
293
293
|
projectFriendlyId: string;
|
|
294
294
|
deployButtonUrl: string;
|
|
295
295
|
ktaClaimUrl?: string | undefined;
|
|
@@ -299,9 +299,9 @@ export declare const moltiDeploySuccessResponseSchema: z.ZodObject<{
|
|
|
299
299
|
success: true;
|
|
300
300
|
data: {
|
|
301
301
|
agentDid: string;
|
|
302
|
-
projectId: string;
|
|
303
302
|
repoUrl: string;
|
|
304
303
|
repoFullName: string;
|
|
304
|
+
projectId: string;
|
|
305
305
|
projectFriendlyId: string;
|
|
306
306
|
deployButtonUrl: string;
|
|
307
307
|
ktaClaimUrl?: string | undefined;
|
|
@@ -311,9 +311,9 @@ export declare const moltiDeploySuccessResponseSchema: z.ZodObject<{
|
|
|
311
311
|
success: true;
|
|
312
312
|
data: {
|
|
313
313
|
agentDid: string;
|
|
314
|
-
projectId: string;
|
|
315
314
|
repoUrl: string;
|
|
316
315
|
repoFullName: string;
|
|
316
|
+
projectId: string;
|
|
317
317
|
projectFriendlyId: string;
|
|
318
318
|
deployButtonUrl: string;
|
|
319
319
|
ktaClaimUrl?: string | undefined;
|
|
@@ -336,18 +336,18 @@ export declare const moltiDeployResponseSchema: z.ZodDiscriminatedUnion<"success
|
|
|
336
336
|
gatewayHostname: z.ZodOptional<z.ZodString>;
|
|
337
337
|
}, "strip", z.ZodTypeAny, {
|
|
338
338
|
agentDid: string;
|
|
339
|
-
projectId: string;
|
|
340
339
|
repoUrl: string;
|
|
341
340
|
repoFullName: string;
|
|
341
|
+
projectId: string;
|
|
342
342
|
projectFriendlyId: string;
|
|
343
343
|
deployButtonUrl: string;
|
|
344
344
|
ktaClaimUrl?: string | undefined;
|
|
345
345
|
gatewayHostname?: string | undefined;
|
|
346
346
|
}, {
|
|
347
347
|
agentDid: string;
|
|
348
|
-
projectId: string;
|
|
349
348
|
repoUrl: string;
|
|
350
349
|
repoFullName: string;
|
|
350
|
+
projectId: string;
|
|
351
351
|
projectFriendlyId: string;
|
|
352
352
|
deployButtonUrl: string;
|
|
353
353
|
ktaClaimUrl?: string | undefined;
|
|
@@ -357,9 +357,9 @@ export declare const moltiDeployResponseSchema: z.ZodDiscriminatedUnion<"success
|
|
|
357
357
|
success: true;
|
|
358
358
|
data: {
|
|
359
359
|
agentDid: string;
|
|
360
|
-
projectId: string;
|
|
361
360
|
repoUrl: string;
|
|
362
361
|
repoFullName: string;
|
|
362
|
+
projectId: string;
|
|
363
363
|
projectFriendlyId: string;
|
|
364
364
|
deployButtonUrl: string;
|
|
365
365
|
ktaClaimUrl?: string | undefined;
|
|
@@ -369,9 +369,9 @@ export declare const moltiDeployResponseSchema: z.ZodDiscriminatedUnion<"success
|
|
|
369
369
|
success: true;
|
|
370
370
|
data: {
|
|
371
371
|
agentDid: string;
|
|
372
|
-
projectId: string;
|
|
373
372
|
repoUrl: string;
|
|
374
373
|
repoFullName: string;
|
|
374
|
+
projectId: string;
|
|
375
375
|
projectFriendlyId: string;
|
|
376
376
|
deployButtonUrl: string;
|
|
377
377
|
ktaClaimUrl?: string | undefined;
|
|
@@ -384,28 +384,28 @@ export declare const moltiDeployResponseSchema: z.ZodDiscriminatedUnion<"success
|
|
|
384
384
|
message: z.ZodString;
|
|
385
385
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
386
386
|
}, "strip", z.ZodTypeAny, {
|
|
387
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
387
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
388
388
|
message: string;
|
|
389
389
|
details?: Record<string, unknown> | undefined;
|
|
390
390
|
}, {
|
|
391
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
391
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
392
392
|
message: string;
|
|
393
393
|
details?: Record<string, unknown> | undefined;
|
|
394
394
|
}>;
|
|
395
395
|
}, "strip", z.ZodTypeAny, {
|
|
396
|
-
success: false;
|
|
397
396
|
error: {
|
|
398
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
397
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
399
398
|
message: string;
|
|
400
399
|
details?: Record<string, unknown> | undefined;
|
|
401
400
|
};
|
|
402
|
-
}, {
|
|
403
401
|
success: false;
|
|
402
|
+
}, {
|
|
404
403
|
error: {
|
|
405
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
404
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
406
405
|
message: string;
|
|
407
406
|
details?: Record<string, unknown> | undefined;
|
|
408
407
|
};
|
|
408
|
+
success: false;
|
|
409
409
|
}>]>;
|
|
410
410
|
/**
|
|
411
411
|
* Health check response schema
|
|
@@ -420,7 +420,7 @@ export declare const moltiHealthStatusSchema: z.ZodObject<{
|
|
|
420
420
|
workerUrl: z.ZodOptional<z.ZodString>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
422
|
agentDid: string;
|
|
423
|
-
containerStatus: "pending" | "
|
|
423
|
+
containerStatus: "pending" | "deploying" | "running" | "stopped" | "unhealthy" | "error";
|
|
424
424
|
gatewayRunning: boolean;
|
|
425
425
|
gatewayPort: number;
|
|
426
426
|
lastCheckedAt: string;
|
|
@@ -428,7 +428,7 @@ export declare const moltiHealthStatusSchema: z.ZodObject<{
|
|
|
428
428
|
workerUrl?: string | undefined;
|
|
429
429
|
}, {
|
|
430
430
|
agentDid: string;
|
|
431
|
-
containerStatus: "pending" | "
|
|
431
|
+
containerStatus: "pending" | "deploying" | "running" | "stopped" | "unhealthy" | "error";
|
|
432
432
|
gatewayRunning: boolean;
|
|
433
433
|
gatewayPort: number;
|
|
434
434
|
lastCheckedAt: string;
|
|
@@ -450,16 +450,16 @@ export declare const moltiSSEProgressEventSchema: z.ZodObject<{
|
|
|
450
450
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
451
451
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
452
452
|
}, "strip", z.ZodTypeAny, {
|
|
453
|
-
status: "pending" | "
|
|
454
|
-
name: string;
|
|
453
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
455
454
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
455
|
+
name: string;
|
|
456
456
|
message?: string | undefined;
|
|
457
457
|
startedAt?: string | undefined;
|
|
458
458
|
completedAt?: string | undefined;
|
|
459
459
|
}, {
|
|
460
|
-
status: "pending" | "
|
|
461
|
-
name: string;
|
|
460
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
462
461
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
462
|
+
name: string;
|
|
463
463
|
message?: string | undefined;
|
|
464
464
|
startedAt?: string | undefined;
|
|
465
465
|
completedAt?: string | undefined;
|
|
@@ -468,63 +468,63 @@ export declare const moltiSSEProgressEventSchema: z.ZodObject<{
|
|
|
468
468
|
totalSteps: z.ZodNumber;
|
|
469
469
|
overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
|
+
deploymentId: string;
|
|
471
472
|
steps: {
|
|
472
|
-
status: "pending" | "
|
|
473
|
-
name: string;
|
|
473
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
474
474
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
475
|
+
name: string;
|
|
475
476
|
message?: string | undefined;
|
|
476
477
|
startedAt?: string | undefined;
|
|
477
478
|
completedAt?: string | undefined;
|
|
478
479
|
}[];
|
|
479
480
|
currentStep: number;
|
|
480
481
|
totalSteps: number;
|
|
481
|
-
overallStatus: "pending" | "
|
|
482
|
-
deploymentId: string;
|
|
482
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
483
483
|
}, {
|
|
484
|
+
deploymentId: string;
|
|
484
485
|
steps: {
|
|
485
|
-
status: "pending" | "
|
|
486
|
-
name: string;
|
|
486
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
487
487
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
488
|
+
name: string;
|
|
488
489
|
message?: string | undefined;
|
|
489
490
|
startedAt?: string | undefined;
|
|
490
491
|
completedAt?: string | undefined;
|
|
491
492
|
}[];
|
|
492
493
|
currentStep: number;
|
|
493
494
|
totalSteps: number;
|
|
494
|
-
overallStatus: "pending" | "
|
|
495
|
-
deploymentId: string;
|
|
495
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
496
496
|
}>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
498
|
type: "progress";
|
|
499
499
|
data: {
|
|
500
|
+
deploymentId: string;
|
|
500
501
|
steps: {
|
|
501
|
-
status: "pending" | "
|
|
502
|
-
name: string;
|
|
502
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
503
503
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
504
|
+
name: string;
|
|
504
505
|
message?: string | undefined;
|
|
505
506
|
startedAt?: string | undefined;
|
|
506
507
|
completedAt?: string | undefined;
|
|
507
508
|
}[];
|
|
508
509
|
currentStep: number;
|
|
509
510
|
totalSteps: number;
|
|
510
|
-
overallStatus: "pending" | "
|
|
511
|
-
deploymentId: string;
|
|
511
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
512
512
|
};
|
|
513
513
|
}, {
|
|
514
514
|
type: "progress";
|
|
515
515
|
data: {
|
|
516
|
+
deploymentId: string;
|
|
516
517
|
steps: {
|
|
517
|
-
status: "pending" | "
|
|
518
|
-
name: string;
|
|
518
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
519
519
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
520
|
+
name: string;
|
|
520
521
|
message?: string | undefined;
|
|
521
522
|
startedAt?: string | undefined;
|
|
522
523
|
completedAt?: string | undefined;
|
|
523
524
|
}[];
|
|
524
525
|
currentStep: number;
|
|
525
526
|
totalSteps: number;
|
|
526
|
-
overallStatus: "pending" | "
|
|
527
|
-
deploymentId: string;
|
|
527
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
528
528
|
};
|
|
529
529
|
}>;
|
|
530
530
|
/**
|
|
@@ -543,18 +543,18 @@ export declare const moltiSSECompleteEventSchema: z.ZodObject<{
|
|
|
543
543
|
gatewayHostname: z.ZodOptional<z.ZodString>;
|
|
544
544
|
}, "strip", z.ZodTypeAny, {
|
|
545
545
|
agentDid: string;
|
|
546
|
-
projectId: string;
|
|
547
546
|
repoUrl: string;
|
|
548
547
|
repoFullName: string;
|
|
548
|
+
projectId: string;
|
|
549
549
|
projectFriendlyId: string;
|
|
550
550
|
deployButtonUrl: string;
|
|
551
551
|
ktaClaimUrl?: string | undefined;
|
|
552
552
|
gatewayHostname?: string | undefined;
|
|
553
553
|
}, {
|
|
554
554
|
agentDid: string;
|
|
555
|
-
projectId: string;
|
|
556
555
|
repoUrl: string;
|
|
557
556
|
repoFullName: string;
|
|
557
|
+
projectId: string;
|
|
558
558
|
projectFriendlyId: string;
|
|
559
559
|
deployButtonUrl: string;
|
|
560
560
|
ktaClaimUrl?: string | undefined;
|
|
@@ -564,9 +564,9 @@ export declare const moltiSSECompleteEventSchema: z.ZodObject<{
|
|
|
564
564
|
type: "complete";
|
|
565
565
|
data: {
|
|
566
566
|
agentDid: string;
|
|
567
|
-
projectId: string;
|
|
568
567
|
repoUrl: string;
|
|
569
568
|
repoFullName: string;
|
|
569
|
+
projectId: string;
|
|
570
570
|
projectFriendlyId: string;
|
|
571
571
|
deployButtonUrl: string;
|
|
572
572
|
ktaClaimUrl?: string | undefined;
|
|
@@ -576,9 +576,9 @@ export declare const moltiSSECompleteEventSchema: z.ZodObject<{
|
|
|
576
576
|
type: "complete";
|
|
577
577
|
data: {
|
|
578
578
|
agentDid: string;
|
|
579
|
-
projectId: string;
|
|
580
579
|
repoUrl: string;
|
|
581
580
|
repoFullName: string;
|
|
581
|
+
projectId: string;
|
|
582
582
|
projectFriendlyId: string;
|
|
583
583
|
deployButtonUrl: string;
|
|
584
584
|
ktaClaimUrl?: string | undefined;
|
|
@@ -595,25 +595,25 @@ export declare const moltiSSEErrorEventSchema: z.ZodObject<{
|
|
|
595
595
|
message: z.ZodString;
|
|
596
596
|
step: z.ZodOptional<z.ZodEnum<["github_verify", "project_create", "api_key_create", "kta_register", "scaffold", "repo_create", "commit_files", "add_secrets", "gateway_route"]>>;
|
|
597
597
|
}, "strip", z.ZodTypeAny, {
|
|
598
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
598
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
599
599
|
message: string;
|
|
600
600
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
601
601
|
}, {
|
|
602
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
602
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
603
603
|
message: string;
|
|
604
604
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
605
605
|
}>;
|
|
606
606
|
}, "strip", z.ZodTypeAny, {
|
|
607
607
|
type: "error";
|
|
608
608
|
data: {
|
|
609
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
609
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
610
610
|
message: string;
|
|
611
611
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
612
612
|
};
|
|
613
613
|
}, {
|
|
614
614
|
type: "error";
|
|
615
615
|
data: {
|
|
616
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
616
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
617
617
|
message: string;
|
|
618
618
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
619
619
|
};
|
|
@@ -656,16 +656,16 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
656
656
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
657
657
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
658
658
|
}, "strip", z.ZodTypeAny, {
|
|
659
|
-
status: "pending" | "
|
|
660
|
-
name: string;
|
|
659
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
661
660
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
661
|
+
name: string;
|
|
662
662
|
message?: string | undefined;
|
|
663
663
|
startedAt?: string | undefined;
|
|
664
664
|
completedAt?: string | undefined;
|
|
665
665
|
}, {
|
|
666
|
-
status: "pending" | "
|
|
667
|
-
name: string;
|
|
666
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
668
667
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
668
|
+
name: string;
|
|
669
669
|
message?: string | undefined;
|
|
670
670
|
startedAt?: string | undefined;
|
|
671
671
|
completedAt?: string | undefined;
|
|
@@ -674,63 +674,63 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
674
674
|
totalSteps: z.ZodNumber;
|
|
675
675
|
overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
|
|
676
676
|
}, "strip", z.ZodTypeAny, {
|
|
677
|
+
deploymentId: string;
|
|
677
678
|
steps: {
|
|
678
|
-
status: "pending" | "
|
|
679
|
-
name: string;
|
|
679
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
680
680
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
681
|
+
name: string;
|
|
681
682
|
message?: string | undefined;
|
|
682
683
|
startedAt?: string | undefined;
|
|
683
684
|
completedAt?: string | undefined;
|
|
684
685
|
}[];
|
|
685
686
|
currentStep: number;
|
|
686
687
|
totalSteps: number;
|
|
687
|
-
overallStatus: "pending" | "
|
|
688
|
-
deploymentId: string;
|
|
688
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
689
689
|
}, {
|
|
690
|
+
deploymentId: string;
|
|
690
691
|
steps: {
|
|
691
|
-
status: "pending" | "
|
|
692
|
-
name: string;
|
|
692
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
693
693
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
694
|
+
name: string;
|
|
694
695
|
message?: string | undefined;
|
|
695
696
|
startedAt?: string | undefined;
|
|
696
697
|
completedAt?: string | undefined;
|
|
697
698
|
}[];
|
|
698
699
|
currentStep: number;
|
|
699
700
|
totalSteps: number;
|
|
700
|
-
overallStatus: "pending" | "
|
|
701
|
-
deploymentId: string;
|
|
701
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
702
702
|
}>;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
704
|
type: "progress";
|
|
705
705
|
data: {
|
|
706
|
+
deploymentId: string;
|
|
706
707
|
steps: {
|
|
707
|
-
status: "pending" | "
|
|
708
|
-
name: string;
|
|
708
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
709
709
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
710
|
+
name: string;
|
|
710
711
|
message?: string | undefined;
|
|
711
712
|
startedAt?: string | undefined;
|
|
712
713
|
completedAt?: string | undefined;
|
|
713
714
|
}[];
|
|
714
715
|
currentStep: number;
|
|
715
716
|
totalSteps: number;
|
|
716
|
-
overallStatus: "pending" | "
|
|
717
|
-
deploymentId: string;
|
|
717
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
718
718
|
};
|
|
719
719
|
}, {
|
|
720
720
|
type: "progress";
|
|
721
721
|
data: {
|
|
722
|
+
deploymentId: string;
|
|
722
723
|
steps: {
|
|
723
|
-
status: "pending" | "
|
|
724
|
-
name: string;
|
|
724
|
+
status: "pending" | "in_progress" | "completed" | "failed" | "skipped";
|
|
725
725
|
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
726
|
+
name: string;
|
|
726
727
|
message?: string | undefined;
|
|
727
728
|
startedAt?: string | undefined;
|
|
728
729
|
completedAt?: string | undefined;
|
|
729
730
|
}[];
|
|
730
731
|
currentStep: number;
|
|
731
732
|
totalSteps: number;
|
|
732
|
-
overallStatus: "pending" | "
|
|
733
|
-
deploymentId: string;
|
|
733
|
+
overallStatus: "pending" | "in_progress" | "completed" | "failed";
|
|
734
734
|
};
|
|
735
735
|
}>, z.ZodObject<{
|
|
736
736
|
type: z.ZodLiteral<"complete">;
|
|
@@ -745,18 +745,18 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
745
745
|
gatewayHostname: z.ZodOptional<z.ZodString>;
|
|
746
746
|
}, "strip", z.ZodTypeAny, {
|
|
747
747
|
agentDid: string;
|
|
748
|
-
projectId: string;
|
|
749
748
|
repoUrl: string;
|
|
750
749
|
repoFullName: string;
|
|
750
|
+
projectId: string;
|
|
751
751
|
projectFriendlyId: string;
|
|
752
752
|
deployButtonUrl: string;
|
|
753
753
|
ktaClaimUrl?: string | undefined;
|
|
754
754
|
gatewayHostname?: string | undefined;
|
|
755
755
|
}, {
|
|
756
756
|
agentDid: string;
|
|
757
|
-
projectId: string;
|
|
758
757
|
repoUrl: string;
|
|
759
758
|
repoFullName: string;
|
|
759
|
+
projectId: string;
|
|
760
760
|
projectFriendlyId: string;
|
|
761
761
|
deployButtonUrl: string;
|
|
762
762
|
ktaClaimUrl?: string | undefined;
|
|
@@ -766,9 +766,9 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
766
766
|
type: "complete";
|
|
767
767
|
data: {
|
|
768
768
|
agentDid: string;
|
|
769
|
-
projectId: string;
|
|
770
769
|
repoUrl: string;
|
|
771
770
|
repoFullName: string;
|
|
771
|
+
projectId: string;
|
|
772
772
|
projectFriendlyId: string;
|
|
773
773
|
deployButtonUrl: string;
|
|
774
774
|
ktaClaimUrl?: string | undefined;
|
|
@@ -778,9 +778,9 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
778
778
|
type: "complete";
|
|
779
779
|
data: {
|
|
780
780
|
agentDid: string;
|
|
781
|
-
projectId: string;
|
|
782
781
|
repoUrl: string;
|
|
783
782
|
repoFullName: string;
|
|
783
|
+
projectId: string;
|
|
784
784
|
projectFriendlyId: string;
|
|
785
785
|
deployButtonUrl: string;
|
|
786
786
|
ktaClaimUrl?: string | undefined;
|
|
@@ -793,25 +793,25 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
793
793
|
message: z.ZodString;
|
|
794
794
|
step: z.ZodOptional<z.ZodEnum<["github_verify", "project_create", "api_key_create", "kta_register", "scaffold", "repo_create", "commit_files", "add_secrets", "gateway_route"]>>;
|
|
795
795
|
}, "strip", z.ZodTypeAny, {
|
|
796
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
796
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
797
797
|
message: string;
|
|
798
798
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
799
799
|
}, {
|
|
800
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
800
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
801
801
|
message: string;
|
|
802
802
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
803
803
|
}>;
|
|
804
804
|
}, "strip", z.ZodTypeAny, {
|
|
805
805
|
type: "error";
|
|
806
806
|
data: {
|
|
807
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
807
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
808
808
|
message: string;
|
|
809
809
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
810
810
|
};
|
|
811
811
|
}, {
|
|
812
812
|
type: "error";
|
|
813
813
|
data: {
|
|
814
|
-
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "
|
|
814
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "IDENTITY_ERROR" | "PROJECT_CREATION_ERROR" | "KTA_REGISTRATION_ERROR" | "SECRETS_ERROR" | "GATEWAY_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR";
|
|
815
815
|
message: string;
|
|
816
816
|
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
817
817
|
};
|