@elizaos/server 1.4.2 → 1.4.3-alpha.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.
- package/dist/api/agents/crud.d.ts +8 -0
- package/dist/api/agents/crud.d.ts.map +1 -0
- package/dist/api/agents/index.d.ts +8 -0
- package/dist/api/agents/index.d.ts.map +1 -0
- package/dist/api/agents/lifecycle.d.ts +8 -0
- package/dist/api/agents/lifecycle.d.ts.map +1 -0
- package/dist/api/agents/logs.d.ts +7 -0
- package/dist/api/agents/logs.d.ts.map +1 -0
- package/dist/api/agents/panels.d.ts +7 -0
- package/dist/api/agents/panels.d.ts.map +1 -0
- package/dist/api/agents/worlds.d.ts +7 -0
- package/dist/api/agents/worlds.d.ts.map +1 -0
- package/dist/api/audio/audioBuffer.d.ts +18 -0
- package/dist/api/audio/audioBuffer.d.ts.map +1 -0
- package/dist/api/audio/conversation.d.ts +7 -0
- package/dist/api/audio/conversation.d.ts.map +1 -0
- package/dist/api/audio/index.d.ts +7 -0
- package/dist/api/audio/index.d.ts.map +1 -0
- package/dist/api/audio/processing.d.ts +10 -0
- package/dist/api/audio/processing.d.ts.map +1 -0
- package/dist/api/audio/synthesis.d.ts +7 -0
- package/dist/api/audio/synthesis.d.ts.map +1 -0
- package/dist/api/index.d.ts +20 -0
- package/dist/api/index.d.ts.map +1 -0
- package/dist/api/media/agents.d.ts +6 -0
- package/dist/api/media/agents.d.ts.map +1 -0
- package/dist/api/media/channels.d.ts +6 -0
- package/dist/api/media/channels.d.ts.map +1 -0
- package/dist/api/media/index.d.ts +6 -0
- package/dist/api/media/index.d.ts.map +1 -0
- package/dist/api/memory/agents.d.ts +7 -0
- package/dist/api/memory/agents.d.ts.map +1 -0
- package/dist/api/memory/groups.d.ts +8 -0
- package/dist/api/memory/groups.d.ts.map +1 -0
- package/dist/api/memory/index.d.ts +8 -0
- package/dist/api/memory/index.d.ts.map +1 -0
- package/dist/api/memory/rooms.d.ts +7 -0
- package/dist/api/memory/rooms.d.ts.map +1 -0
- package/dist/api/messaging/channels.d.ts +8 -0
- package/dist/api/messaging/channels.d.ts.map +1 -0
- package/dist/api/messaging/core.d.ts +7 -0
- package/dist/api/messaging/core.d.ts.map +1 -0
- package/dist/api/messaging/errors/SessionErrors.d.ts +149 -0
- package/dist/api/messaging/errors/SessionErrors.d.ts.map +1 -0
- package/dist/api/messaging/index.d.ts +8 -0
- package/dist/api/messaging/index.d.ts.map +1 -0
- package/dist/api/messaging/servers.d.ts +7 -0
- package/dist/api/messaging/servers.d.ts.map +1 -0
- package/dist/api/messaging/sessions.d.ts +23 -0
- package/dist/api/messaging/sessions.d.ts.map +1 -0
- package/dist/api/runtime/debug.d.ts +7 -0
- package/dist/api/runtime/debug.d.ts.map +1 -0
- package/dist/api/runtime/health.d.ts +8 -0
- package/dist/api/runtime/health.d.ts.map +1 -0
- package/dist/api/runtime/index.d.ts +8 -0
- package/dist/api/runtime/index.d.ts.map +1 -0
- package/dist/api/runtime/logging.d.ts +6 -0
- package/dist/api/runtime/logging.d.ts.map +1 -0
- package/dist/api/shared/constants.d.ts +22 -0
- package/dist/api/shared/constants.d.ts.map +1 -0
- package/dist/api/shared/file-utils.d.ts +21 -0
- package/dist/api/shared/file-utils.d.ts.map +1 -0
- package/dist/api/shared/index.d.ts +7 -0
- package/dist/api/shared/index.d.ts.map +1 -0
- package/dist/api/shared/middleware.d.ts +40 -0
- package/dist/api/shared/middleware.d.ts.map +1 -0
- package/dist/api/shared/response-utils.d.ts +10 -0
- package/dist/api/shared/response-utils.d.ts.map +1 -0
- package/dist/api/shared/uploads/index.d.ts +2 -0
- package/dist/api/shared/uploads/index.d.ts.map +1 -0
- package/dist/api/shared/validation.d.ts +27 -0
- package/dist/api/shared/validation.d.ts.map +1 -0
- package/dist/api/system/environment.d.ts +24 -0
- package/dist/api/system/environment.d.ts.map +1 -0
- package/dist/api/system/index.d.ts +6 -0
- package/dist/api/system/index.d.ts.map +1 -0
- package/dist/api/system/version.d.ts +6 -0
- package/dist/api/system/version.d.ts.map +1 -0
- package/dist/api/tee/index.d.ts +6 -0
- package/dist/api/tee/index.d.ts.map +1 -0
- package/dist/api/tee/tee.d.ts +1 -0
- package/dist/api/tee/tee.d.ts.map +1 -0
- package/dist/authMiddleware.d.ts +16 -0
- package/dist/authMiddleware.d.ts.map +1 -0
- package/dist/bus.d.ts +31 -0
- package/dist/bus.d.ts.map +1 -0
- package/dist/index.d.ts +21 -211
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +3993 -2721
- package/dist/loader.d.ts +49 -0
- package/dist/loader.d.ts.map +1 -0
- package/dist/scripts/copy-client-dist.d.ts +2 -0
- package/dist/scripts/copy-client-dist.d.ts.map +1 -0
- package/dist/services/message.d.ts +51 -0
- package/dist/services/message.d.ts.map +1 -0
- package/dist/socketio/index.d.ts +23 -0
- package/dist/socketio/index.d.ts.map +1 -0
- package/dist/types/sessions.d.ts +153 -0
- package/dist/types/sessions.d.ts.map +1 -0
- package/dist/types.d.ts +52 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/upload.d.ts +16 -0
- package/dist/upload.d.ts.map +1 -0
- package/package.json +8 -8
- package/dist/client/assets/index-BgxiIYf2.js +0 -7487
- package/dist/client/assets/index-BgxiIYf2.js.br +0 -0
- package/dist/client/assets/index-BgxiIYf2.js.map +0 -1
- package/dist/client/assets/index-CuhlDCnv.css +0 -1
- package/dist/client/assets/index-CuhlDCnv.css.br +0 -0
- package/dist/client/assets/index-ofROTcnX.js +0 -157130
- package/dist/client/assets/index-ofROTcnX.js.br +0 -0
- package/dist/client/assets/index-ofROTcnX.js.map +0 -1
- package/dist/client/assets/vendor-BDSOQlwO.js +0 -5644
- package/dist/client/assets/vendor-BDSOQlwO.js.br +0 -0
- package/dist/client/assets/vendor-BDSOQlwO.js.map +0 -1
- package/dist/client/elizaos-avatar.png +0 -0
- package/dist/client/elizaos-icon.png +0 -0
- package/dist/client/elizaos-logo-light.png +0 -0
- package/dist/client/elizaos.webp +0 -0
- package/dist/client/favicon.ico +0 -0
- package/dist/client/images/agents/agent1.png +0 -0
- package/dist/client/images/agents/agent2.png +0 -0
- package/dist/client/images/agents/agent3.png +0 -0
- package/dist/client/images/agents/agent4.png +0 -0
- package/dist/client/images/agents/agent5.png +0 -0
- package/dist/client/index.html +0 -24
- package/dist/index.js.map +0 -1
package/dist/loader.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { type Character } from '@elizaos/core';
|
|
2
|
+
/**
|
|
3
|
+
* Attempts to load a file from the given file path.
|
|
4
|
+
*
|
|
5
|
+
* @param {string} filePath - The path to the file to load.
|
|
6
|
+
* @returns {string | null} The contents of the file as a string, or null if an error occurred.
|
|
7
|
+
* @throws {Error} If an error occurs while loading the file.
|
|
8
|
+
*/
|
|
9
|
+
export declare function tryLoadFile(filePath: string): string | null;
|
|
10
|
+
/**
|
|
11
|
+
* Load characters from a specified URL and return them as an array of Character objects.
|
|
12
|
+
* @param {string} url - The URL from which to load character data.
|
|
13
|
+
* @returns {Promise<Character[]>} - A promise that resolves with an array of Character objects.
|
|
14
|
+
*/
|
|
15
|
+
export declare function loadCharactersFromUrl(url: string): Promise<Character[]>;
|
|
16
|
+
/**
|
|
17
|
+
* Converts a JSON object representing a character into a validated Character object with additional settings and secrets.
|
|
18
|
+
*
|
|
19
|
+
* @param {unknown} character - The input data representing a character.
|
|
20
|
+
* @returns {Promise<Character>} - A Promise that resolves to a validated Character object.
|
|
21
|
+
* @throws {Error} If character validation fails.
|
|
22
|
+
*/
|
|
23
|
+
export declare function jsonToCharacter(character: unknown): Promise<Character>;
|
|
24
|
+
/**
|
|
25
|
+
* Loads a character from the specified file path with safe JSON parsing and validation.
|
|
26
|
+
*
|
|
27
|
+
* @param {string} filePath - The path to the character file.
|
|
28
|
+
* @returns {Promise<Character>} A Promise that resolves to the validated Character object.
|
|
29
|
+
* @throws {Error} If the character file is not found, has invalid JSON, or fails validation.
|
|
30
|
+
*/
|
|
31
|
+
export declare function loadCharacter(filePath: string): Promise<Character>;
|
|
32
|
+
/**
|
|
33
|
+
* Asynchronously loads a character from the specified path.
|
|
34
|
+
* If the path is a URL, it loads the character from the URL.
|
|
35
|
+
* If the path is a local file path, it tries multiple possible locations and
|
|
36
|
+
* loads the character from the first valid location found.
|
|
37
|
+
*
|
|
38
|
+
* @param {string} characterPath - The path to load the character from.
|
|
39
|
+
* @returns {Promise<Character>} A Promise that resolves to the loaded character.
|
|
40
|
+
*/
|
|
41
|
+
export declare function loadCharacterTryPath(characterPath: string): Promise<Character>;
|
|
42
|
+
export declare const hasValidRemoteUrls: () => boolean | "" | undefined;
|
|
43
|
+
/**
|
|
44
|
+
* Load characters from local paths or remote URLs based on configuration.
|
|
45
|
+
* @param charactersArg - A comma-separated list of local file paths or remote URLs to load characters from.
|
|
46
|
+
* @returns A promise that resolves to an array of loaded characters.
|
|
47
|
+
*/
|
|
48
|
+
export declare function loadCharacters(charactersArg: string): Promise<Character[]>;
|
|
49
|
+
//# sourceMappingURL=loader.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loader.d.ts","sourceRoot":"","sources":["../src/loader.ts"],"names":[],"mappings":"AAGA,OAAO,EACL,KAAK,SAAS,EAIf,MAAM,eAAe,CAAC;AAKvB;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAM3D;AAED;;;;GAIG;AACH,wBAAsB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAuC7E;AAED;;;;;;GAMG;AACH,wBAAsB,eAAe,CAAC,SAAS,EAAE,OAAO,GAAG,OAAO,CAAC,SAAS,CAAC,CAyE5E;AAED;;;;;;GAMG;AACH,wBAAsB,aAAa,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAexE;AAmDD;;;;;;;;GAQG;AACH,wBAAsB,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,CAAC,CAwEpF;AAgCD,eAAO,MAAM,kBAAkB,gCAGuB,CAAC;AAEvD;;;;GAIG;AACH,wBAAsB,cAAc,CAAC,aAAa,EAAE,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC,CAuChF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"copy-client-dist.d.ts","sourceRoot":"","sources":["../../src/scripts/copy-client-dist.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Service, type Content, type IAgentRuntime, type Plugin, type UUID } from '@elizaos/core';
|
|
2
|
+
import type { MessageMetadata } from '@elizaos/api-client';
|
|
3
|
+
export interface MessageServiceMessage {
|
|
4
|
+
id: UUID;
|
|
5
|
+
channel_id: UUID;
|
|
6
|
+
server_id: UUID;
|
|
7
|
+
author_id: UUID;
|
|
8
|
+
author_display_name?: string;
|
|
9
|
+
content: string;
|
|
10
|
+
raw_message?: unknown;
|
|
11
|
+
source_id?: string;
|
|
12
|
+
source_type?: string;
|
|
13
|
+
in_reply_to_message_id?: UUID;
|
|
14
|
+
created_at: number;
|
|
15
|
+
metadata?: MessageMetadata;
|
|
16
|
+
}
|
|
17
|
+
export declare class MessageBusService extends Service {
|
|
18
|
+
static serviceType: string;
|
|
19
|
+
capabilityDescription: string;
|
|
20
|
+
private boundHandleIncomingMessage;
|
|
21
|
+
private boundHandleServerAgentUpdate;
|
|
22
|
+
private boundHandleMessageDeleted;
|
|
23
|
+
private boundHandleChannelCleared;
|
|
24
|
+
private subscribedServers;
|
|
25
|
+
constructor(runtime: IAgentRuntime);
|
|
26
|
+
static start(runtime: IAgentRuntime): Promise<Service>;
|
|
27
|
+
static stop(runtime: IAgentRuntime): Promise<void>;
|
|
28
|
+
private connectToMessageBus;
|
|
29
|
+
private validChannelIds;
|
|
30
|
+
private fetchValidChannelIds;
|
|
31
|
+
private getChannelParticipants;
|
|
32
|
+
private fetchAgentServers;
|
|
33
|
+
private handleServerAgentUpdate;
|
|
34
|
+
private validateServerSubscription;
|
|
35
|
+
private validateNotSelfMessage;
|
|
36
|
+
private ensureWorldAndRoomExist;
|
|
37
|
+
private ensureAuthorEntityExists;
|
|
38
|
+
private createAgentMemory;
|
|
39
|
+
handleIncomingMessage(data: unknown): Promise<void>;
|
|
40
|
+
private handleMessageDeleted;
|
|
41
|
+
private handleChannelCleared;
|
|
42
|
+
private sendAgentResponseToBus;
|
|
43
|
+
notifyActionStart(agentRoomId: UUID, agentWorldId: UUID, content: Content, messageId: UUID, inReplyToAgentMemoryId?: UUID, originalMessage?: MessageServiceMessage): Promise<Response | undefined>;
|
|
44
|
+
notifyActionUpdate(agentRoomId: UUID, agentWorldId: UUID, content: Content, messageId: UUID, inReplyToAgentMemoryId?: UUID, originalMessage?: MessageServiceMessage): Promise<Response | undefined>;
|
|
45
|
+
private notifyMessageComplete;
|
|
46
|
+
private getAuthHeaders;
|
|
47
|
+
getCentralMessageServerUrl(): string;
|
|
48
|
+
stop(): Promise<void>;
|
|
49
|
+
}
|
|
50
|
+
export declare const messageBusConnectorPlugin: Plugin;
|
|
51
|
+
//# sourceMappingURL=message.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"message.d.ts","sourceRoot":"","sources":["../../src/services/message.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,OAAO,EAIP,KAAK,OAAO,EACZ,KAAK,aAAa,EAElB,KAAK,MAAM,EACX,KAAK,IAAI,EACV,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAI3D,MAAM,WAAW,qBAAqB;IACpC,EAAE,EAAE,IAAI,CAAC;IACT,UAAU,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MA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AE,IAAI,EACf,sBAAsB,CAAC,EAAE,IAAI,EAC7B,eAAe,CAAC,EAAE,qBAAqB;YAwE3B,qBAAqB;IAkBnC,OAAO,CAAC,cAAc;IActB,0BAA0B,IAAI,MAAM;IAkE9B,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC;CAO5B;AAGD,eAAO,MAAM,yBAAyB,EAAE,MAIvC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { IAgentRuntime } from '@elizaos/core';
|
|
2
|
+
import { type UUID } from '@elizaos/core';
|
|
3
|
+
import type { Server as SocketIOServer } from 'socket.io';
|
|
4
|
+
import type { AgentServer } from '../index';
|
|
5
|
+
export declare class SocketIORouter {
|
|
6
|
+
private agents;
|
|
7
|
+
private connections;
|
|
8
|
+
private logStreamConnections;
|
|
9
|
+
private serverInstance;
|
|
10
|
+
constructor(agents: Map<UUID, IAgentRuntime>, serverInstance: AgentServer);
|
|
11
|
+
setupListeners(io: SocketIOServer): void;
|
|
12
|
+
private handleNewConnection;
|
|
13
|
+
private handleGenericMessage;
|
|
14
|
+
private handleChannelJoining;
|
|
15
|
+
private handleMessageSubmission;
|
|
16
|
+
private sendErrorResponse;
|
|
17
|
+
private handleLogSubscription;
|
|
18
|
+
private handleLogUnsubscription;
|
|
19
|
+
private handleLogFilterUpdate;
|
|
20
|
+
broadcastLog(io: SocketIOServer, logEntry: any): void;
|
|
21
|
+
private handleDisconnect;
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/socketio/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAML,KAAK,IAAI,EAEV,MAAM,eAAe,CAAC;AACvB,OAAO,KAAK,EAAU,MAAM,IAAI,cAAc,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAG5C,qBAAa,cAAc;IACzB,OAAO,CAAC,MAAM,CAA2B;IACzC,OAAO,CAAC,WAAW,CAAoB;IACvC,OAAO,CAAC,oBAAoB,CAAsD;IAClF,OAAO,CAAC,cAAc,CAAc;gBAExB,MAAM,EAAE,GAAG,CAAC,IAAI,EAAE,aAAa,CAAC,EAAE,cAAc,EAAE,WAAW;IAQzE,cAAc,CAAC,EAAE,EAAE,cAAc;IAWjC,OAAO,CAAC,mBAAmB;IAsD3B,OAAO,CAAC,oBAAoB;IAiC5B,OAAO,CAAC,oBAAoB;YAwEd,uBAAuB;IA+MrC,OAAO,CAAC,iBAAiB;IAOzB,OAAO,CAAC,qBAAqB;IAS7B,OAAO,CAAC,uBAAuB;IAS/B,OAAO,CAAC,qBAAqB;IAkBtB,YAAY,CAAC,EAAE,EAAE,cAAc,EAAE,QAAQ,EAAE,GAAG;IAyBrD,OAAO,CAAC,gBAAgB;CAYzB"}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
import type { UUID } from '@elizaos/core';
|
|
2
|
+
import type { MessageMetadata } from '@elizaos/api-client';
|
|
3
|
+
/**
|
|
4
|
+
* Session timeout configuration
|
|
5
|
+
*/
|
|
6
|
+
export interface SessionTimeoutConfig {
|
|
7
|
+
/** Timeout in minutes. If not specified, uses agent or global default */
|
|
8
|
+
timeoutMinutes?: number;
|
|
9
|
+
/** Whether to auto-renew the session on activity */
|
|
10
|
+
autoRenew?: boolean;
|
|
11
|
+
/** Maximum session duration in minutes (even with renewals) */
|
|
12
|
+
maxDurationMinutes?: number;
|
|
13
|
+
/** Warning threshold in minutes before timeout */
|
|
14
|
+
warningThresholdMinutes?: number;
|
|
15
|
+
/** Allow additional properties */
|
|
16
|
+
[key: string]: unknown;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Metadata associated with a session
|
|
20
|
+
*/
|
|
21
|
+
export interface SessionMetadata {
|
|
22
|
+
platform?: string;
|
|
23
|
+
username?: string;
|
|
24
|
+
discriminator?: string;
|
|
25
|
+
avatar?: string;
|
|
26
|
+
[key: string]: string | number | boolean | undefined;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Represents a messaging session between a user and an agent
|
|
30
|
+
*/
|
|
31
|
+
export interface Session {
|
|
32
|
+
id: string;
|
|
33
|
+
agentId: UUID;
|
|
34
|
+
channelId: UUID;
|
|
35
|
+
userId: UUID;
|
|
36
|
+
metadata: SessionMetadata;
|
|
37
|
+
createdAt: Date;
|
|
38
|
+
lastActivity: Date;
|
|
39
|
+
/** Session expiration time */
|
|
40
|
+
expiresAt: Date;
|
|
41
|
+
/** Session timeout configuration */
|
|
42
|
+
timeoutConfig: SessionTimeoutConfig;
|
|
43
|
+
/** Number of times the session has been renewed */
|
|
44
|
+
renewalCount: number;
|
|
45
|
+
/** Whether a warning has been sent about upcoming expiration */
|
|
46
|
+
warningState?: {
|
|
47
|
+
sent: boolean;
|
|
48
|
+
sentAt?: Date;
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Request body for creating a session
|
|
53
|
+
*/
|
|
54
|
+
export interface CreateSessionRequest {
|
|
55
|
+
agentId: string;
|
|
56
|
+
userId: string;
|
|
57
|
+
metadata?: SessionMetadata;
|
|
58
|
+
/** Optional timeout configuration for this session */
|
|
59
|
+
timeoutConfig?: SessionTimeoutConfig;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Response for session creation
|
|
63
|
+
*/
|
|
64
|
+
export interface CreateSessionResponse {
|
|
65
|
+
sessionId: string;
|
|
66
|
+
agentId: UUID;
|
|
67
|
+
userId: UUID;
|
|
68
|
+
createdAt: Date;
|
|
69
|
+
metadata: SessionMetadata;
|
|
70
|
+
/** When the session will expire */
|
|
71
|
+
expiresAt: Date;
|
|
72
|
+
/** Session timeout configuration */
|
|
73
|
+
timeoutConfig: SessionTimeoutConfig;
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Request body for sending a message
|
|
77
|
+
*/
|
|
78
|
+
export interface SendMessageRequest {
|
|
79
|
+
content: string;
|
|
80
|
+
attachments?: Array<{
|
|
81
|
+
type: string;
|
|
82
|
+
url: string;
|
|
83
|
+
name?: string;
|
|
84
|
+
}>;
|
|
85
|
+
metadata?: MessageMetadata;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Query parameters for retrieving messages
|
|
89
|
+
*/
|
|
90
|
+
export interface GetMessagesQuery {
|
|
91
|
+
limit?: string;
|
|
92
|
+
before?: string;
|
|
93
|
+
after?: string;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Simplified message format for API responses
|
|
97
|
+
*/
|
|
98
|
+
export interface SimplifiedMessage {
|
|
99
|
+
id: string;
|
|
100
|
+
content: string;
|
|
101
|
+
authorId: string;
|
|
102
|
+
isAgent: boolean;
|
|
103
|
+
createdAt: Date;
|
|
104
|
+
metadata: {
|
|
105
|
+
thought?: string;
|
|
106
|
+
actions?: string[];
|
|
107
|
+
[key: string]: any;
|
|
108
|
+
};
|
|
109
|
+
}
|
|
110
|
+
/**
|
|
111
|
+
* Response for message retrieval
|
|
112
|
+
*/
|
|
113
|
+
export interface GetMessagesResponse {
|
|
114
|
+
messages: SimplifiedMessage[];
|
|
115
|
+
hasMore: boolean;
|
|
116
|
+
/** Pagination cursors for navigating through messages */
|
|
117
|
+
cursors?: {
|
|
118
|
+
/** Timestamp to use for getting older messages (pagination backward) */
|
|
119
|
+
before?: number;
|
|
120
|
+
/** Timestamp to use for getting newer messages (pagination forward) */
|
|
121
|
+
after?: number;
|
|
122
|
+
};
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Session info response
|
|
126
|
+
*/
|
|
127
|
+
export interface SessionInfoResponse {
|
|
128
|
+
sessionId: string;
|
|
129
|
+
agentId: UUID;
|
|
130
|
+
userId: UUID;
|
|
131
|
+
createdAt: Date;
|
|
132
|
+
lastActivity: Date;
|
|
133
|
+
metadata: SessionMetadata;
|
|
134
|
+
/** When the session will expire */
|
|
135
|
+
expiresAt: Date;
|
|
136
|
+
/** Session timeout configuration */
|
|
137
|
+
timeoutConfig: SessionTimeoutConfig;
|
|
138
|
+
/** Number of times the session has been renewed */
|
|
139
|
+
renewalCount: number;
|
|
140
|
+
/** Time remaining in milliseconds */
|
|
141
|
+
timeRemaining: number;
|
|
142
|
+
/** Whether the session is near expiration */
|
|
143
|
+
isNearExpiration: boolean;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Health check response
|
|
147
|
+
*/
|
|
148
|
+
export interface HealthCheckResponse {
|
|
149
|
+
status: 'healthy' | 'unhealthy';
|
|
150
|
+
activeSessions: number;
|
|
151
|
+
timestamp: string;
|
|
152
|
+
}
|
|
153
|
+
//# sourceMappingURL=sessions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sessions.d.ts","sourceRoot":"","sources":["../../src/types/sessions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AAC1C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,yEAAyE;IACzE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,oDAAoD;IACpD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,+DAA+D;IAC/D,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,kDAAkD;IAClD,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,kCAAkC;IAClC,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,MAAM,CAAC,EAAE,M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AAqC;IACrC,aAAa,EAAE,MAAM,CAAC;IACtB,6CAA6C;IAC7C,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC,MAAM,EAAE,SAAS,GAAG,WAAW,CAAC;IAChC,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import type { UUID, ChannelType } from '@elizaos/core';
|
|
2
|
+
import type { ServerMetadata, ChannelMetadata, MessageMetadata } from '@elizaos/api-client';
|
|
3
|
+
export interface MessageServer {
|
|
4
|
+
id: UUID;
|
|
5
|
+
name: string;
|
|
6
|
+
sourceType: string;
|
|
7
|
+
sourceId?: string;
|
|
8
|
+
metadata?: ServerMetadata;
|
|
9
|
+
createdAt: Date;
|
|
10
|
+
updatedAt: Date;
|
|
11
|
+
}
|
|
12
|
+
export interface MessageChannel {
|
|
13
|
+
id: UUID;
|
|
14
|
+
messageServerId: UUID;
|
|
15
|
+
name: string;
|
|
16
|
+
type: ChannelType;
|
|
17
|
+
sourceType?: string;
|
|
18
|
+
sourceId?: string;
|
|
19
|
+
topic?: string;
|
|
20
|
+
metadata?: ChannelMetadata;
|
|
21
|
+
createdAt: Date;
|
|
22
|
+
updatedAt: Date;
|
|
23
|
+
}
|
|
24
|
+
export interface CentralRootMessage {
|
|
25
|
+
id: UUID;
|
|
26
|
+
channelId: UUID;
|
|
27
|
+
authorId: UUID;
|
|
28
|
+
content: string;
|
|
29
|
+
rawMessage?: unknown;
|
|
30
|
+
inReplyToRootMessageId?: UUID;
|
|
31
|
+
sourceType?: string;
|
|
32
|
+
sourceId?: string;
|
|
33
|
+
createdAt: Date;
|
|
34
|
+
updatedAt: Date;
|
|
35
|
+
metadata?: MessageMetadata;
|
|
36
|
+
}
|
|
37
|
+
export interface MessageServiceStructure {
|
|
38
|
+
id: UUID;
|
|
39
|
+
channel_id: UUID;
|
|
40
|
+
server_id: UUID;
|
|
41
|
+
author_id: UUID;
|
|
42
|
+
author_display_name?: string;
|
|
43
|
+
content: string;
|
|
44
|
+
raw_message?: unknown;
|
|
45
|
+
source_id?: string;
|
|
46
|
+
source_type?: string;
|
|
47
|
+
in_reply_to_message_id?: UUID;
|
|
48
|
+
created_at: number;
|
|
49
|
+
metadata?: MessageMetadata;
|
|
50
|
+
}
|
|
51
|
+
export * from './types/sessions';
|
|
52
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,cAAc,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAE5F,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,IAAI,CAAC;IACT,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,EAAE,EAAE,IAAI,CAAC;IACT,eAAe,EAAE,IAAI,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,eAAe,CAAC;IAC3B,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;CACjB;AAED,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,IAAI,CAAC;IACT,SAAS,EAAE,IAAI,CAAC;IAChB,QAAQ,EAAE,IAAI,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAC9B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAGD,MAAM,WAAW,uBAAuB;IACtC,EAAE,EAAE,IAAI,CAAC;IACT,UAAU,EAAE,IAAI,CAAC;IACjB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,CAAC;IAChB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sBAAsB,CAAC,EAAE,IAAI,CAAC;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAGD,cAAc,kBAAkB,CAAC"}
|
package/dist/upload.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import multer from 'multer';
|
|
2
|
+
export declare function generateSecureFilename(originalName: string): string;
|
|
3
|
+
export declare function ensureUploadDir(id: string, type: 'agents' | 'channels'): string;
|
|
4
|
+
export declare const agentAudioUpload: () => multer.Multer;
|
|
5
|
+
export declare const agentMediaUpload: () => multer.Multer;
|
|
6
|
+
export declare const channelUpload: () => multer.Multer;
|
|
7
|
+
export declare const genericUpload: () => multer.Multer;
|
|
8
|
+
export declare const upload: () => multer.Multer;
|
|
9
|
+
export declare function validateAudioFile(file: Express.Multer.File): boolean;
|
|
10
|
+
export declare function validateMediaFile(file: Express.Multer.File): boolean;
|
|
11
|
+
export declare function processUploadedFile(file: Express.Multer.File, targetId: string, type: 'agents' | 'channels'): Promise<{
|
|
12
|
+
filename: string;
|
|
13
|
+
path: string;
|
|
14
|
+
url: string;
|
|
15
|
+
}>;
|
|
16
|
+
//# sourceMappingURL=upload.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"upload.d.ts","sourceRoot":"","sources":["../src/upload.ts"],"names":[],"mappings":"AAEA,OAAO,MAAM,MAAM,QAAQ,CAAC;AAU5B,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,MAAM,GAAG,MAAM,CAInE;AAGD,wBAAgB,eAAe,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,UAAU,GAAG,MAAM,CAa/E;AAMD,eAAO,MAAM,gBAAgB,qBAoBzB,CAAC;AAEL,eAAO,MAAM,gBAAgB,qBAoBzB,CAAC;AAGL,eAAO,MAAM,aAAa,qBAoBtB,CAAC;AAGL,eAAO,MAAM,aAAa,qBAOtB,CAAC;AAGL,eAAO,MAAM,MAAM,qBAAgB,CAAC;AAGpC,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,OAAO,CAEpE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,GAAG,OAAO,CAEpE;AAGD,wBAAsB,mBAAmB,CACvC,IAAI,EAAE,OAAO,CAAC,MAAM,CAAC,IAAI,EACzB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,QAAQ,GAAG,UAAU,GAC1B,OAAO,CAAC;IAAE,QAAQ,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAE,CAAC,CAyB1D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/server",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3-alpha.0",
|
|
4
4
|
"description": "ElizaOS Server - Core server infrastructure for ElizaOS agents",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public",
|
|
@@ -29,32 +29,32 @@
|
|
|
29
29
|
"./package.json": "./package.json"
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
|
-
"build": "
|
|
32
|
+
"build": "bun run build.ts",
|
|
33
33
|
"type-check": "tsc --project tsconfig.build.json --noEmit",
|
|
34
34
|
"lint": "prettier --write ./src",
|
|
35
35
|
"format": "prettier --write ./src",
|
|
36
36
|
"format:check": "prettier --check ./src",
|
|
37
|
-
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json
|
|
37
|
+
"clean": "rm -rf dist .turbo node_modules .turbo-tsconfig.json *.tsbuildinfo",
|
|
38
38
|
"test": "bun test src/**/*.test.ts",
|
|
39
39
|
"test:unit": "bun test src/**/*.test.ts --exclude **/integration/**",
|
|
40
40
|
"test:integration": "bun test src/__tests__/integration/**/*.test.ts",
|
|
41
41
|
"test:coverage": "bun test --coverage",
|
|
42
42
|
"test:watch": "bun test --watch",
|
|
43
|
-
"test:cli": "bun test tests/commands/"
|
|
43
|
+
"test:cli": "bun test tests/commands/",
|
|
44
|
+
"dev": "bun run build.ts --watch"
|
|
44
45
|
},
|
|
45
46
|
"devDependencies": {
|
|
46
47
|
"@types/node": "^24.0.1",
|
|
47
48
|
"prettier": "3.5.3",
|
|
48
|
-
"tsup": "8.5.0",
|
|
49
49
|
"tsx": "4.19.4",
|
|
50
50
|
"typescript": "^5.5.4",
|
|
51
51
|
"which": "^4.0.0",
|
|
52
52
|
"ws": "^8.18.0"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "f2dd82949680a1e6fc61eb74683d2d95cf0173b6",
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@elizaos/core": "1.4.
|
|
57
|
-
"@elizaos/plugin-sql": "1.4.
|
|
56
|
+
"@elizaos/core": "1.4.3-alpha.0",
|
|
57
|
+
"@elizaos/plugin-sql": "1.4.3-alpha.0",
|
|
58
58
|
"@types/express": "^5.0.2",
|
|
59
59
|
"@types/helmet": "^4.0.0",
|
|
60
60
|
"@types/multer": "^1.4.13",
|