@truenine/memory-sync-cli 2026.10322.104 → 2026.10323.10738

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
@@ -3669,6 +3669,23 @@ declare const ZCleanupProtectionOptions: z.ZodObject<{
3669
3669
  reason?: string | undefined;
3670
3670
  }[] | undefined;
3671
3671
  }>;
3672
+ declare const ZWindowsOptions: z.ZodObject<{
3673
+ wsl2: z.ZodOptional<z.ZodObject<{
3674
+ instances: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3675
+ }, "strip", z.ZodTypeAny, {
3676
+ instances?: string | string[] | undefined;
3677
+ }, {
3678
+ instances?: string | string[] | undefined;
3679
+ }>>;
3680
+ }, "strip", z.ZodTypeAny, {
3681
+ wsl2?: {
3682
+ instances?: string | string[] | undefined;
3683
+ } | undefined;
3684
+ }, {
3685
+ wsl2?: {
3686
+ instances?: string | string[] | undefined;
3687
+ } | undefined;
3688
+ }>;
3672
3689
  /**
3673
3690
  * Zod schema for the user configuration file (.tnmsc.json).
3674
3691
  */
@@ -3951,6 +3968,23 @@ declare const ZUserConfigFile: z.ZodObject<{
3951
3968
  reason?: string | undefined;
3952
3969
  }[] | undefined;
3953
3970
  }>>;
3971
+ windows: z.ZodOptional<z.ZodObject<{
3972
+ wsl2: z.ZodOptional<z.ZodObject<{
3973
+ instances: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
3974
+ }, "strip", z.ZodTypeAny, {
3975
+ instances?: string | string[] | undefined;
3976
+ }, {
3977
+ instances?: string | string[] | undefined;
3978
+ }>>;
3979
+ }, "strip", z.ZodTypeAny, {
3980
+ wsl2?: {
3981
+ instances?: string | string[] | undefined;
3982
+ } | undefined;
3983
+ }, {
3984
+ wsl2?: {
3985
+ instances?: string | string[] | undefined;
3986
+ } | undefined;
3987
+ }>>;
3954
3988
  profile: z.ZodOptional<z.ZodObject<{
3955
3989
  name: z.ZodOptional<z.ZodString>;
3956
3990
  username: z.ZodOptional<z.ZodString>;
@@ -4038,6 +4072,11 @@ declare const ZUserConfigFile: z.ZodObject<{
4038
4072
  reason?: string | undefined;
4039
4073
  }[] | undefined;
4040
4074
  } | undefined;
4075
+ windows?: {
4076
+ wsl2?: {
4077
+ instances?: string | string[] | undefined;
4078
+ } | undefined;
4079
+ } | undefined;
4041
4080
  profile?: z.objectOutputType<{
4042
4081
  name: z.ZodOptional<z.ZodString>;
4043
4082
  username: z.ZodOptional<z.ZodString>;
@@ -4115,6 +4154,11 @@ declare const ZUserConfigFile: z.ZodObject<{
4115
4154
  reason?: string | undefined;
4116
4155
  }[] | undefined;
4117
4156
  } | undefined;
4157
+ windows?: {
4158
+ wsl2?: {
4159
+ instances?: string | string[] | undefined;
4160
+ } | undefined;
4161
+ } | undefined;
4118
4162
  profile?: z.objectInputType<{
4119
4163
  name: z.ZodOptional<z.ZodString>;
4120
4164
  username: z.ZodOptional<z.ZodString>;
@@ -4230,6 +4274,7 @@ type OutputScopeOptions = z.infer<typeof ZOutputScopeOptions>;
4230
4274
  type FrontMatterOptions = z.infer<typeof ZFrontMatterOptions>;
4231
4275
  type ProtectionMode = z.infer<typeof ZProtectionMode>;
4232
4276
  type CleanupProtectionOptions = z.infer<typeof ZCleanupProtectionOptions>;
4277
+ type WindowsOptions = z.infer<typeof ZWindowsOptions>;
4233
4278
  type UserConfigFile = z.infer<typeof ZUserConfigFile>;
4234
4279
  type ProjectConfig = z.infer<typeof ZProjectConfig>;
4235
4280
  type ConfigLoaderOptions = z.infer<typeof ZConfigLoaderOptions>;
@@ -4884,6 +4929,15 @@ interface OutputWriteContext extends OutputPluginContext {
4884
4929
  readonly dryRun?: boolean;
4885
4930
  readonly registeredPluginNames?: readonly string[];
4886
4931
  }
4932
+ /**
4933
+ * Declarative host-home file that should be mirrored into configured WSL instances.
4934
+ */
4935
+ interface WslMirrorFileDeclaration {
4936
+ /** Source path on the Windows host, typically under ~ */
4937
+ readonly sourcePath: string;
4938
+ /** Optional label for diagnostics/logging */
4939
+ readonly label?: string;
4940
+ }
4887
4941
  /**
4888
4942
  * Awaitable type for sync/async flexibility
4889
4943
  */
@@ -4901,6 +4955,7 @@ interface OutputPlugin extends Plugin {
4901
4955
  declareOutputFiles: (ctx: OutputWriteContext) => Awaitable<readonly OutputFileDeclaration[]>;
4902
4956
  convertContent: (declaration: OutputFileDeclaration, ctx: OutputWriteContext) => Awaitable<string | Buffer>;
4903
4957
  declareCleanupPaths?: (ctx: OutputCleanContext) => Awaitable<OutputCleanupDeclarations>;
4958
+ declareWslMirrorFiles?: (ctx: OutputWriteContext) => Awaitable<readonly WslMirrorFileDeclaration[]>;
4904
4959
  }
4905
4960
  /**
4906
4961
  * Scope of a declared output file target.
@@ -4998,6 +5053,7 @@ interface PluginOptions {
4998
5053
  readonly outputScopes?: OutputScopeOptions;
4999
5054
  readonly frontMatter?: FrontMatterOptions;
5000
5055
  readonly cleanupProtection?: CleanupProtectionOptions;
5056
+ readonly windows?: WindowsOptions;
5001
5057
  plugins?: readonly (InputCapability | OutputPlugin)[];
5002
5058
  logLevel?: 'trace' | 'debug' | 'info' | 'warn' | 'error';
5003
5059
  }
@@ -5139,6 +5195,7 @@ declare class ConfigLoader {
5139
5195
  private mergeOutputScopeOptions;
5140
5196
  private mergeFrontMatterOptions;
5141
5197
  private mergeCleanupProtectionOptions;
5198
+ private mergeWindowsOptions;
5142
5199
  private resolveTilde;
5143
5200
  }
5144
5201
  /**