@kya-os/contracts 1.7.26 → 1.7.32
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/agent-deployment-utils.d.ts +20 -0
- package/dist/agent-deployment-utils.js +37 -0
- package/dist/agent-deployment.d.ts +19 -19
- package/dist/agent-deployment.js +2 -1
- package/dist/agentshield-api/admin-schemas.d.ts +2 -2
- package/dist/agentshield-api/schemas.d.ts +462 -462
- package/dist/audit/index.d.ts +24 -24
- package/dist/cli.d.ts +44 -44
- package/dist/compute-binding.d.ts +6 -6
- package/dist/compute.d.ts +27 -8
- package/dist/compute.js +6 -0
- package/dist/config/identity.d.ts +98 -98
- package/dist/consent/schemas.d.ts +72 -72
- package/dist/dashboard-config/schemas.d.ts +2191 -2191
- package/dist/delegation/constraints.d.ts +32 -32
- package/dist/delegation/schemas.d.ts +610 -610
- package/dist/deploy/schemas.d.ts +84 -84
- package/dist/gateway/index.d.ts +579 -0
- package/dist/gateway/index.js +103 -0
- package/dist/handshake.d.ts +42 -42
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -0
- package/dist/molti/admin-ws.d.ts +116 -116
- package/dist/molti/schemas.d.ts +98 -98
- package/dist/openclaw/index.d.ts +20 -0
- package/dist/openclaw/index.js +28 -0
- package/dist/openclaw/types.d.ts +714 -0
- package/dist/openclaw/types.js +122 -0
- package/dist/pairing/index.d.ts +44 -0
- package/dist/pairing/index.js +11 -0
- package/dist/policy/schemas.d.ts +553 -553
- package/dist/proof/proof-record.d.ts +48 -48
- package/dist/proof/signing-spec.d.ts +8 -8
- package/dist/proof.d.ts +68 -68
- package/dist/registry.d.ts +24 -24
- package/dist/reputation/api.d.ts +156 -156
- package/dist/reputation/credentials.d.ts +48 -48
- package/dist/reputation/schemas.d.ts +48 -48
- package/dist/test.d.ts +22 -22
- package/dist/tlkrc/rotation.d.ts +12 -12
- package/dist/tool-protection/index.d.ts +22 -22
- package/dist/verifier.d.ts +17 -17
- package/dist/well-known/index.d.ts +72 -72
- package/package.json +10 -2
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
|
}>;
|
|
@@ -98,11 +98,11 @@ export declare const moltiDeployStartResponseSchema: z.ZodObject<{
|
|
|
98
98
|
success: z.ZodLiteral<true>;
|
|
99
99
|
deploymentId: z.ZodString;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
deploymentId: string;
|
|
102
101
|
success: true;
|
|
103
|
-
}, {
|
|
104
102
|
deploymentId: string;
|
|
103
|
+
}, {
|
|
105
104
|
success: true;
|
|
105
|
+
deploymentId: string;
|
|
106
106
|
}>;
|
|
107
107
|
/**
|
|
108
108
|
* Deploy step ID schema
|
|
@@ -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: "
|
|
126
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
127
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
127
128
|
name: string;
|
|
128
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
129
129
|
message?: string | undefined;
|
|
130
130
|
startedAt?: string | undefined;
|
|
131
131
|
completedAt?: string | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
status: "
|
|
133
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
134
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
134
135
|
name: string;
|
|
135
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
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: "
|
|
153
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
154
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
154
155
|
name: string;
|
|
155
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
156
156
|
message?: string | undefined;
|
|
157
157
|
startedAt?: string | undefined;
|
|
158
158
|
completedAt?: string | undefined;
|
|
159
159
|
}, {
|
|
160
|
-
status: "
|
|
160
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
161
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
161
162
|
name: string;
|
|
162
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
163
163
|
message?: string | undefined;
|
|
164
164
|
startedAt?: string | undefined;
|
|
165
165
|
completedAt?: string | undefined;
|
|
@@ -170,29 +170,29 @@ export declare const moltiDeployProgressSchema: z.ZodObject<{
|
|
|
170
170
|
}, "strip", z.ZodTypeAny, {
|
|
171
171
|
deploymentId: string;
|
|
172
172
|
steps: {
|
|
173
|
-
status: "
|
|
173
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
174
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
174
175
|
name: string;
|
|
175
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
176
176
|
message?: string | undefined;
|
|
177
177
|
startedAt?: string | undefined;
|
|
178
178
|
completedAt?: string | undefined;
|
|
179
179
|
}[];
|
|
180
180
|
currentStep: number;
|
|
181
181
|
totalSteps: number;
|
|
182
|
-
overallStatus: "
|
|
182
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
183
183
|
}, {
|
|
184
184
|
deploymentId: string;
|
|
185
185
|
steps: {
|
|
186
|
-
status: "
|
|
186
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
187
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
187
188
|
name: string;
|
|
188
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
189
189
|
message?: string | undefined;
|
|
190
190
|
startedAt?: string | undefined;
|
|
191
191
|
completedAt?: string | undefined;
|
|
192
192
|
}[];
|
|
193
193
|
currentStep: number;
|
|
194
194
|
totalSteps: number;
|
|
195
|
-
overallStatus: "
|
|
195
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
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,24 +239,24 @@ 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: "
|
|
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: "
|
|
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
251
|
error: {
|
|
252
|
-
code: "
|
|
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";
|
|
253
253
|
message: string;
|
|
254
254
|
details?: Record<string, unknown> | undefined;
|
|
255
255
|
};
|
|
256
256
|
success: false;
|
|
257
257
|
}, {
|
|
258
258
|
error: {
|
|
259
|
-
code: "
|
|
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";
|
|
260
260
|
message: string;
|
|
261
261
|
details?: Record<string, unknown> | undefined;
|
|
262
262
|
};
|
|
@@ -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,24 +384,24 @@ 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: "
|
|
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: "
|
|
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
396
|
error: {
|
|
397
|
-
code: "
|
|
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";
|
|
398
398
|
message: string;
|
|
399
399
|
details?: Record<string, unknown> | undefined;
|
|
400
400
|
};
|
|
401
401
|
success: false;
|
|
402
402
|
}, {
|
|
403
403
|
error: {
|
|
404
|
-
code: "
|
|
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";
|
|
405
405
|
message: string;
|
|
406
406
|
details?: Record<string, unknown> | undefined;
|
|
407
407
|
};
|
|
@@ -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: "
|
|
423
|
+
containerStatus: "error" | "pending" | "deploying" | "running" | "stopped" | "unhealthy";
|
|
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: "
|
|
431
|
+
containerStatus: "error" | "pending" | "deploying" | "running" | "stopped" | "unhealthy";
|
|
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: "
|
|
453
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
454
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
454
455
|
name: string;
|
|
455
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
456
456
|
message?: string | undefined;
|
|
457
457
|
startedAt?: string | undefined;
|
|
458
458
|
completedAt?: string | undefined;
|
|
459
459
|
}, {
|
|
460
|
-
status: "
|
|
460
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
461
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
461
462
|
name: string;
|
|
462
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
463
463
|
message?: string | undefined;
|
|
464
464
|
startedAt?: string | undefined;
|
|
465
465
|
completedAt?: string | undefined;
|
|
@@ -470,61 +470,61 @@ export declare const moltiSSEProgressEventSchema: z.ZodObject<{
|
|
|
470
470
|
}, "strip", z.ZodTypeAny, {
|
|
471
471
|
deploymentId: string;
|
|
472
472
|
steps: {
|
|
473
|
-
status: "
|
|
473
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
474
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
474
475
|
name: string;
|
|
475
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
476
476
|
message?: string | undefined;
|
|
477
477
|
startedAt?: string | undefined;
|
|
478
478
|
completedAt?: string | undefined;
|
|
479
479
|
}[];
|
|
480
480
|
currentStep: number;
|
|
481
481
|
totalSteps: number;
|
|
482
|
-
overallStatus: "
|
|
482
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
483
483
|
}, {
|
|
484
484
|
deploymentId: string;
|
|
485
485
|
steps: {
|
|
486
|
-
status: "
|
|
486
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
487
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
487
488
|
name: string;
|
|
488
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
489
489
|
message?: string | undefined;
|
|
490
490
|
startedAt?: string | undefined;
|
|
491
491
|
completedAt?: string | undefined;
|
|
492
492
|
}[];
|
|
493
493
|
currentStep: number;
|
|
494
494
|
totalSteps: number;
|
|
495
|
-
overallStatus: "
|
|
495
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
496
496
|
}>;
|
|
497
497
|
}, "strip", z.ZodTypeAny, {
|
|
498
498
|
type: "progress";
|
|
499
499
|
data: {
|
|
500
500
|
deploymentId: string;
|
|
501
501
|
steps: {
|
|
502
|
-
status: "
|
|
502
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
503
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
503
504
|
name: string;
|
|
504
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
505
505
|
message?: string | undefined;
|
|
506
506
|
startedAt?: string | undefined;
|
|
507
507
|
completedAt?: string | undefined;
|
|
508
508
|
}[];
|
|
509
509
|
currentStep: number;
|
|
510
510
|
totalSteps: number;
|
|
511
|
-
overallStatus: "
|
|
511
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
512
512
|
};
|
|
513
513
|
}, {
|
|
514
514
|
type: "progress";
|
|
515
515
|
data: {
|
|
516
516
|
deploymentId: string;
|
|
517
517
|
steps: {
|
|
518
|
-
status: "
|
|
518
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
519
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
519
520
|
name: string;
|
|
520
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
521
521
|
message?: string | undefined;
|
|
522
522
|
startedAt?: string | undefined;
|
|
523
523
|
completedAt?: string | undefined;
|
|
524
524
|
}[];
|
|
525
525
|
currentStep: number;
|
|
526
526
|
totalSteps: number;
|
|
527
|
-
overallStatus: "
|
|
527
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
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,27 +595,27 @@ 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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
618
|
+
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
619
619
|
};
|
|
620
620
|
}>;
|
|
621
621
|
/**
|
|
@@ -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: "
|
|
659
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
660
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
660
661
|
name: string;
|
|
661
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
662
662
|
message?: string | undefined;
|
|
663
663
|
startedAt?: string | undefined;
|
|
664
664
|
completedAt?: string | undefined;
|
|
665
665
|
}, {
|
|
666
|
-
status: "
|
|
666
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
667
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
667
668
|
name: string;
|
|
668
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
669
669
|
message?: string | undefined;
|
|
670
670
|
startedAt?: string | undefined;
|
|
671
671
|
completedAt?: string | undefined;
|
|
@@ -676,61 +676,61 @@ export declare const moltiSSEEventSchema: z.ZodDiscriminatedUnion<"type", [z.Zod
|
|
|
676
676
|
}, "strip", z.ZodTypeAny, {
|
|
677
677
|
deploymentId: string;
|
|
678
678
|
steps: {
|
|
679
|
-
status: "
|
|
679
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
680
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
680
681
|
name: string;
|
|
681
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
682
682
|
message?: string | undefined;
|
|
683
683
|
startedAt?: string | undefined;
|
|
684
684
|
completedAt?: string | undefined;
|
|
685
685
|
}[];
|
|
686
686
|
currentStep: number;
|
|
687
687
|
totalSteps: number;
|
|
688
|
-
overallStatus: "
|
|
688
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
689
689
|
}, {
|
|
690
690
|
deploymentId: string;
|
|
691
691
|
steps: {
|
|
692
|
-
status: "
|
|
692
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
693
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
693
694
|
name: string;
|
|
694
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
695
695
|
message?: string | undefined;
|
|
696
696
|
startedAt?: string | undefined;
|
|
697
697
|
completedAt?: string | undefined;
|
|
698
698
|
}[];
|
|
699
699
|
currentStep: number;
|
|
700
700
|
totalSteps: number;
|
|
701
|
-
overallStatus: "
|
|
701
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
702
702
|
}>;
|
|
703
703
|
}, "strip", z.ZodTypeAny, {
|
|
704
704
|
type: "progress";
|
|
705
705
|
data: {
|
|
706
706
|
deploymentId: string;
|
|
707
707
|
steps: {
|
|
708
|
-
status: "
|
|
708
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
709
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
709
710
|
name: string;
|
|
710
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
711
711
|
message?: string | undefined;
|
|
712
712
|
startedAt?: string | undefined;
|
|
713
713
|
completedAt?: string | undefined;
|
|
714
714
|
}[];
|
|
715
715
|
currentStep: number;
|
|
716
716
|
totalSteps: number;
|
|
717
|
-
overallStatus: "
|
|
717
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
718
718
|
};
|
|
719
719
|
}, {
|
|
720
720
|
type: "progress";
|
|
721
721
|
data: {
|
|
722
722
|
deploymentId: string;
|
|
723
723
|
steps: {
|
|
724
|
-
status: "
|
|
724
|
+
status: "failed" | "pending" | "in_progress" | "completed" | "skipped";
|
|
725
|
+
id: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
725
726
|
name: string;
|
|
726
|
-
id: "project_create" | "kta_register" | "github_verify" | "api_key_create" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route";
|
|
727
727
|
message?: string | undefined;
|
|
728
728
|
startedAt?: string | undefined;
|
|
729
729
|
completedAt?: string | undefined;
|
|
730
730
|
}[];
|
|
731
731
|
currentStep: number;
|
|
732
732
|
totalSteps: number;
|
|
733
|
-
overallStatus: "
|
|
733
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
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,27 +793,27 @@ 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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
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: "
|
|
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
|
-
step?: "
|
|
816
|
+
step?: "github_verify" | "project_create" | "api_key_create" | "kta_register" | "scaffold" | "repo_create" | "commit_files" | "add_secrets" | "gateway_route" | undefined;
|
|
817
817
|
};
|
|
818
818
|
}>, z.ZodObject<{
|
|
819
819
|
type: z.ZodLiteral<"keepalive">;
|