@elizaos/core 1.0.0-alpha.48 → 1.0.0-alpha.49

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.
Files changed (51) hide show
  1. package/package.json +2 -2
  2. package/dist/actions/choice.d.ts +0 -13
  3. package/dist/actions/followRoom.d.ts +0 -20
  4. package/dist/actions/ignore.d.ts +0 -13
  5. package/dist/actions/muteRoom.d.ts +0 -22
  6. package/dist/actions/none.d.ts +0 -9
  7. package/dist/actions/reply.d.ts +0 -15
  8. package/dist/actions/roles.d.ts +0 -13
  9. package/dist/actions/sendMessage.d.ts +0 -14
  10. package/dist/actions/settings.d.ts +0 -21
  11. package/dist/actions/unfollowRoom.d.ts +0 -12
  12. package/dist/actions/unmuteRoom.d.ts +0 -18
  13. package/dist/actions/updateEntity.d.ts +0 -42
  14. package/dist/actions.d.ts +0 -28
  15. package/dist/bootstrap.d.ts +0 -3
  16. package/dist/database.d.ts +0 -419
  17. package/dist/entities.d.ts +0 -48
  18. package/dist/environment.d.ts +0 -403
  19. package/dist/evaluators/reflection.d.ts +0 -2
  20. package/dist/import.d.ts +0 -9
  21. package/dist/index.d.ts +0 -13
  22. package/dist/logger.d.ts +0 -3
  23. package/dist/memory.d.ts +0 -114
  24. package/dist/prompts.d.ts +0 -200
  25. package/dist/providers/actions.d.ts +0 -14
  26. package/dist/providers/anxiety.d.ts +0 -9
  27. package/dist/providers/attachments.d.ts +0 -8
  28. package/dist/providers/capabilities.d.ts +0 -13
  29. package/dist/providers/character.d.ts +0 -9
  30. package/dist/providers/choice.d.ts +0 -10
  31. package/dist/providers/entities.d.ts +0 -2
  32. package/dist/providers/evaluators.d.ts +0 -26
  33. package/dist/providers/facts.d.ts +0 -10
  34. package/dist/providers/knowledge.d.ts +0 -13
  35. package/dist/providers/providers.d.ts +0 -6
  36. package/dist/providers/recentMessages.d.ts +0 -13
  37. package/dist/providers/relationships.d.ts +0 -14
  38. package/dist/providers/roles.d.ts +0 -14
  39. package/dist/providers/settings.d.ts +0 -6
  40. package/dist/providers/shouldRespond.d.ts +0 -6
  41. package/dist/providers/time.d.ts +0 -11
  42. package/dist/roles.d.ts +0 -25
  43. package/dist/runtime.d.ts +0 -290
  44. package/dist/services/scenario.d.ts +0 -106
  45. package/dist/services/task.d.ts +0 -72
  46. package/dist/settings.d.ts +0 -13
  47. package/dist/test_resources/constants.d.ts +0 -9
  48. package/dist/test_resources/testSetup.d.ts +0 -1
  49. package/dist/test_resources/types.d.ts +0 -22
  50. package/dist/types.d.ts +0 -1294
  51. package/dist/uuid.d.ts +0 -18
