@danielmarbach/mnemonic-mcp 0.4.1 → 0.5.0

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.
@@ -298,81 +298,35 @@ export declare const PersistenceStatusSchema: z.ZodObject<{
298
298
  notePath: z.ZodString;
299
299
  embeddingPath: z.ZodString;
300
300
  embedding: z.ZodObject<{
301
- status: z.ZodEnum<["written", "skipped"]>;
301
+ status: z.ZodEnum<{
302
+ skipped: "skipped";
303
+ written: "written";
304
+ }>;
302
305
  model: z.ZodString;
303
306
  reason: z.ZodOptional<z.ZodString>;
304
- }, "strip", z.ZodTypeAny, {
305
- status: "skipped" | "written";
306
- model: string;
307
- reason?: string | undefined;
308
- }, {
309
- status: "skipped" | "written";
310
- model: string;
311
- reason?: string | undefined;
312
- }>;
307
+ }, z.core.$strip>;
313
308
  git: z.ZodObject<{
314
- commit: z.ZodEnum<["committed", "skipped"]>;
315
- push: z.ZodEnum<["pushed", "skipped", "failed"]>;
309
+ commit: z.ZodEnum<{
310
+ committed: "committed";
311
+ skipped: "skipped";
312
+ }>;
313
+ push: z.ZodEnum<{
314
+ skipped: "skipped";
315
+ pushed: "pushed";
316
+ failed: "failed";
317
+ }>;
316
318
  commitMessage: z.ZodOptional<z.ZodString>;
317
319
  commitBody: z.ZodOptional<z.ZodString>;
318
320
  commitReason: z.ZodOptional<z.ZodString>;
319
321
  pushReason: z.ZodOptional<z.ZodString>;
320
322
  pushError: z.ZodOptional<z.ZodString>;
321
- }, "strip", z.ZodTypeAny, {
322
- push: "skipped" | "pushed" | "failed";
323
- commit: "committed" | "skipped";
324
- commitMessage?: string | undefined;
325
- commitBody?: string | undefined;
326
- commitReason?: string | undefined;
327
- pushReason?: string | undefined;
328
- pushError?: string | undefined;
329
- }, {
330
- push: "skipped" | "pushed" | "failed";
331
- commit: "committed" | "skipped";
332
- commitMessage?: string | undefined;
333
- commitBody?: string | undefined;
334
- commitReason?: string | undefined;
335
- pushReason?: string | undefined;
336
- pushError?: string | undefined;
323
+ }, z.core.$strip>;
324
+ durability: z.ZodEnum<{
325
+ committed: "committed";
326
+ pushed: "pushed";
327
+ "local-only": "local-only";
337
328
  }>;
