@truenine/memory-sync-cli 2026.10327.10010 → 2026.10329.110

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/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  /// <reference types="node" />
2
- import * as node_fs0 from "node:fs";
3
- import * as node_path0 from "node:path";
2
+ import * as _$node_fs0 from "node:fs";
3
+ import * as _$node_path0 from "node:path";
4
4
  import * as fs from "fs";
5
5
  import { Buffer } from "node:buffer";
6
6
  import { z } from "zod/v3";
@@ -3379,13 +3379,16 @@ declare module 'hast' {
3379
3379
  * Metadata source type
3380
3380
  */
3381
3381
  //#endregion
3382
+ //#region src/plugins/plugin-core/AindexConfigDefaults.d.ts
3383
+ declare const AINDEX_PROJECT_SERIES_NAMES: readonly ["app", "ext", "arch", "softwares"];
3384
+ type AindexProjectSeriesName = (typeof AINDEX_PROJECT_SERIES_NAMES)[number];
3385
+ //#endregion
3382
3386
  //#region src/plugins/plugin-core/ConfigTypes.schema.d.ts
3383
3387
  /**
3384
3388
  * Zod schema for the aindex configuration.
3385
3389
  * All paths are relative to <workspaceDir>/<aindex.dir>.
3386
3390
  */
3387
3391
  declare const ZAindexConfig: z.ZodObject<{
3388
- dir: z.ZodDefault<z.ZodString>;
3389
3392
  skills: z.ZodObject<{
3390
3393
  src: z.ZodString;
3391
3394
  dist: z.ZodString;
@@ -3395,7 +3398,16 @@ declare const ZAindexConfig: z.ZodObject<{
3395
3398
  }, {
3396
3399
  src: string;
3397
3400
  dist: string;
3398
- }>;
3401
+ }> | z.ZodDefault<z.ZodObject<{
3402
+ src: z.ZodString;
3403
+ dist: z.ZodString;
3404
+ }, "strip", z.ZodTypeAny, {
3405
+ src: string;
3406
+ dist: string;
3407
+ }, {
3408
+ src: string;
3409
+ dist: string;
3410
+ }>>;
3399
3411
  commands: z.ZodObject<{
3400
3412
  src: z.ZodString;
3401
3413
  dist: z.ZodString;
@@ -3405,7 +3417,16 @@ declare const ZAindexConfig: z.ZodObject<{
3405
3417
  }, {
3406
3418
  src: string;
3407
3419
  dist: string;
3408
- }>;
3420
+ }> | z.ZodDefault<z.ZodObject<{
3421
+ src: z.ZodString;
3422
+ dist: z.ZodString;
3423
+ }, "strip", z.ZodTypeAny, {
3424
+ src: string;
3425
+ dist: string;
3426
+ }, {
3427
+ src: string;
3428
+ dist: string;
3429
+ }>>;
3409
3430
  subAgents: z.ZodObject<{
3410
3431
  src: z.ZodString;
3411
3432
  dist: z.ZodString;
@@ -3415,7 +3436,16 @@ declare const ZAindexConfig: z.ZodObject<{
3415
3436
  }, {
3416
3437
  src: string;
3417
3438
  dist: string;
3418
- }>;
3439
+ }> | z.ZodDefault<z.ZodObject<{
3440
+ src: z.ZodString;
3441
+ dist: z.ZodString;
3442
+ }, "strip", z.ZodTypeAny, {
3443
+ src: string;
3444
+ dist: string;
3445
+ }, {
3446
+ src: string;
3447
+ dist: string;
3448
+ }>>;
3419
3449
  rules: z.ZodObject<{
3420
3450
  src: z.ZodString;
3421
3451
  dist: z.ZodString;
@@ -3425,7 +3455,16 @@ declare const ZAindexConfig: z.ZodObject<{
3425
3455
  }, {
3426
3456
  src: string;
3427
3457
  dist: string;
3428
- }>;
3458
+ }> | z.ZodDefault<z.ZodObject<{
3459
+ src: z.ZodString;
3460
+ dist: z.ZodString;
3461
+ }, "strip", z.ZodTypeAny, {
3462
+ src: string;
3463
+ dist: string;
3464
+ }, {
3465
+ src: string;
3466
+ dist: string;
3467
+ }>>;
3429
3468
  globalPrompt: z.ZodObject<{
3430
3469
  src: z.ZodString;
3431
3470
  dist: z.ZodString;
@@ -3435,7 +3474,16 @@ declare const ZAindexConfig: z.ZodObject<{
3435
3474
  }, {
3436
3475
  src: string;
3437
3476
  dist: string;
3438
- }>;
3477
+ }> | z.ZodDefault<z.ZodObject<{
3478
+ src: z.ZodString;
3479
+ dist: z.ZodString;
3480
+ }, "strip", z.ZodTypeAny, {
3481
+ src: string;
3482
+ dist: string;
3483
+ }, {
3484
+ src: string;
3485
+ dist: string;
3486
+ }>>;
3439
3487
  workspacePrompt: z.ZodObject<{
3440
3488
  src: z.ZodString;
3441
3489
  dist: z.ZodString;
@@ -3445,7 +3493,16 @@ declare const ZAindexConfig: z.ZodObject<{
3445
3493
  }, {
3446
3494
  src: string;
3447
3495
  dist: string;
3448
- }>;
3496
+ }> | z.ZodDefault<z.ZodObject<{
3497
+ src: z.ZodString;
3498
+ dist: z.ZodString;
3499
+ }, "strip", z.ZodTypeAny, {
3500
+ src: string;
3501
+ dist: string;
3502
+ }, {
3503
+ src: string;
3504
+ dist: string;
3505
+ }>>;
3449
3506
  app: z.ZodObject<{
3450
3507
  src: z.ZodString;
3451
3508
  dist: z.ZodString;
@@ -3455,7 +3512,16 @@ declare const ZAindexConfig: z.ZodObject<{
3455
3512
  }, {
3456
3513
  src: string;
3457
3514
  dist: string;
3458
- }>;
3515
+ }> | z.ZodDefault<z.ZodObject<{
3516
+ src: z.ZodString;
3517
+ dist: z.ZodString;
3518
+ }, "strip", z.ZodTypeAny, {
3519
+ src: string;
3520
+ dist: string;
3521
+ }, {
3522
+ src: string;
3523
+ dist: string;
3524
+ }>>;
3459
3525
  ext: z.ZodObject<{
3460
3526
  src: z.ZodString;
3461
3527
  dist: z.ZodString;
@@ -3465,7 +3531,16 @@ declare const ZAindexConfig: z.ZodObject<{
3465
3531
  }, {
3466
3532
  src: string;
3467
3533
  dist: string;
3468
- }>;
3534
+ }> | z.ZodDefault<z.ZodObject<{
3535
+ src: z.ZodString;
3536
+ dist: z.ZodString;
3537
+ }, "strip", z.ZodTypeAny, {
3538
+ src: string;
3539
+ dist: string;
3540
+ }, {
3541
+ src: string;
3542
+ dist: string;
3543
+ }>>;
3469
3544
  arch: z.ZodObject<{
3470
3545
  src: z.ZodString;
3471
3546
  dist: z.ZodString;
@@ -3475,7 +3550,36 @@ declare const ZAindexConfig: z.ZodObject<{
3475
3550
  }, {
3476
3551
  src: string;
3477
3552
  dist: string;
3478
- }>;
3553
+ }> | z.ZodDefault<z.ZodObject<{
3554
+ src: z.ZodString;
3555
+ dist: z.ZodString;
3556
+ }, "strip", z.ZodTypeAny, {
3557
+ src: string;
3558
+ dist: string;
3559
+ }, {
3560
+ src: string;
3561
+ dist: string;
3562
+ }>>;
3563
+ softwares: z.ZodObject<{
3564
+ src: z.ZodString;
3565
+ dist: z.ZodString;
3566
+ }, "strip", z.ZodTypeAny, {
3567
+ src: string;
3568
+ dist: string;
3569
+ }, {
3570
+ src: string;
3571
+ dist: string;
3572
+ }> | z.ZodDefault<z.ZodObject<{
3573
+ src: z.ZodString;
3574
+ dist: z.ZodString;
3575
+ }, "strip", z.ZodTypeAny, {
3576
+ src: string;
3577
+ dist: string;
3578
+ }, {
3579
+ src: string;
3580
+ dist: string;
3581
+ }>>;
3582
+ dir: z.ZodDefault<z.ZodString>;
3479
3583
  }, "strip", z.ZodTypeAny, {
3480
3584
  dir: string;
3481
3585
  skills: {
@@ -3514,44 +3618,52 @@ declare const ZAindexConfig: z.ZodObject<{
3514
3618
  src: string;
3515
3619
  dist: string;
3516
3620
  };
3517
- }, {
3518
- skills: {
3621
+ softwares: {
3519
3622
  src: string;
3520
3623
  dist: string;
3521
3624
  };
3522
- commands: {
3625
+ }, {
3626
+ dir?: string | undefined;
3627
+ skills?: {
3523
3628
  src: string;
3524
3629
  dist: string;
3525
- };
3526
- subAgents: {
3630
+ } | undefined;
3631
+ commands?: {
3527
3632
  src: string;
3528
3633
  dist: string;
3529
- };
3530
- rules: {
3634
+ } | undefined;
3635
+ subAgents?: {
3531
3636
  src: string;
3532
3637
  dist: string;
3533
- };
3534
- globalPrompt: {
3638
+ } | undefined;
3639
+ rules?: {
3535
3640
  src: string;
3536
3641
  dist: string;
3537
- };
3538
- workspacePrompt: {
3642
+ } | undefined;
3643
+ globalPrompt?: {
3539
3644
  src: string;
3540
3645
  dist: string;
3541
- };
3542
- app: {
3646
+ } | undefined;
3647
+ workspacePrompt?: {
3543
3648
  src: string;
3544
3649
  dist: string;
3545
- };
3546
- ext: {
3650
+ } | undefined;
3651
+ app?: {
3547
3652
  src: string;
3548
3653
  dist: string;
3549
- };
3550
- arch: {
3654
+ } | undefined;
3655
+ ext?: {
3551
3656
  src: string;
3552
3657
  dist: string;
3553
- };
3554
- dir?: string | undefined;
3658
+ } | undefined;
3659
+ arch?: {
3660
+ src: string;
3661
+ dist: string;
3662
+ } | undefined;
3663
+ softwares?: {
3664
+ src: string;
3665
+ dist: string;
3666
+ } | undefined;
3555
3667
  }>;
3556
3668
  /**
3557
3669
  * Zod schema for command series configuration options.
@@ -3693,7 +3805,6 @@ declare const ZUserConfigFile: z.ZodObject<{
3693
3805
  version: z.ZodOptional<z.ZodString>;
3694
3806
  workspaceDir: z.ZodOptional<z.ZodString>;
3695
3807
  aindex: z.ZodOptional<z.ZodObject<{
3696
- dir: z.ZodDefault<z.ZodString>;
3697
3808
  skills: z.ZodObject<{
3698
3809
  src: z.ZodString;
3699
3810
  dist: z.ZodString;
@@ -3703,7 +3814,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3703
3814
  }, {
3704
3815
  src: string;
3705
3816
  dist: string;
3706
- }>;
3817
+ }> | z.ZodDefault<z.ZodObject<{
3818
+ src: z.ZodString;
3819
+ dist: z.ZodString;
3820
+ }, "strip", z.ZodTypeAny, {
3821
+ src: string;
3822
+ dist: string;
3823
+ }, {
3824
+ src: string;
3825
+ dist: string;
3826
+ }>>;
3707
3827
  commands: z.ZodObject<{
3708
3828
  src: z.ZodString;
3709
3829
  dist: z.ZodString;
@@ -3713,7 +3833,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3713
3833
  }, {
3714
3834
  src: string;
3715
3835
  dist: string;
3716
- }>;
3836
+ }> | z.ZodDefault<z.ZodObject<{
3837
+ src: z.ZodString;
3838
+ dist: z.ZodString;
3839
+ }, "strip", z.ZodTypeAny, {
3840
+ src: string;
3841
+ dist: string;
3842
+ }, {
3843
+ src: string;
3844
+ dist: string;
3845
+ }>>;
3717
3846
  subAgents: z.ZodObject<{
3718
3847
  src: z.ZodString;
3719
3848
  dist: z.ZodString;
@@ -3723,7 +3852,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3723
3852
  }, {
3724
3853
  src: string;
3725
3854
  dist: string;
3726
- }>;
3855
+ }> | z.ZodDefault<z.ZodObject<{
3856
+ src: z.ZodString;
3857
+ dist: z.ZodString;
3858
+ }, "strip", z.ZodTypeAny, {
3859
+ src: string;
3860
+ dist: string;
3861
+ }, {
3862
+ src: string;
3863
+ dist: string;
3864
+ }>>;
3727
3865
  rules: z.ZodObject<{
3728
3866
  src: z.ZodString;
3729
3867
  dist: z.ZodString;
@@ -3733,7 +3871,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3733
3871
  }, {
3734
3872
  src: string;
3735
3873
  dist: string;
3736
- }>;
3874
+ }> | z.ZodDefault<z.ZodObject<{
3875
+ src: z.ZodString;
3876
+ dist: z.ZodString;
3877
+ }, "strip", z.ZodTypeAny, {
3878
+ src: string;
3879
+ dist: string;
3880
+ }, {
3881
+ src: string;
3882
+ dist: string;
3883
+ }>>;
3737
3884
  globalPrompt: z.ZodObject<{
3738
3885
  src: z.ZodString;
3739
3886
  dist: z.ZodString;
@@ -3743,7 +3890,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3743
3890
  }, {
3744
3891
  src: string;
3745
3892
  dist: string;
3746
- }>;
3893
+ }> | z.ZodDefault<z.ZodObject<{
3894
+ src: z.ZodString;
3895
+ dist: z.ZodString;
3896
+ }, "strip", z.ZodTypeAny, {
3897
+ src: string;
3898
+ dist: string;
3899
+ }, {
3900
+ src: string;
3901
+ dist: string;
3902
+ }>>;
3747
3903
  workspacePrompt: z.ZodObject<{
3748
3904
  src: z.ZodString;
3749
3905
  dist: z.ZodString;
@@ -3753,7 +3909,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3753
3909
  }, {
3754
3910
  src: string;
3755
3911
  dist: string;
3756
- }>;
3912
+ }> | z.ZodDefault<z.ZodObject<{
3913
+ src: z.ZodString;
3914
+ dist: z.ZodString;
3915
+ }, "strip", z.ZodTypeAny, {
3916
+ src: string;
3917
+ dist: string;
3918
+ }, {
3919
+ src: string;
3920
+ dist: string;
3921
+ }>>;
3757
3922
  app: z.ZodObject<{
3758
3923
  src: z.ZodString;
3759
3924
  dist: z.ZodString;
@@ -3763,7 +3928,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3763
3928
  }, {
3764
3929
  src: string;
3765
3930
  dist: string;
3766
- }>;
3931
+ }> | z.ZodDefault<z.ZodObject<{
3932
+ src: z.ZodString;
3933
+ dist: z.ZodString;
3934
+ }, "strip", z.ZodTypeAny, {
3935
+ src: string;
3936
+ dist: string;
3937
+ }, {
3938
+ src: string;
3939
+ dist: string;
3940
+ }>>;
3767
3941
  ext: z.ZodObject<{
3768
3942
  src: z.ZodString;
3769
3943
  dist: z.ZodString;
@@ -3773,7 +3947,16 @@ declare const ZUserConfigFile: z.ZodObject<{
3773
3947
  }, {
3774
3948
  src: string;
3775
3949
  dist: string;
3776
- }>;
3950
+ }> | z.ZodDefault<z.ZodObject<{
3951
+ src: z.ZodString;
3952
+ dist: z.ZodString;
3953
+ }, "strip", z.ZodTypeAny, {
3954
+ src: string;
3955
+ dist: string;
3956
+ }, {
3957
+ src: string;
3958
+ dist: string;
3959
+ }>>;
3777
3960
  arch: z.ZodObject<{
3778
3961
  src: z.ZodString;
3779
3962
  dist: z.ZodString;
@@ -3783,7 +3966,36 @@ declare const ZUserConfigFile: z.ZodObject<{
3783
3966
  }, {
3784
3967
  src: string;
3785
3968
  dist: string;
3786
- }>;
3969
+ }> | z.ZodDefault<z.ZodObject<{
3970
+ src: z.ZodString;
3971
+ dist: z.ZodString;
3972
+ }, "strip", z.ZodTypeAny, {
3973
+ src: string;
3974
+ dist: string;
3975
+ }, {
3976
+ src: string;
3977
+ dist: string;
3978
+ }>>;
3979
+ softwares: z.ZodObject<{
3980
+ src: z.ZodString;
3981
+ dist: z.ZodString;
3982
+ }, "strip", z.ZodTypeAny, {
3983
+ src: string;
3984
+ dist: string;
3985
+ }, {
3986
+ src: string;
3987
+ dist: string;
3988
+ }> | z.ZodDefault<z.ZodObject<{
3989
+ src: z.ZodString;
3990
+ dist: z.ZodString;
3991
+ }, "strip", z.ZodTypeAny, {
3992
+ src: string;
3993
+ dist: string;
3994
+ }, {
3995
+ src: string;
3996
+ dist: string;
3997
+ }>>;
3998
+ dir: z.ZodDefault<z.ZodString>;
3787
3999
  }, "strip", z.ZodTypeAny, {
3788
4000
  dir: string;
3789
4001
  skills: {
@@ -3822,44 +4034,52 @@ declare const ZUserConfigFile: z.ZodObject<{
3822
4034
  src: string;
3823
4035
  dist: string;
3824
4036
  };
3825
- }, {
3826
- skills: {
4037
+ softwares: {
3827
4038
  src: string;
3828
4039
  dist: string;
3829
4040
  };
3830
- commands: {
4041
+ }, {
4042
+ dir?: string | undefined;
4043
+ skills?: {
3831
4044
  src: string;
3832
4045
  dist: string;
3833
- };
3834
- subAgents: {
4046
+ } | undefined;
4047
+ commands?: {
3835
4048
  src: string;
3836
4049
  dist: string;
3837
- };
3838
- rules: {
4050
+ } | undefined;
4051
+ subAgents?: {
3839
4052
  src: string;
3840
4053
  dist: string;
3841
- };
3842
- globalPrompt: {
4054
+ } | undefined;
4055
+ rules?: {
3843
4056
  src: string;
3844
4057
  dist: string;
3845
- };
3846
- workspacePrompt: {
4058
+ } | undefined;
4059
+ globalPrompt?: {
3847
4060
  src: string;
3848
4061
  dist: string;
3849
- };
3850
- app: {
4062
+ } | undefined;
4063
+ workspacePrompt?: {
3851
4064
  src: string;
3852
4065
  dist: string;
3853
- };
3854
- ext: {
4066
+ } | undefined;
4067
+ app?: {
3855
4068
  src: string;
3856
4069
  dist: string;
3857
- };
3858
- arch: {
4070
+ } | undefined;
4071
+ ext?: {
3859
4072
  src: string;
3860
4073
  dist: string;
3861
- };
3862
- dir?: string | undefined;
4074
+ } | undefined;
4075
+ arch?: {
4076
+ src: string;
4077
+ dist: string;
4078
+ } | undefined;
4079
+ softwares?: {
4080
+ src: string;
4081
+ dist: string;
4082
+ } | undefined;
3863
4083
  }>>;
3864
4084
  logLevel: z.ZodOptional<z.ZodEnum<["trace", "debug", "info", "warn", "error"]>>;
3865
4085
  commandSeriesOptions: z.ZodOptional<z.ZodObject<{
@@ -4042,6 +4262,10 @@ declare const ZUserConfigFile: z.ZodObject<{
4042
4262
  src: string;
4043
4263
  dist: string;
4044
4264
  };
4265
+ softwares: {
4266
+ src: string;
4267
+ dist: string;
4268
+ };
4045
4269
  } | undefined;
4046
4270
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | undefined;
4047
4271
  commandSeriesOptions?: {
@@ -4087,43 +4311,47 @@ declare const ZUserConfigFile: z.ZodObject<{
4087
4311
  version?: string | undefined;
4088
4312
  workspaceDir?: string | undefined;
4089
4313
  aindex?: {
4090
- skills: {
4314
+ dir?: string | undefined;
4315
+ skills?: {
4091
4316
  src: string;
4092
4317
  dist: string;
4093
- };
4094
- commands: {
4318
+ } | undefined;
4319
+ commands?: {
4095
4320
  src: string;
4096
4321
  dist: string;
4097
- };
4098
- subAgents: {
4322
+ } | undefined;
4323
+ subAgents?: {
4099
4324
  src: string;
4100
4325
  dist: string;
4101
- };
4102
- rules: {
4326
+ } | undefined;
4327
+ rules?: {
4103
4328
  src: string;
4104
4329
  dist: string;
4105
- };
4106
- globalPrompt: {
4330
+ } | undefined;
4331
+ globalPrompt?: {
4107
4332
  src: string;
4108
4333
  dist: string;
4109
- };
4110
- workspacePrompt: {
4334
+ } | undefined;
4335
+ workspacePrompt?: {
4111
4336
  src: string;
4112
4337
  dist: string;
4113
- };
4114
- app: {
4338
+ } | undefined;
4339
+ app?: {
4115
4340
  src: string;
4116
4341
  dist: string;
4117
- };
4118
- ext: {
4342
+ } | undefined;
4343
+ ext?: {
4119
4344
  src: string;
4120
4345
  dist: string;
4121
- };
4122
- arch: {
4346
+ } | undefined;
4347
+ arch?: {
4123
4348
  src: string;
4124
4349
  dist: string;
4125
- };
4126
- dir?: string | undefined;
4350
+ } | undefined;
4351
+ softwares?: {
4352
+ src: string;
4353
+ dist: string;
4354
+ } | undefined;
4127
4355
  } | undefined;
4128
4356
  logLevel?: "trace" | "debug" | "info" | "warn" | "error" | undefined;
4129
4357
  commandSeriesOptions?: {
@@ -4343,6 +4571,7 @@ interface Project {
4343
4571
  readonly isPromptSourceProject?: boolean;
4344
4572
  readonly isWorkspaceRootProject?: boolean;
4345
4573
  readonly projectConfig?: ProjectConfig;
4574
+ readonly promptSeries?: AindexProjectSeriesName;
4346
4575
  }
4347
4576
  interface Workspace {
4348
4577
  readonly directory: Path;
@@ -4892,8 +5121,8 @@ interface Plugin<T extends PluginKind = PluginKind> extends DependencyNode {
4892
5121
  }
4893
5122
  interface PluginContext {
4894
5123
  logger: ILogger;
4895
- fs: typeof node_fs0;
4896
- path: typeof node_path0;
5124
+ fs: typeof _$node_fs0;
5125
+ path: typeof _$node_path0;
4897
5126
  glob: FastGlobType;
4898
5127
  }
4899
5128
  interface InputCapabilityContext extends PluginContext {