@elizaos/core 0.1.9 → 0.25.8

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/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { Readable } from 'stream';
2
- import { GenerateObjectResult, CoreTool, StepResult as StepResult$1 } from 'ai';
2
+ import { CoreTool, StepResult as StepResult$1, GenerateObjectResult } from 'ai';
3
3
  import { ZodSchema, z } from 'zod';
4
4
  import * as pino from 'pino';
5
5
 
@@ -194,6 +194,8 @@ type Models = {
194
194
  [ModelProviderName.INFERA]: Model;
195
195
  [ModelProviderName.BEDROCK]: Model;
196
196
  [ModelProviderName.ATOMA]: Model;
197
+ [ModelProviderName.SECRETAI]: Model;
198
+ [ModelProviderName.NEARAI]: Model;
197
199
  };
198
200
  /**
199
201
  * Available model providers
@@ -231,7 +233,9 @@ declare enum ModelProviderName {
231
233
  DEEPSEEK = "deepseek",
232
234
  INFERA = "infera",
233
235
  BEDROCK = "bedrock",
234
- ATOMA = "atoma"
236
+ ATOMA = "atoma",
237
+ SECRETAI = "secret_ai",
238
+ NEARAI = "nearai"
235
239
  }
236
240
  /**
237
241
  * Represents the current state/context of a conversation
@@ -471,14 +475,30 @@ type Media = {
471
475
  /** Content type */
472
476
  contentType?: string;
473
477
  };
478
+ /**
479
+ * Client instance
480
+ */
481
+ type ClientInstance = {
482
+ /** Client name */
483
+ /** Stop client connection */
484
+ stop: (runtime: IAgentRuntime) => Promise<unknown>;
485
+ };
474
486
  /**
475
487
  * Client interface for platform connections
476
488
  */
477
489
  type Client = {
490
+ /** Client name */
491
+ name: string;
492
+ /** Client configuration */
493
+ config?: {
494
+ [key: string]: any;
495
+ };
478
496
  /** Start client connection */
479
- start: (runtime: IAgentRuntime) => Promise<unknown>;
480
- /** Stop client connection */
481
- stop: (runtime: IAgentRuntime) => Promise<unknown>;
497
+ start: (runtime: IAgentRuntime) => Promise<ClientInstance>;
498
+ };
499
+ type Adapter = {
500
+ /** Initialize adapter */
501
+ init: (runtime: IAgentRuntime) => IDatabaseAdapter & IDatabaseCacheAdapter;
482
502
  };
483
503
  /**
484
504
  * Plugin for extending agent functionality
@@ -486,6 +506,10 @@ type Client = {
486
506
  type Plugin = {
487
507
  /** Plugin name */
488
508
  name: string;
509
+ /** Plugin configuration */
510
+ config?: {
511
+ [key: string]: any;
512
+ };
489
513
  /** Plugin description */
490
514
  description: string;
491
515
  /** Optional actions */
@@ -498,27 +522,9 @@ type Plugin = {
498
522
  services?: Service[];
499
523
  /** Optional clients */
500
524
  clients?: Client[];
525
+ /** Optional adapters */
526
+ adapters?: Adapter[];
501
527
  };
502
- /**
503
- * Available client platforms
504
- */
505
- declare enum Clients {
506
- ALEXA = "alexa",
507
- DISCORD = "discord",
508
- DIRECT = "direct",
509
- TWITTER = "twitter",
510
- TELEGRAM = "telegram",
511
- TELEGRAM_ACCOUNT = "telegram-account",
512
- FARCASTER = "farcaster",
513
- LENS = "lens",
514
- AUTO = "auto",
515
- SLACK = "slack",
516
- GITHUB = "github",
517
- INSTAGRAM = "instagram",
518
- SIMSAI = "simsai",
519
- XMTP = "xmtp",
520
- DEVA = "deva"
521
- }
522
528
  interface IAgentConfig {
523
529
  [key: string]: string;
524
530
  }
@@ -548,7 +554,7 @@ type TelemetrySettings = {
548
554
  };
