@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/deploy/schemas.d.ts
CHANGED
|
@@ -48,7 +48,6 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
|
|
|
48
48
|
}, "strip", z.ZodTypeAny, {
|
|
49
49
|
id: string;
|
|
50
50
|
createdAt: string;
|
|
51
|
-
updatedAt: string;
|
|
52
51
|
installationId: number;
|
|
53
52
|
account: {
|
|
54
53
|
type: "User" | "Organization";
|
|
@@ -57,11 +56,11 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
|
|
|
57
56
|
avatarUrl: string;
|
|
58
57
|
};
|
|
59
58
|
permissions: string[];
|
|
59
|
+
updatedAt: string;
|
|
60
60
|
suspendedAt?: string | null | undefined;
|
|
61
61
|
}, {
|
|
62
62
|
id: string;
|
|
63
63
|
createdAt: string;
|
|
64
|
-
updatedAt: string;
|
|
65
64
|
installationId: number;
|
|
66
65
|
account: {
|
|
67
66
|
type: "User" | "Organization";
|
|
@@ -70,6 +69,7 @@ export declare const gitHubInstallationSchema: z.ZodObject<{
|
|
|
70
69
|
avatarUrl: string;
|
|
71
70
|
};
|
|
72
71
|
permissions: string[];
|
|
72
|
+
updatedAt: string;
|
|
73
73
|
suspendedAt?: string | null | undefined;
|
|
74
74
|
}>;
|
|
75
75
|
/**
|
|
@@ -154,7 +154,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
154
154
|
}, "strip", z.ZodTypeAny, {
|
|
155
155
|
id: string;
|
|
156
156
|
createdAt: string;
|
|
157
|
-
updatedAt: string;
|
|
158
157
|
installationId: number;
|
|
159
158
|
account: {
|
|
160
159
|
type: "User" | "Organization";
|
|
@@ -163,11 +162,11 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
163
162
|
avatarUrl: string;
|
|
164
163
|
};
|
|
165
164
|
permissions: string[];
|
|
165
|
+
updatedAt: string;
|
|
166
166
|
suspendedAt?: string | null | undefined;
|
|
167
167
|
}, {
|
|
168
168
|
id: string;
|
|
169
169
|
createdAt: string;
|
|
170
|
-
updatedAt: string;
|
|
171
170
|
installationId: number;
|
|
172
171
|
account: {
|
|
173
172
|
type: "User" | "Organization";
|
|
@@ -176,6 +175,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
176
175
|
avatarUrl: string;
|
|
177
176
|
};
|
|
178
177
|
permissions: string[];
|
|
178
|
+
updatedAt: string;
|
|
179
179
|
suspendedAt?: string | null | undefined;
|
|
180
180
|
}>;
|
|
181
181
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -183,7 +183,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
183
183
|
installation: {
|
|
184
184
|
id: string;
|
|
185
185
|
createdAt: string;
|
|
186
|
-
updatedAt: string;
|
|
187
186
|
installationId: number;
|
|
188
187
|
account: {
|
|
189
188
|
type: "User" | "Organization";
|
|
@@ -192,6 +191,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
192
191
|
avatarUrl: string;
|
|
193
192
|
};
|
|
194
193
|
permissions: string[];
|
|
194
|
+
updatedAt: string;
|
|
195
195
|
suspendedAt?: string | null | undefined;
|
|
196
196
|
};
|
|
197
197
|
}, {
|
|
@@ -199,7 +199,6 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
199
199
|
installation: {
|
|
200
200
|
id: string;
|
|
201
201
|
createdAt: string;
|
|
202
|
-
updatedAt: string;
|
|
203
202
|
installationId: number;
|
|
204
203
|
account: {
|
|
205
204
|
type: "User" | "Organization";
|
|
@@ -208,6 +207,7 @@ export declare const gitHubCallbackResponseSchema: z.ZodObject<{
|
|
|
208
207
|
avatarUrl: string;
|
|
209
208
|
};
|
|
210
209
|
permissions: string[];
|
|
210
|
+
updatedAt: string;
|
|
211
211
|
suspendedAt?: string | null | undefined;
|
|
212
212
|
};
|
|
213
213
|
}>;
|
|
@@ -244,7 +244,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
244
244
|
}, "strip", z.ZodTypeAny, {
|
|
245
245
|
id: string;
|
|
246
246
|
createdAt: string;
|
|
247
|
-
updatedAt: string;
|
|
248
247
|
installationId: number;
|
|
249
248
|
account: {
|
|
250
249
|
type: "User" | "Organization";
|
|
@@ -253,11 +252,11 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
253
252
|
avatarUrl: string;
|
|
254
253
|
};
|
|
255
254
|
permissions: string[];
|
|
255
|
+
updatedAt: string;
|
|
256
256
|
suspendedAt?: string | null | undefined;
|
|
257
257
|
}, {
|
|
258
258
|
id: string;
|
|
259
259
|
createdAt: string;
|
|
260
|
-
updatedAt: string;
|
|
261
260
|
installationId: number;
|
|
262
261
|
account: {
|
|
263
262
|
type: "User" | "Organization";
|
|
@@ -266,6 +265,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
266
265
|
avatarUrl: string;
|
|
267
266
|
};
|
|
268
267
|
permissions: string[];
|
|
268
|
+
updatedAt: string;
|
|
269
269
|
suspendedAt?: string | null | undefined;
|
|
270
270
|
}>>;
|
|
271
271
|
repositories: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -292,7 +292,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
292
292
|
installation?: {
|
|
293
293
|
id: string;
|
|
294
294
|
createdAt: string;
|
|
295
|
-
updatedAt: string;
|
|
296
295
|
installationId: number;
|
|
297
296
|
account: {
|
|
298
297
|
type: "User" | "Organization";
|
|
@@ -301,6 +300,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
301
300
|
avatarUrl: string;
|
|
302
301
|
};
|
|
303
302
|
permissions: string[];
|
|
303
|
+
updatedAt: string;
|
|
304
304
|
suspendedAt?: string | null | undefined;
|
|
305
305
|
} | undefined;
|
|
306
306
|
repositories?: {
|
|
@@ -315,7 +315,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
315
315
|
installation?: {
|
|
316
316
|
id: string;
|
|
317
317
|
createdAt: string;
|
|
318
|
-
updatedAt: string;
|
|
319
318
|
installationId: number;
|
|
320
319
|
account: {
|
|
321
320
|
type: "User" | "Organization";
|
|
@@ -324,6 +323,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
324
323
|
avatarUrl: string;
|
|
325
324
|
};
|
|
326
325
|
permissions: string[];
|
|
326
|
+
updatedAt: string;
|
|
327
327
|
suspendedAt?: string | null | undefined;
|
|
328
328
|
} | undefined;
|
|
329
329
|
repositories?: {
|
|
@@ -341,7 +341,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
341
341
|
installation?: {
|
|
342
342
|
id: string;
|
|
343
343
|
createdAt: string;
|
|
344
|
-
updatedAt: string;
|
|
345
344
|
installationId: number;
|
|
346
345
|
account: {
|
|
347
346
|
type: "User" | "Organization";
|
|
@@ -350,6 +349,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
350
349
|
avatarUrl: string;
|
|
351
350
|
};
|
|
352
351
|
permissions: string[];
|
|
352
|
+
updatedAt: string;
|
|
353
353
|
suspendedAt?: string | null | undefined;
|
|
354
354
|
} | undefined;
|
|
355
355
|
repositories?: {
|
|
@@ -367,7 +367,6 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
367
367
|
installation?: {
|
|
368
368
|
id: string;
|
|
369
369
|
createdAt: string;
|
|
370
|
-
updatedAt: string;
|
|
371
370
|
installationId: number;
|
|
372
371
|
account: {
|
|
373
372
|
type: "User" | "Organization";
|
|
@@ -376,6 +375,7 @@ export declare const gitHubStatusResponseSchema: z.ZodObject<{
|
|
|
376
375
|
avatarUrl: string;
|
|
377
376
|
};
|
|
378
377
|
permissions: string[];
|
|
378
|
+
updatedAt: string;
|
|
379
379
|
suspendedAt?: string | null | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
repositories?: {
|
|
@@ -441,12 +441,12 @@ export declare const deployedProjectSchema: z.ZodObject<{
|
|
|
441
441
|
friendlyId: z.ZodString;
|
|
442
442
|
apiKey: z.ZodString;
|
|
443
443
|
}, "strip", z.ZodTypeAny, {
|
|
444
|
-
friendlyId: string;
|
|
445
444
|
id: string;
|
|
445
|
+
friendlyId: string;
|
|
446
446
|
apiKey: string;
|
|
447
447
|
}, {
|
|
448
|
-
friendlyId: string;
|
|
449
448
|
id: string;
|
|
449
|
+
friendlyId: string;
|
|
450
450
|
apiKey: string;
|
|
451
451
|
}>;
|
|
452
452
|
/**
|
|
@@ -460,12 +460,12 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
460
460
|
friendlyId: z.ZodString;
|
|
461
461
|
apiKey: z.ZodString;
|
|
462
462
|
}, "strip", z.ZodTypeAny, {
|
|
463
|
-
friendlyId: string;
|
|
464
463
|
id: string;
|
|
464
|
+
friendlyId: string;
|
|
465
465
|
apiKey: string;
|
|
466
466
|
}, {
|
|
467
|
-
friendlyId: string;
|
|
468
467
|
id: string;
|
|
468
|
+
friendlyId: string;
|
|
469
469
|
apiKey: string;
|
|
470
470
|
}>;
|
|
471
471
|
deployUrl: z.ZodString;
|
|
@@ -474,8 +474,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
474
474
|
repoUrl: string;
|
|
475
475
|
repoFullName: string;
|
|
476
476
|
project: {
|
|
477
|
-
friendlyId: string;
|
|
478
477
|
id: string;
|
|
478
|
+
friendlyId: string;
|
|
479
479
|
apiKey: string;
|
|
480
480
|
};
|
|
481
481
|
deployUrl: string;
|
|
@@ -484,8 +484,8 @@ export declare const deployToGitHubDataSchema: z.ZodObject<{
|
|
|
484
484
|
repoUrl: string;
|
|
485
485
|
repoFullName: string;
|
|
486
486
|
project: {
|
|
487
|
-
friendlyId: string;
|
|
488
487
|
id: string;
|
|
488
|
+
friendlyId: string;
|
|
489
489
|
apiKey: string;
|
|
490
490
|
};
|
|
491
491
|
deployUrl: string;
|
|
@@ -504,12 +504,12 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
504
504
|
friendlyId: z.ZodString;
|
|
505
505
|
apiKey: z.ZodString;
|
|
506
506
|
}, "strip", z.ZodTypeAny, {
|
|
507
|
-
friendlyId: string;
|
|
508
507
|
id: string;
|
|
508
|
+
friendlyId: string;
|
|
509
509
|
apiKey: string;
|
|
510
510
|
}, {
|
|
511
|
-
friendlyId: string;
|
|
512
511
|
id: string;
|
|
512
|
+
friendlyId: string;
|
|
513
513
|
apiKey: string;
|
|
514
514
|
}>;
|
|
515
515
|
deployUrl: z.ZodString;
|
|
@@ -518,8 +518,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
518
518
|
repoUrl: string;
|
|
519
519
|
repoFullName: string;
|
|
520
520
|
project: {
|
|
521
|
-
friendlyId: string;
|
|
522
521
|
id: string;
|
|
522
|
+
friendlyId: string;
|
|
523
523
|
apiKey: string;
|
|
524
524
|
};
|
|
525
525
|
deployUrl: string;
|
|
@@ -528,8 +528,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
528
528
|
repoUrl: string;
|
|
529
529
|
repoFullName: string;
|
|
530
530
|
project: {
|
|
531
|
-
friendlyId: string;
|
|
532
531
|
id: string;
|
|
532
|
+
friendlyId: string;
|
|
533
533
|
apiKey: string;
|
|
534
534
|
};
|
|
535
535
|
deployUrl: string;
|
|
@@ -541,8 +541,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
541
541
|
repoUrl: string;
|
|
542
542
|
repoFullName: string;
|
|
543
543
|
project: {
|
|
544
|
-
friendlyId: string;
|
|
545
544
|
id: string;
|
|
545
|
+
friendlyId: string;
|
|
546
546
|
apiKey: string;
|
|
547
547
|
};
|
|
548
548
|
deployUrl: string;
|
|
@@ -554,8 +554,8 @@ export declare const deployToGitHubResponseSchema: z.ZodObject<{
|
|
|
554
554
|
repoUrl: string;
|
|
555
555
|
repoFullName: string;
|
|
556
556
|
project: {
|
|
557
|
-
friendlyId: string;
|
|
558
557
|
id: string;
|
|
558
|
+
friendlyId: string;
|
|
559
559
|
apiKey: string;
|
|
560
560
|
};
|
|
561
561
|
deployUrl: string;
|
|
@@ -572,24 +572,24 @@ export declare const deployErrorResponseSchema: z.ZodObject<{
|
|
|
572
572
|
message: z.ZodString;
|
|
573
573
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
574
574
|
}, "strip", z.ZodTypeAny, {
|
|
575
|
-
code: "
|
|
575
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
576
576
|
message: string;
|
|
577
577
|
details?: Record<string, unknown> | undefined;
|
|
578
578
|
}, {
|
|
579
|
-
code: "
|
|
579
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
580
580
|
message: string;
|
|
581
581
|
details?: Record<string, unknown> | undefined;
|
|
582
582
|
}>;
|
|
583
583
|
}, "strip", z.ZodTypeAny, {
|
|
584
584
|
error: {
|
|
585
|
-
code: "
|
|
585
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
586
586
|
message: string;
|
|
587
587
|
details?: Record<string, unknown> | undefined;
|
|
588
588
|
};
|
|
589
589
|
success: false;
|
|
590
590
|
}, {
|
|
591
591
|
error: {
|
|
592
|
-
code: "
|
|
592
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
593
593
|
message: string;
|
|
594
594
|
details?: Record<string, unknown> | undefined;
|
|
595
595
|
};
|
|
@@ -608,12 +608,12 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
608
608
|
friendlyId: z.ZodString;
|
|
609
609
|
apiKey: z.ZodString;
|
|
610
610
|
}, "strip", z.ZodTypeAny, {
|
|
611
|
-
friendlyId: string;
|
|
612
611
|
id: string;
|
|
612
|
+
friendlyId: string;
|
|
613
613
|
apiKey: string;
|
|
614
614
|
}, {
|
|
615
|
-
friendlyId: string;
|
|
616
615
|
id: string;
|
|
616
|
+
friendlyId: string;
|
|
617
617
|
apiKey: string;
|
|
618
618
|
}>;
|
|
619
619
|
deployUrl: z.ZodString;
|
|
@@ -622,8 +622,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
622
622
|
repoUrl: string;
|
|
623
623
|
repoFullName: string;
|
|
624
624
|
project: {
|
|
625
|
-
friendlyId: string;
|
|
626
625
|
id: string;
|
|
626
|
+
friendlyId: string;
|
|
627
627
|
apiKey: string;
|
|
628
628
|
};
|
|
629
629
|
deployUrl: string;
|
|
@@ -632,8 +632,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
632
632
|
repoUrl: string;
|
|
633
633
|
repoFullName: string;
|
|
634
634
|
project: {
|
|
635
|
-
friendlyId: string;
|
|
636
635
|
id: string;
|
|
636
|
+
friendlyId: string;
|
|
637
637
|
apiKey: string;
|
|
638
638
|
};
|
|
639
639
|
deployUrl: string;
|
|
@@ -645,8 +645,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
645
645
|
repoUrl: string;
|
|
646
646
|
repoFullName: string;
|
|
647
647
|
project: {
|
|
648
|
-
friendlyId: string;
|
|
649
648
|
id: string;
|
|
649
|
+
friendlyId: string;
|
|
650
650
|
apiKey: string;
|
|
651
651
|
};
|
|
652
652
|
deployUrl: string;
|
|
@@ -658,8 +658,8 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
658
658
|
repoUrl: string;
|
|
659
659
|
repoFullName: string;
|
|
660
660
|
project: {
|
|
661
|
-
friendlyId: string;
|
|
662
661
|
id: string;
|
|
662
|
+
friendlyId: string;
|
|
663
663
|
apiKey: string;
|
|
664
664
|
};
|
|
665
665
|
deployUrl: string;
|
|
@@ -672,24 +672,24 @@ export declare const deployToGitHubResultSchema: z.ZodDiscriminatedUnion<"succes
|
|
|
672
672
|
message: z.ZodString;
|
|
673
673
|
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
|
-
code: "
|
|
675
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
676
676
|
message: string;
|
|
677
677
|
details?: Record<string, unknown> | undefined;
|
|
678
678
|
}, {
|
|
679
|
-
code: "
|
|
679
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
680
680
|
message: string;
|
|
681
681
|
details?: Record<string, unknown> | undefined;
|
|
682
682
|
}>;
|
|
683
683
|
}, "strip", z.ZodTypeAny, {
|
|
684
684
|
error: {
|
|
685
|
-
code: "
|
|
685
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
686
686
|
message: string;
|
|
687
687
|
details?: Record<string, unknown> | undefined;
|
|
688
688
|
};
|
|
689
689
|
success: false;
|
|
690
690
|
}, {
|
|
691
691
|
error: {
|
|
692
|
-
code: "
|
|
692
|
+
code: "GITHUB_NOT_CONNECTED" | "REPO_NAME_TAKEN" | "REPO_NAME_INVALID" | "RATE_LIMIT_EXCEEDED" | "PLAN_LIMIT_EXCEEDED" | "SCAFFOLDER_ERROR" | "PROJECT_CREATION_ERROR" | "SECRETS_ERROR" | "GITHUB_API_ERROR" | "INTERNAL_ERROR" | "TEMPLATE_NOT_FOUND";
|
|
693
693
|
message: string;
|
|
694
694
|
details?: Record<string, unknown> | undefined;
|
|
695
695
|
};
|
|
@@ -712,29 +712,29 @@ export declare const deployedRepositorySchema: z.ZodObject<{
|
|
|
712
712
|
createdAt: z.ZodString;
|
|
713
713
|
updatedAt: z.ZodString;
|
|
714
714
|
}, "strip", z.ZodTypeAny, {
|
|
715
|
-
projectId: string;
|
|
716
715
|
id: string;
|
|
717
|
-
userId: string;
|
|
718
716
|
createdAt: string;
|
|
719
|
-
|
|
717
|
+
repoUrl: string;
|
|
718
|
+
repoFullName: string;
|
|
719
|
+
projectId: string;
|
|
720
720
|
platform: "cloudflare" | "vercel";
|
|
721
|
+
userId: string;
|
|
721
722
|
installationId: string;
|
|
723
|
+
updatedAt: string;
|
|
722
724
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
723
|
-
repoUrl: string;
|
|
724
|
-
repoFullName: string;
|
|
725
725
|
cloudflareDeployed: boolean;
|
|
726
726
|
cloudflareUrl?: string | null | undefined;
|
|
727
727
|
}, {
|
|
728
|
-
projectId: string;
|
|
729
728
|
id: string;
|
|
730
|
-
userId: string;
|
|
731
729
|
createdAt: string;
|
|
732
|
-
|
|
730
|
+
repoUrl: string;
|
|
731
|
+
repoFullName: string;
|
|
732
|
+
projectId: string;
|
|
733
733
|
platform: "cloudflare" | "vercel";
|
|
734
|
+
userId: string;
|
|
734
735
|
installationId: string;
|
|
736
|
+
updatedAt: string;
|
|
735
737
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
736
|
-
repoUrl: string;
|
|
737
|
-
repoFullName: string;
|
|
738
738
|
cloudflareDeployed: boolean;
|
|
739
739
|
cloudflareUrl?: string | null | undefined;
|
|
740
740
|
}>;
|
|
@@ -757,61 +757,61 @@ export declare const listDeployedRepositoriesResponseSchema: z.ZodObject<{
|
|
|
757
757
|
createdAt: z.ZodString;
|
|
758
758
|
updatedAt: z.ZodString;
|
|
759
759
|
}, "strip", z.ZodTypeAny, {
|
|
760
|
-
projectId: string;
|
|
761
760
|
id: string;
|
|
762
|
-
userId: string;
|
|
763
761
|
createdAt: string;
|
|
764
|
-
|
|
762
|
+
repoUrl: string;
|
|
763
|
+
repoFullName: string;
|
|
764
|
+
projectId: string;
|
|
765
765
|
platform: "cloudflare" | "vercel";
|
|
766
|
+
userId: string;
|
|
766
767
|
installationId: string;
|
|
768
|
+
updatedAt: string;
|
|
767
769
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
768
|
-
repoUrl: string;
|
|
769
|
-
repoFullName: string;
|
|
770
770
|
cloudflareDeployed: boolean;
|
|
771
771
|
cloudflareUrl?: string | null | undefined;
|
|
772
772
|
}, {
|
|
773
|
-
projectId: string;
|
|
774
773
|
id: string;
|
|
775
|
-
userId: string;
|
|
776
774
|
createdAt: string;
|
|
777
|
-
|
|
775
|
+
repoUrl: string;
|
|
776
|
+
repoFullName: string;
|
|
777
|
+
projectId: string;
|
|
778
778
|
platform: "cloudflare" | "vercel";
|
|
779
|
+
userId: string;
|
|
779
780
|
installationId: string;
|
|
781
|
+
updatedAt: string;
|
|
780
782
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
781
|
-
repoUrl: string;
|
|
782
|
-
repoFullName: string;
|
|
783
783
|
cloudflareDeployed: boolean;
|
|
784
784
|
cloudflareUrl?: string | null | undefined;
|
|
785
785
|
}>, "many">;
|
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
787
|
success: true;
|
|
788
788
|
data: {
|
|
789
|
-
projectId: string;
|
|
790
789
|
id: string;
|
|
791
|
-
userId: string;
|
|
792
790
|
createdAt: string;
|
|
793
|
-
|
|
791
|
+
repoUrl: string;
|
|
792
|
+
repoFullName: string;
|
|
793
|
+
projectId: string;
|
|
794
794
|
platform: "cloudflare" | "vercel";
|
|
795
|
+
userId: string;
|
|
795
796
|
installationId: string;
|
|
797
|
+
updatedAt: string;
|
|
796
798
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
797
|
-
repoUrl: string;
|
|
798
|
-
repoFullName: string;
|
|
799
799
|
cloudflareDeployed: boolean;
|
|
800
800
|
cloudflareUrl?: string | null | undefined;
|
|
801
801
|
}[];
|
|
802
802
|
}, {
|
|
803
803
|
success: true;
|
|
804
804
|
data: {
|
|
805
|
-
projectId: string;
|
|
806
805
|
id: string;
|
|
807
|
-
userId: string;
|
|
808
806
|
createdAt: string;
|
|
809
|
-
|
|
807
|
+
repoUrl: string;
|
|
808
|
+
repoFullName: string;
|
|
809
|
+
projectId: string;
|
|
810
810
|
platform: "cloudflare" | "vercel";
|
|
811
|
+
userId: string;
|
|
811
812
|
installationId: string;
|
|
813
|
+
updatedAt: string;
|
|
812
814
|
template: "blank" | "ecommerce" | "hardware-world" | "mix-station";
|
|
813
|
-
repoUrl: string;
|
|
814
|
-
repoFullName: string;
|
|
815
815
|
cloudflareDeployed: boolean;
|
|
816
816
|
cloudflareUrl?: string | null | undefined;
|
|
817
817
|
}[];
|
|
@@ -896,12 +896,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
|
|
|
896
896
|
content: string;
|
|
897
897
|
isBase64?: boolean | undefined;
|
|
898
898
|
}[];
|
|
899
|
-
warnings?: string[] | undefined;
|
|
900
899
|
identity?: {
|
|
901
900
|
did: string;
|
|
902
901
|
publicKey: string;
|
|
903
902
|
privateKey: string;
|
|
904
903
|
} | undefined;
|
|
904
|
+
warnings?: string[] | undefined;
|
|
905
905
|
}, {
|
|
906
906
|
success: boolean;
|
|
907
907
|
files: {
|
|
@@ -909,12 +909,12 @@ export declare const scaffolderResultSchema: z.ZodObject<{
|
|
|
909
909
|
content: string;
|
|
910
910
|
isBase64?: boolean | undefined;
|
|
911
911
|
}[];
|
|
912
|
-
warnings?: string[] | undefined;
|
|
913
912
|
identity?: {
|
|
914
913
|
did: string;
|
|
915
914
|
publicKey: string;
|
|
916
915
|
privateKey: string;
|
|
917
916
|
} | undefined;
|
|
917
|
+
warnings?: string[] | undefined;
|
|
918
918
|
}>;
|
|
919
919
|
/**
|
|
920
920
|
* Deploy step status schema
|
|
@@ -931,16 +931,16 @@ export declare const deployStepSchema: z.ZodObject<{
|
|
|
931
931
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
932
932
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
933
933
|
}, "strip", z.ZodTypeAny, {
|
|
934
|
-
status: "
|
|
935
|
-
name: string;
|
|
934
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
936
935
|
id: string;
|
|
936
|
+
name: string;
|
|
937
937
|
message?: string | undefined;
|
|
938
938
|
startedAt?: string | undefined;
|
|
939
939
|
completedAt?: string | undefined;
|
|
940
940
|
}, {
|
|
941
|
-
status: "
|
|
942
|
-
name: string;
|
|
941
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
943
942
|
id: string;
|
|
943
|
+
name: string;
|
|
944
944
|
message?: string | undefined;
|
|
945
945
|
startedAt?: string | undefined;
|
|
946
946
|
completedAt?: string | undefined;
|
|
@@ -957,16 +957,16 @@ export declare const deploymentProgressSchema: z.ZodObject<{
|
|
|
957
957
|
startedAt: z.ZodOptional<z.ZodString>;
|
|
958
958
|
completedAt: z.ZodOptional<z.ZodString>;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
960
|
-
status: "
|
|
961
|
-
name: string;
|
|
960
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
962
961
|
id: string;
|
|
962
|
+
name: string;
|
|
963
963
|
message?: string | undefined;
|
|
964
964
|
startedAt?: string | undefined;
|
|
965
965
|
completedAt?: string | undefined;
|
|
966
966
|
}, {
|
|
967
|
-
status: "
|
|
968
|
-
name: string;
|
|
967
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
969
968
|
id: string;
|
|
969
|
+
name: string;
|
|
970
970
|
message?: string | undefined;
|
|
971
971
|
startedAt?: string | undefined;
|
|
972
972
|
completedAt?: string | undefined;
|
|
@@ -976,26 +976,26 @@ export declare const deploymentProgressSchema: z.ZodObject<{
|
|
|
976
976
|
overallStatus: z.ZodEnum<["pending", "in_progress", "completed", "failed"]>;
|
|
977
977
|
}, "strip", z.ZodTypeAny, {
|
|
978
978
|
steps: {
|
|
979
|
-
status: "
|
|
980
|
-
name: string;
|
|
979
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
981
980
|
id: string;
|
|
981
|
+
name: string;
|
|
982
982
|
message?: string | undefined;
|
|
983
983
|
startedAt?: string | undefined;
|
|
984
984
|
completedAt?: string | undefined;
|
|
985
985
|
}[];
|
|
986
986
|
currentStep: number;
|
|
987
987
|
totalSteps: number;
|
|
988
|
-
overallStatus: "
|
|
988
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
989
989
|
}, {
|
|
990
990
|
steps: {
|
|
991
|
-
status: "
|
|
992
|
-
name: string;
|
|
991
|
+
status: "failed" | "pending" | "in_progress" | "completed";
|
|
993
992
|
id: string;
|
|
993
|
+
name: string;
|
|
994
994
|
message?: string | undefined;
|
|
995
995
|
startedAt?: string | undefined;
|
|
996
996
|
completedAt?: string | undefined;
|
|
997
997
|
}[];
|
|
998
998
|
currentStep: number;
|
|
999
999
|
totalSteps: number;
|
|
1000
|
-
overallStatus: "
|
|
1000
|
+
overallStatus: "failed" | "pending" | "in_progress" | "completed";
|
|
1001
1001
|
}>;
|