codebuff 1.0.163 → 1.0.165
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/browser-runner.js +17 -7
- package/dist/browser-runner.js.map +1 -1
- package/dist/chat-storage.js +17 -7
- package/dist/chat-storage.js.map +1 -1
- package/dist/cli.js +17 -7
- package/dist/cli.js.map +1 -1
- package/dist/client.d.ts +6 -6
- package/dist/client.js +130 -102
- package/dist/client.js.map +1 -1
- package/dist/code-map/languages.js +17 -7
- package/dist/code-map/languages.js.map +1 -1
- package/dist/code-map/parse.js +17 -7
- package/dist/code-map/parse.js.map +1 -1
- package/dist/code-map/tsconfig.tsbuildinfo +1 -1
- package/dist/common/actions.d.ts +245 -352
- package/dist/common/actions.js +32 -69
- package/dist/common/actions.js.map +1 -1
- package/dist/common/logger.d.ts +1 -0
- package/dist/common/logger.js +7 -0
- package/dist/common/logger.js.map +1 -0
- package/dist/common/util/constants.d.ts +1 -0
- package/dist/common/util/constants.js +7 -0
- package/dist/common/util/constants.js.map +1 -0
- package/dist/common/util/credentials.d.ts +4 -4
- package/dist/common/util/helpers.d.ts +1 -0
- package/dist/common/util/helpers.js +6 -0
- package/dist/common/util/helpers.js.map +1 -0
- package/dist/common/util/token-counter.d.ts +3 -0
- package/dist/common/util/token-counter.js +27 -0
- package/dist/common/util/token-counter.js.map +1 -0
- package/dist/common/websockets/websocket-schema.d.ts +268 -606
- package/dist/config.d.ts +1 -0
- package/dist/config.js +2 -1
- package/dist/config.js.map +1 -1
- package/dist/create-template-project.js +17 -7
- package/dist/create-template-project.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/menu.js +17 -7
- package/dist/menu.js.map +1 -1
- package/dist/project-files.js +17 -7
- package/dist/project-files.js.map +1 -1
- package/dist/tool-handlers.js +17 -7
- package/dist/tool-handlers.js.map +1 -1
- package/dist/utils/spinner.js +17 -7
- package/dist/utils/spinner.js.map +1 -1
- package/dist/utils/terminal.js +17 -7
- package/dist/utils/terminal.js.map +1 -1
- package/package.json +1 -1
- package/dist/common/advanced-analyzer.d.ts +0 -19
- package/dist/common/advanced-analyzer.js +0 -140
- package/dist/common/advanced-analyzer.js.map +0 -1
- package/dist/common/message-image-handling.d.ts +0 -41
- package/dist/common/message-image-handling.js +0 -57
- package/dist/common/message-image-handling.js.map +0 -1
package/dist/common/actions.d.ts
CHANGED
|
@@ -61,15 +61,15 @@ declare const MessageContentObjectSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
61
61
|
type: "ephemeral";
|
|
62
62
|
}>>;
|
|
63
63
|
}, "strip", z.ZodTypeAny, {
|
|
64
|
-
content: string;
|
|
65
64
|
type: "tool_result";
|
|
65
|
+
content: string;
|
|
66
66
|
tool_use_id: string;
|
|
67
67
|
cache_control?: {
|
|
68
68
|
type: "ephemeral";
|
|
69
69
|
} | undefined;
|
|
70
70
|
}, {
|
|
71
|
-
content: string;
|
|
72
71
|
type: "tool_result";
|
|
72
|
+
content: string;
|
|
73
73
|
tool_use_id: string;
|
|
74
74
|
cache_control?: {
|
|
75
75
|
type: "ephemeral";
|
|
@@ -181,15 +181,15 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
181
181
|
type: "ephemeral";
|
|
182
182
|
}>>;
|
|
183
183
|
}, "strip", z.ZodTypeAny, {
|
|
184
|
-
content: string;
|
|
185
184
|
type: "tool_result";
|
|
185
|
+
content: string;
|
|
186
186
|
tool_use_id: string;
|
|
187
187
|
cache_control?: {
|
|
188
188
|
type: "ephemeral";
|
|
189
189
|
} | undefined;
|
|
190
190
|
}, {
|
|
191
|
-
content: string;
|
|
192
191
|
type: "tool_result";
|
|
192
|
+
content: string;
|
|
193
193
|
tool_use_id: string;
|
|
194
194
|
cache_control?: {
|
|
195
195
|
type: "ephemeral";
|
|
@@ -253,8 +253,8 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
253
253
|
type: "ephemeral";
|
|
254
254
|
} | undefined;
|
|
255
255
|
} | {
|
|
256
|
-
content: string;
|
|
257
256
|
type: "tool_result";
|
|
257
|
+
content: string;
|
|
258
258
|
tool_use_id: string;
|
|
259
259
|
cache_control?: {
|
|
260
260
|
type: "ephemeral";
|
|
@@ -287,8 +287,8 @@ declare const MessageSchema: z.ZodObject<{
|
|
|
287
287
|
type: "ephemeral";
|
|
288
288
|
} | undefined;
|
|
289
289
|
} | {
|
|
290
|
-
content: string;
|
|
291
290
|
type: "tool_result";
|
|
291
|
+
content: string;
|
|
292
292
|
tool_use_id: string;
|
|
293
293
|
cache_control?: {
|
|
294
294
|
type: "ephemeral";
|
|
@@ -313,13 +313,13 @@ export declare const FileChangeSchema: z.ZodObject<{
|
|
|
313
313
|
filePath: z.ZodString;
|
|
314
314
|
content: z.ZodString;
|
|
315
315
|
}, "strip", z.ZodTypeAny, {
|
|
316
|
-
|
|
317
|
-
type: "file" | "patch";
|
|
316
|
+
type: "patch" | "file";
|
|
318
317
|
filePath: string;
|
|
319
|
-
}, {
|
|
320
318
|
content: string;
|
|
321
|
-
|
|
319
|
+
}, {
|
|
320
|
+
type: "patch" | "file";
|
|
322
321
|
filePath: string;
|
|
322
|
+
content: string;
|
|
323
323
|
}>;
|
|
324
324
|
export type FileChange = z.infer<typeof FileChangeSchema>;
|
|
325
325
|
export declare const CHANGES: z.ZodArray<z.ZodObject<{
|
|
@@ -327,13 +327,13 @@ export declare const CHANGES: z.ZodArray<z.ZodObject<{
|
|
|
327
327
|
filePath: z.ZodString;
|
|
328
328
|
content: z.ZodString;
|
|
329
329
|
}, "strip", z.ZodTypeAny, {
|
|
330
|
-
|
|
331
|
-
type: "file" | "patch";
|
|
330
|
+
type: "patch" | "file";
|
|
332
331
|
filePath: string;
|
|
333
|
-
}, {
|
|
334
332
|
content: string;
|
|
335
|
-
|
|
333
|
+
}, {
|
|
334
|
+
type: "patch" | "file";
|
|
336
335
|
filePath: string;
|
|
336
|
+
content: string;
|
|
337
337
|
}>, "many">;
|
|
338
338
|
export type FileChanges = z.infer<typeof CHANGES>;
|
|
339
339
|
export declare const ToolCallSchema: z.ZodObject<{
|
|
@@ -350,6 +350,159 @@ export declare const ToolCallSchema: z.ZodObject<{
|
|
|
350
350
|
input: Record<string, any>;
|
|
351
351
|
}>;
|
|
352
352
|
export type ToolCall = z.infer<typeof ToolCallSchema>;
|
|
353
|
+
export declare const UsageReponseSchema: z.ZodObject<{
|
|
354
|
+
type: z.ZodLiteral<"usage-response">;
|
|
355
|
+
usage: z.ZodNumber;
|
|
356
|
+
limit: z.ZodNumber;
|
|
357
|
+
referralLink: z.ZodOptional<z.ZodString>;
|
|
358
|
+
subscription_active: z.ZodBoolean;
|
|
359
|
+
next_quota_reset: z.ZodDate;
|
|
360
|
+
session_credits_used: z.ZodNumber;
|
|
361
|
+
}, "strip", z.ZodTypeAny, {
|
|
362
|
+
type: "usage-response";
|
|
363
|
+
usage: number;
|
|
364
|
+
limit: number;
|
|
365
|
+
subscription_active: boolean;
|
|
366
|
+
next_quota_reset: Date;
|
|
367
|
+
session_credits_used: number;
|
|
368
|
+
referralLink?: string | undefined;
|
|
369
|
+
}, {
|
|
370
|
+
type: "usage-response";
|
|
371
|
+
usage: number;
|
|
372
|
+
limit: number;
|
|
373
|
+
subscription_active: boolean;
|
|
374
|
+
next_quota_reset: Date;
|
|
375
|
+
session_credits_used: number;
|
|
376
|
+
referralLink?: string | undefined;
|
|
377
|
+
}>;
|
|
378
|
+
export type UsageResponse = z.infer<typeof UsageReponseSchema>;
|
|
379
|
+
export declare const InitResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
380
|
+
type: z.ZodLiteral<"init-response">;
|
|
381
|
+
}, Omit<{
|
|
382
|
+
type: z.ZodLiteral<"usage-response">;
|
|
383
|
+
usage: z.ZodNumber;
|
|
384
|
+
limit: z.ZodNumber;
|
|
385
|
+
referralLink: z.ZodOptional<z.ZodString>;
|
|
386
|
+
subscription_active: z.ZodBoolean;
|
|
387
|
+
next_quota_reset: z.ZodDate;
|
|
388
|
+
session_credits_used: z.ZodNumber;
|
|
389
|
+
}, "type">>, "strip", z.ZodTypeAny, {
|
|
390
|
+
type: "init-response";
|
|
391
|
+
usage: number;
|
|
392
|
+
limit: number;
|
|
393
|
+
subscription_active: boolean;
|
|
394
|
+
next_quota_reset: Date;
|
|
395
|
+
session_credits_used: number;
|
|
396
|
+
referralLink?: string | undefined;
|
|
397
|
+
}, {
|
|
398
|
+
type: "init-response";
|
|
399
|
+
usage: number;
|
|
400
|
+
limit: number;
|
|
401
|
+
subscription_active: boolean;
|
|
402
|
+
next_quota_reset: Date;
|
|
403
|
+
session_credits_used: number;
|
|
404
|
+
referralLink?: string | undefined;
|
|
405
|
+
}>;
|
|
406
|
+
export type InitResponse = z.infer<typeof InitResponseSchema>;
|
|
407
|
+
export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
408
|
+
type: z.ZodLiteral<"response-complete">;
|
|
409
|
+
userInputId: z.ZodString;
|
|
410
|
+
response: z.ZodString;
|
|
411
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
412
|
+
type: z.ZodEnum<["patch", "file"]>;
|
|
413
|
+
filePath: z.ZodString;
|
|
414
|
+
content: z.ZodString;
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
416
|
+
type: "patch" | "file";
|
|
417
|
+
filePath: string;
|
|
418
|
+
content: string;
|
|
419
|
+
}, {
|
|
420
|
+
type: "patch" | "file";
|
|
421
|
+
filePath: string;
|
|
422
|
+
content: string;
|
|
423
|
+
}>, "many">;
|
|
424
|
+
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
425
|
+
type: z.ZodEnum<["patch", "file"]>;
|
|
426
|
+
filePath: z.ZodString;
|
|
427
|
+
content: z.ZodString;
|
|
428
|
+
}, "strip", z.ZodTypeAny, {
|
|
429
|
+
type: "patch" | "file";
|
|
430
|
+
filePath: string;
|
|
431
|
+
content: string;
|
|
432
|
+
}, {
|
|
433
|
+
type: "patch" | "file";
|
|
434
|
+
filePath: string;
|
|
435
|
+
content: string;
|
|
436
|
+
}>, "many">;
|
|
437
|
+
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
438
|
+
path: z.ZodString;
|
|
439
|
+
content: z.ZodString;
|
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
|
+
path: string;
|
|
442
|
+
content: string;
|
|
443
|
+
}, {
|
|
444
|
+
path: string;
|
|
445
|
+
content: string;
|
|
446
|
+
}>, "many">;
|
|
447
|
+
resetFileVersions: z.ZodBoolean;
|
|
448
|
+
}, {
|
|
449
|
+
usage: z.ZodOptional<z.ZodNumber>;
|
|
450
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
451
|
+
referralLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
452
|
+
subscription_active: z.ZodOptional<z.ZodBoolean>;
|
|
453
|
+
next_quota_reset: z.ZodOptional<z.ZodDate>;
|
|
454
|
+
session_credits_used: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
}>, "strip", z.ZodTypeAny, {
|
|
456
|
+
type: "response-complete";
|
|
457
|
+
userInputId: string;
|
|
458
|
+
response: string;
|
|
459
|
+
changes: {
|
|
460
|
+
type: "patch" | "file";
|
|
461
|
+
filePath: string;
|
|
462
|
+
content: string;
|
|
463
|
+
}[];
|
|
464
|
+
changesAlreadyApplied: {
|
|
465
|
+
type: "patch" | "file";
|
|
466
|
+
filePath: string;
|
|
467
|
+
content: string;
|
|
468
|
+
}[];
|
|
469
|
+
addedFileVersions: {
|
|
470
|
+
path: string;
|
|
471
|
+
content: string;
|
|
472
|
+
}[];
|
|
473
|
+
resetFileVersions: boolean;
|
|
474
|
+
usage?: number | undefined;
|
|
475
|
+
limit?: number | undefined;
|
|
476
|
+
referralLink?: string | undefined;
|
|
477
|
+
subscription_active?: boolean | undefined;
|
|
478
|
+
next_quota_reset?: Date | undefined;
|
|
479
|
+
session_credits_used?: number | undefined;
|
|
480
|
+
}, {
|
|
481
|
+
type: "response-complete";
|
|
482
|
+
userInputId: string;
|
|
483
|
+
response: string;
|
|
484
|
+
changes: {
|
|
485
|
+
type: "patch" | "file";
|
|
486
|
+
filePath: string;
|
|
487
|
+
content: string;
|
|
488
|
+
}[];
|
|
489
|
+
changesAlreadyApplied: {
|
|
490
|
+
type: "patch" | "file";
|
|
491
|
+
filePath: string;
|
|
492
|
+
content: string;
|
|
493
|
+
}[];
|
|
494
|
+
addedFileVersions: {
|
|
495
|
+
path: string;
|
|
496
|
+
content: string;
|
|
497
|
+
}[];
|
|
498
|
+
resetFileVersions: boolean;
|
|
499
|
+
usage?: number | undefined;
|
|
500
|
+
limit?: number | undefined;
|
|
501
|
+
referralLink?: string | undefined;
|
|
502
|
+
subscription_active?: boolean | undefined;
|
|
503
|
+
next_quota_reset?: Date | undefined;
|
|
504
|
+
session_credits_used?: number | undefined;
|
|
505
|
+
}>;
|
|
353
506
|
export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
354
507
|
type: z.ZodLiteral<"user-input">;
|
|
355
508
|
fingerprintId: z.ZodString;
|
|
@@ -419,15 +572,15 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
419
572
|
type: "ephemeral";
|
|
420
573
|
}>>;
|
|
421
574
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
content: string;
|
|
423
575
|
type: "tool_result";
|
|
576
|
+
content: string;
|
|
424
577
|
tool_use_id: string;
|
|
425
578
|
cache_control?: {
|
|
426
579
|
type: "ephemeral";
|
|
427
580
|
} | undefined;
|
|
428
581
|
}, {
|
|
429
|
-
content: string;
|
|
430
582
|
type: "tool_result";
|
|
583
|
+
content: string;
|
|
431
584
|
tool_use_id: string;
|
|
432
585
|
cache_control?: {
|
|
433
586
|
type: "ephemeral";
|
|
@@ -491,8 +644,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
491
644
|
type: "ephemeral";
|
|
492
645
|
} | undefined;
|
|
493
646
|
} | {
|
|
494
|
-
content: string;
|
|
495
647
|
type: "tool_result";
|
|
648
|
+
content: string;
|
|
496
649
|
tool_use_id: string;
|
|
497
650
|
cache_control?: {
|
|
498
651
|
type: "ephemeral";
|
|
@@ -525,8 +678,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
525
678
|
type: "ephemeral";
|
|
526
679
|
} | undefined;
|
|
527
680
|
} | {
|
|
528
|
-
content: string;
|
|
529
681
|
type: "tool_result";
|
|
682
|
+
content: string;
|
|
530
683
|
tool_use_id: string;
|
|
531
684
|
cache_control?: {
|
|
532
685
|
type: "ephemeral";
|
|
@@ -658,19 +811,24 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
658
811
|
filePath: z.ZodString;
|
|
659
812
|
content: z.ZodString;
|
|
660
813
|
}, "strip", z.ZodTypeAny, {
|
|
661
|
-
|
|
662
|
-
type: "file" | "patch";
|
|
814
|
+
type: "patch" | "file";
|
|
663
815
|
filePath: string;
|
|
664
|
-
}, {
|
|
665
816
|
content: string;
|
|
666
|
-
|
|
817
|
+
}, {
|
|
818
|
+
type: "patch" | "file";
|
|
667
819
|
filePath: string;
|
|
820
|
+
content: string;
|
|
668
821
|
}>, "many">;
|
|
669
822
|
costMode: z.ZodDefault<z.ZodOptional<z.ZodEnum<["lite", "normal", "max"]>>>;
|
|
670
823
|
}, "strip", z.ZodTypeAny, {
|
|
671
824
|
type: "user-input";
|
|
672
|
-
fingerprintId: string;
|
|
673
825
|
userInputId: string;
|
|
826
|
+
changesAlreadyApplied: {
|
|
827
|
+
type: "patch" | "file";
|
|
828
|
+
filePath: string;
|
|
829
|
+
content: string;
|
|
830
|
+
}[];
|
|
831
|
+
fingerprintId: string;
|
|
674
832
|
messages: {
|
|
675
833
|
content: string | ({
|
|
676
834
|
type: "text";
|
|
@@ -687,8 +845,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
687
845
|
type: "ephemeral";
|
|
688
846
|
} | undefined;
|
|
689
847
|
} | {
|
|
690
|
-
content: string;
|
|
691
848
|
type: "tool_result";
|
|
849
|
+
content: string;
|
|
692
850
|
tool_use_id: string;
|
|
693
851
|
cache_control?: {
|
|
694
852
|
type: "ephemeral";
|
|
@@ -733,17 +891,17 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
733
891
|
}[][];
|
|
734
892
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
735
893
|
};
|
|
736
|
-
changesAlreadyApplied: {
|
|
737
|
-
content: string;
|
|
738
|
-
type: "file" | "patch";
|
|
739
|
-
filePath: string;
|
|
740
|
-
}[];
|
|
741
894
|
costMode: "max" | "lite" | "normal";
|
|
742
895
|
authToken?: string | undefined;
|
|
743
896
|
}, {
|
|
744
897
|
type: "user-input";
|
|
745
|
-
fingerprintId: string;
|
|
746
898
|
userInputId: string;
|
|
899
|
+
changesAlreadyApplied: {
|
|
900
|
+
type: "patch" | "file";
|
|
901
|
+
filePath: string;
|
|
902
|
+
content: string;
|
|
903
|
+
}[];
|
|
904
|
+
fingerprintId: string;
|
|
747
905
|
messages: {
|
|
748
906
|
content: string | ({
|
|
749
907
|
type: "text";
|
|
@@ -760,8 +918,8 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
760
918
|
type: "ephemeral";
|
|
761
919
|
} | undefined;
|
|
762
920
|
} | {
|
|
763
|
-
content: string;
|
|
764
921
|
type: "tool_result";
|
|
922
|
+
content: string;
|
|
765
923
|
tool_use_id: string;
|
|
766
924
|
cache_control?: {
|
|
767
925
|
type: "ephemeral";
|
|
@@ -806,22 +964,20 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
806
964
|
}[][];
|
|
807
965
|
userKnowledgeFiles?: Record<string, string> | undefined;
|
|
808
966
|
};
|
|
809
|
-
changesAlreadyApplied: {
|
|
810
|
-
content: string;
|
|
811
|
-
type: "file" | "patch";
|
|
812
|
-
filePath: string;
|
|
813
|
-
}[];
|
|
814
967
|
authToken?: string | undefined;
|
|
815
968
|
costMode?: "max" | "lite" | "normal" | undefined;
|
|
816
969
|
}>, z.ZodObject<{
|
|
817
970
|
type: z.ZodLiteral<"read-files-response">;
|
|
818
971
|
files: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodNull]>>;
|
|
972
|
+
requestId: z.ZodOptional<z.ZodString>;
|
|
819
973
|
}, "strip", z.ZodTypeAny, {
|
|
820
974
|
type: "read-files-response";
|
|
821
975
|
files: Record<string, string | null>;
|
|
976
|
+
requestId?: string | undefined;
|
|
822
977
|
}, {
|
|
823
978
|
type: "read-files-response";
|
|
824
979
|
files: Record<string, string | null>;
|
|
980
|
+
requestId?: string | undefined;
|
|
825
981
|
}>, z.ZodObject<{
|
|
826
982
|
type: z.ZodLiteral<"init">;
|
|
827
983
|
fingerprintId: z.ZodString;
|
|
@@ -1009,48 +1165,6 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1009
1165
|
type: "usage";
|
|
1010
1166
|
fingerprintId: string;
|
|
1011
1167
|
authToken?: string | undefined;
|
|
1012
|
-
}>, z.ZodObject<{
|
|
1013
|
-
type: z.ZodLiteral<"login-code-request">;
|
|
1014
|
-
fingerprintId: z.ZodString;
|
|
1015
|
-
referralCode: z.ZodOptional<z.ZodString>;
|
|
1016
|
-
}, "strip", z.ZodTypeAny, {
|
|
1017
|
-
type: "login-code-request";
|
|
1018
|
-
fingerprintId: string;
|
|
1019
|
-
referralCode?: string | undefined;
|
|
1020
|
-
}, {
|
|
1021
|
-
type: "login-code-request";
|
|
1022
|
-
fingerprintId: string;
|
|
1023
|
-
referralCode?: string | undefined;
|
|
1024
|
-
}>, z.ZodObject<{
|
|
1025
|
-
type: z.ZodLiteral<"login-status-request">;
|
|
1026
|
-
fingerprintId: z.ZodString;
|
|
1027
|
-
fingerprintHash: z.ZodString;
|
|
1028
|
-
}, "strip", z.ZodTypeAny, {
|
|
1029
|
-
type: "login-status-request";
|
|
1030
|
-
fingerprintId: string;
|
|
1031
|
-
fingerprintHash: string;
|
|
1032
|
-
}, {
|
|
1033
|
-
type: "login-status-request";
|
|
1034
|
-
fingerprintId: string;
|
|
1035
|
-
fingerprintHash: string;
|
|
1036
|
-
}>, z.ZodObject<{
|
|
1037
|
-
type: z.ZodLiteral<"clear-auth-token">;
|
|
1038
|
-
authToken: z.ZodString;
|
|
1039
|
-
fingerprintId: z.ZodString;
|
|
1040
|
-
userId: z.ZodString;
|
|
1041
|
-
fingerprintHash: z.ZodString;
|
|
1042
|
-
}, "strip", z.ZodTypeAny, {
|
|
1043
|
-
type: "clear-auth-token";
|
|
1044
|
-
authToken: string;
|
|
1045
|
-
fingerprintId: string;
|
|
1046
|
-
fingerprintHash: string;
|
|
1047
|
-
userId: string;
|
|
1048
|
-
}, {
|
|
1049
|
-
type: "clear-auth-token";
|
|
1050
|
-
authToken: string;
|
|
1051
|
-
fingerprintId: string;
|
|
1052
|
-
fingerprintHash: string;
|
|
1053
|
-
userId: string;
|
|
1054
1168
|
}>, z.ZodObject<{
|
|
1055
1169
|
type: z.ZodLiteral<"generate-commit-message">;
|
|
1056
1170
|
fingerprintId: z.ZodString;
|
|
@@ -1068,169 +1182,7 @@ export declare const CLIENT_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1068
1182
|
authToken?: string | undefined;
|
|
1069
1183
|
}>]>;
|
|
1070
1184
|
export type ClientAction = z.infer<typeof CLIENT_ACTION_SCHEMA>;
|
|
1071
|
-
export declare const UsageReponseSchema: z.ZodObject<{
|
|
1072
|
-
type: z.ZodLiteral<"usage-response">;
|
|
1073
|
-
usage: z.ZodNumber;
|
|
1074
|
-
limit: z.ZodNumber;
|
|
1075
|
-
referralLink: z.ZodOptional<z.ZodString>;
|
|
1076
|
-
subscription_active: z.ZodBoolean;
|
|
1077
|
-
next_quota_reset: z.ZodDate;
|
|
1078
|
-
session_credits_used: z.ZodNumber;
|
|
1079
|
-
}, "strip", z.ZodTypeAny, {
|
|
1080
|
-
type: "usage-response";
|
|
1081
|
-
usage: number;
|
|
1082
|
-
limit: number;
|
|
1083
|
-
subscription_active: boolean;
|
|
1084
|
-
next_quota_reset: Date;
|
|
1085
|
-
session_credits_used: number;
|
|
1086
|
-
referralLink?: string | undefined;
|
|
1087
|
-
}, {
|
|
1088
|
-
type: "usage-response";
|
|
1089
|
-
usage: number;
|
|
1090
|
-
limit: number;
|
|
1091
|
-
subscription_active: boolean;
|
|
1092
|
-
next_quota_reset: Date;
|
|
1093
|
-
session_credits_used: number;
|
|
1094
|
-
referralLink?: string | undefined;
|
|
1095
|
-
}>;
|
|
1096
|
-
export type UsageResponse = z.infer<typeof UsageReponseSchema>;
|
|
1097
|
-
export declare const InitResponseSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1098
|
-
type: z.ZodLiteral<"init-response">;
|
|
1099
|
-
}, Omit<{
|
|
1100
|
-
type: z.ZodLiteral<"usage-response">;
|
|
1101
|
-
usage: z.ZodNumber;
|
|
1102
|
-
limit: z.ZodNumber;
|
|
1103
|
-
referralLink: z.ZodOptional<z.ZodString>;
|
|
1104
|
-
subscription_active: z.ZodBoolean;
|
|
1105
|
-
next_quota_reset: z.ZodDate;
|
|
1106
|
-
session_credits_used: z.ZodNumber;
|
|
1107
|
-
}, "type">>, "strip", z.ZodTypeAny, {
|
|
1108
|
-
type: "init-response";
|
|
1109
|
-
usage: number;
|
|
1110
|
-
limit: number;
|
|
1111
|
-
subscription_active: boolean;
|
|
1112
|
-
next_quota_reset: Date;
|
|
1113
|
-
session_credits_used: number;
|
|
1114
|
-
referralLink?: string | undefined;
|
|
1115
|
-
}, {
|
|
1116
|
-
type: "init-response";
|
|
1117
|
-
usage: number;
|
|
1118
|
-
limit: number;
|
|
1119
|
-
subscription_active: boolean;
|
|
1120
|
-
next_quota_reset: Date;
|
|
1121
|
-
session_credits_used: number;
|
|
1122
|
-
referralLink?: string | undefined;
|
|
1123
|
-
}>;
|
|
1124
|
-
export type InitResponse = z.infer<typeof InitResponseSchema>;
|
|
1125
|
-
export declare const ResponseCompleteSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
1126
|
-
type: z.ZodLiteral<"response-complete">;
|
|
1127
|
-
userInputId: z.ZodString;
|
|
1128
|
-
response: z.ZodString;
|
|
1129
|
-
changes: z.ZodArray<z.ZodObject<{
|
|
1130
|
-
type: z.ZodEnum<["patch", "file"]>;
|
|
1131
|
-
filePath: z.ZodString;
|
|
1132
|
-
content: z.ZodString;
|
|
1133
|
-
}, "strip", z.ZodTypeAny, {
|
|
1134
|
-
content: string;
|
|
1135
|
-
type: "file" | "patch";
|
|
1136
|
-
filePath: string;
|
|
1137
|
-
}, {
|
|
1138
|
-
content: string;
|
|
1139
|
-
type: "file" | "patch";
|
|
1140
|
-
filePath: string;
|
|
1141
|
-
}>, "many">;
|
|
1142
|
-
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
1143
|
-
type: z.ZodEnum<["patch", "file"]>;
|
|
1144
|
-
filePath: z.ZodString;
|
|
1145
|
-
content: z.ZodString;
|
|
1146
|
-
}, "strip", z.ZodTypeAny, {
|
|
1147
|
-
content: string;
|
|
1148
|
-
type: "file" | "patch";
|
|
1149
|
-
filePath: string;
|
|
1150
|
-
}, {
|
|
1151
|
-
content: string;
|
|
1152
|
-
type: "file" | "patch";
|
|
1153
|
-
filePath: string;
|
|
1154
|
-
}>, "many">;
|
|
1155
|
-
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
1156
|
-
path: z.ZodString;
|
|
1157
|
-
content: z.ZodString;
|
|
1158
|
-
}, "strip", z.ZodTypeAny, {
|
|
1159
|
-
path: string;
|
|
1160
|
-
content: string;
|
|
1161
|
-
}, {
|
|
1162
|
-
path: string;
|
|
1163
|
-
content: string;
|
|
1164
|
-
}>, "many">;
|
|
1165
|
-
resetFileVersions: z.ZodBoolean;
|
|
1166
|
-
}, {
|
|
1167
|
-
usage: z.ZodOptional<z.ZodNumber>;
|
|
1168
|
-
limit: z.ZodOptional<z.ZodNumber>;
|
|
1169
|
-
referralLink: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
1170
|
-
subscription_active: z.ZodOptional<z.ZodBoolean>;
|
|
1171
|
-
next_quota_reset: z.ZodOptional<z.ZodDate>;
|
|
1172
|
-
session_credits_used: z.ZodOptional<z.ZodNumber>;
|
|
1173
|
-
}>, "strip", z.ZodTypeAny, {
|
|
1174
|
-
type: "response-complete";
|
|
1175
|
-
userInputId: string;
|
|
1176
|
-
changesAlreadyApplied: {
|
|
1177
|
-
content: string;
|
|
1178
|
-
type: "file" | "patch";
|
|
1179
|
-
filePath: string;
|
|
1180
|
-
}[];
|
|
1181
|
-
response: string;
|
|
1182
|
-
changes: {
|
|
1183
|
-
content: string;
|
|
1184
|
-
type: "file" | "patch";
|
|
1185
|
-
filePath: string;
|
|
1186
|
-
}[];
|
|
1187
|
-
addedFileVersions: {
|
|
1188
|
-
path: string;
|
|
1189
|
-
content: string;
|
|
1190
|
-
}[];
|
|
1191
|
-
resetFileVersions: boolean;
|
|
1192
|
-
usage?: number | undefined;
|
|
1193
|
-
limit?: number | undefined;
|
|
1194
|
-
referralLink?: string | undefined;
|
|
1195
|
-
subscription_active?: boolean | undefined;
|
|
1196
|
-
next_quota_reset?: Date | undefined;
|
|
1197
|
-
session_credits_used?: number | undefined;
|
|
1198
|
-
}, {
|
|
1199
|
-
type: "response-complete";
|
|
1200
|
-
userInputId: string;
|
|
1201
|
-
changesAlreadyApplied: {
|
|
1202
|
-
content: string;
|
|
1203
|
-
type: "file" | "patch";
|
|
1204
|
-
filePath: string;
|
|
1205
|
-
}[];
|
|
1206
|
-
response: string;
|
|
1207
|
-
changes: {
|
|
1208
|
-
content: string;
|
|
1209
|
-
type: "file" | "patch";
|
|
1210
|
-
filePath: string;
|
|
1211
|
-
}[];
|
|
1212
|
-
addedFileVersions: {
|
|
1213
|
-
path: string;
|
|
1214
|
-
content: string;
|
|
1215
|
-
}[];
|
|
1216
|
-
resetFileVersions: boolean;
|
|
1217
|
-
usage?: number | undefined;
|
|
1218
|
-
limit?: number | undefined;
|
|
1219
|
-
referralLink?: string | undefined;
|
|
1220
|
-
subscription_active?: boolean | undefined;
|
|
1221
|
-
next_quota_reset?: Date | undefined;
|
|
1222
|
-
session_credits_used?: number | undefined;
|
|
1223
|
-
}>;
|
|
1224
1185
|
export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
1225
|
-
type: z.ZodLiteral<"read-files-response">;
|
|
1226
|
-
files: z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodString>>;
|
|
1227
|
-
}, "strip", z.ZodTypeAny, {
|
|
1228
|
-
type: "read-files-response";
|
|
1229
|
-
files: Record<string, string | null>;
|
|
1230
|
-
}, {
|
|
1231
|
-
type: "read-files-response";
|
|
1232
|
-
files: Record<string, string | null>;
|
|
1233
|
-
}>, z.ZodObject<{
|
|
1234
1186
|
type: z.ZodLiteral<"response-chunk">;
|
|
1235
1187
|
userInputId: z.ZodString;
|
|
1236
1188
|
chunk: z.ZodString;
|
|
@@ -1251,26 +1203,26 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1251
1203
|
filePath: z.ZodString;
|
|
1252
1204
|
content: z.ZodString;
|
|
1253
1205
|
}, "strip", z.ZodTypeAny, {
|
|
1254
|
-
|
|
1255
|
-
type: "file" | "patch";
|
|
1206
|
+
type: "patch" | "file";
|
|
1256
1207
|
filePath: string;
|
|
1257
|
-
}, {
|
|
1258
1208
|
content: string;
|
|
1259
|
-
|
|
1209
|
+
}, {
|
|
1210
|
+
type: "patch" | "file";
|
|
1260
1211
|
filePath: string;
|
|
1212
|
+
content: string;
|
|
1261
1213
|
}>, "many">;
|
|
1262
1214
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
1263
1215
|
type: z.ZodEnum<["patch", "file"]>;
|
|
1264
1216
|
filePath: z.ZodString;
|
|
1265
1217
|
content: z.ZodString;
|
|
1266
1218
|
}, "strip", z.ZodTypeAny, {
|
|
1267
|
-
|
|
1268
|
-
type: "file" | "patch";
|
|
1219
|
+
type: "patch" | "file";
|
|
1269
1220
|
filePath: string;
|
|
1270
|
-
}, {
|
|
1271
1221
|
content: string;
|
|
1272
|
-
|
|
1222
|
+
}, {
|
|
1223
|
+
type: "patch" | "file";
|
|
1273
1224
|
filePath: string;
|
|
1225
|
+
content: string;
|
|
1274
1226
|
}>, "many">;
|
|
1275
1227
|
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
1276
1228
|
path: z.ZodString;
|
|
@@ -1293,16 +1245,16 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1293
1245
|
}>, "strip", z.ZodTypeAny, {
|
|
1294
1246
|
type: "response-complete";
|
|
1295
1247
|
userInputId: string;
|
|
1296
|
-
changesAlreadyApplied: {
|
|
1297
|
-
content: string;
|
|
1298
|
-
type: "file" | "patch";
|
|
1299
|
-
filePath: string;
|
|
1300
|
-
}[];
|
|
1301
1248
|
response: string;
|
|
1302
1249
|
changes: {
|
|
1250
|
+
type: "patch" | "file";
|
|
1251
|
+
filePath: string;
|
|
1303
1252
|
content: string;
|
|
1304
|
-
|
|
1253
|
+
}[];
|
|
1254
|
+
changesAlreadyApplied: {
|
|
1255
|
+
type: "patch" | "file";
|
|
1305
1256
|
filePath: string;
|
|
1257
|
+
content: string;
|
|
1306
1258
|
}[];
|
|
1307
1259
|
addedFileVersions: {
|
|
1308
1260
|
path: string;
|
|
@@ -1318,16 +1270,16 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1318
1270
|
}, {
|
|
1319
1271
|
type: "response-complete";
|
|
1320
1272
|
userInputId: string;
|
|
1321
|
-
changesAlreadyApplied: {
|
|
1322
|
-
content: string;
|
|
1323
|
-
type: "file" | "patch";
|
|
1324
|
-
filePath: string;
|
|
1325
|
-
}[];
|
|
1326
1273
|
response: string;
|
|
1327
1274
|
changes: {
|
|
1275
|
+
type: "patch" | "file";
|
|
1276
|
+
filePath: string;
|
|
1328
1277
|
content: string;
|
|
1329
|
-
|
|
1278
|
+
}[];
|
|
1279
|
+
changesAlreadyApplied: {
|
|
1280
|
+
type: "patch" | "file";
|
|
1330
1281
|
filePath: string;
|
|
1282
|
+
content: string;
|
|
1331
1283
|
}[];
|
|
1332
1284
|
addedFileVersions: {
|
|
1333
1285
|
path: string;
|
|
@@ -1343,11 +1295,14 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1343
1295
|
}>, z.ZodObject<{
|
|
1344
1296
|
type: z.ZodLiteral<"read-files">;
|
|
1345
1297
|
filePaths: z.ZodArray<z.ZodString, "many">;
|
|
1298
|
+
requestId: z.ZodString;
|
|
1346
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1347
1300
|
type: "read-files";
|
|
1301
|
+
requestId: string;
|
|
1348
1302
|
filePaths: string[];
|
|
1349
1303
|
}, {
|
|
1350
1304
|
type: "read-files";
|
|
1305
|
+
requestId: string;
|
|
1351
1306
|
filePaths: string[];
|
|
1352
1307
|
}>, z.ZodObject<{
|
|
1353
1308
|
type: z.ZodLiteral<"tool-call">;
|
|
@@ -1371,26 +1326,26 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1371
1326
|
filePath: z.ZodString;
|
|
1372
1327
|
content: z.ZodString;
|
|
1373
1328
|
}, "strip", z.ZodTypeAny, {
|
|
1374
|
-
|
|
1375
|
-
type: "file" | "patch";
|
|
1329
|
+
type: "patch" | "file";
|
|
1376
1330
|
filePath: string;
|
|
1377
|
-
}, {
|
|
1378
1331
|
content: string;
|
|
1379
|
-
|
|
1332
|
+
}, {
|
|
1333
|
+
type: "patch" | "file";
|
|
1380
1334
|
filePath: string;
|
|
1335
|
+
content: string;
|
|
1381
1336
|
}>, "many">;
|
|
1382
1337
|
changesAlreadyApplied: z.ZodArray<z.ZodObject<{
|
|
1383
1338
|
type: z.ZodEnum<["patch", "file"]>;
|
|
1384
1339
|
filePath: z.ZodString;
|
|
1385
1340
|
content: z.ZodString;
|
|
1386
1341
|
}, "strip", z.ZodTypeAny, {
|
|
1387
|
-
|
|
1388
|
-
type: "file" | "patch";
|
|
1342
|
+
type: "patch" | "file";
|
|
1389
1343
|
filePath: string;
|
|
1390
|
-
}, {
|
|
1391
1344
|
content: string;
|
|
1392
|
-
|
|
1345
|
+
}, {
|
|
1346
|
+
type: "patch" | "file";
|
|
1393
1347
|
filePath: string;
|
|
1348
|
+
content: string;
|
|
1394
1349
|
}>, "many">;
|
|
1395
1350
|
addedFileVersions: z.ZodArray<z.ZodObject<{
|
|
1396
1351
|
path: z.ZodString;
|
|
@@ -1406,51 +1361,51 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1406
1361
|
}, "strip", z.ZodTypeAny, {
|
|
1407
1362
|
type: "tool-call";
|
|
1408
1363
|
userInputId: string;
|
|
1409
|
-
data: {
|
|
1410
|
-
name: string;
|
|
1411
|
-
id: string;
|
|
1412
|
-
input: Record<string, any>;
|
|
1413
|
-
};
|
|
1414
|
-
changesAlreadyApplied: {
|
|
1415
|
-
content: string;
|
|
1416
|
-
type: "file" | "patch";
|
|
1417
|
-
filePath: string;
|
|
1418
|
-
}[];
|
|
1419
1364
|
response: string;
|
|
1420
1365
|
changes: {
|
|
1366
|
+
type: "patch" | "file";
|
|
1367
|
+
filePath: string;
|
|
1421
1368
|
content: string;
|
|
1422
|
-
|
|
1369
|
+
}[];
|
|
1370
|
+
changesAlreadyApplied: {
|
|
1371
|
+
type: "patch" | "file";
|
|
1423
1372
|
filePath: string;
|
|
1373
|
+
content: string;
|
|
1424
1374
|
}[];
|
|
1425
1375
|
addedFileVersions: {
|
|
1426
1376
|
path: string;
|
|
1427
1377
|
content: string;
|
|
1428
1378
|
}[];
|
|
1429
1379
|
resetFileVersions: boolean;
|
|
1430
|
-
}, {
|
|
1431
|
-
type: "tool-call";
|
|
1432
|
-
userInputId: string;
|
|
1433
1380
|
data: {
|
|
1434
1381
|
name: string;
|
|
1435
1382
|
id: string;
|
|
1436
1383
|
input: Record<string, any>;
|
|
1437
1384
|
};
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
filePath: string;
|
|
1442
|
-
}[];
|
|
1385
|
+
}, {
|
|
1386
|
+
type: "tool-call";
|
|
1387
|
+
userInputId: string;
|
|
1443
1388
|
response: string;
|
|
1444
1389
|
changes: {
|
|
1390
|
+
type: "patch" | "file";
|
|
1391
|
+
filePath: string;
|
|
1445
1392
|
content: string;
|
|
1446
|
-
|
|
1393
|
+
}[];
|
|
1394
|
+
changesAlreadyApplied: {
|
|
1395
|
+
type: "patch" | "file";
|
|
1447
1396
|
filePath: string;
|
|
1397
|
+
content: string;
|
|
1448
1398
|
}[];
|
|
1449
1399
|
addedFileVersions: {
|
|
1450
1400
|
path: string;
|
|
1451
1401
|
content: string;
|
|
1452
1402
|
}[];
|
|
1453
1403
|
resetFileVersions: boolean;
|
|
1404
|
+
data: {
|
|
1405
|
+
name: string;
|
|
1406
|
+
id: string;
|
|
1407
|
+
input: Record<string, any>;
|
|
1408
|
+
};
|
|
1454
1409
|
}>, z.ZodObject<{
|
|
1455
1410
|
type: z.ZodLiteral<"terminal-command-result">;
|
|
1456
1411
|
userInputId: z.ZodString;
|
|
@@ -1501,68 +1456,6 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1501
1456
|
next_quota_reset: Date;
|
|
1502
1457
|
session_credits_used: number;
|
|
1503
1458
|
referralLink?: string | undefined;
|
|
1504
|
-
}>, z.ZodObject<{
|
|
1505
|
-
type: z.ZodLiteral<"auth-result">;
|
|
1506
|
-
user: z.ZodOptional<z.ZodObject<{
|
|
1507
|
-
id: z.ZodString;
|
|
1508
|
-
email: z.ZodString;
|
|
1509
|
-
name: z.ZodNullable<z.ZodString>;
|
|
1510
|
-
authToken: z.ZodString;
|
|
1511
|
-
fingerprintId: z.ZodString;
|
|
1512
|
-
fingerprintHash: z.ZodString;
|
|
1513
|
-
}, "strip", z.ZodTypeAny, {
|
|
1514
|
-
email: string;
|
|
1515
|
-
name: string | null;
|
|
1516
|
-
id: string;
|
|
1517
|
-
authToken: string;
|
|
1518
|
-
fingerprintId: string;
|
|
1519
|
-
fingerprintHash: string;
|
|
1520
|
-
}, {
|
|
1521
|
-
email: string;
|
|
1522
|
-
name: string | null;
|
|
1523
|
-
id: string;
|
|
1524
|
-
authToken: string;
|
|
1525
|
-
fingerprintId: string;
|
|
1526
|
-
fingerprintHash: string;
|
|
1527
|
-
}>>;
|
|
1528
|
-
message: z.ZodString;
|
|
1529
|
-
}, "strip", z.ZodTypeAny, {
|
|
1530
|
-
message: string;
|
|
1531
|
-
type: "auth-result";
|
|
1532
|
-
user?: {
|
|
1533
|
-
email: string;
|
|
1534
|
-
name: string | null;
|
|
1535
|
-
id: string;
|
|
1536
|
-
authToken: string;
|
|
1537
|
-
fingerprintId: string;
|
|
1538
|
-
fingerprintHash: string;
|
|
1539
|
-
} | undefined;
|
|
1540
|
-
}, {
|
|
1541
|
-
message: string;
|
|
1542
|
-
type: "auth-result";
|
|
1543
|
-
user?: {
|
|
1544
|
-
email: string;
|
|
1545
|
-
name: string | null;
|
|
1546
|
-
id: string;
|
|
1547
|
-
authToken: string;
|
|
1548
|
-
fingerprintId: string;
|
|
1549
|
-
fingerprintHash: string;
|
|
1550
|
-
} | undefined;
|
|
1551
|
-
}>, z.ZodObject<{
|
|
1552
|
-
type: z.ZodLiteral<"login-code-response">;
|
|
1553
|
-
fingerprintId: z.ZodString;
|
|
1554
|
-
fingerprintHash: z.ZodString;
|
|
1555
|
-
loginUrl: z.ZodString;
|
|
1556
|
-
}, "strip", z.ZodTypeAny, {
|
|
1557
|
-
type: "login-code-response";
|
|
1558
|
-
fingerprintId: string;
|
|
1559
|
-
fingerprintHash: string;
|
|
1560
|
-
loginUrl: string;
|
|
1561
|
-
}, {
|
|
1562
|
-
type: "login-code-response";
|
|
1563
|
-
fingerprintId: string;
|
|
1564
|
-
fingerprintHash: string;
|
|
1565
|
-
loginUrl: string;
|
|
1566
1459
|
}>, z.ZodObject<{
|
|
1567
1460
|
type: z.ZodLiteral<"usage-response">;
|
|
1568
1461
|
usage: z.ZodNumber;
|
|
@@ -1591,11 +1484,11 @@ export declare const SERVER_ACTION_SCHEMA: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1591
1484
|
type: z.ZodLiteral<"action-error">;
|
|
1592
1485
|
message: z.ZodString;
|
|
1593
1486
|
}, "strip", z.ZodTypeAny, {
|
|
1594
|
-
message: string;
|
|
1595
1487
|
type: "action-error";
|
|
1596
|
-
}, {
|
|
1597
1488
|
message: string;
|
|
1489
|
+
}, {
|
|
1598
1490
|
type: "action-error";
|
|
1491
|
+
message: string;
|
|
1599
1492
|
}>, z.ZodObject<{
|
|
1600
1493
|
type: z.ZodLiteral<"commit-message-response">;
|
|
1601
1494
|
commitMessage: z.ZodString;
|