338
- durability: z.ZodEnum<["local-only", "committed", "pushed"]>;
339
- }, "strip", z.ZodTypeAny, {
340
- git: {
341
- push: "skipped" | "pushed" | "failed";
342
- commit: "committed" | "skipped";
343
- commitMessage?: string | undefined;
344
- commitBody?: string | undefined;
345
- commitReason?: string | undefined;
346
- pushReason?: string | undefined;
347
- pushError?: string | undefined;
348
- };
349
- notePath: string;
350
- embeddingPath: string;
351
- embedding: {
352
- status: "skipped" | "written";
353
- model: string;
354
- reason?: string | undefined;
355
- };
356
- durability: "committed" | "pushed" | "local-only";
357
- }, {
358
- git: {
359
- push: "skipped" | "pushed" | "failed";
360
- commit: "committed" | "skipped";
361
- commitMessage?: string | undefined;
362
- commitBody?: string | undefined;
363
- commitReason?: string | undefined;
364
- pushReason?: string | undefined;
365
- pushError?: string | undefined;
366
- };
367
- notePath: string;
368
- embeddingPath: string;
369
- embedding: {
370
- status: "skipped" | "written";
371
- model: string;
372
- reason?: string | undefined;
373
- };
374
- durability: "committed" | "pushed" | "local-only";
375
- }>;
329
+ }, z.core.$strip>;
376
330
  export declare const RememberResultSchema: z.ZodObject<{
377
331
  action: z.ZodLiteral<"remembered">;
378
332
  id: z.ZodString;
@@ -380,166 +334,63 @@ export declare const RememberResultSchema: z.ZodObject<{
380
334
  project: z.ZodOptional<z.ZodObject<{
381
335
  id: z.ZodString;
382
336
  name: z.ZodString;
383
- }, "strip", z.ZodTypeAny, {
384
- id: string;
385
- name: string;
386
- }, {
387
- id: string;
388
- name: string;
389
- }>>;
390
- scope: z.ZodEnum<["project", "global"]>;
391
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
392
- tags: z.ZodArray<z.ZodString, "many">;
393
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
337
+ }, z.core.$strip>>;
338
+ scope: z.ZodEnum<{
339
+ project: "project";
340
+ global: "global";
341
+ }>;
342
+ vault: z.ZodEnum<{
343
+ "project-vault": "project-vault";
344
+ "main-vault": "main-vault";
345
+ }>;
346
+ tags: z.ZodArray<z.ZodString>;
347
+ lifecycle: z.ZodEnum<{
348
+ temporary: "temporary";
349
+ permanent: "permanent";
350
+ }>;
394
351
  timestamp: z.ZodString;
395
352
  persistence: z.ZodObject<{
396
353
  notePath: z.ZodString;
397
354
  embeddingPath: z.ZodString;
398
355
  embedding: z.ZodObject<{
399
- status: z.ZodEnum<["written", "skipped"]>;
356
+ status: z.ZodEnum<{
357
+ skipped: "skipped";
358
+ written: "written";
359
+ }>;
400
360
  model: z.ZodString;
401
361
  reason: z.ZodOptional<z.ZodString>;
402
- }, "strip", z.ZodTypeAny, {
403
- status: "skipped" | "written";
404
- model: string;
405
- reason?: string | undefined;
406
- }, {
407
- status: "skipped" | "written";
408
- model: string;
409
- reason?: string | undefined;
410
- }>;
362
+ }, z.core.$strip>;
411
363
  git: z.ZodObject<{
412
- commit: z.ZodEnum<["committed", "skipped"]>;
413
- push: z.ZodEnum<["pushed", "skipped", "failed"]>;
364
+ commit: z.ZodEnum<{
365
+ committed: "committed";
366
+ skipped: "skipped";
367
+ }>;
368
+ push: z.ZodEnum<{
369
+ skipped: "skipped";
370
+ pushed: "pushed";
371
+ failed: "failed";
372
+ }>;
414
373
  commitMessage: z.ZodOptional<z.ZodString>;
415
374
  commitBody: z.ZodOptional<z.ZodString>;
416
375
  commitReason: z.ZodOptional<z.ZodString>;
417
376
  pushReason: z.ZodOptional<z.ZodString>;
418
377
  pushError: z.ZodOptional<z.ZodString>;
419
- }, "strip", z.ZodTypeAny, {
420
- push: "skipped" | "pushed" | "failed";
421
- commit: "committed" | "skipped";
422
- commitMessage?: string | undefined;
423
- commitBody?: string | undefined;
424
- commitReason?: string | undefined;
425
- pushReason?: string | undefined;
426
- pushError?: string | undefined;
427
- }, {
428
- push: "skipped" | "pushed" | "failed";
429
- commit: "committed" | "skipped";
430
- commitMessage?: string | undefined;
431
- commitBody?: string | undefined;
432
- commitReason?: string | undefined;
433
- pushReason?: string | undefined;
434
- pushError?: string | undefined;
378
+ }, z.core.$strip>;
379
+ durability: z.ZodEnum<{
380
+ committed: "committed";
381
+ pushed: "pushed";
382
+ "local-only": "local-only";
435
383
  }>;
436
- durability: z.ZodEnum<["local-only", "committed", "pushed"]>;
437
- }, "strip", z.ZodTypeAny, {
438
- git: {
439
- push: "skipped" | "pushed" | "failed";
440
- commit: "committed" | "skipped";
441
- commitMessage?: string | undefined;
442
- commitBody?: string | undefined;
443
- commitReason?: string | undefined;
444
- pushReason?: string | undefined;
445
- pushError?: string | undefined;
446
- };
447
- notePath: string;
448
- embeddingPath: string;
449
- embedding: {
450
- status: "skipped" | "written";
451
- model: string;
452
- reason?: string | undefined;
453
- };
454
- durability: "committed" | "pushed" | "local-only";
455
- }, {
456
- git: {
457
- push: "skipped" | "pushed" | "failed";
458
- commit: "committed" | "skipped";
459
- commitMessage?: string | undefined;
460
- commitBody?: string | undefined;
461
- commitReason?: string | undefined;
462
- pushReason?: string | undefined;
463
- pushError?: string | undefined;
464
- };
465
- notePath: string;
466
- embeddingPath: string;
467
- embedding: {
468
- status: "skipped" | "written";
469
- model: string;
470
- reason?: string | undefined;
471
- };
472
- durability: "committed" | "pushed" | "local-only";
473
- }>;
474
- }, "strip", z.ZodTypeAny, {
475
- id: string;
476
- title: string;
477
- tags: string[];
478
- lifecycle: "temporary" | "permanent";
479
- vault: "project-vault" | "main-vault";
480
- action: "remembered";
481
- scope: "project" | "global";
482
- timestamp: string;
483
- persistence: {
484
- git: {
485
- push: "skipped" | "pushed" | "failed";
486
- commit: "committed" | "skipped";
487
- commitMessage?: string | undefined;
488
- commitBody?: string | undefined;
489
- commitReason?: string | undefined;
490
- pushReason?: string | undefined;
491
- pushError?: string | undefined;
492
- };
493
- notePath: string;
494
- embeddingPath: string;
495
- embedding: {
496
- status: "skipped" | "written";
497
- model: string;
498
- reason?: string | undefined;
499
- };
500
- durability: "committed" | "pushed" | "local-only";
501
- };
502
- project?: {
503
- id: string;
504
- name: string;
505
- } | undefined;
506
- }, {
507
- id: string;
508
- title: string;
509
- tags: string[];
510
- lifecycle: "temporary" | "permanent";
511
- vault: "project-vault" | "main-vault";
512
- action: "remembered";
513
- scope: "project" | "global";
514
- timestamp: string;
515
- persistence: {
516
- git: {
517
- push: "skipped" | "pushed" | "failed";
518
- commit: "committed" | "skipped";
519
- commitMessage?: string | undefined;
520
- commitBody?: string | undefined;
521
- commitReason?: string | undefined;
522
- pushReason?: string | undefined;
523
- pushError?: string | undefined;
524
- };
525
- notePath: string;
526
- embeddingPath: string;
527
- embedding: {
528
- status: "skipped" | "written";
529
- model: string;
530
- reason?: string | undefined;
531
- };
532
- durability: "committed" | "pushed" | "local-only";
533
- };
534
- project?: {
535
- id: string;
536
- name: string;
537
- } | undefined;
538
- }>;
384
+ }, z.core.$strip>;
385
+ }, z.core.$strip>;
539
386
  export declare const RecallResultSchema: z.ZodObject<{
540
387
  action: z.ZodLiteral<"recalled">;
541
388
  query: z.ZodString;
542
- scope: z.ZodEnum<["project", "global", "all"]>;
389
+ scope: z.ZodEnum<{
390
+ project: "project";
391
+ global: "global";
392
+ all: "all";
393
+ }>;
543
394
  results: z.ZodArray<z.ZodObject<{
544
395
  id: z.ZodString;
545
396
  title: z.ZodString;
@@ -547,326 +398,105 @@ export declare const RecallResultSchema: z.ZodObject<{
547
398
  boosted: z.ZodNumber;
548
399
  project: z.ZodOptional<z.ZodString>;
549
400
  projectName: z.ZodOptional<z.ZodString>;
550
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
551
- tags: z.ZodArray<z.ZodString, "many">;
552
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
401
+ vault: z.ZodEnum<{
402
+ "project-vault": "project-vault";
403
+ "main-vault": "main-vault";
404
+ }>;
405
+ tags: z.ZodArray<z.ZodString>;
406
+ lifecycle: z.ZodEnum<{
407
+ temporary: "temporary";
408
+ permanent: "permanent";
409
+ }>;
553
410
  updatedAt: z.ZodString;
554
- }, "strip", z.ZodTypeAny, {
555
- id: string;
556
- title: string;
557
- tags: string[];
558
- lifecycle: "temporary" | "permanent";
559
- updatedAt: string;
560
- vault: "project-vault" | "main-vault";
561
- score: number;
562
- boosted: number;
563
- project?: string | undefined;
564
- projectName?: string | undefined;
565
- }, {
566
- id: string;
567
- title: string;
568
- tags: string[];
569
- lifecycle: "temporary" | "permanent";
570
- updatedAt: string;
571
- vault: "project-vault" | "main-vault";
572
- score: number;
573
- boosted: number;
574
- project?: string | undefined;
575
- projectName?: string | undefined;
576
- }>, "many">;
577
- }, "strip", z.ZodTypeAny, {
578
- results: {
579
- id: string;
580
- title: string;
581
- tags: string[];
582
- lifecycle: "temporary" | "permanent";
583
- updatedAt: string;
584
- vault: "project-vault" | "main-vault";
585
- score: number;
586
- boosted: number;
587
- project?: string | undefined;
588
- projectName?: string | undefined;
589
- }[];
590
- action: "recalled";
591
- scope: "project" | "global" | "all";
592
- query: string;
593
- }, {
594
- results: {
595
- id: string;
596
- title: string;
597
- tags: string[];
598
- lifecycle: "temporary" | "permanent";
599
- updatedAt: string;
600
- vault: "project-vault" | "main-vault";
601
- score: number;
602
- boosted: number;
603
- project?: string | undefined;
604
- projectName?: string | undefined;
605
- }[];
606
- action: "recalled";
607
- scope: "project" | "global" | "all";
608
- query: string;
609
- }>;
411
+ }, z.core.$strip>>;
412
+ }, z.core.$strip>;
610
413
  export declare const ListResultSchema: z.ZodObject<{
611
414
  action: z.ZodLiteral<"listed">;
612
415
  count: z.ZodNumber;
613
- scope: z.ZodEnum<["project", "global", "all"]>;
614
- storedIn: z.ZodEnum<["project-vault", "main-vault", "any"]>;
416
+ scope: z.ZodEnum<{
417
+ project: "project";
418
+ global: "global";
419
+ all: "all";
420
+ }>;
421
+ storedIn: z.ZodEnum<{
422
+ "project-vault": "project-vault";
423
+ "main-vault": "main-vault";
424
+ any: "any";
425
+ }>;
615
426
  project: z.ZodOptional<z.ZodObject<{
616
427
  id: z.ZodString;
617
428
  name: z.ZodString;
618
- }, "strip", z.ZodTypeAny, {
619
- id: string;
620
- name: string;
621
- }, {
622
- id: string;
623
- name: string;
624
- }>>;
429
+ }, z.core.$strip>>;
625
430
  notes: z.ZodArray<z.ZodObject<{
626
431
  id: z.ZodString;
627
432
  title: z.ZodString;
628
433
  project: z.ZodOptional<z.ZodString>;
629
434
  projectName: z.ZodOptional<z.ZodString>;
630
- tags: z.ZodArray<z.ZodString, "many">;
631
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
632
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
435
+ tags: z.ZodArray<z.ZodString>;
436
+ lifecycle: z.ZodEnum<{
437
+ temporary: "temporary";
438
+ permanent: "permanent";
439
+ }>;
440
+ vault: z.ZodEnum<{
441
+ "project-vault": "project-vault";
442
+ "main-vault": "main-vault";
443
+ }>;
633
444
  updatedAt: z.ZodString;
634
445
  hasRelated: z.ZodOptional<z.ZodBoolean>;
635
- }, "strip", z.ZodTypeAny, {
636
- id: string;
637
- title: string;
638
- tags: string[];
639
- lifecycle: "temporary" | "permanent";
640
- updatedAt: string;
641
- vault: "project-vault" | "main-vault";
642
- project?: string | undefined;
643
- projectName?: string | undefined;
644
- hasRelated?: boolean | undefined;
645
- }, {
646
- id: string;
647
- title: string;
648
- tags: string[];
649
- lifecycle: "temporary" | "permanent";
650
- updatedAt: string;
651
- vault: "project-vault" | "main-vault";
652
- project?: string | undefined;
653
- projectName?: string | undefined;
654
- hasRelated?: boolean | undefined;
655
- }>, "many">;
446
+ }, z.core.$strip>>;
656
447
  options: z.ZodOptional<z.ZodObject<{
657
448
  includeRelations: z.ZodOptional<z.ZodBoolean>;
658
449
  includePreview: z.ZodOptional<z.ZodBoolean>;
659
450
  includeStorage: z.ZodOptional<z.ZodBoolean>;
660
451
  includeUpdated: z.ZodOptional<z.ZodBoolean>;
661
- }, "strip", z.ZodTypeAny, {
662
- includeRelations?: boolean | undefined;
663
- includePreview?: boolean | undefined;
664
- includeStorage?: boolean | undefined;
665
- includeUpdated?: boolean | undefined;
666
- }, {
667
- includeRelations?: boolean | undefined;
668
- includePreview?: boolean | undefined;
669
- includeStorage?: boolean | undefined;
670
- includeUpdated?: boolean | undefined;
671
- }>>;
672
- }, "strip", z.ZodTypeAny, {
673
- notes: {
674
- id: string;
675
- title: string;
676
- tags: string[];
677
- lifecycle: "temporary" | "permanent";
678
- updatedAt: string;
679
- vault: "project-vault" | "main-vault";
680
- project?: string | undefined;
681
- projectName?: string | undefined;
682
- hasRelated?: boolean | undefined;
683
- }[];
684
- action: "listed";
685
- scope: "project" | "global" | "all";
686
- count: number;
687
- storedIn: "project-vault" | "main-vault" | "any";
688
- project?: {
689
- id: string;
690
- name: string;
691
- } | undefined;
692
- options?: {
693
- includeRelations?: boolean | undefined;
694
- includePreview?: boolean | undefined;
695
- includeStorage?: boolean | undefined;
696
- includeUpdated?: boolean | undefined;
697
- } | undefined;
698
- }, {
699
- notes: {
700
- id: string;
701
- title: string;
702
- tags: string[];
703
- lifecycle: "temporary" | "permanent";
704
- updatedAt: string;
705
- vault: "project-vault" | "main-vault";
706
- project?: string | undefined;
707
- projectName?: string | undefined;
708
- hasRelated?: boolean | undefined;
709
- }[];
710
- action: "listed";
711
- scope: "project" | "global" | "all";
712
- count: number;
713
- storedIn: "project-vault" | "main-vault" | "any";
714
- project?: {
715
- id: string;
716
- name: string;
717
- } | undefined;
718
- options?: {
719
- includeRelations?: boolean | undefined;
720
- includePreview?: boolean | undefined;
721
- includeStorage?: boolean | undefined;
722
- includeUpdated?: boolean | undefined;
723
- } | undefined;
724
- }>;
452
+ }, z.core.$strip>>;
453
+ }, z.core.$strip>;
725
454
  export declare const UpdateResultSchema: z.ZodObject<{
726
455
  action: z.ZodLiteral<"updated">;
727
456
  id: z.ZodString;
728
457
  title: z.ZodString;
729
- fieldsModified: z.ZodArray<z.ZodString, "many">;
458
+ fieldsModified: z.ZodArray<z.ZodString>;
730
459
  timestamp: z.ZodString;
731
460
  project: z.ZodOptional<z.ZodString>;
732
461
  projectName: z.ZodOptional<z.ZodString>;
733
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
462
+ lifecycle: z.ZodEnum<{
463
+ temporary: "temporary";
464
+ permanent: "permanent";
465
+ }>;
734
466
  persistence: z.ZodObject<{
735
467
  notePath: z.ZodString;
736
468
  embeddingPath: z.ZodString;
737
469
  embedding: z.ZodObject<{
738
- status: z.ZodEnum<["written", "skipped"]>;
470
+ status: z.ZodEnum<{
471
+ skipped: "skipped";
472
+ written: "written";
473
+ }>;
739
474
  model: z.ZodString;
740
475
  reason: z.ZodOptional<z.ZodString>;
741
- }, "strip", z.ZodTypeAny, {
742
- status: "skipped" | "written";
743
- model: string;
744
- reason?: string | undefined;
745
- }, {
746
- status: "skipped" | "written";
747
- model: string;
748
- reason?: string | undefined;
749
- }>;
476
+ }, z.core.$strip>;
750
477
  git: z.ZodObject<{
751
- commit: z.ZodEnum<["committed", "skipped"]>;
752
- push: z.ZodEnum<["pushed", "skipped", "failed"]>;
478
+ commit: z.ZodEnum<{
479
+ committed: "committed";
480
+ skipped: "skipped";
481
+ }>;
482
+ push: z.ZodEnum<{
483
+ skipped: "skipped";
484
+ pushed: "pushed";
485
+ failed: "failed";
486
+ }>;
753
487
  commitMessage: z.ZodOptional<z.ZodString>;
754
488
  commitBody: z.ZodOptional<z.ZodString>;
755
489
  commitReason: z.ZodOptional<z.ZodString>;
756
490
  pushReason: z.ZodOptional<z.ZodString>;
757
491
  pushError: z.ZodOptional<z.ZodString>;
758
- }, "strip", z.ZodTypeAny, {
759
- push: "skipped" | "pushed" | "failed";
760
- commit: "committed" | "skipped";
761
- commitMessage?: string | undefined;
762
- commitBody?: string | undefined;
763
- commitReason?: string | undefined;
764
- pushReason?: string | undefined;
765
- pushError?: string | undefined;
766
- }, {
767
- push: "skipped" | "pushed" | "failed";
768
- commit: "committed" | "skipped";
769
- commitMessage?: string | undefined;
770
- commitBody?: string | undefined;
771
- commitReason?: string | undefined;
772
- pushReason?: string | undefined;
773
- pushError?: string | undefined;
492
+ }, z.core.$strip>;
493
+ durability: z.ZodEnum<{
494
+ committed: "committed";
495
+ pushed: "pushed";
496
+ "local-only": "local-only";
774
497
  }>;
775
- durability: z.ZodEnum<["local-only", "committed", "pushed"]>;
776
- }, "strip", z.ZodTypeAny, {
777
- git: {
778
- push: "skipped" | "pushed" | "failed";
779
- commit: "committed" | "skipped";
780
- commitMessage?: string | undefined;
781
- commitBody?: string | undefined;
782
- commitReason?: string | undefined;
783
- pushReason?: string | undefined;
784
- pushError?: string | undefined;
785
- };
786
- notePath: string;
787
- embeddingPath: string;
788
- embedding: {
789
- status: "skipped" | "written";
790
- model: string;
791
- reason?: string | undefined;
792
- };
793
- durability: "committed" | "pushed" | "local-only";
794
- }, {
795
- git: {
796
- push: "skipped" | "pushed" | "failed";
797
- commit: "committed" | "skipped";
798
- commitMessage?: string | undefined;
799
- commitBody?: string | undefined;
800
- commitReason?: string | undefined;
801
- pushReason?: string | undefined;
802
- pushError?: string | undefined;
803
- };
804
- notePath: string;
805
- embeddingPath: string;
806
- embedding: {
807
- status: "skipped" | "written";
808
- model: string;
809
- reason?: string | undefined;
810
- };
811
- durability: "committed" | "pushed" | "local-only";
812
- }>;
813
- }, "strip", z.ZodTypeAny, {
814
- id: string;
815
- title: string;
816
- lifecycle: "temporary" | "permanent";
817
- action: "updated";
818
- timestamp: string;
819
- persistence: {
820
- git: {
821
- push: "skipped" | "pushed" | "failed";
822
- commit: "committed" | "skipped";
823
- commitMessage?: string | undefined;
824
- commitBody?: string | undefined;
825
- commitReason?: string | undefined;
826
- pushReason?: string | undefined;
827
- pushError?: string | undefined;
828
- };
829
- notePath: string;
830
- embeddingPath: string;
831
- embedding: {
832
- status: "skipped" | "written";
833
- model: string;
834
- reason?: string | undefined;
835
- };
836
- durability: "committed" | "pushed" | "local-only";
837
- };
838
- fieldsModified: string[];
839
- project?: string | undefined;
840
- projectName?: string | undefined;
841
- }, {
842
- id: string;
843
- title: string;
844
- lifecycle: "temporary" | "permanent";
845
- action: "updated";
846
- timestamp: string;
847
- persistence: {
848
- git: {
849
- push: "skipped" | "pushed" | "failed";
850
- commit: "committed" | "skipped";
851
- commitMessage?: string | undefined;
852
- commitBody?: string | undefined;
853
- commitReason?: string | undefined;
854
- pushReason?: string | undefined;
855
- pushError?: string | undefined;
856
- };
857
- notePath: string;
858
- embeddingPath: string;
859
- embedding: {
860
- status: "skipped" | "written";
861
- model: string;
862
- reason?: string | undefined;
863
- };
864
- durability: "committed" | "pushed" | "local-only";
865
- };
866
- fieldsModified: string[];
867
- project?: string | undefined;
868
- projectName?: string | undefined;
869
- }>;
498
+ }, z.core.$strip>;
499
+ }, z.core.$strip>;
870
500
  export declare const ForgetResultSchema: z.ZodObject<{
871
501
  action: z.ZodLiteral<"forgotten">;
872
502
  id: z.ZodString;
@@ -874,29 +504,19 @@ export declare const ForgetResultSchema: z.ZodObject<{
874
504
  project: z.ZodOptional<z.ZodString>;
875
505
  projectName: z.ZodOptional<z.ZodString>;
876
506
  relationshipsCleaned: z.ZodNumber;
877
- vaultsModified: z.ZodArray<z.ZodString, "many">;
878
- }, "strip", z.ZodTypeAny, {
879
- id: string;
880
- title: string;
881
- action: "forgotten";
882
- relationshipsCleaned: number;
883
- vaultsModified: string[];
884
- project?: string | undefined;
885
- projectName?: string | undefined;
886
- }, {
887
- id: string;
888
- title: string;
889
- action: "forgotten";
890
- relationshipsCleaned: number;
891
- vaultsModified: string[];
892
- project?: string | undefined;
893
- projectName?: string | undefined;
894
- }>;
507
+ vaultsModified: z.ZodArray<z.ZodString>;
508
+ }, z.core.$strip>;
895
509
  export declare const MoveResultSchema: z.ZodObject<{
896
510
  action: z.ZodLiteral<"moved">;
897
511
  id: z.ZodString;
898
- fromVault: z.ZodEnum<["project-vault", "main-vault"]>;
899
- toVault: z.ZodEnum<["project-vault", "main-vault"]>;
512
+ fromVault: z.ZodEnum<{
513
+ "project-vault": "project-vault";
514
+ "main-vault": "main-vault";
515
+ }>;
516
+ toVault: z.ZodEnum<{
517
+ "project-vault": "project-vault";
518
+ "main-vault": "main-vault";
519
+ }>;
900
520
  projectAssociation: z.ZodString;
901
521
  title: z.ZodString;
902
522
  metadataRewritten: z.ZodOptional<z.ZodBoolean>;
@@ -904,158 +524,52 @@ export declare const MoveResultSchema: z.ZodObject<{
904
524
  notePath: z.ZodString;
905
525
  embeddingPath: z.ZodString;
906
526
  embedding: z.ZodObject<{
907
- status: z.ZodEnum<["written", "skipped"]>;
527
+ status: z.ZodEnum<{
528
+ skipped: "skipped";
529
+ written: "written";
530
+ }>;
908
531
  model: z.ZodString;
909
532
  reason: z.ZodOptional<z.ZodString>;
910
- }, "strip", z.ZodTypeAny, {
911
- status: "skipped" | "written";
912
- model: string;
913
- reason?: string | undefined;
914
- }, {
915
- status: "skipped" | "written";
916
- model: string;
917
- reason?: string | undefined;
918
- }>;
533
+ }, z.core.$strip>;
919
534
  git: z.ZodObject<{
920
- commit: z.ZodEnum<["committed", "skipped"]>;
921
- push: z.ZodEnum<["pushed", "skipped", "failed"]>;
535
+ commit: z.ZodEnum<{
536
+ committed: "committed";
537
+ skipped: "skipped";
538
+ }>;
539
+ push: z.ZodEnum<{
540
+ skipped: "skipped";
541
+ pushed: "pushed";
542
+ failed: "failed";
543
+ }>;
922
544
  commitMessage: z.ZodOptional<z.ZodString>;
923
545
  commitBody: z.ZodOptional<z.ZodString>;
924
546
  commitReason: z.ZodOptional<z.ZodString>;
925
547
  pushReason: z.ZodOptional<z.ZodString>;
926
548
  pushError: z.ZodOptional<z.ZodString>;
927
- }, "strip", z.ZodTypeAny, {
928
- push: "skipped" | "pushed" | "failed";
929
- commit: "committed" | "skipped";
930
- commitMessage?: string | undefined;
931
- commitBody?: string | undefined;
932
- commitReason?: string | undefined;
933
- pushReason?: string | undefined;
934
- pushError?: string | undefined;
935
- }, {
936
- push: "skipped" | "pushed" | "failed";
937
- commit: "committed" | "skipped";
938
- commitMessage?: string | undefined;
939
- commitBody?: string | undefined;
940
- commitReason?: string | undefined;
941
- pushReason?: string | undefined;
942
- pushError?: string | undefined;
549
+ }, z.core.$strip>;
550
+ durability: z.ZodEnum<{
551
+ committed: "committed";
552
+ pushed: "pushed";
553
+ "local-only": "local-only";
943
554
  }>;
944
- durability: z.ZodEnum<["local-only", "committed", "pushed"]>;
945
- }, "strip", z.ZodTypeAny, {
946
- git: {
947
- push: "skipped" | "pushed" | "failed";
948
- commit: "committed" | "skipped";
949
- commitMessage?: string | undefined;
950
- commitBody?: string | undefined;
951
- commitReason?: string | undefined;
952
- pushReason?: string | undefined;
953
- pushError?: string | undefined;
954
- };
955
- notePath: string;
956
- embeddingPath: string;
957
- embedding: {
958
- status: "skipped" | "written";
959
- model: string;
960
- reason?: string | undefined;
961
- };
962
- durability: "committed" | "pushed" | "local-only";
963
- }, {
964
- git: {
965
- push: "skipped" | "pushed" | "failed";
966
- commit: "committed" | "skipped";
967
- commitMessage?: string | undefined;
968
- commitBody?: string | undefined;
969
- commitReason?: string | undefined;
970
- pushReason?: string | undefined;
971
- pushError?: string | undefined;
972
- };
973
- notePath: string;
974
- embeddingPath: string;
975
- embedding: {
976
- status: "skipped" | "written";
977
- model: string;
978
- reason?: string | undefined;
979
- };
980
- durability: "committed" | "pushed" | "local-only";
981
- }>;
982
- }, "strip", z.ZodTypeAny, {
983
- id: string;
984
- title: string;
985
- action: "moved";
986
- persistence: {
987
- git: {
988
- push: "skipped" | "pushed" | "failed";
989
- commit: "committed" | "skipped";
990
- commitMessage?: string | undefined;
991
- commitBody?: string | undefined;
992
- commitReason?: string | undefined;
993
- pushReason?: string | undefined;
994
- pushError?: string | undefined;
995
- };
996
- notePath: string;
997
- embeddingPath: string;
998
- embedding: {
999
- status: "skipped" | "written";
1000
- model: string;
1001
- reason?: string | undefined;
1002
- };
1003
- durability: "committed" | "pushed" | "local-only";
1004
- };
1005
- fromVault: "project-vault" | "main-vault";
1006
- toVault: "project-vault" | "main-vault";
1007
- projectAssociation: string;
1008
- metadataRewritten?: boolean | undefined;
1009
- }, {
1010
- id: string;
1011
- title: string;
1012
- action: "moved";
1013
- persistence: {
1014
- git: {
1015
- push: "skipped" | "pushed" | "failed";
1016
- commit: "committed" | "skipped";
1017
- commitMessage?: string | undefined;
1018
- commitBody?: string | undefined;
1019
- commitReason?: string | undefined;
1020
- pushReason?: string | undefined;
1021
- pushError?: string | undefined;
1022
- };
1023
- notePath: string;
1024
- embeddingPath: string;
1025
- embedding: {
1026
- status: "skipped" | "written";
1027
- model: string;
1028
- reason?: string | undefined;
1029
- };
1030
- durability: "committed" | "pushed" | "local-only";
1031
- };
1032
- fromVault: "project-vault" | "main-vault";
1033
- toVault: "project-vault" | "main-vault";
1034
- projectAssociation: string;
1035
- metadataRewritten?: boolean | undefined;
1036
- }>;
555
+ }, z.core.$strip>;
556
+ }, z.core.$strip>;
1037
557
  export declare const RelateResultSchema: z.ZodObject<{
1038
- action: z.ZodEnum<["related", "unrelated"]>;
558
+ action: z.ZodEnum<{
559
+ related: "related";
560
+ unrelated: "unrelated";
561
+ }>;
1039
562
  fromId: z.ZodString;
1040
563
  toId: z.ZodString;
1041
- type: z.ZodEnum<["related-to", "explains", "example-of", "supersedes"]>;
564
+ type: z.ZodEnum<{
565
+ supersedes: "supersedes";
566
+ "related-to": "related-to";
567
+ explains: "explains";
568
+ "example-of": "example-of";
569
+ }>;
1042
570
  bidirectional: z.ZodBoolean;
1043
- notesModified: z.ZodArray<z.ZodString, "many">;
1044
- }, "strip", z.ZodTypeAny, {
1045
- action: "related" | "unrelated";
1046
- fromId: string;
1047
- toId: string;
1048
- type: "supersedes" | "related-to" | "explains" | "example-of";
1049
- bidirectional: boolean;
1050
- notesModified: string[];
1051
- }, {
1052
- action: "related" | "unrelated";
1053
- fromId: string;
1054
- toId: string;
1055
- type: "supersedes" | "related-to" | "explains" | "example-of";
1056
- bidirectional: boolean;
1057
- notesModified: string[];
1058
- }>;
571
+ notesModified: z.ZodArray<z.ZodString>;
572
+ }, z.core.$strip>;
1059
573
  export declare const RecentResultSchema: z.ZodObject<{
1060
574
  action: z.ZodLiteral<"recent_shown">;
1061
575
  project: z.ZodOptional<z.ZodString>;
@@ -1067,67 +581,19 @@ export declare const RecentResultSchema: z.ZodObject<{
1067
581
  title: z.ZodString;
1068
582
  project: z.ZodOptional<z.ZodString>;
1069
583
  projectName: z.ZodOptional<z.ZodString>;
1070
- tags: z.ZodArray<z.ZodString, "many">;
1071
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
1072
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
584
+ tags: z.ZodArray<z.ZodString>;
585
+ lifecycle: z.ZodEnum<{
586
+ temporary: "temporary";
587
+ permanent: "permanent";
588
+ }>;
589
+ vault: z.ZodEnum<{
590
+ "project-vault": "project-vault";
591
+ "main-vault": "main-vault";
592
+ }>;
1073
593
  updatedAt: z.ZodString;
1074
594
  preview: z.ZodOptional<z.ZodString>;
1075
- }, "strip", z.ZodTypeAny, {
1076
- id: string;
1077
- title: string;
1078
- tags: string[];
1079
- lifecycle: "temporary" | "permanent";
1080
- updatedAt: string;
1081
- vault: "project-vault" | "main-vault";
1082
- project?: string | undefined;
1083
- projectName?: string | undefined;
1084
- preview?: string | undefined;
1085
- }, {
1086
- id: string;
1087
- title: string;
1088
- tags: string[];
1089
- lifecycle: "temporary" | "permanent";
1090
- updatedAt: string;
1091
- vault: "project-vault" | "main-vault";
1092
- project?: string | undefined;
1093
- projectName?: string | undefined;
1094
- preview?: string | undefined;
1095
- }>, "many">;
1096
- }, "strip", z.ZodTypeAny, {
1097
- notes: {
1098
- id: string;
1099
- title: string;
1100
- tags: string[];
1101
- lifecycle: "temporary" | "permanent";
1102
- updatedAt: string;
1103
- vault: "project-vault" | "main-vault";
1104
- project?: string | undefined;
1105
- projectName?: string | undefined;
1106
- preview?: string | undefined;
1107
- }[];
1108
- action: "recent_shown";
1109
- count: number;
1110
- limit: number;
1111
- project?: string | undefined;
1112
- projectName?: string | undefined;
1113
- }, {
1114
- notes: {
1115
- id: string;
1116
- title: string;
1117
- tags: string[];
1118
- lifecycle: "temporary" | "permanent";
1119
- updatedAt: string;
1120
- vault: "project-vault" | "main-vault";
1121
- project?: string | undefined;
1122
- projectName?: string | undefined;
1123
- preview?: string | undefined;
1124
- }[];
1125
- action: "recent_shown";
1126
- count: number;
1127
- limit: number;
1128
- project?: string | undefined;
1129
- projectName?: string | undefined;
1130
- }>;
595
+ }, z.core.$strip>>;
596
+ }, z.core.$strip>;
1131
597
  export declare const MemoryGraphResultSchema: z.ZodObject<{
1132
598
  action: z.ZodLiteral<"graph_shown">;
1133
599
  project: z.ZodOptional<z.ZodString>;
@@ -1137,219 +603,62 @@ export declare const MemoryGraphResultSchema: z.ZodObject<{
1137
603
  title: z.ZodString;
1138
604
  edges: z.ZodArray<z.ZodObject<{
1139
605
  toId: z.ZodString;
1140
- type: z.ZodEnum<["related-to", "explains", "example-of", "supersedes"]>;
1141
- }, "strip", z.ZodTypeAny, {
1142
- toId: string;
1143
- type: "supersedes" | "related-to" | "explains" | "example-of";
1144
- }, {
1145
- toId: string;
1146
- type: "supersedes" | "related-to" | "explains" | "example-of";
1147
- }>, "many">;
1148
- }, "strip", z.ZodTypeAny, {
1149
- id: string;
1150
- title: string;
1151
- edges: {
1152
- toId: string;
1153
- type: "supersedes" | "related-to" | "explains" | "example-of";
1154
- }[];
1155
- }, {
1156
- id: string;
1157
- title: string;
1158
- edges: {
1159
- toId: string;
1160
- type: "supersedes" | "related-to" | "explains" | "example-of";
1161
- }[];
1162
- }>, "many">;
606
+ type: z.ZodEnum<{
607
+ supersedes: "supersedes";
608
+ "related-to": "related-to";
609
+ explains: "explains";
610
+ "example-of": "example-of";
611
+ }>;
612
+ }, z.core.$strip>>;
613
+ }, z.core.$strip>>;
1163
614
  limit: z.ZodNumber;
