@elizaos/server 1.6.2-alpha.2 → 1.6.2-alpha.20

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.
@@ -1,32 +0,0 @@
1
- import { type RuntimeSettings, type Character } from '@elizaos/core';
2
- /**
3
- * Manages configuration loading and character settings
4
- */
5
- export declare class ConfigManager {
6
- /**
7
- * Load environment configuration for runtime
8
- *
9
- * Loads environment variables from the project's .env file and returns them as runtime settings.
10
- */
11
- loadEnvConfig(): Promise<RuntimeSettings>;
12
- /**
13
- * Find the .env file in the project
14
- */
15
- private findEnvFile;
16
- /**
17
- * Validates if a character has secrets configured
18
- */
19
- hasCharacterSecrets(character: Character): boolean;
20
- /**
21
- * Ensures character has a settings object
22
- */
23
- private ensureCharacterSettings;
24
- /**
25
- * Loads secrets from local .env file
26
- */
27
- loadLocalEnvSecrets(): Promise<Record<string, string> | null>;
28
- /**
29
- * Sets default secrets from local .env if character doesn't have any
30
- */
31
- setDefaultSecretsFromEnv(character: Character): Promise<boolean>;
32
- }
@@ -1,10 +0,0 @@
1
- /**
2
- * Handles on-demand plugin installation using Bun.
3
- * Provides environment guards and single-attempt tracking per process.
4
- */
5
- export declare class PluginInstaller {
6
- private attempted;
7
- tryInstall(pluginName: string): Promise<boolean>;
8
- private isAllowed;
9
- }
10
- export declare const pluginInstaller: PluginInstaller;
@@ -1,27 +0,0 @@
1
- import { type Plugin } from '@elizaos/core';
2
- /**
3
- * Manages plugin loading and dependency resolution
4
- */
5
- export declare class PluginLoader {
6
- /**
7
- * Check if an object has a valid plugin shape
8
- */
9
- isValidPluginShape(obj: any): obj is Plugin;
10
- /**
11
- * Validate a plugin's structure
12
- */
13
- validatePlugin(plugin: any): {
14
- isValid: boolean;
15
- errors: string[];
16
- };
17
- /**
18
- * Load and prepare a plugin for use
19
- */
20
- loadAndPreparePlugin(pluginName: string): Promise<Plugin | null>;
21
- /**
22
- * Resolve plugin dependencies with circular dependency detection
23
- *
24
- * Performs topological sorting of plugins to ensure dependencies are loaded in the correct order.
25
- */
26
- resolvePluginDependencies(availablePlugins: Map<string, Plugin>, isTestMode?: boolean): Plugin[];
27
- }