@elizaos/server 1.6.2-alpha.9 → 1.6.2-beta.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/client/assets/{main-CpHBkAFA.js → main-BtcZiEuQ.js} +3 -3
- package/dist/client/assets/{main-CpHBkAFA.js.map → main-BtcZiEuQ.js.map} +1 -1
- package/dist/client/assets/{main-CNv6B3RZ.css → main-DrN44Cbu.css} +1 -1
- package/dist/client/assets/main-r3TR7Sku.js +155 -0
- package/dist/client/assets/{main-SfTqS-Wp.js.map → main-r3TR7Sku.js.map} +1 -1
- package/dist/client/assets/react-vendor-DPGVcrXi.js +611 -0
- package/dist/client/assets/react-vendor-DPGVcrXi.js.map +1 -0
- package/dist/client/index.html +1 -1
- package/dist/index.d.ts +50 -22
- package/dist/index.js +1399 -1271
- package/package.json +5 -5
- package/dist/characters/default.d.ts +0 -14
- package/dist/client/assets/main-SfTqS-Wp.js +0 -155
- package/dist/client/assets/react-vendor-C1OK-nqm.js +0 -611
- package/dist/client/assets/react-vendor-C1OK-nqm.js.map +0 -1
- package/dist/managers/ConfigManager.d.ts +0 -32
- package/dist/managers/PluginInstaller.d.ts +0 -10
- package/dist/managers/PluginLoader.d.ts +0 -27
|
@@ -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
|
-
}
|