1164
615
  truncated: z.ZodBoolean;
1165
- }, "strip", z.ZodTypeAny, {
1166
- action: "graph_shown";
1167
- nodes: {
1168
- id: string;
1169
- title: string;
1170
- edges: {
1171
- toId: string;
1172
- type: "supersedes" | "related-to" | "explains" | "example-of";
1173
- }[];
1174
- }[];
1175
- limit: number;
1176
- truncated: boolean;
1177
- project?: string | undefined;
1178
- projectName?: string | undefined;
1179
- }, {
1180
- action: "graph_shown";
1181
- nodes: {
1182
- id: string;
1183
- title: string;
1184
- edges: {
1185
- toId: string;
1186
- type: "supersedes" | "related-to" | "explains" | "example-of";
1187
- }[];
1188
- }[];
1189
- limit: number;
1190
- truncated: boolean;
1191
- project?: string | undefined;
1192
- projectName?: string | undefined;
1193
- }>;
616
+ }, z.core.$strip>;
1194
617
  export declare const ProjectSummaryResultSchema: z.ZodObject<{
1195
618
  action: z.ZodLiteral<"project_summary_shown">;
1196
619
  project: z.ZodObject<{
1197
620
  id: z.ZodString;
1198
621
  name: z.ZodString;
1199
- }, "strip", z.ZodTypeAny, {
1200
- id: string;
1201
- name: string;
1202
- }, {
1203
- id: string;
1204
- name: string;
1205
- }>;
622
+ }, z.core.$strip>;
1206
623
  notes: z.ZodObject<{
1207
624
  total: z.ZodNumber;
1208
625
  projectVault: z.ZodNumber;
1209
626
  mainVault: z.ZodNumber;
1210
627
  privateProject: z.ZodNumber;
1211
- }, "strip", z.ZodTypeAny, {
1212
- total: number;
1213
- projectVault: number;
1214
- mainVault: number;
1215
- privateProject: number;
1216
- }, {
1217
- total: number;
1218
- projectVault: number;
1219
- mainVault: number;
1220
- privateProject: number;
1221
- }>;
628
+ }, z.core.$strip>;
1222
629
  themes: z.ZodRecord<z.ZodString, z.ZodNumber>;