549
555
  interface ModelConfiguration {
550
556
  temperature?: number;
551
- max_response_length?: number;
557
+ maxOutputTokens?: number;
552
558
  frequency_penalty?: number;
553
559
  presence_penalty?: number;
554
560
  maxInputTokens?: number;
@@ -637,8 +643,6 @@ type Character = {
637
643
  path: string;
638
644
  shared?: boolean;
639
645
  })[];
640
- /** Supported client platforms */
641
- clients: Clients[];
642
646
  /** Available plugins */
643
647
  plugins: Plugin[];
644
648
  /** Optional configuration */
@@ -1038,8 +1042,7 @@ interface IAgentRuntime {
1038
1042
  loreManager: IMemoryManager;
1039
1043
  cacheManager: ICacheManager;
1040
1044
  services: Map<ServiceType, Service>;
1041
- clients: Record<string, any>;
1042
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter | null;
1045
+ clients: ClientInstance[];
1043
1046
  initialize(): Promise<void>;
1044
1047
  registerMemoryManager(manager: IMemoryManager): void;
1045
1048
  getMemoryManager(name: string): IMemoryManager | null;
@@ -1163,7 +1166,8 @@ declare enum ServiceType {
1163
1166
  TEE_LOG = "tee_log",
1164
1167
  GOPLUS_SECURITY = "goplus_security",
1165
1168
  WEB_SEARCH = "web_search",
1166
- EMAIL_AUTOMATION = "email_automation"
1169
+ EMAIL_AUTOMATION = "email_automation",
1170
+ NKN_CLIENT_SERVICE = "nkn_client_service"
1167
1171
  }
1168
1172
  declare enum LoggingLevel {
1169
1173
  DEBUG = "debug",
@@ -1204,60 +1208,6 @@ interface ActionResponse {
1204
1208
  interface ISlackService extends Service {
1205
1209
  client: any;
1206
1210
  }
1207
- /**
1208
- * Available verifiable inference providers
1209
- */
1210
- declare enum VerifiableInferenceProvider {
1211
- RECLAIM = "reclaim",
1212
- OPACITY = "opacity",
1213
- PRIMUS = "primus"
1214
- }
1215
- /**
1216
- * Options for verifiable inference
1217
- */
1218
- interface VerifiableInferenceOptions {
1219
- /** Custom endpoint URL */
1220
- endpoint?: string;
1221
- /** Custom headers */
1222
- headers?: Record<string, string>;
1223
- /** Provider-specific options */
1224
- providerOptions?: Record<string, unknown>;
1225
- }
1226
- /**
1227
- * Result of a verifiable inference request
1228
- */
1229
- interface VerifiableInferenceResult {
1230
- /** Generated text */
1231
- text: string;
1232
- /** Proof */
1233
- proof: any;
1234
- /** Proof id */
1235
- id?: string;
1236
- /** Provider information */
1237
- provider: VerifiableInferenceProvider;
1238
- /** Timestamp */
1239
- timestamp: number;
1240
- }
1241
- /**
1242
- * Interface for verifiable inference adapters
1243
- */
1244
- interface IVerifiableInferenceAdapter {
1245
- options: any;
1246
- /**
1247
- * Generate text with verifiable proof
1248
- * @param context The input text/prompt
1249
- * @param modelClass The model class/name to use
1250
- * @param options Additional provider-specific options
1251
- * @returns Promise containing the generated text and proof data
1252
- */
1253
- generateText(context: string, modelClass: string, options?: VerifiableInferenceOptions): Promise<VerifiableInferenceResult>;
1254
- /**
1255
- * Verify the proof of a generated response
1256
- * @param result The result containing response and proof to verify
1257
- * @returns Promise indicating if the proof is valid
1258
- */
1259
- verifyProof(result: VerifiableInferenceResult): Promise<boolean>;
1260
- }
1261
1211
  declare enum TokenizerType {
1262
1212
  Auto = "auto",
1263
1213
  TikToken = "tiktoken"
@@ -1765,8 +1715,6 @@ declare abstract class DatabaseAdapter<DB = any> implements IDatabaseAdapter {
1765
1715
  protected withCircuitBreaker<T>(operation: () => Promise<T>, context: string): Promise<T>;
1766
1716
  }
1767
1717
 
1768
- declare const defaultCharacter: Character;
1769
-
1770
1718
  declare const EmbeddingProvider: {
1771
1719
  readonly OpenAI: "OpenAI";
1772
1720
  readonly Ollama: "Ollama";
@@ -1864,7 +1812,7 @@ declare function trimTokens(context: string, maxTokens: number, runtime: IAgentR
1864
1812
  * @param opts.max_context_length The maximum length of the context to apply to the generateText.
1865
1813
  * @returns The completed message.
1866
1814
  */
1867
- declare function generateText({ runtime, context, modelClass, tools, onStepFinish, maxSteps, stop, customSystemPrompt, verifiableInference, verifiableInferenceOptions, }: {
1815
+ declare function generateText({ runtime, context, modelClass, tools, onStepFinish, maxSteps, stop, customSystemPrompt, }: {
1868
1816
  runtime: IAgentRuntime;
1869
1817
  context: string;
1870
1818
  modelClass: ModelClass;
@@ -1873,9 +1821,6 @@ declare function generateText({ runtime, context, modelClass, tools, onStepFinis
1873
1821
  maxSteps?: number;
1874
1822
  stop?: string[];
1875
1823
  customSystemPrompt?: string;
1876
- verifiableInference?: boolean;
1877
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter;
1878
- verifiableInferenceOptions?: VerifiableInferenceOptions;
1879
1824
  }): Promise<string>;
1880
1825
  /**
1881
1826
  * Sends a message to the model to determine if it should respond to the given context.
@@ -1904,6 +1849,7 @@ declare function generateShouldRespond({ runtime, context, modelClass, }: {
1904
1849
  * @returns Promise resolving to array of text chunks with bleed sections
1905
1850
  */
1906
1851
  declare function splitChunks(content: string, chunkSize?: number, bleed?: number): Promise<string[]>;
1852
+ declare function splitText(content: string, chunkSize: number, bleed: number): string[];
1907
1853
  /**
1908
1854
  * Sends a message to the model and parses the response as a boolean value
1909
1855
  * @param opts - The options for the generateText request
@@ -2009,9 +1955,6 @@ interface GenerationOptions {
2009
1955
  stop?: string[];
2010
1956
  mode?: "auto" | "json" | "tool";
2011
1957
  experimental_providerMetadata?: Record<string, unknown>;
2012
- verifiableInference?: boolean;
2013
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter;
2014
- verifiableInferenceOptions?: VerifiableInferenceOptions;
2015
1958
  }
2016
1959
  /**
2017
1960
  * Base settings for model generation.
@@ -2032,7 +1975,7 @@ interface ModelSettings {
2032
1975
  * @returns {Promise<any[]>} - A promise that resolves to an array of generated objects.
2033
1976
  * @throws {Error} - Throws an error if the provider is unsupported or if generation fails.
2034
1977
  */
2035
- declare const generateObject: ({ runtime, context, modelClass, schema, schemaName, schemaDescription, stop, mode, verifiableInference, verifiableInferenceAdapter, verifiableInferenceOptions, }: GenerationOptions) => Promise<GenerateObjectResult<unknown>>;
1978
+ declare const generateObject: ({ runtime, context, modelClass, schema, schemaName, schemaDescription, stop, mode, }: GenerationOptions) => Promise<GenerateObjectResult<unknown>>;
2036
1979
  /**
2037
1980
  * Interface for provider-specific generation options.
2038
1981
  */
@@ -2049,9 +1992,6 @@ interface ProviderOptions {
2049
1992
  modelOptions: ModelSettings;
2050
1993
  modelClass: ModelClass;
2051
1994
  context: string;
2052
- verifiableInference?: boolean;
2053
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter;
2054
- verifiableInferenceOptions?: VerifiableInferenceOptions;
2055
1995
  }
2056
1996
  /**
2057
1997
  * Handles AI generation based on the specified provider.
@@ -2287,6 +2227,10 @@ declare class AgentRuntime implements IAgentRuntime {
2287
2227
  * Context providers used to provide context for message generation.
2288
2228
  */
2289
2229
  providers: Provider[];
2230
+ /**
2231
+ * Database adapters used to interact with the database.
2232
+ */
2233
+ adapters: Adapter[];
2290
2234
  plugins: Plugin[];
2291
2235
  /**
2292
2236
  * The model to use for generateText.
@@ -2334,8 +2278,7 @@ declare class AgentRuntime implements IAgentRuntime {
2334
2278
  services: Map<ServiceType, Service>;
2335
2279
  memoryManagers: Map<string, IMemoryManager>;
2336
2280
  cacheManager: ICacheManager;
2337
- clients: Record<string, any>;
2338
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter;
2281
+ clients: ClientInstance[];
2339
2282
  registerMemoryManager(manager: IMemoryManager): void;
2340
2283
  getMemoryManager(tableName: string): IMemoryManager | null;
2341
2284
  getService<T extends Service>(service: ServiceType): T | null;
@@ -2370,13 +2313,13 @@ declare class AgentRuntime implements IAgentRuntime {
2370
2313
  modelProvider: ModelProviderName;
2371
2314
  services?: Service[];
2372
2315
  managers?: IMemoryManager[];
2373
- databaseAdapter: IDatabaseAdapter;
2316
+ databaseAdapter?: IDatabaseAdapter;
2374
2317
  fetch?: typeof fetch | unknown;
2375
2318
  speechModelPath?: string;
2376
- cacheManager: ICacheManager;
2319
+ cacheManager?: ICacheManager;
2377
2320
  logging?: boolean;
2378
- verifiableInferenceAdapter?: IVerifiableInferenceAdapter;
2379
2321
  });
2322
+ private initializeDatabase;
2380
2323
  initialize(): Promise<void>;
2381
2324
  stop(): Promise<void>;
2382
2325
  /**
@@ -2419,6 +2362,11 @@ declare class AgentRuntime implements IAgentRuntime {
2419
2362
  * @param provider The context provider to register.
2420
2363
  */
2421
2364
  registerContextProvider(provider: Provider): void;
2365
+ /**
2366
+ * Register an adapter for the agent to use.
2367
+ * @param adapter The adapter to register.
2368
+ */
2369
+ registerAdapter(adapter: Adapter): void;
2422
2370
  /**
2423
2371
  * Process the actions of a message.
2424
2372
  * @param message The message to process.
@@ -2466,8 +2414,6 @@ declare class AgentRuntime implements IAgentRuntime {
2466
2414
  [key: string]: unknown;
2467
2415
  }): Promise<State>;
2468
2416
  updateRecentMessageState(state: State): Promise<State>;
2469
- getVerifiableInferenceAdapter(): IVerifiableInferenceAdapter | undefined;
2470
- setVerifiableInferenceAdapter(adapter: IVerifiableInferenceAdapter): void;
2471
2417
  }
2472
2418
 
2473
2419
  interface Settings {
@@ -2693,7 +2639,6 @@ declare const CharacterSchema: z.ZodObject<{
2693
2639
  shared?: boolean;
2694
2640
  directory?: string;
2695
2641
  }>]>, "many">>;
2696
- clients: z.ZodArray<z.ZodNativeEnum<typeof Clients>, "many">;
2697
2642
  plugins: z.ZodUnion<[z.ZodArray<z.ZodString, "many">, z.ZodArray<z.ZodObject<{
2698
2643
  name: z.ZodString;
2699
2644
  description: z.ZodString;
@@ -2732,6 +2677,25 @@ declare const CharacterSchema: z.ZodObject<{
2732
2677
  model?: string;
2733
2678
  }>>;
2734
2679
  model: z.ZodOptional<z.ZodString>;
2680
+ modelConfig: z.ZodOptional<z.ZodObject<{
2681
+ maxInputTokens: z.ZodOptional<z.ZodNumber>;
2682
+ maxOutputTokens: z.ZodOptional<z.ZodNumber>;
2683
+ temperature: z.ZodOptional<z.ZodNumber>;
2684
+ frequency_penalty: z.ZodOptional<z.ZodNumber>;
2685
+ presence_penalty: z.ZodOptional<z.ZodNumber>;
2686
+ }, "strip", z.ZodTypeAny, {
2687
+ temperature?: number;
2688
+ maxInputTokens?: number;
2689
+ maxOutputTokens?: number;
2690
+ frequency_penalty?: number;
2691
+ presence_penalty?: number;
2692
+ }, {
2693
+ temperature?: number;
2694
+ maxInputTokens?: number;
2695
+ maxOutputTokens?: number;
2696
+ frequency_penalty?: number;
2697
+ presence_penalty?: number;
2698
+ }>>;
2735
2699
  embeddingModel: z.ZodOptional<z.ZodString>;
2736
2700
  }, "strip", z.ZodTypeAny, {
2737
2701
  model?: string;
@@ -2740,6 +2704,13 @@ declare const CharacterSchema: z.ZodObject<{
2740
2704
  url?: string;
2741
2705
  model?: string;
2742
2706
  };
2707
+ modelConfig?: {
2708
+ temperature?: number;
2709
+ maxInputTokens?: number;
2710
+ maxOutputTokens?: number;
2711
+ frequency_penalty?: number;
2712
+ presence_penalty?: number;
2713
+ };
2743
2714
  embeddingModel?: string;
2744
2715
  }, {
2745
2716
  model?: string;
@@ -2748,6 +2719,13 @@ declare const CharacterSchema: z.ZodObject<{
2748
2719
  url?: string;
2749
2720
  model?: string;
2750
2721
  };
2722
+ modelConfig?: {
2723
+ temperature?: number;
2724
+ maxInputTokens?: number;
2725
+ maxOutputTokens?: number;
2726
+ frequency_penalty?: number;
2727
+ presence_penalty?: number;
2728
+ };
2751
2729
  embeddingModel?: string;
2752
2730
  }>>;
2753
2731
  clientConfig: z.ZodOptional<z.ZodObject<{
@@ -2844,14 +2822,29 @@ declare const CharacterSchema: z.ZodObject<{
2844
2822
  url?: string;
2845
2823
  model?: string;
2846
2824
  };
2825
+ modelConfig?: {
2826
+ temperature?: number;
2827
+ maxInputTokens?: number;
2828
+ maxOutputTokens?: number;
2829
+ frequency_penalty?: number;
2830
+ presence_penalty?: number;
2831
+ };
2847
2832
  embeddingModel?: string;
2848
2833
  };
2849
2834
  modelProvider?: ModelProviderName;
2850
2835
  name?: string;
2851
2836
  id?: string;
2852
2837
  system?: string;
2838
+ plugins?: string[] | {
2839
+ actions?: any[];
2840
+ providers?: any[];
2841
+ name?: string;
2842
+ description?: string;
2843
+ evaluators?: any[];
2844
+ services?: any[];
2845
+ clients?: any[];
2846
+ }[];
2853
2847
  topics?: string[];
2854
- clients?: Clients[];
2855
2848
  modelEndpointOverride?: string;
2856
2849
  templates?: Record<string, string>;
2857
2850
  messageExamples?: {
@@ -2867,15 +2860,6 @@ declare const CharacterSchema: z.ZodObject<{
2867
2860
  }[][];
2868
2861
  postExamples?: string[];
2869
2862
  adjectives?: string[];
2870
- plugins?: string[] | {
2871
- actions?: any[];
2872
- providers?: any[];
2873
- name?: string;
2874
- description?: string;
2875
- evaluators?: any[];
2876
- services?: any[];
2877
- clients?: any[];
2878
- }[];
2879
2863
  clientConfig?: {
2880
2864
  discord?: {
2881
2865
  shouldIgnoreBotMessages?: boolean;
@@ -2918,14 +2902,29 @@ declare const CharacterSchema: z.ZodObject<{
2918
2902
  url?: string;
2919
2903
  model?: string;
2920
2904
  };
2905
+ modelConfig?: {
2906
+ temperature?: number;
2907
+ maxInputTokens?: number;
2908
+ maxOutputTokens?: number;
2909
+ frequency_penalty?: number;
2910
+ presence_penalty?: number;
2911
+ };
2921
2912
  embeddingModel?: string;
2922
2913
  };
2923
2914
  modelProvider?: ModelProviderName;
2924
2915
  name?: string;
2925
2916
  id?: string;
2926
2917
  system?: string;
2918
+ plugins?: string[] | {
2919
+ actions?: any[];
2920
+ providers?: any[];
2921
+ name?: string;
2922
+ description?: string;
2923
+ evaluators?: any[];
2924
+ services?: any[];
2925
+ clients?: any[];
2926
+ }[];
2927
2927
  topics?: string[];
2928
- clients?: Clients[];
2929
2928
  modelEndpointOverride?: string;
2930
2929
  templates?: Record<string, string>;
2931
2930
  messageExamples?: {
@@ -2941,15 +2940,6 @@ declare const CharacterSchema: z.ZodObject<{
2941
2940
  }[][];
2942
2941
  postExamples?: string[];
2943
2942
  adjectives?: string[];
2944
- plugins?: string[] | {
2945
- actions?: any[];
2946
- providers?: any[];
2947
- name?: string;
2948
- description?: string;
2949
- evaluators?: any[];
2950
- services?: any[];
2951
- clients?: any[];
2952
- }[];
2953
2943
  clientConfig?: {
2954
2944
  discord?: {
2955
2945
  shouldIgnoreBotMessages?: boolean;
@@ -3102,4 +3092,4 @@ declare class RAGKnowledgeManager implements IRAGKnowledgeManager {
3102
3092
  }): Promise<void>;
3103
3093
  }
3104
3094
 
3105
- export { type Account, type Action, type ActionExample, type ActionResponse, ActionTimelineType, type Actor, AgentRuntime, CacheKeyPrefix, CacheManager, type CacheOptions, CacheStore, type Character, type CharacterConfig, CharacterSchema, type ChunkRow, type Client, Clients, type Content, type ConversationExample, type DataIrysFetchedFromGQL, DatabaseAdapter, DbCacheAdapter, type DirectoryItem, type EmbeddingConfig, type EmbeddingModelSettings, EmbeddingProvider, type EmbeddingProviderType, type EnvConfig, type EvaluationExample, type Evaluator, FsCacheAdapter, type GenerationOptions, type Goal, GoalStatus, type GraphQLTag, type Handler, type HandlerCallback, type IAgentConfig, type IAgentRuntime, type IAwsS3Service, type IBrowserService, type ICacheAdapter, type ICacheManager, type IDatabaseAdapter, type IDatabaseCacheAdapter, type IImageDescriptionService, type IIrysService, type IMemoryManager, type IPdfService, type IRAGKnowledgeManager, type ISlackService, type ISpeechService, type ITeeLogService, type ITextGenerationService, type ITranscriptionService, type IVerifiableInferenceAdapter, type IVideoService, type ImageModelSettings, IrysDataType, IrysMessageType, type IrysTimestamp, type KnowledgeItem, KnowledgeScope, LoggingLevel, type Media, type Memory, MemoryCacheAdapter, MemoryManager, type MessageExample, type Model, ModelClass, type ModelConfiguration, ModelProviderName, type ModelSettings$1 as ModelSettings, type Models, type Objective, type Participant, type Plugin, type Provider, type RAGKnowledgeItem, RAGKnowledgeManager, type Relationship, type Room, Service, ServiceType, type State, type TelemetrySettings, type TemplateType, TokenizerType, TranscriptionProvider, type TwitterSpaceDecisionOptions, type UUID, type UploadIrysResult, type Validator, type VerifiableInferenceOptions, VerifiableInferenceProvider, type VerifiableInferenceResult, addHeader, booleanFooter, cleanJsonResponse, composeActionExamples, composeContext, composeRandomUser, configureSettings, createGoal, createRelationship, defaultCharacter, elizaLogger, embed, envSchema, evaluationTemplate, extractAttributes, findNearestEnvFile, formatActionNames, formatActions, formatActors, formatEvaluatorExampleDescriptions, formatEvaluatorExamples, formatEvaluatorNames, formatEvaluators, formatGoalsAsString, formatMessages, formatPosts, formatRelationships, formatTimestamp, generateCaption, generateImage, generateMessageResponse, generateObject, generateObjectArray, generateObjectDeprecated, generateShouldRespond, generateText, generateTextArray, generateTrueOrFalse, generateTweetActions, getActorDetails, getEmbeddingConfig, getEmbeddingModelSettings, getEmbeddingType, getEmbeddingZeroVector, getEndpoint, getEnvVariable, getGoals, getImageModelSettings, getModelSettings, getProviders, getRelationship, getRelationships, handleProvider, hasEnvVariable, _default as knowledge, loadEnvConfig, messageCompletionFooter, models, normalizeJsonString, parseActionResponseFromText, parseBooleanFromText, parseJSONObjectFromText, parseJsonArrayFromText, parseShouldRespondFromText, postActionResponseFooter, settings, shouldRespondFooter, splitChunks, stringArrayFooter, stringToUuid, trimTokens, truncateToCompleteSentence, updateGoal, uuidSchema, validateCharacterConfig, validateEnv, validateUuid };
3095
+ export { type Account, type Action, type ActionExample, type ActionResponse, ActionTimelineType, type Actor, type Adapter, AgentRuntime, CacheKeyPrefix, CacheManager, type CacheOptions, CacheStore, type Character, type CharacterConfig, CharacterSchema, type ChunkRow, type Client, type ClientInstance, type Content, type ConversationExample, type DataIrysFetchedFromGQL, DatabaseAdapter, DbCacheAdapter, type DirectoryItem, type EmbeddingConfig, type EmbeddingModelSettings, EmbeddingProvider, type EmbeddingProviderType, type EnvConfig, type EvaluationExample, type Evaluator, FsCacheAdapter, type GenerationOptions, type Goal, GoalStatus, type GraphQLTag, type Handler, type HandlerCallback, type IAgentConfig, type IAgentRuntime, type IAwsS3Service, type IBrowserService, type ICacheAdapter, type ICacheManager, type IDatabaseAdapter, type IDatabaseCacheAdapter, type IImageDescriptionService, type IIrysService, type IMemoryManager, type IPdfService, type IRAGKnowledgeManager, type ISlackService, type ISpeechService, type ITeeLogService, type ITextGenerationService, type ITranscriptionService, type IVideoService, type ImageModelSettings, IrysDataType, IrysMessageType, type IrysTimestamp, type KnowledgeItem, KnowledgeScope, LoggingLevel, type Media, type Memory, MemoryCacheAdapter, MemoryManager, type MessageExample, type Model, ModelClass, type ModelConfiguration, ModelProviderName, type ModelSettings$1 as ModelSettings, type Models, type Objective, type Participant, type Plugin, type Provider, type RAGKnowledgeItem, RAGKnowledgeManager, type Relationship, type Room, Service, ServiceType, type State, type TelemetrySettings, type TemplateType, TokenizerType, TranscriptionProvider, type TwitterSpaceDecisionOptions, type UUID, type UploadIrysResult, type Validator, addHeader, booleanFooter, cleanJsonResponse, composeActionExamples, composeContext, composeRandomUser, configureSettings, createGoal, createRelationship, elizaLogger, embed, envSchema, evaluationTemplate, extractAttributes, findNearestEnvFile, formatActionNames, formatActions, formatActors, formatEvaluatorExampleDescriptions, formatEvaluatorExamples, formatEvaluatorNames, formatEvaluators, formatGoalsAsString, formatMessages, formatPosts, formatRelationships, formatTimestamp, generateCaption, generateImage, generateMessageResponse, generateObject, generateObjectArray, generateObjectDeprecated, generateShouldRespond, generateText, generateTextArray, generateTrueOrFalse, generateTweetActions, getActorDetails, getEmbeddingConfig, getEmbeddingModelSettings, getEmbeddingType, getEmbeddingZeroVector, getEndpoint, getEnvVariable, getGoals, getImageModelSettings, getModelSettings, getProviders, getRelationship, getRelationships, handleProvider, hasEnvVariable, _default as knowledge, loadEnvConfig, messageCompletionFooter, models, normalizeJsonString, parseActionResponseFromText, parseBooleanFromText, parseJSONObjectFromText, parseJsonArrayFromText, parseShouldRespondFromText, postActionResponseFooter, settings, shouldRespondFooter, splitChunks, splitText, stringArrayFooter, stringToUuid, trimTokens, truncateToCompleteSentence, updateGoal, uuidSchema, validateCharacterConfig, validateEnv, validateUuid };