package/dist/runtime.d.ts DELETED
@@ -1,290 +0,0 @@
1
- import { type Action, type Agent, ChannelType, type Character, type Component, type Entity, type Evaluator, type HandlerCallback, type IAgentRuntime, type IDatabaseAdapter, type IMemoryManager, type KnowledgeItem, type Memory, type ModelParamsMap, type ModelResultMap, type ModelType, type Participant, type Plugin, type Provider, type Relationship, type Room, type Route, type Service, type ServiceType, type State, type Task, type TaskWorker, type UUID, type World } from "./types";
2
- /**
3
- * Represents the runtime environment for an agent, handling message processing,
4
- * action registration, and interaction with external services like OpenAI and Supabase.
5
- */
6
- /**
7
- * Represents the runtime environment for an agent.
8
- * @class
9
- * @implements { IAgentRuntime }
10
- * @property { number } #conversationLength - The maximum length of a conversation.
11
- * @property { UUID } agentId - The unique identifier for the agent.
12
- * @property { Character } character - The character associated with the agent.
13
- * @property { IDatabaseAdapter } databaseAdapter - The adapter for interacting with the database.
14
- * @property {Action[]} actions - The list of actions available to the agent.
15
- * @property {Evaluator[]} evaluators - The list of evaluators for decision making.
16
- * @property {Provider[]} providers - The list of providers for external services.
17
- * @property {Plugin[]} plugins - The list of plugins to extend functionality.
18
- */
19
- export declare class AgentRuntime implements IAgentRuntime {
20
- #private;
21
- readonly agentId: UUID;
22
- readonly character: Character;
23
- databaseAdapter: IDatabaseAdapter;
24
- readonly actions: Action[];
25
- readonly evaluators: Evaluator[];
26
- readonly providers: Provider[];
27
- readonly plugins: Plugin[];
28
- events: Map<string, ((params: any) => Promise<void>)[]>;
29
- stateCache: Map<`${string}-${string}-${string}-${string}-${string}`, {
30
- values: {
31
- [key: string]: any;
32
- };
33
- data: {
34
- [key: string]: any;
35
- };
36
- text: string;
37
- }>;
38
- readonly fetch: typeof fetch;
39
- services: Map<ServiceType, Service>;
40
- adapter: IDatabaseAdapter;
41
- private readonly knowledgeRoot;
42
- models: Map<string, ((params: any) => Promise<any>)[]>;
43
- routes: Route[];
44
- private taskWorkers;
45
- private eventHandlers;
46
- constructor(opts: {
47
- conversationLength?: number;
48
- agentId?: UUID;
49
- character?: Character;
50
- plugins?: Plugin[];
51
- fetch?: typeof fetch;
52
- databaseAdapter?: IDatabaseAdapter;
53
- adapter?: IDatabaseAdapter;
54
- events?: {
55
- [key: string]: ((params: any) => void)[];
56
- };
57
- ignoreBootstrap?: boolean;
58
- });
59
- /**
60
- * Registers a plugin with the runtime and initializes its components
61
- * @param plugin The plugin to register
62
- */
63
- registerPlugin(plugin: Plugin): Promise<void>;
64
- getAllServices(): Map<ServiceType, Service>;
65
- stop(): Promise<void>;
66
- initialize(): Promise<void>;
67
- private handleProcessingError;
68
- private checkExistingKnowledge;
69
- getKnowledge(message: Memory): Promise<KnowledgeItem[]>;
70
- addKnowledge(item: KnowledgeItem, options?: {
71
- targetTokens: number;
72
- overlap: number;
73
- modelContextSize: number;
74
- }): Promise<void>;
75
- processCharacterKnowledge(items: string[]): Promise<void>;
76
- setSetting(key: string, value: string | boolean | null | any, secret?: boolean): void;
77
- getSetting(key: string): string | boolean | null | any;
78
- /**
79
- * Get the number of messages that are kept in the conversation buffer.
80
- * @returns The number of recent messages to be kept in memory.
81
- */
82
- getConversationLength(): number;
83
- registerDatabaseAdapter(adapter: IDatabaseAdapter): void;
84
- /**
85
- * Register a provider for the agent to use.
86
- * @param provider The provider to register.
87
- */
88
- registerProvider(provider: Provider): void;
89
- /**
90
- * Register an action for the agent to perform.
91
- * @param action The action to register.
92
- */
93
- registerAction(action: Action): void;
94
- /**
95
- * Register an evaluator to assess and guide the agent's responses.
96
- * @param evaluator The evaluator to register.
97
- */
98
- registerEvaluator(evaluator: Evaluator): void;
99
- /**
100
- * Register a context provider to provide context for message generation.
101
- * @param provider The context provider to register.
102
- */
103
- registerContextProvider(provider: Provider): void;
104
- /**
105
- * Process the actions of a message.
106
- * @param message The message to process.
107
- * @param responses The array of response memories to process actions from.
108
- * @param state Optional state object for the action processing.
109
- * @param callback Optional callback handler for action results.
110
- */
111
- processActions(message: Memory, responses: Memory[], state?: State, callback?: HandlerCallback): Promise<void>;
112
- /**
113
- * Evaluate the message and state using the registered evaluators.
114
- * @param message The message to evaluate.
115
- * @param state The state of the agent.
116
- * @param didRespond Whether the agent responded to the message.~
117
- * @param callback The handler callback
118
- * @returns The results of the evaluation.
119
- */
120
- evaluate(message: Memory, state: State, didRespond?: boolean, callback?: HandlerCallback, responses?: Memory[]): Promise<Evaluator[]>;
121
- ensureParticipantInRoom(entityId: UUID, roomId: UUID): Promise<void>;
122
- ensureConnection({ entityId, roomId, userName, name, source, type, channelId, serverId, worldId, }: {
123
- entityId: UUID;
124
- roomId: UUID;
125
- userName?: string;
126
- name?: string;
127
- source?: string;
128
- type?: ChannelType;
129
- channelId?: string;
130
- serverId?: string;
131
- worldId?: UUID;
132
- }): Promise<void>;
133
- /**
134
- * Ensure the existence of a world.
135
- */
136
- ensureWorldExists({ id, name, serverId, metadata }: World): Promise<void>;
137
- /**
138
- * Ensure the existence of a room between the agent and a user. If no room exists, a new room is created and the user
139
- * and agent are added as participants. The room ID is returned.
140
- * @param entityId - The user ID to create a room with.
141
- * @returns The room ID of the room between the agent and the user.
142
- * @throws An error if the room cannot be created.
143
- */
144
- ensureRoomExists({ id, name, source, type, channelId, serverId, worldId, }: Room): Promise<void>;
145
- /**
146
- * Composes the agent's state by gathering data from enabled providers.
147
- * @param message - The message to use as context for state composition
148
- * @param filterList - Optional list of provider names to include, filtering out all others
149
- * @param includeList - Optional list of private provider names to include that would otherwise be filtered out
150
- * @returns A State object containing provider data, values, and text
151
- */
152
- composeState(message: Memory, filterList?: string[] | null, // only get providers that are in the filterList
153
- includeList?: string[] | null): Promise<State>;
154
- getMemoryManager(tableName: string): IMemoryManager | null;
155
- getService<T extends Service>(service: ServiceType): T | null;
156
- registerService(service: typeof Service): Promise<void>;
157
- registerModel(modelType: ModelType, handler: (params: any) => Promise<any>): void;
158
- getModel(modelType: ModelType): ((runtime: IAgentRuntime, params: any) => Promise<any>) | undefined;
159
- /**
160
- * Use a model with strongly typed parameters and return values based on model type
161
- * @template T - The model type to use
162
- * @template R - The expected return type, defaults to the type defined in ModelResultMap[T]
163
- * @param {T} modelType - The type of model to use
164
- * @param {ModelParamsMap[T] | any} params - The parameters for the model, typed based on model type
165
- * @returns {Promise<R>} - The model result, typed based on the provided generic type parameter
166
- */
167
- useModel<T extends ModelType, R = ModelResultMap[T]>(modelType: T, params: Omit<ModelParamsMap[T], "runtime"> | any): Promise<R>;
168
- registerEvent(event: string, handler: (params: any) => Promise<void>): void;
169
- getEvent(event: string): ((params: any) => Promise<void>)[] | undefined;
170
- emitEvent(event: string | string[], params: any): Promise<void>;
171
- ensureEmbeddingDimension(): Promise<void>;
172
- registerTaskWorker(taskHandler: TaskWorker): void;
173
- /**
174
- * Get a task worker by name
175
- */
176
- getTaskWorker(name: string): TaskWorker | undefined;
177
- get db(): any;
178
- init(): Promise<void>;
179
- close(): Promise<void>;
180
- getAgent(agentId: UUID): Promise<Agent | null>;
181
- getAgents(): Promise<Agent[]>;
182
- createAgent(agent: Partial<Agent>): Promise<boolean>;
183
- updateAgent(agentId: UUID, agent: Partial<Agent>): Promise<boolean>;
184
- deleteAgent(agentId: UUID): Promise<boolean>;
185
- ensureAgentExists(agent: Partial<Agent>): Promise<void>;
186
- getEntityById(entityId: UUID): Promise<Entity | null>;
187
- getEntitiesForRoom(roomId: UUID, includeComponents?: boolean): Promise<Entity[]>;
188
- createEntity(entity: Entity): Promise<boolean>;
189
- updateEntity(entity: Entity): Promise<void>;
190
- getComponent(entityId: UUID, type: string, worldId?: UUID, sourceEntityId?: UUID): Promise<Component | null>;
191
- getComponents(entityId: UUID, worldId?: UUID, sourceEntityId?: UUID): Promise<Component[]>;
192
- createComponent(component: Component): Promise<boolean>;
193
- updateComponent(component: Component): Promise<void>;
194
- deleteComponent(componentId: UUID): Promise<void>;
195
- getMemories(params: {
196
- roomId: UUID;
197
- count?: number;
198
- unique?: boolean;
199
- tableName: string;
200
- start?: number;
201
- end?: number;
202
- }): Promise<Memory[]>;
203
- getMemoryById(id: UUID): Promise<Memory | null>;
204
- getMemoriesByIds(ids: UUID[], tableName?: string): Promise<Memory[]>;
205
- getMemoriesByRoomIds(params: {
206
- tableName: string;
207
- roomIds: UUID[];
208
- limit?: number;
209
- }): Promise<Memory[]>;
210
- getCachedEmbeddings(params: {
211
- query_table_name: string;
212
- query_threshold: number;
213
- query_input: string;
214
- query_field_name: string;
215
- query_field_sub_name: string;
216
- query_match_count: number;
217
- }): Promise<{
218
- embedding: number[];
219
- levenshtein_score: number;
220
- }[]>;
221
- log(params: {
222
- body: {
223
- [key: string]: unknown;
224
- };
225
- entityId: UUID;
226
- roomId: UUID;
227
- type: string;
228
- }): Promise<void>;
229
- searchMemories(params: {
230
- embedding: number[];
231
- match_threshold?: number;
232
- count?: number;
233
- roomId?: UUID;
234
- unique?: boolean;
235
- tableName: string;
236
- }): Promise<Memory[]>;
237
- createMemory(memory: Memory, tableName: string, unique?: boolean): Promise<UUID>;
238
- removeMemory(memoryId: UUID, tableName: string): Promise<void>;
239
- removeAllMemories(roomId: UUID, tableName: string): Promise<void>;
240
- countMemories(roomId: UUID, unique?: boolean, tableName?: string): Promise<number>;
241
- createWorld(world: World): Promise<UUID>;
242
- getWorld(id: UUID): Promise<World | null>;
243
- getAllWorlds(): Promise<World[]>;
244
- updateWorld(world: World): Promise<void>;
245
- getRoom(roomId: UUID): Promise<Room | null>;
246
- createRoom({ id, name, source, type, channelId, serverId, worldId, }: Room): Promise<UUID>;
247
- deleteRoom(roomId: UUID): Promise<void>;
248
- updateRoom(room: Room): Promise<void>;
249
- getRoomsForParticipant(entityId: UUID): Promise<UUID[]>;
250
- getRoomsForParticipants(userIds: UUID[]): Promise<UUID[]>;
251
- getRooms(worldId: UUID): Promise<Room[]>;
252
- addParticipant(entityId: UUID, roomId: UUID): Promise<boolean>;
253
- removeParticipant(entityId: UUID, roomId: UUID): Promise<boolean>;
254
- getParticipantsForEntity(entityId: UUID): Promise<Participant[]>;
255
- getParticipantsForRoom(roomId: UUID): Promise<UUID[]>;
256
- getParticipantUserState(roomId: UUID, entityId: UUID): Promise<"FOLLOWED" | "MUTED" | null>;
257
- setParticipantUserState(roomId: UUID, entityId: UUID, state: "FOLLOWED" | "MUTED" | null): Promise<void>;
258
- createRelationship(params: {
259
- sourceEntityId: UUID;
260
- targetEntityId: UUID;
261
- tags?: string[];
262
- metadata?: {
263
- [key: string]: any;
264
- };
265
- }): Promise<boolean>;
266
- updateRelationship(relationship: Relationship): Promise<void>;
267
- getRelationship(params: {
268
- sourceEntityId: UUID;
269
- targetEntityId: UUID;
270
- }): Promise<Relationship | null>;
271
- getRelationships(params: {
272
- entityId: UUID;
273
- tags?: string[];
274
- }): Promise<Relationship[]>;
275
- getCache<T>(key: string): Promise<T | undefined>;
276
- setCache<T>(key: string, value: T): Promise<boolean>;
277
- deleteCache(key: string): Promise<boolean>;
278
- createTask(task: Task): Promise<UUID>;
279
- getTasks(params: {
280
- roomId?: UUID;
281
- tags?: string[];
282
- }): Promise<Task[]>;
283
- getTask(id: UUID): Promise<Task | null>;
284
- getTasksByName(name: string): Promise<Task[]>;
285
- updateTask(id: UUID, task: Partial<Task>): Promise<void>;
286
- deleteTask(id: UUID): Promise<void>;
287
- on(event: string, callback: (data: any) => void): void;
288
- off(event: string, callback: (data: any) => void): void;
289
- emit(event: string, data: any): void;
290
- }
@@ -1,106 +0,0 @@
1
- import { type IAgentRuntime, Service, type UUID } from "../types";
2
- interface ActionTracker {
3
- actionId: UUID;
4
- actionName: string;
5
- startTime: number;
6
- completed: boolean;
7
- error?: Error;
8
- }
9
- interface EvaluatorTracker {
10
- evaluatorId: UUID;
11
- evaluatorName: string;
12
- startTime: number;
13
- completed: boolean;
14
- error?: Error;
15
- }
16
- /**
17
- * Represents a service that allows the agent to interact in a scenario testing environment.
18
- * The agent can create rooms, send messages, and communicate with other agents in a live interactive testing environment.
19
- * @extends Service
20
- */
21
- export declare class ScenarioService extends Service {
22
- protected runtime: IAgentRuntime;
23
- static serviceType: string;
24
- capabilityDescription: string;
25
- private messageHandlers;
26
- private worlds;
27
- private activeActions;
28
- private activeEvaluators;
29
- /**
30
- * Constructor for creating a new instance of the class.
31
- *
32
- * @param runtime - The IAgentRuntime instance to be passed to the constructor.
33
- */
34
- constructor(runtime: IAgentRuntime);
35
- private setupEventListeners;
36
- /**
37
- * Start the scenario service with the given runtime.
38
- * @param {IAgentRuntime} runtime - The agent runtime
39
- * @returns {Promise<ScenarioService>} - The started scenario service
40
- */
41
- static start(runtime: IAgentRuntime): Promise<ScenarioService>;
42
- /**
43
- * Stops the Scenario service associated with the given runtime.
44
- *
45
- * @param {IAgentRuntime} runtime The runtime to stop the service for.
46
- * @throws {Error} When the Scenario service is not found.
47
- */
48
- static stop(runtime: IAgentRuntime): Promise<void>;
49
- /**
50
- * Asynchronously stops the current process by clearing all message handlers and worlds.
51
- */
52
- stop(): Promise<void>;
53
- /**
54
- * Creates a new world with the specified name and owner.
55
- * @param name The name of the world
56
- * @param ownerName The name of the world owner
57
- * @returns The created world's ID
58
- */
59
- createWorld(name: string, ownerName: string): Promise<UUID>;
60
- /**
61
- * Creates a room in the specified world.
62
- * @param worldId The ID of the world to create the room in
63
- * @param name The name of the room
64
- * @returns The created room's ID
65
- */
66
- createRoom(worldId: UUID, name: string): Promise<UUID>;
67
- /**
68
- * Adds a participant to a room
69
- * @param worldId The world ID
70
- * @param roomId The room ID
71
- * @param participantId The participant's ID
72
- */
73
- addParticipant(worldId: UUID, roomId: UUID, participantId: UUID): Promise<void>;
74
- /**
75
- * Sends a message in a specific room
76
- * @param sender The runtime of the sending agent
77
- * @param worldId The world ID
78
- * @param roomId The room ID
79
- * @param text The message text
80
- */
81
- sendMessage(sender: IAgentRuntime, worldId: UUID, roomId: UUID, text: string): Promise<void>;
82
- /**
83
- * Waits for all active actions and evaluators to complete
84
- * @param timeout Maximum time to wait in milliseconds
85
- * @returns True if all completed successfully, false if timeout occurred
86
- */
87
- waitForCompletion(timeout?: number): Promise<boolean>;
88
- /**
89
- * Gets the current state of all active actions and evaluators
90
- */
91
- getActiveState(): {
92
- actions: ActionTracker[];
93
- evaluators: EvaluatorTracker[];
94
- };
95
- /**
96
- * Cleans up the scenario state
97
- */
98
- cleanup(): Promise<void>;
99
- }
100
- /**
101
- * Asynchronously starts the specified scenario for the given list of agent runtimes.
102
- * @param {IAgentRuntime[]} members - The list of agent runtimes participating in the scenario.
103
- * @returns {Promise<void>} - A promise that resolves when all scenarios have been executed.
104
- */
105
- export declare function startScenario(members: IAgentRuntime[]): Promise<void>;
106
- export {};
@@ -1,72 +0,0 @@
1
- import { type IAgentRuntime, Service, type ServiceType } from "../types";
2
- /**
3
- * TaskService class representing a service that schedules and executes tasks.
4
- * @extends Service
5
- * @property {NodeJS.Timeout|null} timer - Timer for executing tasks
6
- * @property {number} TICK_INTERVAL - Interval in milliseconds to check for tasks
7
- * @property {ServiceType} serviceType - Service type of TASK
8
- * @property {string} capabilityDescription - Description of the service's capability
9
- * @static
10
- * @method start - Static method to start the TaskService
11
- * @method createTestTasks - Method to create test tasks
12
- * @method startTimer - Private method to start the timer for checking tasks
13
- * @method validateTasks - Private method to validate tasks
14
- * @method checkTasks - Private method to check tasks and execute them
15
- * @method executeTask - Private method to execute a task
16
- * @static
17
- * @method stop - Static method to stop the TaskService
18
- * @method stop - Method to stop the TaskService
19
- */
20
- export declare class TaskService extends Service {
21
- private timer;
22
- private readonly TICK_INTERVAL;
23
- static serviceType: ServiceType;
24
- capabilityDescription: string;
25
- /**
26
- * Start the TaskService with the given runtime.
27
- * @param {IAgentRuntime} runtime - The runtime for the TaskService.
28
- * @returns {Promise<TaskService>} A promise that resolves with the TaskService instance.
29
- */
30
- static start(runtime: IAgentRuntime): Promise<TaskService>;
31
- /**
32
- * Asynchronously creates test tasks by registering task workers for repeating and one-time tasks,
33
- * validates the tasks, executes the tasks, and creates the tasks if they do not already exist.
34
- */
35
- createTestTasks(): Promise<void>;
36
- /**
37
- * Starts a timer that runs a function to check tasks at a specified interval.
38
- */
39
- private startTimer;
40
- /**
41
- * Validates an array of Task objects.
42
- * Skips tasks without IDs or if no worker is found for the task.
43
- * If a worker has a `validate` function, it will run the validation using the `runtime`, `Memory`, and `State` parameters.
44
- * If the validation fails, the task will be skipped and the error will be logged.
45
- * @param {Task[]} tasks - An array of Task objects to validate.
46
- * @returns {Promise<Task[]>} - A Promise that resolves with an array of validated Task objects.
47
- */
48
- private validateTasks;
49
- /**
50
- * Asynchronous method that checks tasks with "queue" tag, validates and sorts them, then executes them based on interval and tags.
51
- *
52
- * @returns {Promise<void>} Promise that resolves once all tasks are checked and executed
53
- */
54
- private checkTasks;
55
- /**
56
- * Executes a given task asynchronously.
57
- *
58
- * @param {Task} task - The task to be executed.
59
- */
60
- private executeTask;
61
- /**
62
- * Stops the TASK service in the given agent runtime.
63
- *
64
- * @param {IAgentRuntime} runtime - The agent runtime containing the service.
65
- * @returns {Promise<void>} - A promise that resolves once the service has been stopped.
66
- */
67
- static stop(runtime: IAgentRuntime): Promise<void>;
68
- /**
69
- * Stops the timer if it is currently running.
70
- */
71
- stop(): Promise<void>;
72
- }
@@ -1,13 +0,0 @@
1
- import type { IAgentRuntime, OnboardingConfig, World, WorldSettings } from "./types";
2
- /**
3
- * Updates settings state in world metadata
4
- */
5
- export declare function updateWorldSettings(runtime: IAgentRuntime, serverId: string, worldSettings: WorldSettings): Promise<boolean>;
6
- /**
7
- * Gets settings state from world metadata
8
- */
9
- export declare function getWorldSettings(runtime: IAgentRuntime, serverId: string): Promise<WorldSettings | null>;
10
- /**
11
- * Initializes settings configuration for a server
12
- */
13
- export declare function initializeOnboarding(runtime: IAgentRuntime, world: World, config: OnboardingConfig): Promise<WorldSettings | null>;
@@ -1,9 +0,0 @@
1
- import type { UUID } from "@elizaos/core";
2
- export declare const SERVER_URL = "http://localhost:7998";
3
- export declare const SUPABASE_URL = "https://pronvzrzfwsptkojvudd.supabase.co";
4
- export declare const SUPABASE_ANON_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InByb252enJ6ZndzcHRrb2p2dWRkIiwicm9sZSI6ImFub24iLCJpYXQiOjE3MDY4NTYwNDcsImV4cCI6MjAyMjQzMjA0N30.I6_-XrqssUb2SWYg5DjsUqSodNS3_RPoET3-aPdqywM";
5
- export declare const TEST_EMAIL = "testuser123@gmail.com";
6
- export declare const TEST_PASSWORD = "testuser123@gmail.com";
7
- export declare const TEST_EMAIL_2 = "testuser234@gmail.com";
8
- export declare const TEST_PASSWORD_2 = "testuser234@gmail.com";
9
- export declare const zeroUuid: UUID;
@@ -1 +0,0 @@
1
- export {};
@@ -1,22 +0,0 @@
1
- /**
2
- * Interface representing a User.
3
- * @typedef {Object} User
4
- * @property {string} id - The user's ID.
5
- * @property {string} [email] - The user's email (optional).
6
- * @property {string} [phone] - The user's phone number (optional).
7
- * @property {string} [role] - The user's role (optional).
8
- */
9
- /**
10
- * Represents a User with optional properties.
11
- * @typedef {Object} User
12
- * @property {string} id - The unique identifier for the user.
13
- * @property {string} [email] - The email address of the user (optional).
14
- * @property {string} [phone] - The phone number of the user (optional).
15
- * @property {string} [role] - The role of the user (optional).
16
- */
17
- export interface User {
18
- id: string;
19
- email?: string;
20
- phone?: string;
21
- role?: string;
22
- }