1223
630
  recent: z.ZodArray<z.ZodObject<{
1224
631
  id: z.ZodString;
1225
632
  title: z.ZodString;
1226
633
  updatedAt: z.ZodString;
1227
- }, "strip", z.ZodTypeAny, {
1228
- id: string;
1229
- title: string;
1230
- updatedAt: string;
1231
- }, {
1232
- id: string;
1233
- title: string;
1234
- updatedAt: string;
1235
- }>, "many">;
1236
- }, "strip", z.ZodTypeAny, {
1237
- project: {
1238
- id: string;
1239
- name: string;
1240
- };
1241
- notes: {
1242
- total: number;
1243
- projectVault: number;
1244
- mainVault: number;
1245
- privateProject: number;
1246
- };
1247
- action: "project_summary_shown";
1248
- themes: Record<string, number>;
1249
- recent: {
1250
- id: string;
1251
- title: string;
1252
- updatedAt: string;
1253
- }[];
1254
- }, {
1255
- project: {
1256
- id: string;
1257
- name: string;
1258
- };
1259
- notes: {
1260
- total: number;
1261
- projectVault: number;
1262
- mainVault: number;
1263
- privateProject: number;
1264
- };
1265
- action: "project_summary_shown";
1266
- themes: Record<string, number>;
1267
- recent: {
1268
- id: string;
1269
- title: string;
1270
- updatedAt: string;
1271
- }[];
1272
- }>;
634
+ }, z.core.$strip>>;
635
+ }, z.core.$strip>;
1273
636
  export declare const SyncResultSchema: z.ZodObject<{
1274
637
  action: z.ZodLiteral<"synced">;
1275
638
  vaults: z.ZodArray<z.ZodObject<{
1276
- vault: z.ZodEnum<["main", "project"]>;
639
+ vault: z.ZodEnum<{
640
+ project: "project";
641
+ main: "main";
642
+ }>;
1277
643
  hasRemote: z.ZodBoolean;
1278
644
  pulled: z.ZodNumber;
1279
645
  deleted: z.ZodNumber;
1280
646
  pushed: z.ZodNumber;
1281
647
  embedded: z.ZodNumber;
1282
- failed: z.ZodArray<z.ZodString, "many">;
1283
- }, "strip", z.ZodTypeAny, {
1284
- pushed: number;
1285
- failed: string[];
1286
- hasRemote: boolean;
1287
- vault: "project" | "main";
1288
- pulled: number;
1289
- deleted: number;
1290
- embedded: number;
1291
- }, {
1292
- pushed: number;
1293
- failed: string[];
1294
- hasRemote: boolean;
1295
- vault: "project" | "main";
1296
- pulled: number;
1297
- deleted: number;
1298
- embedded: number;
1299
- }>, "many">;
1300
- }, "strip", z.ZodTypeAny, {
1301
- action: "synced";
1302
- vaults: {
1303
- pushed: number;
1304
- failed: string[];
1305
- hasRemote: boolean;
1306
- vault: "project" | "main";
1307
- pulled: number;
1308
- deleted: number;
1309
- embedded: number;
1310
- }[];
1311
- }, {
1312
- action: "synced";
1313
- vaults: {
1314
- pushed: number;
1315
- failed: string[];
1316
- hasRemote: boolean;
1317
- vault: "project" | "main";
1318
- pulled: number;
1319
- deleted: number;
1320
- embedded: number;
1321
- }[];
1322
- }>;
648
+ failed: z.ZodArray<z.ZodString>;
649
+ }, z.core.$strip>>;
650
+ }, z.core.$strip>;
1323
651
  export declare const ReindexResultSchema: z.ZodObject<{
1324
652
  action: z.ZodLiteral<"reindexed">;
1325
653
  vaults: z.ZodArray<z.ZodObject<{
1326
- vault: z.ZodEnum<["main", "project"]>;
654
+ vault: z.ZodEnum<{
655
+ project: "project";
656
+ main: "main";
657
+ }>;
1327
658
  rebuilt: z.ZodNumber;
1328
- failed: z.ZodArray<z.ZodString, "many">;
1329
- }, "strip", z.ZodTypeAny, {
1330
- failed: string[];
1331
- vault: "project" | "main";
1332
- rebuilt: number;
1333
- }, {
1334
- failed: string[];
1335
- vault: "project" | "main";
1336
- rebuilt: number;
1337
- }>, "many">;
1338
- }, "strip", z.ZodTypeAny, {
1339
- action: "reindexed";
1340
- vaults: {
1341
- failed: string[];
1342
- vault: "project" | "main";
1343
- rebuilt: number;
1344
- }[];
1345
- }, {
1346
- action: "reindexed";
1347
- vaults: {
1348
- failed: string[];
1349
- vault: "project" | "main";
1350
- rebuilt: number;
1351
- }[];
1352
- }>;
659
+ failed: z.ZodArray<z.ZodString>;
660
+ }, z.core.$strip>>;
661
+ }, z.core.$strip>;
1353
662
  export declare const GetResultSchema: z.ZodObject<{
1354
663
  action: z.ZodLiteral<"got">;
1355
664
  count: z.ZodNumber;
@@ -1359,122 +668,42 @@ export declare const GetResultSchema: z.ZodObject<{
1359
668
  content: z.ZodString;
1360
669
  project: z.ZodOptional<z.ZodString>;
1361
670
  projectName: z.ZodOptional<z.ZodString>;
1362
- tags: z.ZodArray<z.ZodString, "many">;
1363
- lifecycle: z.ZodEnum<["temporary", "permanent"]>;
671
+ tags: z.ZodArray<z.ZodString>;
672
+ lifecycle: z.ZodEnum<{
673
+ temporary: "temporary";
674
+ permanent: "permanent";
675
+ }>;
1364
676
  relatedTo: z.ZodOptional<z.ZodArray<z.ZodObject<{
1365
677
  id: z.ZodString;
1366
- type: z.ZodEnum<["related-to", "explains", "example-of", "supersedes"]>;
1367
- }, "strip", z.ZodTypeAny, {
1368
- id: string;
1369
- type: "supersedes" | "related-to" | "explains" | "example-of";
1370
- }, {
1371
- id: string;
1372
- type: "supersedes" | "related-to" | "explains" | "example-of";
1373
- }>, "many">>;
678
+ type: z.ZodEnum<{
679
+ supersedes: "supersedes";
680
+ "related-to": "related-to";
681
+ explains: "explains";
682
+ "example-of": "example-of";
683
+ }>;
684
+ }, z.core.$strip>>>;
1374
685
  createdAt: z.ZodString;
1375
686
  updatedAt: z.ZodString;
1376
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
1377
- }, "strip", z.ZodTypeAny, {
1378
- id: string;
1379
- title: string;
1380
- tags: string[];
1381
- lifecycle: "temporary" | "permanent";
1382
- createdAt: string;
1383
- updatedAt: string;
1384
- content: string;
1385
- vault: "project-vault" | "main-vault";
1386
- project?: string | undefined;
1387
- projectName?: string | undefined;
1388
- relatedTo?: {
1389
- id: string;
1390
- type: "supersedes" | "related-to" | "explains" | "example-of";
1391
- }[] | undefined;
1392
- }, {
1393
- id: string;
1394
- title: string;
1395
- tags: string[];
1396
- lifecycle: "temporary" | "permanent";
1397
- createdAt: string;
1398
- updatedAt: string;
1399
- content: string;
1400
- vault: "project-vault" | "main-vault";
1401
- project?: string | undefined;
1402
- projectName?: string | undefined;
1403
- relatedTo?: {
1404
- id: string;
1405
- type: "supersedes" | "related-to" | "explains" | "example-of";
1406
- }[] | undefined;
1407
- }>, "many">;
1408
- notFound: z.ZodArray<z.ZodString, "many">;
1409
- }, "strip", z.ZodTypeAny, {
1410
- notes: {
1411
- id: string;
1412
- title: string;
1413
- tags: string[];
1414
- lifecycle: "temporary" | "permanent";
1415
- createdAt: string;
1416
- updatedAt: string;
1417
- content: string;
1418
- vault: "project-vault" | "main-vault";
1419
- project?: string | undefined;
1420
- projectName?: string | undefined;
1421
- relatedTo?: {
1422
- id: string;
1423
- type: "supersedes" | "related-to" | "explains" | "example-of";
1424
- }[] | undefined;
1425
- }[];
1426
- action: "got";
1427
- count: number;
1428
- notFound: string[];
1429
- }, {
1430
- notes: {
1431
- id: string;
1432
- title: string;
1433
- tags: string[];
1434
- lifecycle: "temporary" | "permanent";
1435
- createdAt: string;
1436
- updatedAt: string;
1437
- content: string;
1438
- vault: "project-vault" | "main-vault";
1439
- project?: string | undefined;
1440
- projectName?: string | undefined;
1441
- relatedTo?: {
1442
- id: string;
1443
- type: "supersedes" | "related-to" | "explains" | "example-of";
1444
- }[] | undefined;
1445
- }[];
1446
- action: "got";
1447
- count: number;
1448
- notFound: string[];
1449
- }>;
687
+ vault: z.ZodEnum<{
688
+ "project-vault": "project-vault";
689
+ "main-vault": "main-vault";
690
+ }>;
691
+ }, z.core.$strip>>;
692
+ notFound: z.ZodArray<z.ZodString>;
693
+ }, z.core.$strip>;
1450
694
  export declare const WhereIsResultSchema: z.ZodObject<{
1451
695
  action: z.ZodLiteral<"located">;
1452
696
  id: z.ZodString;
1453
697
  title: z.ZodString;
1454
698
  project: z.ZodOptional<z.ZodString>;
1455
699
  projectName: z.ZodOptional<z.ZodString>;
1456
- vault: z.ZodEnum<["project-vault", "main-vault"]>;
700
+ vault: z.ZodEnum<{
701
+ "project-vault": "project-vault";
702
+ "main-vault": "main-vault";
703
+ }>;
1457
704
  updatedAt: z.ZodString;
1458
705
  relatedCount: z.ZodNumber;
1459
- }, "strip", z.ZodTypeAny, {
1460
- id: string;
1461
- title: string;
1462
- updatedAt: string;
1463
- vault: "project-vault" | "main-vault";
1464
- action: "located";
1465
- relatedCount: number;
1466
- project?: string | undefined;
1467
- projectName?: string | undefined;
1468
- }, {
1469
- id: string;
1470
- title: string;
1471
- updatedAt: string;
1472
- vault: "project-vault" | "main-vault";
1473
- action: "located";
1474
- relatedCount: number;
1475
- project?: string | undefined;
1476
- projectName?: string | undefined;
1477
- }>;
706
+ }, z.core.$strip>;
1478
707
  export declare const ConsolidateResultSchema: z.ZodObject<{
1479
708
  action: z.ZodLiteral<"consolidated">;
1480
709
  strategy: z.ZodString;
@@ -1482,273 +711,80 @@ export declare const ConsolidateResultSchema: z.ZodObject<{
1482
711
  projectName: z.ZodOptional<z.ZodString>;
1483
712
  notesProcessed: z.ZodNumber;
1484
713
  notesModified: z.ZodNumber;
1485
- warnings: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
714
+ warnings: z.ZodOptional<z.ZodArray<z.ZodString>>;
1486
715
  persistence: z.ZodOptional<z.ZodObject<{
1487
716
  notePath: z.ZodString;
1488
717
  embeddingPath: z.ZodString;
1489
718
  embedding: z.ZodObject<{
1490
- status: z.ZodEnum<["written", "skipped"]>;
719
+ status: z.ZodEnum<{
720
+ skipped: "skipped";
721
+ written: "written";
722
+ }>;
1491
723
  model: z.ZodString;
1492
724
  reason: z.ZodOptional<z.ZodString>;
1493
- }, "strip", z.ZodTypeAny, {
1494
- status: "skipped" | "written";
1495
- model: string;
1496
- reason?: string | undefined;
1497
- }, {
1498
- status: "skipped" | "written";
1499
- model: string;
1500
- reason?: string | undefined;
1501
- }>;
725
+ }, z.core.$strip>;
1502
726
  git: z.ZodObject<{
1503
- commit: z.ZodEnum<["committed", "skipped"]>;
1504
- push: z.ZodEnum<["pushed", "skipped", "failed"]>;
727
+ commit: z.ZodEnum<{
728
+ committed: "committed";
729
+ skipped: "skipped";
730
+ }>;
731
+ push: z.ZodEnum<{
732
+ skipped: "skipped";
733
+ pushed: "pushed";
734
+ failed: "failed";
735
+ }>;
1505
736
  commitMessage: z.ZodOptional<z.ZodString>;
1506
737
  commitBody: z.ZodOptional<z.ZodString>;
1507
738
  commitReason: z.ZodOptional<z.ZodString>;
1508
739
  pushReason: z.ZodOptional<z.ZodString>;
1509
740
  pushError: z.ZodOptional<z.ZodString>;
1510
- }, "strip", z.ZodTypeAny, {
1511
- push: "skipped" | "pushed" | "failed";
1512
- commit: "committed" | "skipped";
1513
- commitMessage?: string | undefined;
1514
- commitBody?: string | undefined;
1515
- commitReason?: string | undefined;
1516
- pushReason?: string | undefined;
1517
- pushError?: string | undefined;
1518
- }, {
1519
- push: "skipped" | "pushed" | "failed";
1520
- commit: "committed" | "skipped";
1521
- commitMessage?: string | undefined;
1522
- commitBody?: string | undefined;
1523
- commitReason?: string | undefined;
1524
- pushReason?: string | undefined;
1525
- pushError?: string | undefined;
741
+ }, z.core.$strip>;
742
+ durability: z.ZodEnum<{
743
+ committed: "committed";
744
+ pushed: "pushed";
745
+ "local-only": "local-only";
1526
746
  }>;
1527
- durability: z.ZodEnum<["local-only", "committed", "pushed"]>;
1528
- }, "strip", z.ZodTypeAny, {
1529
- git: {
1530
- push: "skipped" | "pushed" | "failed";
1531
- commit: "committed" | "skipped";
1532
- commitMessage?: string | undefined;
1533
- commitBody?: string | undefined;
1534
- commitReason?: string | undefined;
1535
- pushReason?: string | undefined;
1536
- pushError?: string | undefined;
1537
- };
1538
- notePath: string;
1539
- embeddingPath: string;
1540
- embedding: {
1541
- status: "skipped" | "written";
1542
- model: string;
1543
- reason?: string | undefined;
1544
- };
1545
- durability: "committed" | "pushed" | "local-only";
1546
- }, {
1547
- git: {
1548
- push: "skipped" | "pushed" | "failed";
1549
- commit: "committed" | "skipped";
1550
- commitMessage?: string | undefined;
1551
- commitBody?: string | undefined;
1552
- commitReason?: string | undefined;
1553
- pushReason?: string | undefined;
1554
- pushError?: string | undefined;
1555
- };
1556
- notePath: string;
1557
- embeddingPath: string;
1558
- embedding: {
1559
- status: "skipped" | "written";
1560
- model: string;
1561
- reason?: string | undefined;
1562
- };
1563
- durability: "committed" | "pushed" | "local-only";
1564
- }>>;
1565
- }, "strip", z.ZodTypeAny, {
1566
- action: "consolidated";
1567
- notesModified: number;
1568
- strategy: string;
1569
- notesProcessed: number;
1570
- project?: string | undefined;
1571
- projectName?: string | undefined;
1572
- persistence?: {
1573
- git: {
1574
- push: "skipped" | "pushed" | "failed";
1575
- commit: "committed" | "skipped";
1576
- commitMessage?: string | undefined;
1577
- commitBody?: string | undefined;
1578
- commitReason?: string | undefined;
1579
- pushReason?: string | undefined;
1580
- pushError?: string | undefined;
1581
- };
1582
- notePath: string;
1583
- embeddingPath: string;
1584
- embedding: {
1585
- status: "skipped" | "written";
1586
- model: string;
1587
- reason?: string | undefined;
1588
- };
1589
- durability: "committed" | "pushed" | "local-only";
1590
- } | undefined;
1591
- warnings?: string[] | undefined;
1592
- }, {
1593
- action: "consolidated";
1594
- notesModified: number;
1595
- strategy: string;
1596
- notesProcessed: number;
1597
- project?: string | undefined;
1598
- projectName?: string | undefined;
1599
- persistence?: {
1600
- git: {
1601
- push: "skipped" | "pushed" | "failed";
1602
- commit: "committed" | "skipped";
1603
- commitMessage?: string | undefined;
1604
- commitBody?: string | undefined;
1605
- commitReason?: string | undefined;
1606
- pushReason?: string | undefined;
1607
- pushError?: string | undefined;
1608
- };
1609
- notePath: string;
1610
- embeddingPath: string;
1611
- embedding: {
1612
- status: "skipped" | "written";
1613
- model: string;
1614
- reason?: string | undefined;
1615
- };
1616
- durability: "committed" | "pushed" | "local-only";
1617
- } | undefined;
1618
- warnings?: string[] | undefined;
1619
- }>;
747
+ }, z.core.$strip>>;
748
+ }, z.core.$strip>;
1620
749
  export declare const ProjectIdentityResultSchema: z.ZodObject<{
1621
- action: z.ZodEnum<["project_identity_set", "project_identity_shown", "project_identity_detected"]>;
750
+ action: z.ZodEnum<{
751
+ project_identity_set: "project_identity_set";
752
+ project_identity_shown: "project_identity_shown";
753
+ project_identity_detected: "project_identity_detected";
754
+ }>;
1622
755
  project: z.ZodOptional<z.ZodObject<{
1623
756
  id: z.ZodString;
1624
757
  name: z.ZodString;
1625
758
  source: z.ZodString;
1626
759
  remoteName: z.ZodOptional<z.ZodString>;
1627
- }, "strip", z.ZodTypeAny, {
1628
- source: string;
1629
- id: string;
1630
- name: string;
1631
- remoteName?: string | undefined;
1632
- }, {
1633
- source: string;
1634
- id: string;
1635
- name: string;
1636
- remoteName?: string | undefined;
1637
- }>>;
760
+ }, z.core.$strip>>;
1638
761
  identityOverride: z.ZodOptional<z.ZodObject<{
1639
762
  remoteName: z.ZodString;
1640
763
  updatedAt: z.ZodString;
1641
- }, "strip", z.ZodTypeAny, {
1642
- remoteName: string;
1643
- updatedAt: string;
1644
- }, {
1645
- remoteName: string;
1646
- updatedAt: string;
1647
- }>>;
764
+ }, z.core.$strip>>;
1648
765
  defaultProject: z.ZodOptional<z.ZodObject<{
1649
766
  id: z.ZodString;
1650
767
  name: z.ZodString;
1651
768
  remoteName: z.ZodOptional<z.ZodString>;
1652
- }, "strip", z.ZodTypeAny, {
1653
- id: string;
1654
- name: string;
1655
- remoteName?: string | undefined;
1656
- }, {
1657
- id: string;
1658
- name: string;
1659
- remoteName?: string | undefined;
1660
- }>>;
1661
- }, "strip", z.ZodTypeAny, {
1662
- action: "project_identity_set" | "project_identity_shown" | "project_identity_detected";
1663
- project?: {
1664
- source: string;
1665
- id: string;
1666
- name: string;
1667
- remoteName?: string | undefined;
1668
- } | undefined;
1669
- defaultProject?: {
1670
- id: string;
1671
- name: string;
1672
- remoteName?: string | undefined;
1673
- } | undefined;
1674
- identityOverride?: {
1675
- remoteName: string;
1676
- updatedAt: string;
1677
- } | undefined;
1678
- }, {
1679
- action: "project_identity_set" | "project_identity_shown" | "project_identity_detected";
1680
- project?: {
1681
- source: string;
1682
- id: string;
1683
- name: string;
1684
- remoteName?: string | undefined;
1685
- } | undefined;
1686
- defaultProject?: {
1687
- id: string;
1688
- name: string;
1689
- remoteName?: string | undefined;
1690
- } | undefined;
1691
- identityOverride?: {
1692
- remoteName: string;
1693
- updatedAt: string;
1694
- } | undefined;
1695
- }>;
769
+ }, z.core.$strip>>;
770
+ }, z.core.$strip>;
1696
771
  export declare const MigrationListResultSchema: z.ZodObject<{
1697
772
  action: z.ZodLiteral<"migration_list">;
1698
773
  vaults: z.ZodArray<z.ZodObject<{
1699
774
  path: z.ZodString;
1700
- type: z.ZodEnum<["main", "project"]>;
775
+ type: z.ZodEnum<{
776
+ project: "project";
777
+ main: "main";
778
+ }>;
1701
779
  version: z.ZodString;
1702
780
  pending: z.ZodNumber;
1703
- }, "strip", z.ZodTypeAny, {
1704
- type: "project" | "main";
1705
- path: string;
1706
- version: string;
1707
- pending: number;
1708
- }, {
1709
- type: "project" | "main";
1710
- path: string;
1711
- version: string;
1712
- pending: number;
1713
- }>, "many">;
781
+ }, z.core.$strip>>;
1714
782
  available: z.ZodArray<z.ZodObject<{
1715
783
  name: z.ZodString;
1716
784
  description: z.ZodString;
1717
- }, "strip", z.ZodTypeAny, {
1718
- name: string;
1719
- description: string;
1720
- }, {
1721
- name: string;
1722
- description: string;
1723
- }>, "many">;
785
+ }, z.core.$strip>>;
1724
786
  totalPending: z.ZodNumber;
