File tree 4 files changed +12
-7
lines changed
4 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ export function loadEnvConfig(): Settings {
93
93
const result = config ( envPath ? { path : envPath } : { } ) ;
94
94
95
95
if ( ! result . error ) {
96
- console . log ( `Loaded .env file from: ${ envPath } ` ) ;
96
+ elizaLogger . log ( `Loaded .env file from: ${ envPath } ` ) ;
97
97
}
98
98
99
99
// Parse namespaced settings
@@ -156,10 +156,10 @@ function parseNamespacedSettings(env: Settings): NamespacedSettings {
156
156
for ( const [ key , value ] of Object . entries ( env ) ) {
157
157
if ( ! value ) continue ;
158
158
159
- const [ namespace , ...rest ] = key . split ( '.' ) ;
159
+ const [ namespace , ...rest ] = key . split ( "." ) ;
160
160
if ( ! namespace || rest . length === 0 ) continue ;
161
161
162
- const settingKey = rest . join ( '.' ) ;
162
+ const settingKey = rest . join ( "." ) ;
163
163
namespaced [ namespace ] = namespaced [ namespace ] || { } ;
164
164
namespaced [ namespace ] [ settingKey ] = value ;
165
165
}
Original file line number Diff line number Diff line change @@ -9,14 +9,15 @@ export default defineConfig({
9
9
platform : "node" ,
10
10
target : "node18" ,
11
11
bundle : true ,
12
- splitting : true , // Add this for better code splitting
13
- dts : true , // Generate declaration files
12
+ splitting : true , // Add this for better code splitting
13
+ dts : true , // Generate declaration files
14
14
external : [
15
15
"dotenv" , // Externalize dotenv to prevent bundling
16
16
"fs" , // Externalize fs to use Node.js built-in module
17
17
"path" , // Externalize other built-ins if necessary
18
18
"http" ,
19
19
"https" ,
20
20
// Add other modules you want to externalize
21
+ "@tavily/core" ,
21
22
] ,
22
23
} ) ;
Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ cd "$(dirname "$0")"/..
5
5
echo " Cleanup started."
6
6
# Find and remove node_modules directories, dist directories.
7
7
find . -type d -name " node_modules" -exec rm -rf {} + \
8
- -o -type d -name " dist" -exec rm -rf {} +
8
+ -o -type d -name " dist" -exec rm -rf {} + \
9
+ -o -type d -name " .turbo" -exec rm -rf {} +
9
10
10
11
# Remove core cache
11
12
rm -rf ./packages/core/cache
Original file line number Diff line number Diff line change 16
16
},
17
17
"@elizaos/plugin-solana#build" : {
18
18
"outputs" : [" dist/**" ],
19
- "dependsOn" : [" @elizaos/plugin-trustdb#build" ]
19
+ "dependsOn" : [
20
+ " @elizaos/plugin-trustdb#build" ,
21
+ " @elizaos/plugin-tee#build"
22
+ ]
20
23
},
21
24
"@elizaos/plugin-nft-generation#build" : {
22
25
"outputs" : [" dist/**" ],
You can’t perform that action at this time.
0 commit comments