@innovatorved/code-lab 0.1.7 → 0.1.8

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/schemas.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  /**
3
- * Zod Schemas and Inferred TypeScript Types for code-lab v0.1.7
3
+ * Zod Schemas and Inferred TypeScript Types for code-lab v0.1.8
4
4
  */
5
5
  export declare const GuidedStepSchema: z.ZodObject<{
6
6
  id: z.ZodString;
@@ -14,23 +14,23 @@ export declare const GuidedStepSchema: z.ZodObject<{
14
14
  testNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
15
  }, "strip", z.ZodTypeAny, {
16
16
  symbol?: string;
17
+ hint?: string;
17
18
  id?: string;
18
19
  title?: string;
19
20
  concept?: string;
20
21
  targetFile?: string;
21
22
  targetSymbol?: string;
22
23
  instructions?: string | string[];
23
- hint?: string;
24
24
  testNames?: string[];
25
25
  }, {
26
26
  symbol?: string;
27
+ hint?: string;
27
28
  id?: string;
28
29
  title?: string;
29
30
  concept?: string;
30
31
  targetFile?: string;
31
32
  targetSymbol?: string;
32
33
  instructions?: string | string[];
33
- hint?: string;
34
34
  testNames?: string[];
35
35
  }>;
36
36
  export type GuidedStep = z.infer<typeof GuidedStepSchema>;
@@ -70,23 +70,23 @@ export declare const GuidedLabExtensionOptionsSchema: z.ZodObject<{
70
70
  testNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
71
71
  }, "strip", z.ZodTypeAny, {
72
72
  symbol?: string;
73
+ hint?: string;
73
74
  id?: string;
74
75
  title?: string;
75
76
  concept?: string;
76
77
  targetFile?: string;
77
78
  targetSymbol?: string;
78
79
  instructions?: string | string[];
79
- hint?: string;
80
80
  testNames?: string[];
81
81
  }, {
82
82
  symbol?: string;
83
+ hint?: string;
83
84
  id?: string;
84
85
  title?: string;
85
86
  concept?: string;
86
87
  targetFile?: string;
87
88
  targetSymbol?: string;
88
89
  instructions?: string | string[];
89
- hint?: string;
90
90
  testNames?: string[];
91
91
  }>, "many">>;
92
92
  stepIndex: z.ZodDefault<z.ZodNumber>;
@@ -111,43 +111,43 @@ export declare const GuidedLabExtensionOptionsSchema: z.ZodObject<{
111
111
  testNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
112
112
  }, "strip", z.ZodTypeAny, {
113
113
  symbol?: string;
114
+ hint?: string;
114
115
  id?: string;
115
116
  title?: string;
116
117
  concept?: string;
117
118
  targetFile?: string;
118
119
  targetSymbol?: string;
119
120
  instructions?: string | string[];
120
- hint?: string;
121
121
  testNames?: string[];
122
122
  }, {
123
123
  symbol?: string;
124
+ hint?: string;
124
125
  id?: string;
125
126
  title?: string;
126
127
  concept?: string;
127
128
  targetFile?: string;
128
129
  targetSymbol?: string;
129
130
  instructions?: string | string[];
130
- hint?: string;
131
131
  testNames?: string[];
132
132
  }>, z.ZodNumber], z.ZodUnknown>, z.ZodVoid>>;
133
133
  onLabComplete: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
