@elizaos/core 1.2.5 → 1.2.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/{chunk-WLUL3JMY.js → chunk-EFASA4CC.js} +129 -14
- package/dist/{index-DOpqCUJl.d.ts → index-DQlJZj2X.d.ts} +11 -15
- package/dist/index.d.ts +1101 -9
- package/dist/index.js +17 -1
- package/dist/specs/v1/index.js +1 -1
- package/dist/specs/v1/messages.js +1 -1
- package/dist/specs/v1/posts.js +1 -1
- package/dist/specs/v1/runtime.js +1 -1
- package/dist/specs/v1/uuid.js +1 -1
- package/dist/specs/v2/index.d.ts +1 -1
- package/dist/specs/v2/index.js +1 -1
- package/package.json +2 -2
|
@@ -522,6 +522,8 @@ var ServiceType3 = {
|
|
|
522
522
|
WALLET: "wallet",
|
|
523
523
|
LP_POOL: "lp_pool",
|
|
524
524
|
TOKEN_DATA: "token_data",
|
|
525
|
+
MESSAGE: "message",
|
|
526
|
+
POST: "post",
|
|
525
527
|
UNKNOWN: "unknown"
|
|
526
528
|
};
|
|
527
529
|
var Service3 = class {
|
|
@@ -688,6 +690,94 @@ var ILpService = class extends Service3 {
|
|
|
688
690
|
}
|
|
689
691
|
};
|
|
690
692
|
|
|
693
|
+
// src/types/pdf.ts
|
|
694
|
+
var IPdfService = class extends Service3 {
|
|
695
|
+
constructor() {
|
|
696
|
+
super(...arguments);
|
|
697
|
+
this.capabilityDescription = "PDF processing, extraction, and generation capabilities";
|
|
698
|
+
}
|
|
699
|
+
static {
|
|
700
|
+
this.serviceType = ServiceType3.PDF;
|
|
701
|
+
}
|
|
702
|
+
};
|
|
703
|
+
|
|
704
|
+
// src/types/video.ts
|
|
705
|
+
var IVideoService = class extends Service3 {
|
|
706
|
+
constructor() {
|
|
707
|
+
super(...arguments);
|
|
708
|
+
this.capabilityDescription = "Video download, processing, and conversion capabilities";
|
|
709
|
+
}
|
|
710
|
+
static {
|
|
711
|
+
this.serviceType = ServiceType3.VIDEO;
|
|
712
|
+
}
|
|
713
|
+
};
|
|
714
|
+
|
|
715
|
+
// src/types/browser.ts
|
|
716
|
+
var IBrowserService = class extends Service3 {
|
|
717
|
+
constructor() {
|
|
718
|
+
super(...arguments);
|
|
719
|
+
this.capabilityDescription = "Web browser automation and scraping capabilities";
|
|
720
|
+
}
|
|
721
|
+
static {
|
|
722
|
+
this.serviceType = ServiceType3.BROWSER;
|
|
723
|
+
}
|
|
724
|
+
};
|
|
725
|
+
|
|
726
|
+
// src/types/transcription.ts
|
|
727
|
+
var ITranscriptionService = class extends Service3 {
|
|
728
|
+
constructor() {
|
|
729
|
+
super(...arguments);
|
|
730
|
+
this.capabilityDescription = "Audio transcription and speech processing capabilities";
|
|
731
|
+
}
|
|
732
|
+
static {
|
|
733
|
+
this.serviceType = ServiceType3.TRANSCRIPTION;
|
|
734
|
+
}
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
// src/types/web-search.ts
|
|
738
|
+
var IWebSearchService = class extends Service3 {
|
|
739
|
+
constructor() {
|
|
740
|
+
super(...arguments);
|
|
741
|
+
this.capabilityDescription = "Web search and content discovery capabilities";
|
|
742
|
+
}
|
|
743
|
+
static {
|
|
744
|
+
this.serviceType = ServiceType3.WEB_SEARCH;
|
|
745
|
+
}
|
|
746
|
+
};
|
|
747
|
+
|
|
748
|
+
// src/types/email.ts
|
|
749
|
+
var IEmailService = class extends Service3 {
|
|
750
|
+
constructor() {
|
|
751
|
+
super(...arguments);
|
|
752
|
+
this.capabilityDescription = "Email sending, receiving, and management capabilities";
|
|
753
|
+
}
|
|
754
|
+
static {
|
|
755
|
+
this.serviceType = ServiceType3.EMAIL;
|
|
756
|
+
}
|
|
757
|
+
};
|
|
758
|
+
|
|
759
|
+
// src/types/message.ts
|
|
760
|
+
var IMessageService = class extends Service3 {
|
|
761
|
+
constructor() {
|
|
762
|
+
super(...arguments);
|
|
763
|
+
this.capabilityDescription = "Message sending, receiving, and management capabilities";
|
|
764
|
+
}
|
|
765
|
+
static {
|
|
766
|
+
this.serviceType = ServiceType3.MESSAGE;
|
|
767
|
+
}
|
|
768
|
+
};
|
|
769
|
+
|
|
770
|
+
// src/types/post.ts
|
|
771
|
+
var IPostService = class extends Service3 {
|
|
772
|
+
constructor() {
|
|
773
|
+
super(...arguments);
|
|
774
|
+
this.capabilityDescription = "Social media posting and content management capabilities";
|
|
775
|
+
}
|
|
776
|
+
static {
|
|
777
|
+
this.serviceType = ServiceType3.POST;
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
|
|
691
781
|
// src/utils.ts
|
|
692
782
|
import handlebars from "handlebars";
|
|
693
783
|
import { sha1 } from "js-sha1";
|
|
@@ -2876,9 +2966,11 @@ var AgentRuntime = class {
|
|
|
2876
2966
|
}
|
|
2877
2967
|
async stop() {
|
|
2878
2968
|
this.logger.debug(`runtime::stop - character ${this.character.name}`);
|
|
2879
|
-
for (const [serviceName,
|
|
2969
|
+
for (const [serviceName, services] of this.services) {
|
|
2880
2970
|
this.logger.debug(`runtime::stop - requesting service stop for ${serviceName}`);
|
|
2881
|
-
|
|
2971
|
+
for (const service of services) {
|
|
2972
|
+
await service.stop();
|
|
2973
|
+
}
|
|
2882
2974
|
}
|
|
2883
2975
|
}
|
|
2884
2976
|
async initialize() {
|
|
@@ -3800,12 +3892,12 @@ var AgentRuntime = class {
|
|
|
3800
3892
|
return newState;
|
|
3801
3893
|
}
|
|
3802
3894
|
getService(serviceName) {
|
|
3803
|
-
const
|
|
3804
|
-
if (!
|
|
3895
|
+
const serviceInstances = this.services.get(serviceName);
|
|
3896
|
+
if (!serviceInstances || serviceInstances.length === 0) {
|
|
3805
3897
|
this.logger.debug(`Service ${serviceName} not found`);
|
|
3806
3898
|
return null;
|
|
3807
3899
|
}
|
|
3808
|
-
return
|
|
3900
|
+
return serviceInstances[0];
|
|
3809
3901
|
}
|
|
3810
3902
|
/**
|
|
3811
3903
|
* Type-safe service getter that ensures the correct service type is returned
|
|
@@ -3816,6 +3908,20 @@ var AgentRuntime = class {
|
|
|
3816
3908
|
getTypedService(serviceName) {
|
|
3817
3909
|
return this.getService(serviceName);
|
|
3818
3910
|
}
|
|
3911
|
+
/**
|
|
3912
|
+
* Get all services of a specific type
|
|
3913
|
+
* @template T - The expected service class type
|
|
3914
|
+
* @param serviceName - The service type name
|
|
3915
|
+
* @returns Array of service instances with proper typing
|
|
3916
|
+
*/
|
|
3917
|
+
getServicesByType(serviceName) {
|
|
3918
|
+
const serviceInstances = this.services.get(serviceName);
|
|
3919
|
+
if (!serviceInstances || serviceInstances.length === 0) {
|
|
3920
|
+
this.logger.debug(`No services found for type ${serviceName}`);
|
|
3921
|
+
return [];
|
|
3922
|
+
}
|
|
3923
|
+
return serviceInstances;
|
|
3924
|
+
}
|
|
3819
3925
|
/**
|
|
3820
3926
|
* Get all registered service types
|
|
3821
3927
|
* @returns Array of registered service type names
|
|
@@ -3829,7 +3935,8 @@ var AgentRuntime = class {
|
|
|
3829
3935
|
* @returns true if the service is registered
|
|
3830
3936
|
*/
|
|
3831
3937
|
hasService(serviceType) {
|
|
3832
|
-
|
|
3938
|
+
const serviceInstances = this.services.get(serviceType);
|
|
3939
|
+
return serviceInstances !== void 0 && serviceInstances.length > 0;
|
|
3833
3940
|
}
|
|
3834
3941
|
async registerService(serviceDef) {
|
|
3835
3942
|
const serviceType = serviceDef.serviceType;
|
|
@@ -3843,16 +3950,16 @@ var AgentRuntime = class {
|
|
|
3843
3950
|
`${this.character.name}(${this.agentId}) - Registering service:`,
|
|
3844
3951
|
serviceType
|
|
3845
3952
|
);
|
|
3846
|
-
if (this.services.has(serviceType)) {
|
|
3847
|
-
this.logger.warn(
|
|
3848
|
-
`${this.character.name}(${this.agentId}) - Service ${serviceType} is already registered. Skipping registration.`
|
|
3849
|
-
);
|
|
3850
|
-
return;
|
|
3851
|
-
}
|
|
3852
3953
|
try {
|
|
3853
3954
|
const serviceInstance = await serviceDef.start(this);
|
|
3854
|
-
this.services.
|
|
3855
|
-
|
|
3955
|
+
if (!this.services.has(serviceType)) {
|
|
3956
|
+
this.services.set(serviceType, []);
|
|
3957
|
+
}
|
|
3958
|
+
if (!this.serviceTypes.has(serviceType)) {
|
|
3959
|
+
this.serviceTypes.set(serviceType, []);
|
|
3960
|
+
}
|
|
3961
|
+
this.services.get(serviceType).push(serviceInstance);
|
|
3962
|
+
this.serviceTypes.get(serviceType).push(serviceDef);
|
|
3856
3963
|
if (typeof serviceDef.registerSendHandlers === "function") {
|
|
3857
3964
|
serviceDef.registerSendHandlers(this, serviceInstance);
|
|
3858
3965
|
}
|
|
@@ -6078,6 +6185,14 @@ export {
|
|
|
6078
6185
|
SOCKET_MESSAGE_TYPE2 as SOCKET_MESSAGE_TYPE,
|
|
6079
6186
|
IWalletService,
|
|
6080
6187
|
ILpService,
|
|
6188
|
+
IPdfService,
|
|
6189
|
+
IVideoService,
|
|
6190
|
+
IBrowserService,
|
|
6191
|
+
ITranscriptionService,
|
|
6192
|
+
IWebSearchService,
|
|
6193
|
+
IEmailService,
|
|
6194
|
+
IMessageService,
|
|
6195
|
+
IPostService,
|
|
6081
6196
|
Sentry,
|
|
6082
6197
|
createLogger,
|
|
6083
6198
|
logger,
|
|
@@ -1412,6 +1412,8 @@ interface ServiceTypeRegistry {
|
|
|
1412
1412
|
WALLET: 'wallet';
|
|
1413
1413
|
LP_POOL: 'lp_pool';
|
|
1414
1414
|
TOKEN_DATA: 'token_data';
|
|
1415
|
+
MESSAGE: 'message';
|
|
1416
|
+
POST: 'post';
|
|
1415
1417
|
UNKNOWN: 'unknown';
|
|
1416
1418
|
}
|
|
1417
1419
|
/**
|
|
@@ -1468,6 +1470,8 @@ declare const ServiceType: {
|
|
|
1468
1470
|
readonly WALLET: "wallet";
|
|
1469
1471
|
readonly LP_POOL: "lp_pool";
|
|
1470
1472
|
readonly TOKEN_DATA: "token_data";
|
|
1473
|
+
readonly MESSAGE: "message";
|
|
1474
|
+
readonly POST: "post";
|
|
1471
1475
|
readonly UNKNOWN: "unknown";
|
|
1472
1476
|
};
|
|
1473
1477
|
/**
|
|
@@ -1624,16 +1628,20 @@ interface IAgentRuntime extends IDatabaseAdapter {
|
|
|
1624
1628
|
actions: Action[];
|
|
1625
1629
|
evaluators: Evaluator[];
|
|
1626
1630
|
plugins: Plugin[];
|
|
1627
|
-
services: Map<ServiceTypeName, Service>;
|
|
1631
|
+
services: Map<ServiceTypeName, Service[]>;
|
|
1628
1632
|
events: Map<string, ((params: any) => Promise<void>)[]>;
|
|
1629
1633
|
fetch?: typeof fetch | null;
|
|
1630
1634
|
routes: Route[];
|
|
1635
|
+
logger: any;
|
|
1631
1636
|
registerPlugin(plugin: Plugin): Promise<void>;
|
|
1632
1637
|
initialize(): Promise<void>;
|
|
1633
1638
|
getConnection(): Promise<any>;
|
|
1634
1639
|
getService<T extends Service>(service: ServiceTypeName | string): T | null;
|
|
1635
|
-
|
|
1640
|
+
getServicesByType<T extends Service>(service: ServiceTypeName | string): T[];
|
|
1641
|
+
getAllServices(): Map<ServiceTypeName, Service[]>;
|
|
1636
1642
|
registerService(service: typeof Service): Promise<void>;
|
|
1643
|
+
getRegisteredServiceTypes(): ServiceTypeName[];
|
|
1644
|
+
hasService(serviceType: ServiceTypeName | string): boolean;
|
|
1637
1645
|
registerDatabaseAdapter(adapter: IDatabaseAdapter): void;
|
|
1638
1646
|
setSetting(key: string, value: string | boolean | null | any, secret?: boolean): void;
|
|
1639
1647
|
getSetting(key: string): string | boolean | null | any;
|
|
@@ -1788,18 +1796,6 @@ interface Provider {
|
|
|
1788
1796
|
/** Data retrieval function */
|
|
1789
1797
|
get: (runtime: IAgentRuntime, message: Memory, state: State) => Promise<ProviderResult>;
|
|
1790
1798
|
}
|
|
1791
|
-
/**
|
|
1792
|
-
* Result of executing an action
|
|
1793
|
-
*/
|
|
1794
|
-
interface ActionResult {
|
|
1795
|
-
values?: {
|
|
1796
|
-
[key: string]: any;
|
|
1797
|
-
};
|
|
1798
|
-
data?: {
|
|
1799
|
-
[key: string]: any;
|
|
1800
|
-
};
|
|
1801
|
-
text?: string;
|
|
1802
|
-
}
|
|
1803
1799
|
/**
|
|
1804
1800
|
* Result returned by an action after execution
|
|
1805
1801
|
* Used for action chaining and state management
|
|
@@ -3067,4 +3063,4 @@ declare namespace v2 {
|
|
|
3067
3063
|
export { Action$1 as Action, ActionEventPayload$1 as ActionEventPayload, ActionExample$1 as ActionExample, Agent$1 as Agent, v2_AgentRuntime as AgentRuntime, AgentStatus$1 as AgentStatus, AudioProcessingParams$1 as AudioProcessingParams, BaseMetadata$1 as BaseMetadata, BaseModelParams$1 as BaseModelParams, CacheKeyPrefix$1 as CacheKeyPrefix, ChannelClearedPayload$1 as ChannelClearedPayload, ChannelType$1 as ChannelType, Character$1 as Character, ChunkRow$1 as ChunkRow, Component$1 as Component, v2_ComponentData as ComponentData, Content$1 as Content, ContentType$1 as ContentType, ControlMessage$1 as ControlMessage, CustomMetadata$1 as CustomMetadata, v2_DatabaseAdapter as DatabaseAdapter, DbConnection$1 as DbConnection, v2_DeriveKeyAttestationData as DeriveKeyAttestationData, DescriptionMetadata$1 as DescriptionMetadata, DetokenizeTextParams$1 as DetokenizeTextParams, DirectoryItem$1 as DirectoryItem, DocumentMetadata$1 as DocumentMetadata, EmbeddingSearchResult$1 as EmbeddingSearchResult, EnhancedState$1 as EnhancedState, Entity$1 as Entity, EntityPayload$1 as EntityPayload, EvaluationExample$1 as EvaluationExample, Evaluator$1 as Evaluator, EvaluatorEventPayload$1 as EvaluatorEventPayload, v2_EventDataObject as EventDataObject, EventHandler$1 as EventHandler, EventPayload$1 as EventPayload, EventPayloadMap$1 as EventPayloadMap, EventType$1 as EventType, FragmentMetadata$1 as FragmentMetadata, GenerateTextParams$1 as GenerateTextParams, Handler$1 as Handler, HandlerCallback$1 as HandlerCallback, IAgentRuntime$1 as IAgentRuntime, IDatabaseAdapter$1 as IDatabaseAdapter, ImageDescriptionParams$1 as ImageDescriptionParams, ImageGenerationParams$1 as ImageGenerationParams, InvokePayload$1 as InvokePayload, IsValidServiceType$1 as IsValidServiceType, JSONSchema$1 as JSONSchema, KnowledgeItem$1 as KnowledgeItem, KnowledgeScope$1 as KnowledgeScope, Log$1 as Log, Media$1 as Media, Memory$1 as Memory, MemoryMetadata$1 as MemoryMetadata, MemoryRetrievalOptions$1 as MemoryRetrievalOptions, MemoryScope$1 as MemoryScope, MemorySearchOptions$1 as MemorySearchOptions, MemoryType$1 as MemoryType, MemoryTypeAlias$1 as MemoryTypeAlias, MessageExample$1 as MessageExample, MessageMemory$1 as MessageMemory, MessageMetadata$1 as MessageMetadata, MessagePayload$1 as MessagePayload, MessageReceivedHandlerParams$1 as MessageReceivedHandlerParams, v2_MetadataObject as MetadataObject, ModelEventPayload$1 as ModelEventPayload, ModelHandler$1 as ModelHandler, ModelParamsMap$1 as ModelParamsMap, ModelResultMap$1 as ModelResultMap, ModelType$1 as ModelType, ModelTypeName$1 as ModelTypeName, MultiRoomMemoryOptions$1 as MultiRoomMemoryOptions, ObjectGenerationParams$1 as ObjectGenerationParams, OnboardingConfig$1 as OnboardingConfig, Participant$1 as Participant, PlatformPrefix$1 as PlatformPrefix, Plugin$1 as Plugin, PluginEvents$1 as PluginEvents, Project$1 as Project, ProjectAgent$1 as ProjectAgent, Provider$1 as Provider, ProviderResult$1 as ProviderResult, Relationship$1 as Relationship, v2_RemoteAttestationMessage as RemoteAttestationMessage, v2_RemoteAttestationQuote as RemoteAttestationQuote, Role$1 as Role, Room$1 as Room, RoomMetadata$1 as RoomMetadata, Route$1 as Route, RunEventPayload$1 as RunEventPayload, RuntimeSettings$1 as RuntimeSettings, SOCKET_MESSAGE_TYPE$1 as SOCKET_MESSAGE_TYPE, v2_Semaphore as Semaphore, SendHandlerFunction$1 as SendHandlerFunction, type v2_ServerOwnershipState as ServerOwnershipState, Service$1 as Service, v2_ServiceBuilder as ServiceBuilder, ServiceClassMap$1 as ServiceClassMap, v2_ServiceConfig as ServiceConfig, type v2_ServiceDefinition as ServiceDefinition, ServiceError$1 as ServiceError, ServiceInstance$1 as ServiceInstance, ServiceRegistry$1 as ServiceRegistry, ServiceType$1 as ServiceType, ServiceTypeName$1 as ServiceTypeName, ServiceTypeRegistry$1 as ServiceTypeRegistry, ServiceTypeValue$1 as ServiceTypeValue, Setting$1 as Setting, State$1 as State, StateArray$1 as StateArray, StateObject$1 as StateObject, StateValue$1 as StateValue, v2_TEEMode as TEEMode, TargetInfo$1 as TargetInfo, Task$1 as Task, TaskMetadata$1 as TaskMetadata, TaskWorker$1 as TaskWorker, v2_TeeAgent as TeeAgent, v2_TeePluginConfig as TeePluginConfig, v2_TeeType as TeeType, v2_TeeVendorConfig as TeeVendorConfig, TemplateType$1 as TemplateType, TestCase$1 as TestCase, TestSuite$1 as TestSuite, TextEmbeddingParams$1 as TextEmbeddingParams, TextGenerationParams$1 as TextGenerationParams, TextToSpeechParams$1 as TextToSpeechParams, TokenizeTextParams$1 as TokenizeTextParams, TranscriptionParams$1 as TranscriptionParams, TypedEventHandler$1 as TypedEventHandler, TypedService$1 as TypedService, TypedServiceClass$1 as TypedServiceClass, UUID$1 as UUID, UnifiedMemoryOptions$1 as UnifiedMemoryOptions, UnifiedSearchOptions$1 as UnifiedSearchOptions, VECTOR_DIMS$1 as VECTOR_DIMS, Validator$1 as Validator, VideoProcessingParams$1 as VideoProcessingParams, World$1 as World, WorldPayload$1 as WorldPayload, WorldSettings$1 as WorldSettings, v2_addHeader as addHeader, asUUID$1 as asUUID, v2_booleanFooter as booleanFooter, v2_composeActionExamples as composeActionExamples, v2_composePrompt as composePrompt, v2_composePromptFromState as composePromptFromState, createMessageMemory$1 as createMessageMemory, v2_createService as createService, createServiceError$1 as createServiceError, v2_createSettingFromConfig as createSettingFromConfig, v2_createUniqueUuid as createUniqueUuid, v2_decryptObjectValues as decryptObjectValues, decryptStringValue as decryptSecret, v2_decryptStringValue as decryptStringValue, v2_decryptedCharacter as decryptedCharacter, v2_defineService as defineService, v2_elizaLogger as elizaLogger, v2_encryptObjectValues as encryptObjectValues, v2_encryptStringValue as encryptStringValue, v2_encryptedCharacter as encryptedCharacter, v2_findEntityByName as findEntityByName, v2_findWorldsForOwner as findWorldsForOwner, v2_formatActionNames as formatActionNames, v2_formatActions as formatActions, v2_formatEntities as formatEntities, v2_formatMessages as formatMessages, v2_formatPosts as formatPosts, v2_formatTimestamp as formatTimestamp, v2_getEntityDetails as getEntityDetails, getMemoryText$1 as getMemoryText, v2_getSalt as getSalt, getTypedService$1 as getTypedService, v2_getUserServerRole as getUserServerRole, v2_getWorldSettings as getWorldSettings, v2_imageDescriptionTemplate as imageDescriptionTemplate, v2_initializeOnboarding as initializeOnboarding, isCustomMetadata$1 as isCustomMetadata, isDescriptionMetadata$1 as isDescriptionMetadata, isDocumentMemory$1 as isDocumentMemory, isDocumentMetadata$1 as isDocumentMetadata, isFragmentMemory$1 as isFragmentMemory, isFragmentMetadata$1 as isFragmentMetadata, isMessageMetadata$1 as isMessageMetadata, v2_logger as logger, v2_messageHandlerTemplate as messageHandlerTemplate, v2_parseBooleanFromText as parseBooleanFromText, v2_parseJSONObjectFromText as parseJSONObjectFromText, v2_parseKeyValueXml as parseKeyValueXml, v2_postCreationTemplate as postCreationTemplate, v2_safeReplacer as safeReplacer, v2_saltSettingValue as saltSettingValue, v2_saltWorldSettings as saltWorldSettings, v2_shouldRespondTemplate as shouldRespondTemplate, v2_stringToUuid as stringToUuid, v2_trimTokens as trimTokens, v2_truncateToCompleteSentence as truncateToCompleteSentence, v2_unsaltSettingValue as unsaltSettingValue, v2_unsaltWorldSettings as unsaltWorldSettings, v2_updateWorldSettings as updateWorldSettings, v2_validateUuid as validateUuid };
|
|
3068
3064
|
}
|
|
3069
3065
|
|
|
3070
|
-
export { type FragmentMetadata as $, type Action as A, type WorldSettings as B, ContentType as C, v2 as D, type Entity as E, asUUID as F, type Media as G, type HandlerCallback as H, type IAgentRuntime as I, type StateValue as J, type StateObject as K, type Log as L, type Metadata as M, type StateArray as N, type OnboardingConfig as O, type Participant as P, type EnhancedState as Q, type Room as R, Service as S, type TemplateType as T, type UUID as U, type MemoryTypeAlias as V, type World as W, MemoryType as X, type MemoryScope as Y, type BaseMetadata as Z, type DocumentMetadata as _, type State as a, type UnifiedMemoryOptions as a$, type MessageMetadata as a0, type DescriptionMetadata as a1, type CustomMetadata as a2, type MessageMemory as a3, createMessageMemory as a4, isDocumentMetadata as a5, isFragmentMetadata as a6, isMessageMetadata as a7, isDescriptionMetadata as a8, isCustomMetadata as a9, type ServiceClassMap as aA, type ServiceInstance as aB, type ServiceRegistry as aC, ServiceType as aD, type TypedService as aE, getTypedService as aF, type ServiceError as aG, createServiceError as aH, ModelType as aI, type GenerateTextParams as aJ, type DetokenizeTextParams as aK, type BaseModelParams as aL, type TextGenerationParams as aM, type TextEmbeddingParams as aN, type TokenizeTextParams as aO, type ImageGenerationParams as aP, type ImageDescriptionParams as aQ, type TranscriptionParams as aR, type TextToSpeechParams as aS, type AudioProcessingParams as aT, type VideoProcessingParams as aU, type JSONSchema as aV, type ObjectGenerationParams as aW, type EmbeddingSearchResult as aX, type MemoryRetrievalOptions as aY, type MemorySearchOptions as aZ, type MultiRoomMemoryOptions as a_, isDocumentMemory as aa, isFragmentMemory as ab, getMemoryText as ac, type KnowledgeItem as ad, KnowledgeScope as ae, CacheKeyPrefix as af, type DirectoryItem as ag, type ChunkRow as ah, type RoomMetadata as ai, type MessageExample as aj, AgentStatus as ak, type ActionExample as al, type Handler as am, type Validator as an, type
|
|
3066
|
+
export { type FragmentMetadata as $, type Action as A, type WorldSettings as B, ContentType as C, v2 as D, type Entity as E, asUUID as F, type Media as G, type HandlerCallback as H, type IAgentRuntime as I, type StateValue as J, type StateObject as K, type Log as L, type Metadata as M, type StateArray as N, type OnboardingConfig as O, type Participant as P, type EnhancedState as Q, type Room as R, Service as S, type TemplateType as T, type UUID as U, type MemoryTypeAlias as V, type World as W, MemoryType as X, type MemoryScope as Y, type BaseMetadata as Z, type DocumentMetadata as _, type State as a, type UnifiedMemoryOptions as a$, type MessageMetadata as a0, type DescriptionMetadata as a1, type CustomMetadata as a2, type MessageMemory as a3, createMessageMemory as a4, isDocumentMetadata as a5, isFragmentMetadata as a6, isMessageMetadata as a7, isDescriptionMetadata as a8, isCustomMetadata as a9, type ServiceClassMap as aA, type ServiceInstance as aB, type ServiceRegistry as aC, ServiceType as aD, type TypedService as aE, getTypedService as aF, type ServiceError as aG, createServiceError as aH, ModelType as aI, type GenerateTextParams as aJ, type DetokenizeTextParams as aK, type BaseModelParams as aL, type TextGenerationParams as aM, type TextEmbeddingParams as aN, type TokenizeTextParams as aO, type ImageGenerationParams as aP, type ImageDescriptionParams as aQ, type TranscriptionParams as aR, type TextToSpeechParams as aS, type AudioProcessingParams as aT, type VideoProcessingParams as aU, type JSONSchema as aV, type ObjectGenerationParams as aW, type EmbeddingSearchResult as aX, type MemoryRetrievalOptions as aY, type MemorySearchOptions as aZ, type MultiRoomMemoryOptions as a_, isDocumentMemory as aa, isFragmentMemory as ab, getMemoryText as ac, type KnowledgeItem as ad, KnowledgeScope as ae, CacheKeyPrefix as af, type DirectoryItem as ag, type ChunkRow as ah, type RoomMetadata as ai, type MessageExample as aj, AgentStatus as ak, type ActionExample as al, type Handler as am, type Validator as an, type EvaluationExample as ao, type ProviderResult as ap, type ActionResult as aq, type ActionContext as ar, createActionResult as as, type PluginEvents as at, type ProjectAgent as au, type Project as av, type ServiceTypeRegistry as aw, type ServiceTypeValue as ax, type IsValidServiceType as ay, type TypedServiceClass as az, type Memory as b, composePrompt as b$, type UnifiedSearchOptions as b0, type DbConnection as b1, VECTOR_DIMS as b2, EventType as b3, PlatformPrefix as b4, type EventPayload as b5, type WorldPayload as b6, type EntityPayload as b7, type MessagePayload as b8, type ChannelClearedPayload as b9, logger as bA, elizaLogger as bB, shouldRespondTemplate as bC, messageHandlerTemplate as bD, postCreationTemplate as bE, booleanFooter as bF, imageDescriptionTemplate as bG, type ServerOwnershipState as bH, getUserServerRole as bI, findWorldsForOwner as bJ, Semaphore as bK, AgentRuntime as bL, decryptStringValue as bM, createSettingFromConfig as bN, getSalt as bO, encryptStringValue as bP, saltSettingValue as bQ, unsaltSettingValue as bR, saltWorldSettings as bS, unsaltWorldSettings as bT, updateWorldSettings as bU, getWorldSettings as bV, initializeOnboarding as bW, encryptedCharacter as bX, decryptedCharacter as bY, encryptObjectValues as bZ, decryptObjectValues as b_, type InvokePayload as ba, type RunEventPayload as bb, type ActionEventPayload as bc, type EvaluatorEventPayload as bd, type ModelEventPayload as be, type MessageReceivedHandlerParams as bf, type EventPayloadMap as bg, type EventHandler as bh, type TypedEventHandler as bi, type TaskMetadata as bj, SOCKET_MESSAGE_TYPE as bk, type ControlMessage as bl, type TestCase as bm, type TestSuite as bn, ServiceBuilder$1 as bo, createService$1 as bp, type ServiceDefinition$1 as bq, defineService$1 as br, composeActionExamples as bs, formatActionNames as bt, formatActions as bu, DatabaseAdapter as bv, findEntityByName as bw, createUniqueUuid as bx, getEntityDetails as by, formatEntities as bz, type Character as c, composePromptFromState as c0, addHeader as c1, formatPosts as c2, formatMessages as c3, formatTimestamp as c4, validateUuid as c5, stringToUuid as c6, truncateToCompleteSentence as c7, parseKeyValueXml as c8, parseJSONObjectFromText as c9, parseBooleanFromText as ca, safeReplacer as cb, trimTokens as cc, ServiceBuilder as cd, createService as ce, type ServiceDefinition as cf, defineService as cg, type IDatabaseAdapter as d, type Component as e, type MemoryMetadata as f, type Relationship as g, type Agent as h, type Task as i, Role as j, type Evaluator as k, type Provider as l, type Plugin as m, type ServiceTypeName as n, type ModelHandler as o, type Route as p, type RuntimeSettings as q, ChannelType as r, type ModelTypeName as s, type ModelResultMap as t, type ModelParamsMap as u, type TaskWorker as v, type SendHandlerFunction as w, type TargetInfo as x, type Content as y, type Setting as z };
|