1725
- }, "strip", z.ZodTypeAny, {
1726
- action: "migration_list";
1727
- vaults: {
1728
- type: "project" | "main";
1729
- path: string;
1730
- version: string;
1731
- pending: number;
1732
- }[];
1733
- available: {
1734
- name: string;
1735
- description: string;
1736
- }[];
1737
- totalPending: number;
1738
- }, {
1739
- action: "migration_list";
1740
- vaults: {
1741
- type: "project" | "main";
1742
- path: string;
1743
- version: string;
1744
- pending: number;
1745
- }[];
1746
- available: {
1747
- name: string;
1748
- description: string;
1749
- }[];
1750
- totalPending: number;
1751
- }>;
787
+ }, z.core.$strip>;
1752
788
  export declare const MigrationExecuteResultSchema: z.ZodObject<{
1753
789
  action: z.ZodLiteral<"migration_executed">;
1754
790
  migration: z.ZodString;
@@ -1761,96 +797,21 @@ export declare const MigrationExecuteResultSchema: z.ZodObject<{
1761
797
  errors: z.ZodArray<z.ZodObject<{
1762
798
  noteId: z.ZodString;
1763
799
  error: z.ZodString;
1764
- }, "strip", z.ZodTypeAny, {
1765
- error: string;
1766
- noteId: string;
1767
- }, {
1768
- error: string;
1769
- noteId: string;
1770
- }>, "many">;
1771
- warnings: z.ZodArray<z.ZodString, "many">;
1772
- }, "strip", z.ZodTypeAny, {
1773
- notesModified: number;
1774
- notesProcessed: number;
1775
- warnings: string[];
1776
- path: string;
1777
- errors: {
1778
- error: string;
1779
- noteId: string;
1780
- }[];
1781
- }, {
1782
- notesModified: number;
1783
- notesProcessed: number;
1784
- warnings: string[];
1785
- path: string;
1786
- errors: {
1787
- error: string;
1788
- noteId: string;
1789
- }[];
1790
- }>, "many">;
1791
- }, "strip", z.ZodTypeAny, {
1792
- vaultsProcessed: number;
1793
- action: "migration_executed";
1794
- migration: string;
1795
- dryRun: boolean;
1796
- vaultResults: {
1797
- notesModified: number;
1798
- notesProcessed: number;
1799
- warnings: string[];
1800
- path: string;
1801
- errors: {
1802
- error: string;
1803
- noteId: string;
1804
- }[];
1805
- }[];
1806
- }, {
1807
- vaultsProcessed: number;
1808
- action: "migration_executed";
1809
- migration: string;
1810
- dryRun: boolean;
1811
- vaultResults: {
1812
- notesModified: number;
1813
- notesProcessed: number;
1814
- warnings: string[];
1815
- path: string;
1816
- errors: {
1817
- error: string;
1818
- noteId: string;
1819
- }[];
1820
- }[];
1821
- }>;
800
+ }, z.core.$strip>>;
801
+ warnings: z.ZodArray<z.ZodString>;
802
+ }, z.core.$strip>>;
803
+ }, z.core.$strip>;
1822
804
  export declare const PolicyResultSchema: z.ZodObject<{
1823
- action: z.ZodEnum<["policy_set", "policy_shown"]>;
805
+ action: z.ZodEnum<{
806
+ policy_set: "policy_set";
807
+ policy_shown: "policy_shown";
808
+ }>;
1824
809
  project: z.ZodObject<{
1825
810
  id: z.ZodString;
1826
811
  name: z.ZodString;
1827
- }, "strip", z.ZodTypeAny, {
1828
- id: string;
1829
- name: string;
1830
- }, {
1831
- id: string;
1832
- name: string;
1833
- }>;
812
+ }, z.core.$strip>;
1834
813
  defaultScope: z.ZodOptional<z.ZodString>;
1835
814
  consolidationMode: z.ZodOptional<z.ZodString>;
1836
815
  updatedAt: z.ZodOptional<z.ZodString>;
1837
- }, "strip", z.ZodTypeAny, {
1838
- project: {
1839
- id: string;
1840
- name: string;
1841
- };
1842
- action: "policy_set" | "policy_shown";
1843
- updatedAt?: string | undefined;
1844
- defaultScope?: string | undefined;
1845
- consolidationMode?: string | undefined;
1846
- }, {
1847
- project: {
1848
- id: string;
1849
- name: string;
1850
- };
1851
- action: "policy_set" | "policy_shown";
1852
- updatedAt?: string | undefined;
1853
- defaultScope?: string | undefined;
1854
- consolidationMode?: string | undefined;
1855
- }>;
816
+ }, z.core.$strip>;
1856
817
  //# sourceMappingURL=structured-content.d.ts.map