@elizaos/server 1.0.18 → 1.0.19

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.js CHANGED
@@ -4160,7 +4160,7 @@ var SocketIORouter = class {
4160
4160
  this.sendErrorResponse(socket, `Server ${serverId} does not exist`);
4161
4161
  return;
4162
4162
  }
4163
- const isDmChannel = metadata?.isDm || metadata?.channelType === ChannelType5.DM || senderName?.includes("DM");
4163
+ const isDmChannel = metadata?.isDm || metadata?.channelType === ChannelType5.DM;
4164
4164
  const channelData = {
4165
4165
  id: channelId,
4166
4166
  // Use the specific channel ID from the client
@@ -5592,7 +5592,7 @@ var AgentServer = class {
5592
5592
  }
5593
5593
  try {
5594
5594
  logger29.debug("Initializing AgentServer (async operations)...");
5595
- const agentDataDir = await resolvePgliteDir(options?.dataDir);
5595
+ const agentDataDir = resolvePgliteDir(options?.dataDir);
5596
5596
  logger29.info(`[INIT] Database Dir for SQL plugin: ${agentDataDir}`);
5597
5597
  this.database = createDatabaseAdapter(
5598
5598
  {