134
134
  }, "strip", z.ZodTypeAny, {
135
+ mode?: "guided" | "sandbox";
135
136
  language?: "js" | "ts";
136
137
  starterFiles?: Record<string, string>;
137
138
  solutionFiles?: Record<string, string>;
138
139
  steps?: {
139
140
  symbol?: string;
141
+ hint?: string;
140
142
  id?: string;
141
143
  title?: string;
142
144
  concept?: string;
143
145
  targetFile?: string;
144
146
  targetSymbol?: string;
145
147
  instructions?: string | string[];
146
- hint?: string;
147
148
  testNames?: string[];
148
149
  }[];
149
150
  stepIndex?: number;
150
- mode?: "guided" | "sandbox";
151
151
  lang?: "js" | "ts";
152
152
  tsStarterFiles?: Record<string, string>;
153
153
  tsSolutionFiles?: Record<string, string>;
@@ -155,33 +155,33 @@ export declare const GuidedLabExtensionOptionsSchema: z.ZodObject<{
155
155
  summary?: string;
156
156
  onStepComplete?: (args_0: {
157
157
  symbol?: string;
158
+ hint?: string;
158
159
  id?: string;
159
160
  title?: string;
160
161
  concept?: string;
161
162
  targetFile?: string;
162
163
  targetSymbol?: string;
163
164
  instructions?: string | string[];
164
- hint?: string;
165
165
  testNames?: string[];
166
166
  }, args_1: number, ...args: unknown[]) => void;
167
167
  onLabComplete?: (args_0: string, ...args: unknown[]) => void;
168
168
  }, {
169
+ mode?: "guided" | "sandbox";
169
170
  language?: "js" | "ts";
170
171
  starterFiles?: Record<string, string>;
171
172
  solutionFiles?: Record<string, string>;
172
173
  steps?: {
173
174
  symbol?: string;
175
+ hint?: string;
174
176
  id?: string;
175
177
  title?: string;
176
178
  concept?: string;
177
179
  targetFile?: string;
178
180
  targetSymbol?: string;
179
181
  instructions?: string | string[];
180
- hint?: string;
181
182
  testNames?: string[];
182
183
  }[];
183
184
  stepIndex?: number;
184
- mode?: "guided" | "sandbox";
185
185
  lang?: "js" | "ts";
186
186
  tsStarterFiles?: Record<string, string>;
187
187
  tsSolutionFiles?: Record<string, string>;
@@ -189,13 +189,13 @@ export declare const GuidedLabExtensionOptionsSchema: z.ZodObject<{
189
189
  summary?: string;
190
190
  onStepComplete?: (args_0: {
191
191
  symbol?: string;
192
+ hint?: string;
192
193
  id?: string;
193
194
  title?: string;
194
195
  concept?: string;
195
196
  targetFile?: string;
196
197
  targetSymbol?: string;
197
198
  instructions?: string | string[];
198
- hint?: string;
199
199
  testNames?: string[];
200
200
  }, args_1: number, ...args: unknown[]) => void;
201
201
  onLabComplete?: (args_0: string, ...args: unknown[]) => void;
@@ -210,12 +210,12 @@ export declare const CloneProgressEventSchema: z.ZodObject<{
210
210
  total: z.ZodOptional<z.ZodNumber>;
211
211
  }, "strip", z.ZodTypeAny, {
212
212
  message?: string;
213
- phase?: "connecting" | "metadata" | "downloading" | "mounting" | "ready" | "error";
213
+ phase?: "error" | "connecting" | "metadata" | "downloading" | "mounting" | "ready";
214
214
  loaded?: number;
215
215
  total?: number;
216
216
  }, {
217
217
  message?: string;
218
- phase?: "connecting" | "metadata" | "downloading" | "mounting" | "ready" | "error";
218
+ phase?: "error" | "connecting" | "metadata" | "downloading" | "mounting" | "ready";
219
219
  loaded?: number;
220
220
  total?: number;
221
221
  }>;
@@ -278,9 +278,9 @@ export declare const RuntimeExecuteOptionsSchema: z.ZodObject<{
278
278
  onStderr: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
279
279
  onTestResult: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodVoid>>;
280
280
  }, "strip", z.ZodTypeAny, {
281
+ mode?: "run" | "test" | "repl";
281
282
  files?: Record<string, string>;
282
283
  entry?: string;
283
- mode?: "run" | "test" | "repl";
284
284
  replCode?: string;
285
285
  printReplResult?: boolean;
286
286
  testFilter?: string | string[];
@@ -300,9 +300,9 @@ export declare const RuntimeExecuteOptionsSchema: z.ZodObject<{
300
300
  onStderr?: (args_0: string, ...args: unknown[]) => void;
301
301
  onTestResult?: (args_0: any, ...args: unknown[]) => void;
302
302
  }, {
303
+ mode?: "run" | "test" | "repl";
303
304
  files?: Record<string, string>;
304
305
  entry?: string;
305
- mode?: "run" | "test" | "repl";
306
306
  replCode?: string;
307
307
  printReplResult?: boolean;
308
308
  testFilter?: string | string[];
@@ -333,8 +333,8 @@ export declare const WorkspaceSnapshotSchema: z.ZodObject<{
333
333
  lang: z.ZodOptional<z.ZodEnum<["js", "ts"]>>;
334
334
  labId: z.ZodOptional<z.ZodString>;
335
335
  }, "strip", z.ZodTypeAny, {
336
- files?: Record<string, string>;
337
336
  mode?: "guided" | "sandbox";
337
+ files?: Record<string, string>;
338
338
  lang?: "js" | "ts";
339
339
  version?: number;
340
340
  timestamp?: number;
@@ -342,8 +342,8 @@ export declare const WorkspaceSnapshotSchema: z.ZodObject<{
342
342
  activeFile?: string;
343
343
  labId?: string;
344
344
  }, {
345
- files?: Record<string, string>;
346
345
  mode?: "guided" | "sandbox";
346
+ files?: Record<string, string>;
347
347
  lang?: "js" | "ts";
348
348
  version?: number;
349
349
  timestamp?: number;
@@ -390,23 +390,23 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
390
390
  testNames: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
391
391
  }, "strip", z.ZodTypeAny, {
392
392
  symbol?: string;
393
+ hint?: string;
393
394
  id?: string;
394
395
  title?: string;
395
396
  concept?: string;
396
397
  targetFile?: string;
397
398
  targetSymbol?: string;
398
399
  instructions?: string | string[];
399
- hint?: string;
400
400
  testNames?: string[];
401
401
  }, {
402
402
  symbol?: string;
403
+ hint?: string;
403
404
  id?: string;
404
405
  title?: string;
405
406
  concept?: string;
406
407
  targetFile?: string;
407
408
  targetSymbol?: string;
408
409
  instructions?: string | string[];
409
- hint?: string;
410
410
  testNames?: string[];
411
411
  }>, "many">>;
412
412
  starterFiles: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -422,6 +422,7 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
422
422
  onStepComplete: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny, z.ZodNumber], z.ZodUnknown>, z.ZodVoid>>;
423
423
  onLabComplete: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodString], z.ZodUnknown>, z.ZodVoid>>;
424
424
  }, "strip", z.ZodTypeAny, {
425
+ mode?: "guided" | "sandbox";
425
426
  id?: string;
426
427
  title?: string;
427
428
  language?: "js" | "ts";
@@ -432,18 +433,17 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
432
433
  testEntry?: string;
433
434
  steps?: {
434
435
  symbol?: string;
436
+ hint?: string;
435
437
  id?: string;
436
438
  title?: string;
437
439
  concept?: string;
438
440
  targetFile?: string;
439
441
  targetSymbol?: string;
440
442
  instructions?: string | string[];
441
- hint?: string;
442
443
  testNames?: string[];
443
444
  }[];
444
445
  stepIndex?: number;
445
446
  guided?: any;
446
- mode?: "guided" | "sandbox";
447
447
  lang?: "js" | "ts";
448
448
  tsStarterFiles?: Record<string, string>;
449
449
  tsSolutionFiles?: Record<string, string>;
@@ -471,6 +471,7 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
471
471
  plugins?: any[];
472
472
  extensions?: any[];
473
473
  }, {
474
+ mode?: "guided" | "sandbox";
474
475
  id?: string;
475
476
  title?: string;
476
477
  language?: "js" | "ts";
@@ -481,18 +482,17 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
481
482
  testEntry?: string;
482
483
  steps?: {
483
484
  symbol?: string;
485
+ hint?: string;
484
486
  id?: string;
485
487
  title?: string;
486
488
  concept?: string;
487
489
  targetFile?: string;
488
490
  targetSymbol?: string;
489
491
  instructions?: string | string[];
490
- hint?: string;
491
492
  testNames?: string[];
492
493
  }[];
493
494
  stepIndex?: number;
494
495
  guided?: any;
495
- mode?: "guided" | "sandbox";
496
496
  lang?: "js" | "ts";
497
497
  tsStarterFiles?: Record<string, string>;
498
498
  tsSolutionFiles?: Record<string, string>;
@@ -521,3 +521,335 @@ export declare const WorkbenchOptionsSchema: z.ZodObject<{
521
521
  extensions?: any[];
522
522
  }>;
523
523
  export type WorkbenchOptions = z.infer<typeof WorkbenchOptionsSchema>;
524
+ export declare const SearchOptionsSchema: z.ZodObject<{
525
+ query: z.ZodDefault<z.ZodString>;
526
+ caseSensitive: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
527
+ wholeWord: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
528
+ regex: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
529
+ isRegex: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
530
+ include: z.ZodOptional<z.ZodString>;
531
+ includeGlob: z.ZodOptional<z.ZodString>;
532
+ includePattern: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
533
+ exclude: z.ZodOptional<z.ZodString>;
534
+ excludeGlob: z.ZodOptional<z.ZodString>;
535
+ excludePattern: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
536
+ maxMatches: z.ZodOptional<z.ZodNumber>;
537
+ maxMatchesPerFile: z.ZodOptional<z.ZodNumber>;
538
+ }, "strip", z.ZodTypeAny, {
539
+ query?: string;
540
+ caseSensitive?: boolean;
541
+ wholeWord?: boolean;
542
+ regex?: boolean;
543
+ isRegex?: boolean;
544
+ include?: string;
545
+ includeGlob?: string;
546
+ includePattern?: string | string[];
547
+ exclude?: string;
548
+ excludeGlob?: string;
549
+ excludePattern?: string | string[];
550
+ maxMatches?: number;
551
+ maxMatchesPerFile?: number;
552
+ }, {
553
+ query?: string;
554
+ caseSensitive?: boolean;
555
+ wholeWord?: boolean;
556
+ regex?: boolean;
557
+ isRegex?: boolean;
558
+ include?: string;
559
+ includeGlob?: string;
560
+ includePattern?: string | string[];
561
+ exclude?: string;
562
+ excludeGlob?: string;
563
+ excludePattern?: string | string[];
564
+ maxMatches?: number;
565
+ maxMatchesPerFile?: number;
566
+ }>;
567
+ export type SearchOptions = z.infer<typeof SearchOptionsSchema>;
568
+ export declare const DiagnosticSeveritySchema: z.ZodEnum<["error", "warning", "info", "hint"]>;
569
+ export type DiagnosticSeverity = z.infer<typeof DiagnosticSeveritySchema>;
570
+ export declare const DiagnosticItemSchema: z.ZodObject<{
571
+ id: z.ZodString;
572
+ file: z.ZodString;
573
+ line: z.ZodNumber;
574
+ col: z.ZodOptional<z.ZodNumber>;
575
+ column: z.ZodOptional<z.ZodNumber>;
576
+ endLine: z.ZodOptional<z.ZodNumber>;
577
+ endCol: z.ZodOptional<z.ZodNumber>;
578
+ endColumn: z.ZodOptional<z.ZodNumber>;
579
+ message: z.ZodString;
580
+ severity: z.ZodEnum<["error", "warning", "info", "hint"]>;
581
+ source: z.ZodOptional<z.ZodString>;
582
+ code: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
583
+ tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
584
+ }, "strip", z.ZodTypeAny, {
585
+ id?: string;
586
+ code?: string | number;
587
+ message?: string;
588
+ file?: string;
589
+ line?: number;
590
+ col?: number;
591
+ column?: number;
592
+ endLine?: number;
593
+ endCol?: number;
594
+ endColumn?: number;
595
+ severity?: "error" | "warning" | "info" | "hint";
596
+ source?: string;
597
+ tags?: string[];
598
+ }, {
599
+ id?: string;
600
+ code?: string | number;
601
+ message?: string;
602
+ file?: string;
603
+ line?: number;
604
+ col?: number;
605
+ column?: number;
606
+ endLine?: number;
607
+ endCol?: number;
608
+ endColumn?: number;
609
+ severity?: "error" | "warning" | "info" | "hint";
610
+ source?: string;
611
+ tags?: string[];
612
+ }>;
613
+ export type DiagnosticItem = z.infer<typeof DiagnosticItemSchema>;
614
+ export declare const StoredProjectSchema: z.ZodObject<{
615
+ id: z.ZodString;
616
+ name: z.ZodString;
617
+ files: z.ZodRecord<z.ZodString, z.ZodString>;
618
+ updatedAt: z.ZodNumber;
619
+ createdAt: z.ZodOptional<z.ZodNumber>;
620
+ entry: z.ZodOptional<z.ZodString>;
621
+ testEntry: z.ZodOptional<z.ZodString>;
622
+ version: z.ZodOptional<z.ZodNumber>;
623
+ }, "strip", z.ZodTypeAny, {
624
+ id?: string;
625
+ files?: Record<string, string>;
626
+ entry?: string;
627
+ testEntry?: string;
628
+ version?: number;
629
+ name?: string;
630
+ updatedAt?: number;
631
+ createdAt?: number;
632
+ }, {
633
+ id?: string;
634
+ files?: Record<string, string>;
635
+ entry?: string;
636
+ testEntry?: string;
637
+ version?: number;
638
+ name?: string;
639
+ updatedAt?: number;
640
+ createdAt?: number;
641
+ }>;
642
+ export type StoredProject = z.infer<typeof StoredProjectSchema>;
643
+ export declare const GitFileChangeTypeSchema: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
644
+ export type GitFileChangeType = z.infer<typeof GitFileChangeTypeSchema>;
645
+ export declare const GitFileStatusSchema: z.ZodObject<{
646
+ path: z.ZodString;
647
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
648
+ staged: z.ZodBoolean;
649
+ oldContent: z.ZodOptional<z.ZodString>;
650
+ newContent: z.ZodOptional<z.ZodString>;
651
+ }, "strip", z.ZodTypeAny, {
652
+ status?: "modified" | "added" | "deleted" | "untracked";
653
+ path?: string;
654
+ staged?: boolean;
655
+ oldContent?: string;
656
+ newContent?: string;
657
+ }, {
658
+ status?: "modified" | "added" | "deleted" | "untracked";
659
+ path?: string;
660
+ staged?: boolean;
661
+ oldContent?: string;
662
+ newContent?: string;
663
+ }>;
664
+ export type GitFileStatus = z.infer<typeof GitFileStatusSchema>;
665
+ export declare const GitStateSummarySchema: z.ZodObject<{
666
+ branch: z.ZodDefault<z.ZodString>;
667
+ headCommit: z.ZodOptional<z.ZodString>;
668
+ branches: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
669
+ staged: z.ZodDefault<z.ZodArray<z.ZodObject<{
670
+ path: z.ZodString;
671
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
672
+ staged: z.ZodBoolean;
673
+ oldContent: z.ZodOptional<z.ZodString>;
674
+ newContent: z.ZodOptional<z.ZodString>;
675
+ }, "strip", z.ZodTypeAny, {
676
+ status?: "modified" | "added" | "deleted" | "untracked";
677
+ path?: string;
678
+ staged?: boolean;
679
+ oldContent?: string;
680
+ newContent?: string;
681
+ }, {
682
+ status?: "modified" | "added" | "deleted" | "untracked";
683
+ path?: string;
684
+ staged?: boolean;
685
+ oldContent?: string;
686
+ newContent?: string;
687
+ }>, "many">>;
688
+ unstaged: z.ZodDefault<z.ZodArray<z.ZodObject<{
689
+ path: z.ZodString;
690
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
691
+ staged: z.ZodBoolean;
692
+ oldContent: z.ZodOptional<z.ZodString>;
693
+ newContent: z.ZodOptional<z.ZodString>;
694
+ }, "strip", z.ZodTypeAny, {
695
+ status?: "modified" | "added" | "deleted" | "untracked";
696
+ path?: string;
697
+ staged?: boolean;
698
+ oldContent?: string;
699
+ newContent?: string;
700
+ }, {
701
+ status?: "modified" | "added" | "deleted" | "untracked";
702
+ path?: string;
703
+ staged?: boolean;
704
+ oldContent?: string;
705
+ newContent?: string;
706
+ }>, "many">>;
707
+ untracked: z.ZodDefault<z.ZodArray<z.ZodObject<{
708
+ path: z.ZodString;
709
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
710
+ staged: z.ZodBoolean;
711
+ oldContent: z.ZodOptional<z.ZodString>;
712
+ newContent: z.ZodOptional<z.ZodString>;
713
+ }, "strip", z.ZodTypeAny, {
714
+ status?: "modified" | "added" | "deleted" | "untracked";
715
+ path?: string;
716
+ staged?: boolean;
717
+ oldContent?: string;
718
+ newContent?: string;
719
+ }, {
720
+ status?: "modified" | "added" | "deleted" | "untracked";
721
+ path?: string;
722
+ staged?: boolean;
723
+ oldContent?: string;
724
+ newContent?: string;
725
+ }>, "many">>;
726
+ modified: z.ZodOptional<z.ZodArray<z.ZodObject<{
727
+ path: z.ZodString;
728
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
729
+ staged: z.ZodBoolean;
730
+ oldContent: z.ZodOptional<z.ZodString>;
731
+ newContent: z.ZodOptional<z.ZodString>;
732
+ }, "strip", z.ZodTypeAny, {
733
+ status?: "modified" | "added" | "deleted" | "untracked";
734
+ path?: string;
735
+ staged?: boolean;
736
+ oldContent?: string;
737
+ newContent?: string;
738
+ }, {
739
+ status?: "modified" | "added" | "deleted" | "untracked";
740
+ path?: string;
741
+ staged?: boolean;
742
+ oldContent?: string;
743
+ newContent?: string;
744
+ }>, "many">>;
745
+ deleted: z.ZodOptional<z.ZodArray<z.ZodObject<{
746
+ path: z.ZodString;
747
+ status: z.ZodEnum<["modified", "added", "deleted", "untracked"]>;
748
+ staged: z.ZodBoolean;
749
+ oldContent: z.ZodOptional<z.ZodString>;
750
+ newContent: z.ZodOptional<z.ZodString>;
751
+ }, "strip", z.ZodTypeAny, {
752
+ status?: "modified" | "added" | "deleted" | "untracked";
753
+ path?: string;
754
+ staged?: boolean;
755
+ oldContent?: string;
756
+ newContent?: string;
757
+ }, {
758
+ status?: "modified" | "added" | "deleted" | "untracked";
759
+ path?: string;
760
+ staged?: boolean;
761
+ oldContent?: string;
762
+ newContent?: string;
763
+ }>, "many">>;
764
+ hasChanges: z.ZodDefault<z.ZodBoolean>;
765
+ isClean: z.ZodDefault<z.ZodBoolean>;
766
+ ahead: z.ZodDefault<z.ZodNumber>;
767
+ behind: z.ZodDefault<z.ZodNumber>;
768
+ }, "strip", z.ZodTypeAny, {
769
+ branch?: string;
770
+ modified?: {
771
+ status?: "modified" | "added" | "deleted" | "untracked";
772
+ path?: string;
773
+ staged?: boolean;
774
+ oldContent?: string;
775
+ newContent?: string;
776
+ }[];
777
+ deleted?: {
778
+ status?: "modified" | "added" | "deleted" | "untracked";
779
+ path?: string;
780
+ staged?: boolean;
781
+ oldContent?: string;
782
+ newContent?: string;
783
+ }[];
784
+ untracked?: {
785
+ status?: "modified" | "added" | "deleted" | "untracked";
786
+ path?: string;
787
+ staged?: boolean;
788
+ oldContent?: string;
789
+ newContent?: string;
790
+ }[];
791
+ staged?: {
792
+ status?: "modified" | "added" | "deleted" | "untracked";
793
+ path?: string;
794
+ staged?: boolean;
795
+ oldContent?: string;
796
+ newContent?: string;
797
+ }[];
798
+ headCommit?: string;
799
+ branches?: string[];
800
+ unstaged?: {
801
+ status?: "modified" | "added" | "deleted" | "untracked";
802
+ path?: string;
803
+ staged?: boolean;
804
+ oldContent?: string;
805
+ newContent?: string;
806
+ }[];
807
+ hasChanges?: boolean;
808
+ isClean?: boolean;
809
+ ahead?: number;
810
+ behind?: number;
811
+ }, {
812
+ branch?: string;
813
+ modified?: {
814
+ status?: "modified" | "added" | "deleted" | "untracked";
815
+ path?: string;
816
+ staged?: boolean;
817
+ oldContent?: string;
818
+ newContent?: string;
819
+ }[];
820
+ deleted?: {
821
+ status?: "modified" | "added" | "deleted" | "untracked";
822
+ path?: string;
823
+ staged?: boolean;
824
+ oldContent?: string;
825
+ newContent?: string;
826
+ }[];
827
+ untracked?: {
828
+ status?: "modified" | "added" | "deleted" | "untracked";
829
+ path?: string;
830
+ staged?: boolean;
831
+ oldContent?: string;
832
+ newContent?: string;
833
+ }[];
834
+ staged?: {
835
+ status?: "modified" | "added" | "deleted" | "untracked";
836
+ path?: string;
837
+ staged?: boolean;
838
+ oldContent?: string;
839
+ newContent?: string;
840
+ }[];
841
+ headCommit?: string;
842
+ branches?: string[];
843
+ unstaged?: {
844
+ status?: "modified" | "added" | "deleted" | "untracked";
845
+ path?: string;
846
+ staged?: boolean;
847
+ oldContent?: string;
848
+ newContent?: string;
849
+ }[];
850
+ hasChanges?: boolean;
851
+ isClean?: boolean;
852
+ ahead?: number;
853
+ behind?: number;
854
+ }>;
855
+ export type GitStateSummary = z.infer<typeof GitStateSummarySchema>;