@elizaos/core 2.0.0-alpha.206 → 2.0.0-alpha.208
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/action-docs.d.ts +1 -1
- package/dist/actions.d.ts +1 -1
- package/dist/character-utils.d.ts +2 -2
- package/dist/character.d.ts +1 -1
- package/dist/connection.d.ts +3 -3
- package/dist/constants/index.d.ts +1 -1
- package/dist/database/inMemoryAdapter.d.ts +2 -2
- package/dist/database.d.ts +5 -5
- package/dist/entities.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/addContact.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/followRoom.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/imageGeneration.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/index.d.ts +15 -15
- package/dist/features/advanced-capabilities/actions/muteRoom.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/removeContact.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/roles.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/scheduleFollowUp.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/searchContacts.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/sendMessage.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/settings.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/think.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/unfollowRoom.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/unmuteRoom.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/updateContact.d.ts +1 -1
- package/dist/features/advanced-capabilities/actions/updateEntity.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/append.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/delete.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/list.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/read-attachment.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/read-file.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/read.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/remove-from-clipboard.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/search.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/actions/write.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/index.d.ts +15 -15
- package/dist/features/advanced-capabilities/clipboard/providers/clipboard.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/services/attachmentContext.d.ts +1 -1
- package/dist/features/advanced-capabilities/clipboard/services/clipboardService.d.ts +2 -2
- package/dist/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts +2 -2
- package/dist/features/advanced-capabilities/clipboard/services/taskClipboardService.d.ts +2 -2
- package/dist/features/advanced-capabilities/evaluators/factRefinement.d.ts +1 -1
- package/dist/features/advanced-capabilities/evaluators/index.d.ts +5 -5
- package/dist/features/advanced-capabilities/evaluators/reflection.d.ts +1 -1
- package/dist/features/advanced-capabilities/evaluators/relationshipExtraction.d.ts +1 -1
- package/dist/features/advanced-capabilities/evaluators/skillExtraction.d.ts +1 -1
- package/dist/features/advanced-capabilities/evaluators/skillRefinement.d.ts +1 -1
- package/dist/features/advanced-capabilities/evaluators/task-completion.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/actions/record-experience.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/evaluators/experienceEvaluator.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/generated/specs/spec-helpers.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/index.d.ts +5 -5
- package/dist/features/advanced-capabilities/experience/providers/experienceProvider.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/service.d.ts +3 -3
- package/dist/features/advanced-capabilities/experience/types.d.ts +2 -2
- package/dist/features/advanced-capabilities/experience/utils/confidenceDecay.d.ts +1 -1
- package/dist/features/advanced-capabilities/experience/utils/experienceRelationships.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/actions/restore.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/builder.d.ts +2 -2
- package/dist/features/advanced-capabilities/form/builtins.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/defaults.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/evaluators/extractor.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/extraction.d.ts +3 -3
- package/dist/features/advanced-capabilities/form/index.d.ts +15 -15
- package/dist/features/advanced-capabilities/form/intent.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/providers/context.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/service.d.ts +3 -3
- package/dist/features/advanced-capabilities/form/storage.d.ts +2 -2
- package/dist/features/advanced-capabilities/form/template.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/ttl.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/types.d.ts +1 -1
- package/dist/features/advanced-capabilities/form/validation.d.ts +2 -2
- package/dist/features/advanced-capabilities/index.d.ts +8 -8
- package/dist/features/advanced-capabilities/personality/actions/modify-character.d.ts +1 -1
- package/dist/features/advanced-capabilities/personality/evaluators/character-evolution.d.ts +1 -1
- package/dist/features/advanced-capabilities/personality/index.d.ts +5 -5
- package/dist/features/advanced-capabilities/personality/providers/user-personality.d.ts +1 -1
- package/dist/features/advanced-capabilities/personality/services/character-file-manager.d.ts +2 -2
- package/dist/features/advanced-capabilities/providers/contacts.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/facts.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/followUps.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/index.d.ts +7 -7
- package/dist/features/advanced-capabilities/providers/knowledge.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/relationships.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/roles.d.ts +1 -1
- package/dist/features/advanced-capabilities/providers/settings.d.ts +1 -1
- package/dist/features/advanced-memory/evaluators/index.d.ts +2 -2
- package/dist/features/advanced-memory/evaluators/long-term-extraction.d.ts +1 -1
- package/dist/features/advanced-memory/evaluators/summarization.d.ts +1 -1
- package/dist/features/advanced-memory/index.d.ts +6 -6
- package/dist/features/advanced-memory/prompts.d.ts +1 -1
- package/dist/features/advanced-memory/providers/context-summary.d.ts +1 -1
- package/dist/features/advanced-memory/providers/index.d.ts +2 -2
- package/dist/features/advanced-memory/providers/long-term-memory.d.ts +1 -1
- package/dist/features/advanced-memory/schemas/index.d.ts +4 -4
- package/dist/features/advanced-memory/schemas/long-term-memories.d.ts +1 -1
- package/dist/features/advanced-memory/schemas/memory-access-logs.d.ts +1 -1
- package/dist/features/advanced-memory/schemas/session-summaries.d.ts +1 -1
- package/dist/features/advanced-memory/services/memory-service.d.ts +2 -2
- package/dist/features/advanced-memory/trajectory.d.ts +1 -1
- package/dist/features/advanced-memory/types.d.ts +1 -1
- package/dist/features/advanced-planning/actions/chain-example.d.ts +1 -1
- package/dist/features/advanced-planning/index.d.ts +3 -3
- package/dist/features/advanced-planning/providers/message-classifier.d.ts +1 -1
- package/dist/features/advanced-planning/services/planning-service.d.ts +2 -2
- package/dist/features/advanced-planning/types.d.ts +1 -1
- package/dist/features/autonomy/action.d.ts +1 -1
- package/dist/features/autonomy/execution-facade.d.ts +1 -1
- package/dist/features/autonomy/index.d.ts +5 -5
- package/dist/features/autonomy/providers.d.ts +1 -1
- package/dist/features/autonomy/routes.d.ts +1 -1
- package/dist/features/autonomy/service.d.ts +3 -3
- package/dist/features/autonomy/types.d.ts +1 -1
- package/dist/features/basic-capabilities/actions/choice.d.ts +1 -1
- package/dist/features/basic-capabilities/actions/ignore.d.ts +1 -1
- package/dist/features/basic-capabilities/actions/index.d.ts +4 -4
- package/dist/features/basic-capabilities/actions/none.d.ts +1 -1
- package/dist/features/basic-capabilities/actions/reply.d.ts +1 -1
- package/dist/features/basic-capabilities/index.d.ts +11 -11
- package/dist/features/basic-capabilities/providers/actionState.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/actions.d.ts +6 -6
- package/dist/features/basic-capabilities/providers/attachments.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/character.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/choice.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/contextBench.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/currentTime.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/entities.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/evaluators.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/index.d.ts +13 -13
- package/dist/features/basic-capabilities/providers/non-actionable-chatter.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/providers.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/recentMessages.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/time.d.ts +1 -1
- package/dist/features/basic-capabilities/providers/world.d.ts +1 -1
- package/dist/features/index.d.ts +7 -7
- package/dist/features/knowledge/actions.d.ts +1 -1
- package/dist/features/knowledge/config.d.ts +2 -2
- package/dist/features/knowledge/docs-loader.d.ts +2 -2
- package/dist/features/knowledge/document-processor.d.ts +1 -1
- package/dist/features/knowledge/documents-provider.d.ts +1 -1
- package/dist/features/knowledge/index.d.ts +6 -6
- package/dist/features/knowledge/llm.d.ts +2 -2
- package/dist/features/knowledge/provider.d.ts +1 -1
- package/dist/features/knowledge/service.d.ts +3 -3
- package/dist/features/knowledge/types.d.ts +1 -1
- package/dist/features/plugin-manager/actions/coreStatusAction.d.ts +1 -1
- package/dist/features/plugin-manager/actions/listEjectedPluginsAction.d.ts +1 -1
- package/dist/features/plugin-manager/actions/searchPluginAction.d.ts +1 -1
- package/dist/features/plugin-manager/coreExtensions.d.ts +1 -1
- package/dist/features/plugin-manager/index.d.ts +21 -21
- package/dist/features/plugin-manager/providers/pluginConfigurationStatus.d.ts +1 -1
- package/dist/features/plugin-manager/providers/pluginStateProvider.d.ts +1 -1
- package/dist/features/plugin-manager/providers/registryPluginsProvider.d.ts +1 -1
- package/dist/features/plugin-manager/providers/relevance.d.ts +2 -2
- package/dist/features/plugin-manager/services/coreManagerService.d.ts +3 -3
- package/dist/features/plugin-manager/services/pluginConfigurationService.d.ts +3 -3
- package/dist/features/plugin-manager/services/pluginManagerService.d.ts +6 -6
- package/dist/features/plugin-manager/services/pluginRegistryService.d.ts +1 -1
- package/dist/features/plugin-manager/types.d.ts +3 -3
- package/dist/features/secrets/actions/index.d.ts +3 -3
- package/dist/features/secrets/actions/manage-secret.d.ts +1 -1
- package/dist/features/secrets/actions/request-secret.d.ts +1 -1
- package/dist/features/secrets/actions/set-secret.d.ts +1 -1
- package/dist/features/secrets/crypto/encryption.d.ts +1 -1
- package/dist/features/secrets/crypto/index.d.ts +1 -1
- package/dist/features/secrets/onboarding/action.d.ts +1 -1
- package/dist/features/secrets/onboarding/config.d.ts +1 -1
- package/dist/features/secrets/onboarding/index.d.ts +4 -4
- package/dist/features/secrets/onboarding/provider.d.ts +1 -1
- package/dist/features/secrets/onboarding/service.d.ts +4 -4
- package/dist/features/secrets/providers/index.d.ts +1 -1
- package/dist/features/secrets/providers/secrets-status.d.ts +1 -1
- package/dist/features/secrets/services/plugin-activator.d.ts +2 -2
- package/dist/features/secrets/services/secrets.d.ts +4 -4
- package/dist/features/secrets/storage/character-store.d.ts +4 -4
- package/dist/features/secrets/storage/component-store.d.ts +4 -4
- package/dist/features/secrets/storage/index.d.ts +6 -6
- package/dist/features/secrets/storage/interface.d.ts +1 -1
- package/dist/features/secrets/storage/memory-store.d.ts +2 -2
- package/dist/features/secrets/storage/world-store.d.ts +4 -4
- package/dist/features/secrets/validation.d.ts +1 -1
- package/dist/features/trajectories/TrajectoriesService.d.ts +3 -3
- package/dist/features/trajectories/action-interceptor.d.ts +3 -3
- package/dist/features/trajectories/art-format.d.ts +1 -1
- package/dist/features/trajectories/export.d.ts +1 -1
- package/dist/features/trajectories/game-rewards.d.ts +1 -1
- package/dist/features/trajectories/index.d.ts +10 -10
- package/dist/features/trajectories/integration.d.ts +2 -2
- package/dist/features/trajectories/reward-service.d.ts +1 -1
- package/dist/features/trajectories/types.d.ts +1 -1
- package/dist/features/trust/actions/evaluateTrust.d.ts +1 -1
- package/dist/features/trust/actions/hasTrustEngine.d.ts +1 -1
- package/dist/features/trust/actions/index.d.ts +5 -5
- package/dist/features/trust/actions/recordTrustInteraction.d.ts +1 -1
- package/dist/features/trust/actions/requestElevation.d.ts +1 -1
- package/dist/features/trust/actions/roles.d.ts +1 -1
- package/dist/features/trust/actions/settings.d.ts +1 -1
- package/dist/features/trust/evaluators/index.d.ts +3 -3
- package/dist/features/trust/evaluators/reflection.d.ts +1 -1
- package/dist/features/trust/evaluators/securityEvaluator.d.ts +1 -1
- package/dist/features/trust/evaluators/trustChangeEvaluator.d.ts +1 -1
- package/dist/features/trust/index.d.ts +13 -13
- package/dist/features/trust/providers/adminTrust.d.ts +1 -1
- package/dist/features/trust/providers/index.d.ts +5 -5
- package/dist/features/trust/providers/roles.d.ts +1 -1
- package/dist/features/trust/providers/securityStatus.d.ts +1 -1
- package/dist/features/trust/providers/settings.d.ts +1 -1
- package/dist/features/trust/providers/trustProfile.d.ts +1 -1
- package/dist/features/trust/services/ContextualPermissionSystem.d.ts +4 -4
- package/dist/features/trust/services/CredentialProtector.d.ts +3 -3
- package/dist/features/trust/services/SecurityModule.d.ts +3 -3
- package/dist/features/trust/services/SecurityStore.d.ts +2 -2
- package/dist/features/trust/services/TrustEngine.d.ts +2 -2
- package/dist/features/trust/services/adminContext.d.ts +1 -1
- package/dist/features/trust/services/db.d.ts +1 -1
- package/dist/features/trust/services/wrappers.d.ts +8 -8
- package/dist/features/trust/types/permissions.d.ts +2 -2
- package/dist/features/trust/types/security.d.ts +2 -2
- package/dist/features/trust/types/trust.d.ts +1 -1
- package/dist/generated/spec-helpers.d.ts +1 -1
- package/dist/i18n/validation-keywords.d.ts +2 -2
- package/dist/index.browser.d.ts +32 -32
- package/dist/index.node.d.ts +70 -70
- package/dist/memory.d.ts +1 -1
- package/dist/plugin-lifecycle.d.ts +2 -2
- package/dist/plugin.d.ts +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/native-features.d.ts +5 -5
- package/dist/providers/onboarding-progress.d.ts +1 -1
- package/dist/provisioning.d.ts +3 -3
- package/dist/roles.d.ts +1 -1
- package/dist/runtime-composition.d.ts +3 -3
- package/dist/runtime.d.ts +13 -13
- package/dist/schemas/agent.d.ts +1 -1
- package/dist/schemas/cache.d.ts +1 -1
- package/dist/schemas/channel-participant.d.ts +1 -1
- package/dist/schemas/channel.d.ts +1 -1
- package/dist/schemas/character.d.ts +1 -1
- package/dist/schemas/component.d.ts +1 -1
- package/dist/schemas/embedding.d.ts +1 -1
- package/dist/schemas/entity-identity.d.ts +1 -1
- package/dist/schemas/entity.d.ts +1 -1
- package/dist/schemas/index.d.ts +24 -24
- package/dist/schemas/log.d.ts +1 -1
- package/dist/schemas/memory.d.ts +1 -1
- package/dist/schemas/message-server-agent.d.ts +1 -1
- package/dist/schemas/message-server.d.ts +1 -1
- package/dist/schemas/message.d.ts +1 -1
- package/dist/schemas/pairing-allowlist.d.ts +1 -1
- package/dist/schemas/pairing-request.d.ts +1 -1
- package/dist/schemas/participant.d.ts +1 -1
- package/dist/schemas/relationship.d.ts +1 -1
- package/dist/schemas/room.d.ts +1 -1
- package/dist/schemas/server.d.ts +1 -1
- package/dist/schemas/task.d.ts +1 -1
- package/dist/schemas/world.d.ts +1 -1
- package/dist/secrets.d.ts +1 -1
- package/dist/services/agentEvent.d.ts +4 -4
- package/dist/services/approval.d.ts +2 -2
- package/dist/services/embedding.d.ts +2 -2
- package/dist/services/followUp.d.ts +5 -5
- package/dist/services/hook.d.ts +4 -4
- package/dist/services/message.d.ts +6 -6
- package/dist/services/onboarding-cli.d.ts +2 -2
- package/dist/services/onboarding-rpc.d.ts +2 -2
- package/dist/services/onboarding-state.d.ts +2 -2
- package/dist/services/pairing-integration.d.ts +3 -3
- package/dist/services/pairing-migration.d.ts +2 -2
- package/dist/services/pairing.d.ts +3 -3
- package/dist/services/plugin-hooks.d.ts +2 -2
- package/dist/services/relationships.d.ts +4 -4
- package/dist/services/task-scheduler.d.ts +4 -4
- package/dist/services/task.d.ts +4 -4
- package/dist/services/tool-policy.d.ts +3 -3
- package/dist/services/trajectories.d.ts +1 -1
- package/dist/services.d.ts +2 -2
- package/dist/settings.d.ts +1 -1
- package/dist/streaming-context.d.ts +1 -1
- package/dist/trajectory-utils.d.ts +1 -1
- package/dist/types/agent.d.ts +3 -3
- package/dist/types/agentEvent.d.ts +1 -1
- package/dist/types/components.d.ts +4 -4
- package/dist/types/database.d.ts +8 -8
- package/dist/types/environment.d.ts +2 -2
- package/dist/types/events.d.ts +8 -8
- package/dist/types/hook.d.ts +2 -2
- package/dist/types/index.d.ts +39 -39
- package/dist/types/knowledge.d.ts +1 -1
- package/dist/types/memory-storage.d.ts +2 -2
- package/dist/types/memory.d.ts +1 -1
- package/dist/types/message-service.d.ts +7 -7
- package/dist/types/messaging.d.ts +4 -4
- package/dist/types/model.d.ts +2 -2
- package/dist/types/onboarding.d.ts +1 -1
- package/dist/types/pairing.d.ts +1 -1
- package/dist/types/pipeline-hooks.d.ts +5 -5
- package/dist/types/plugin-manifest.d.ts +1 -1
- package/dist/types/plugin-store.d.ts +1 -1
- package/dist/types/plugin.d.ts +9 -9
- package/dist/types/prompt-batcher.d.ts +5 -5
- package/dist/types/prompt-optimization-hooks.d.ts +3 -3
- package/dist/types/prompt-optimization-score-card.d.ts +1 -1
- package/dist/types/prompt-optimization-trace.d.ts +1 -1
- package/dist/types/runtime.d.ts +31 -31
- package/dist/types/schema-builder.d.ts +1 -1
- package/dist/types/service-interfaces.d.ts +2 -2
- package/dist/types/service.d.ts +2 -2
- package/dist/types/state.d.ts +2 -2
- package/dist/types/task.d.ts +5 -5
- package/dist/types/testing.d.ts +1 -1
- package/dist/types/tools.d.ts +2 -2
- package/dist/types/trigger.d.ts +1 -1
- package/dist/utils/batch-queue/semaphore.d.ts +1 -1
- package/dist/utils/context-catalog.d.ts +1 -1
- package/dist/utils/context-routing.d.ts +3 -3
- package/dist/utils/node.d.ts +2 -2
- package/dist/utils/prompt-batcher/batcher.d.ts +6 -6
- package/dist/utils/prompt-batcher/dispatcher.d.ts +3 -3
- package/dist/utils/prompt-batcher/shared.d.ts +5 -5
- package/dist/utils/prompt-batcher.d.ts +1 -1
- package/dist/utils/streaming.d.ts +5 -5
- package/dist/utils/toon.d.ts +1 -1
- package/dist/utils.d.ts +6 -6
- package/dist/validation/index.d.ts +2 -2
- package/dist/validation/keywords.d.ts +1 -1
- package/package.json +3 -3
package/dist/action-docs.d.ts
CHANGED
package/dist/actions.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Action, ActionParameter, ActionParameters } from "./types";
|
|
1
|
+
import type { Action, ActionParameter, ActionParameters } from "./types/index.js";
|
|
2
2
|
export declare const composeActionExamples: (actionsData: Action[], count: number, seed?: string) => string;
|
|
3
3
|
/**
|
|
4
4
|
* Render canonical action-call examples (including <params> blocks).
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
*
|
|
10
10
|
* @module character-utils
|
|
11
11
|
*/
|
|
12
|
-
import { CHANNEL_SECRETS, resolveSecretKeyAlias, SECRET_KEY_ALIASES } from "./constants/secrets";
|
|
13
|
-
import type { Character } from "./types";
|
|
12
|
+
import { CHANNEL_SECRETS, resolveSecretKeyAlias, SECRET_KEY_ALIASES } from "./constants/secrets.js";
|
|
13
|
+
import type { Character } from "./types/index.js";
|
|
14
14
|
/**
|
|
15
15
|
* Mapping of model provider names to their corresponding API key environment variables.
|
|
16
16
|
* Re-exported from constants/secrets for backward compatibility.
|
package/dist/character.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Character, CharacterSettings, KnowledgeSourceItem, MessageExample, MessageExampleGroup } from "./types";
|
|
1
|
+
import type { Character, CharacterSettings, KnowledgeSourceItem, MessageExample, MessageExampleGroup } from "./types/index.js";
|
|
2
2
|
type LegacyKnowledgeItem = string | {
|
|
3
3
|
path: string;
|
|
4
4
|
shared?: boolean;
|
package/dist/connection.d.ts
CHANGED
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* WHY standalone + batch: Callers can ensure many connections in one go without going through
|
|
8
8
|
* the runtime; batch APIs reduce DB round-trips. Safe to use from both Node and edge entry points.
|
|
9
9
|
*/
|
|
10
|
-
import type { JsonValue, UUID } from "./types";
|
|
11
|
-
import { ChannelType } from "./types";
|
|
12
|
-
import type { IDatabaseAdapter } from "./types/database";
|
|
10
|
+
import type { JsonValue, UUID } from "./types/index.js";
|
|
11
|
+
import { ChannelType } from "./types/index.js";
|
|
12
|
+
import type { IDatabaseAdapter } from "./types/database.js";
|
|
13
13
|
export interface EnsureConnectionParams {
|
|
14
14
|
agentId: UUID;
|
|
15
15
|
entityId: UUID;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DatabaseAdapter } from "../database";
|
|
2
|
-
import type { Agent, Component, EntitiesForRoomsResult, Entity, IDatabaseAdapter, Log, LogBody, Memory, MemoryMetadata, Metadata, PairingAllowlistEntry, PairingAllowlistsResult, PairingChannel, PairingRequest, PairingRequestsResult, Participant, ParticipantsForRoomsResult, ParticipantUpdateFields, ParticipantUserState, PatchOp, Relationship, Room, Task, UUID, World } from "../types";
|
|
1
|
+
import { DatabaseAdapter } from "../database.js";
|
|
2
|
+
import type { Agent, Component, EntitiesForRoomsResult, Entity, IDatabaseAdapter, Log, LogBody, Memory, MemoryMetadata, Metadata, PairingAllowlistEntry, PairingAllowlistsResult, PairingChannel, PairingRequest, PairingRequestsResult, Participant, ParticipantsForRoomsResult, ParticipantUpdateFields, ParticipantUserState, PatchOp, Relationship, Room, Task, UUID, World } from "../types/index.js";
|
|
3
3
|
/**
|
|
4
4
|
* In-memory database adapter.
|
|
5
5
|
*
|
package/dist/database.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Agent, Component, Entity, IDatabaseAdapter, JsonValue, Log, LogBody, Memory, MemoryMetadata, Metadata, PairingAllowlistEntry, PairingChannel, PairingRequest, Participant, ParticipantUpdateFields, ParticipantUserState, PatchOp, Relationship, Room, Task, UUID, World } from "./types";
|
|
1
|
+
import type { Agent, Component, Entity, IDatabaseAdapter, JsonValue, Log, LogBody, Memory, MemoryMetadata, Metadata, PairingAllowlistEntry, PairingChannel, PairingRequest, Participant, ParticipantUpdateFields, ParticipantUserState, PatchOp, Relationship, Room, Task, UUID, World } from "./types/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Abstract base class for database adapters.
|
|
4
4
|
*
|
|
@@ -69,7 +69,7 @@ export declare abstract class DatabaseAdapter<DB extends object = object> implem
|
|
|
69
69
|
abstract transaction<T>(callback: (tx: IDatabaseAdapter<DB>) => Promise<T>, options?: {
|
|
70
70
|
entityContext?: UUID;
|
|
71
71
|
}): Promise<T>;
|
|
72
|
-
abstract getEntitiesForRooms(roomIds: UUID[], includeComponents?: boolean): Promise<import("./types").EntitiesForRoomsResult>;
|
|
72
|
+
abstract getEntitiesForRooms(roomIds: UUID[], includeComponents?: boolean): Promise<import("./types/index.js").EntitiesForRoomsResult>;
|
|
73
73
|
/**
|
|
74
74
|
* Creates a new entities in the database.
|
|
75
75
|
* @param entities The entity objects to create.
|
|
@@ -315,7 +315,7 @@ export declare abstract class DatabaseAdapter<DB extends object = object> implem
|
|
|
315
315
|
abstract updateRooms(rooms: Room[]): Promise<void>;
|
|
316
316
|
abstract deleteRooms(roomIds: UUID[]): Promise<void>;
|
|
317
317
|
abstract getParticipantsForEntities(entityIds: UUID[]): Promise<Participant[]>;
|
|
318
|
-
abstract getParticipantsForRooms(roomIds: UUID[]): Promise<import("./types").ParticipantsForRoomsResult>;
|
|
318
|
+
abstract getParticipantsForRooms(roomIds: UUID[]): Promise<import("./types/index.js").ParticipantsForRoomsResult>;
|
|
319
319
|
abstract areRoomParticipants(pairs: Array<{
|
|
320
320
|
roomId: UUID;
|
|
321
321
|
entityId: UUID;
|
|
@@ -411,11 +411,11 @@ export declare abstract class DatabaseAdapter<DB extends object = object> implem
|
|
|
411
411
|
abstract getPairingRequests(queries: Array<{
|
|
412
412
|
channel: PairingChannel;
|
|
413
413
|
agentId: UUID;
|
|
414
|
-
}>): Promise<import("./types").PairingRequestsResult>;
|
|
414
|
+
}>): Promise<import("./types/index.js").PairingRequestsResult>;
|
|
415
415
|
abstract getPairingAllowlists(queries: Array<{
|
|
416
416
|
channel: PairingChannel;
|
|
417
417
|
agentId: UUID;
|
|
418
|
-
}>): Promise<import("./types").PairingAllowlistsResult>;
|
|
418
|
+
}>): Promise<import("./types/index.js").PairingAllowlistsResult>;
|
|
419
419
|
abstract createPairingRequests(requests: PairingRequest[]): Promise<UUID[]>;
|
|
420
420
|
abstract updatePairingRequests(requests: PairingRequest[]): Promise<void>;
|
|
421
421
|
abstract deletePairingRequests(ids: UUID[]): Promise<void>;
|
package/dist/entities.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Entity, type IAgentRuntime, type Memory, type State, type UUID } from "./types";
|
|
1
|
+
import { type Entity, type IAgentRuntime, type Memory, type State, type UUID } from "./types/index.js";
|
|
2
2
|
export declare function findEntityByName(runtime: IAgentRuntime, message: Memory, state: State): Promise<Entity | null>;
|
|
3
3
|
export declare const createUniqueUuid: (runtime: IAgentRuntime, baseUserId: UUID | string) => UUID;
|
|
4
4
|
export declare function getEntityDetails({ runtime, roomId, }: {
|
|
@@ -3,19 +3,19 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Extended actions that can be enabled with `advancedCapabilities: true`.
|
|
5
5
|
*/
|
|
6
|
-
export { addContactAction } from "./addContact.
|
|
7
|
-
export { followRoomAction } from "./followRoom.
|
|
8
|
-
export { generateImageAction } from "./imageGeneration.
|
|
9
|
-
export { muteRoomAction } from "./muteRoom.
|
|
10
|
-
export { removeContactAction } from "./removeContact.
|
|
11
|
-
export { updateRoleAction } from "./roles.
|
|
12
|
-
export { scheduleFollowUpAction } from "./scheduleFollowUp.
|
|
13
|
-
export { searchContactsAction } from "./searchContacts.
|
|
14
|
-
export { sendMessageAction } from "./sendMessage.
|
|
15
|
-
export { updateSettingsAction } from "./settings.
|
|
16
|
-
export { thinkAction } from "./think.
|
|
17
|
-
export { unfollowRoomAction } from "./unfollowRoom.
|
|
18
|
-
export { unmuteRoomAction } from "./unmuteRoom.
|
|
19
|
-
export { updateContactAction } from "./updateContact.
|
|
20
|
-
export { updateEntityAction } from "./updateEntity.
|
|
6
|
+
export { addContactAction } from "./addContact.js";
|
|
7
|
+
export { followRoomAction } from "./followRoom.js";
|
|
8
|
+
export { generateImageAction } from "./imageGeneration.js";
|
|
9
|
+
export { muteRoomAction } from "./muteRoom.js";
|
|
10
|
+
export { removeContactAction } from "./removeContact.js";
|
|
11
|
+
export { updateRoleAction } from "./roles.js";
|
|
12
|
+
export { scheduleFollowUpAction } from "./scheduleFollowUp.js";
|
|
13
|
+
export { searchContactsAction } from "./searchContacts.js";
|
|
14
|
+
export { sendMessageAction } from "./sendMessage.js";
|
|
15
|
+
export { updateSettingsAction } from "./settings.js";
|
|
16
|
+
export { thinkAction } from "./think.js";
|
|
17
|
+
export { unfollowRoomAction } from "./unfollowRoom.js";
|
|
18
|
+
export { unmuteRoomAction } from "./unmuteRoom.js";
|
|
19
|
+
export { updateContactAction } from "./updateContact.js";
|
|
20
|
+
export { updateEntityAction } from "./updateEntity.js";
|
|
21
21
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Action } from "../../../../types/index.
|
|
1
|
+
import { type Action } from "../../../../types/index.js";
|
|
2
2
|
export declare const removeFromClipboardAction: Action;
|
|
3
3
|
export default removeFromClipboardAction;
|
|
4
4
|
//# sourceMappingURL=remove-from-clipboard.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Plugin } from "../../../types/index.
|
|
1
|
+
import type { Plugin } from "../../../types/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Clipboard Plugin for ElizaOS
|
|
4
4
|
*
|
|
@@ -22,18 +22,18 @@ import type { Plugin } from "../../../types/index.ts";
|
|
|
22
22
|
*/
|
|
23
23
|
export declare const clipboardPlugin: Plugin;
|
|
24
24
|
export default clipboardPlugin;
|
|
25
|
-
export { clipboardAppendAction } from "./actions/append.
|
|
26
|
-
export { clipboardDeleteAction } from "./actions/delete.
|
|
27
|
-
export { clipboardListAction } from "./actions/list.
|
|
28
|
-
export { clipboardReadAction } from "./actions/read.
|
|
29
|
-
export { readAttachmentAction } from "./actions/read-attachment.
|
|
30
|
-
export { readFileAction } from "./actions/read-file.
|
|
31
|
-
export { removeFromClipboardAction } from "./actions/remove-from-clipboard.
|
|
32
|
-
export { clipboardSearchAction } from "./actions/search.
|
|
33
|
-
export { clipboardWriteAction } from "./actions/write.
|
|
34
|
-
export { clipboardProvider } from "./providers/clipboard.
|
|
35
|
-
export { ClipboardService, createClipboardService, } from "./services/clipboardService.
|
|
36
|
-
export { maybeStoreTaskClipboardItem, resolveClipboardTitle, shouldAddToClipboard, type TaskClipboardPersistenceResult, } from "./services/taskClipboardPersistence.
|
|
37
|
-
export { createTaskClipboardService, TaskClipboardService, } from "./services/taskClipboardService.
|
|
38
|
-
export type { AddTaskClipboardItemInput, ClipboardConfig, ClipboardEntry, ClipboardReadOptions, ClipboardSearchOptions, ClipboardSearchResult, ClipboardWriteOptions, TaskClipboardItem, TaskClipboardSnapshot, TaskClipboardSourceType, } from "./types.
|
|
25
|
+
export { clipboardAppendAction } from "./actions/append.js";
|
|
26
|
+
export { clipboardDeleteAction } from "./actions/delete.js";
|
|
27
|
+
export { clipboardListAction } from "./actions/list.js";
|
|
28
|
+
export { clipboardReadAction } from "./actions/read.js";
|
|
29
|
+
export { readAttachmentAction } from "./actions/read-attachment.js";
|
|
30
|
+
export { readFileAction } from "./actions/read-file.js";
|
|
31
|
+
export { removeFromClipboardAction } from "./actions/remove-from-clipboard.js";
|
|
32
|
+
export { clipboardSearchAction } from "./actions/search.js";
|
|
33
|
+
export { clipboardWriteAction } from "./actions/write.js";
|
|
34
|
+
export { clipboardProvider } from "./providers/clipboard.js";
|
|
35
|
+
export { ClipboardService, createClipboardService, } from "./services/clipboardService.js";
|
|
36
|
+
export { maybeStoreTaskClipboardItem, resolveClipboardTitle, shouldAddToClipboard, type TaskClipboardPersistenceResult, } from "./services/taskClipboardPersistence.js";
|
|
37
|
+
export { createTaskClipboardService, TaskClipboardService, } from "./services/taskClipboardService.js";
|
|
38
|
+
export type { AddTaskClipboardItemInput, ClipboardConfig, ClipboardEntry, ClipboardReadOptions, ClipboardSearchOptions, ClipboardSearchResult, ClipboardWriteOptions, TaskClipboardItem, TaskClipboardSnapshot, TaskClipboardSourceType, } from "./types.js";
|
|
39
39
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IAgentRuntime } from "../../../../types/index.
|
|
2
|
-
import type { ClipboardConfig, ClipboardEntry, ClipboardReadOptions, ClipboardSearchOptions, ClipboardSearchResult, ClipboardWriteOptions } from "../types.
|
|
1
|
+
import type { IAgentRuntime } from "../../../../types/index.js";
|
|
2
|
+
import type { ClipboardConfig, ClipboardEntry, ClipboardReadOptions, ClipboardSearchOptions, ClipboardSearchResult, ClipboardWriteOptions } from "../types.js";
|
|
3
3
|
export declare const DEFAULT_CLIPBOARD_CONFIG: ClipboardConfig;
|
|
4
4
|
export declare function resolveClipboardConfig(config?: Partial<ClipboardConfig>, runtime?: IAgentRuntime): ClipboardConfig;
|
|
5
5
|
/**
|
package/dist/features/advanced-capabilities/clipboard/services/taskClipboardPersistence.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IAgentRuntime, Memory } from "../../../../types/index.
|
|
2
|
-
import type { AddTaskClipboardItemInput, TaskClipboardItem, TaskClipboardSnapshot } from "../types.
|
|
1
|
+
import type { IAgentRuntime, Memory } from "../../../../types/index.js";
|
|
2
|
+
import type { AddTaskClipboardItemInput, TaskClipboardItem, TaskClipboardSnapshot } from "../types.js";
|
|
3
3
|
type TaskClipboardPersistenceInput = AddTaskClipboardItemInput & {
|
|
4
4
|
fallbackTitle?: string;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { IAgentRuntime } from "../../../../types/index.
|
|
2
|
-
import type { AddTaskClipboardItemInput, ClipboardConfig, TaskClipboardItem, TaskClipboardSnapshot } from "../types.
|
|
1
|
+
import type { IAgentRuntime } from "../../../../types/index.js";
|
|
2
|
+
import type { AddTaskClipboardItemInput, ClipboardConfig, TaskClipboardItem, TaskClipboardSnapshot } from "../types.js";
|
|
3
3
|
export declare class TaskClipboardService {
|
|
4
4
|
private readonly config;
|
|
5
5
|
constructor(runtime: IAgentRuntime, config?: Partial<ClipboardConfig>);
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
* The schema-level `fact_candidates` table receives anything we cannot apply
|
|
16
16
|
* automatically. The Facts UI surfaces those as "I noticed conflicting info".
|
|
17
17
|
*/
|
|
18
|
-
import type { Evaluator } from "../../../types/index.
|
|
18
|
+
import type { Evaluator } from "../../../types/index.js";
|
|
19
19
|
export declare const factRefinementEvaluator: Evaluator;
|
|
20
20
|
//# sourceMappingURL=factRefinement.d.ts.map
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Evaluators for memory and relationship management.
|
|
5
5
|
*/
|
|
6
|
-
export { factRefinementEvaluator } from "./factRefinement.
|
|
7
|
-
export { reflectionEvaluator } from "./reflection.
|
|
8
|
-
export { relationshipExtractionEvaluator } from "./relationshipExtraction.
|
|
9
|
-
export { skillExtractionEvaluator } from "./skillExtraction.
|
|
10
|
-
export { skillRefinementEvaluator } from "./skillRefinement.
|
|
6
|
+
export { factRefinementEvaluator } from "./factRefinement.js";
|
|
7
|
+
export { reflectionEvaluator } from "./reflection.js";
|
|
8
|
+
export { relationshipExtractionEvaluator } from "./relationshipExtraction.js";
|
|
9
|
+
export { skillExtractionEvaluator } from "./skillExtraction.js";
|
|
10
|
+
export { skillRefinementEvaluator } from "./skillRefinement.js";
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* The validator is intentionally cheap; the handler bears the LLM cost.
|
|
18
18
|
*/
|
|
19
|
-
import type { Evaluator } from "../../../types/index.
|
|
19
|
+
import type { Evaluator } from "../../../types/index.js";
|
|
20
20
|
export declare const skillExtractionEvaluator: Evaluator;
|
|
21
21
|
/**
|
|
22
22
|
* Internal helper exposed for tests — counts proposed skill directories.
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
* - the trajectory's status is "failed" OR a retry signal is present in
|
|
17
17
|
* metadata.retryCount/metadata.retryDetected
|
|
18
18
|
*/
|
|
19
|
-
import type { Evaluator } from "../../../types/index.
|
|
19
|
+
import type { Evaluator } from "../../../types/index.js";
|
|
20
20
|
export declare const skillRefinementEvaluator: Evaluator;
|
|
21
21
|
//# sourceMappingURL=skillRefinement.d.ts.map
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* DO NOT EDIT the spec data - update prompts/actions.json, prompts/providers.json, prompts/evaluators.json and regenerate.
|
|
7
7
|
*/
|
|
8
|
-
import { type ActionDoc, type EvaluatorDoc, type ProviderDoc } from "./specs";
|
|
8
|
+
import { type ActionDoc, type EvaluatorDoc, type ProviderDoc } from "./specs.js";
|
|
9
9
|
/**
|
|
10
10
|
* Get an action spec by name from the core specs.
|
|
11
11
|
* @param name - The action name
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
* Experience learning — bundled with advanced capabilities (extended basic-capabilities).
|
|
3
3
|
* Replaces the standalone `@elizaos/plugin-experience` package for TypeScript core.
|
|
4
4
|
*/
|
|
5
|
-
export { recordExperienceAction } from "./actions/record-experience.
|
|
6
|
-
export { experienceEvaluator } from "./evaluators/experienceEvaluator.
|
|
7
|
-
export { experienceProvider } from "./providers/experienceProvider.
|
|
8
|
-
export type { ExperienceService } from "./service.
|
|
9
|
-
export * from "./types.
|
|
5
|
+
export { recordExperienceAction } from "./actions/record-experience.js";
|
|
6
|
+
export { experienceEvaluator } from "./evaluators/experienceEvaluator.js";
|
|
7
|
+
export { experienceProvider } from "./providers/experienceProvider.js";
|
|
8
|
+
export type { ExperienceService } from "./service.js";
|
|
9
|
+
export * from "./types.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IAgentRuntime } from "../../../types/runtime.
|
|
2
|
-
import { Service, type ServiceTypeName } from "../../../types/service.
|
|
3
|
-
import { type Experience, type ExperienceAnalysis, type ExperienceQuery, ExperienceType } from "./types.
|
|
1
|
+
import type { IAgentRuntime } from "../../../types/runtime.js";
|
|
2
|
+
import { Service, type ServiceTypeName } from "../../../types/service.js";
|
|
3
|
+
import { type Experience, type ExperienceAnalysis, type ExperienceQuery, ExperienceType } from "./types.js";
|
|
4
4
|
export declare class ExperienceService extends Service {
|
|
5
5
|
static serviceType: ServiceTypeName;
|
|
6
6
|
capabilityDescription: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Memory } from "../../../types/memory.
|
|
2
|
-
import type { UUID } from "../../../types/primitives.
|
|
1
|
+
import type { Memory } from "../../../types/memory.js";
|
|
2
|
+
import type { UUID } from "../../../types/primitives.js";
|
|
3
3
|
export type JsonPrimitive = string | number | boolean | null;
|
|
4
4
|
export type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
5
5
|
[key: string]: JsonValue;
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
* 2. Preemption: FORM_RESTORE should preempt REPLY
|
|
8
8
|
* 3. Immediate Context: After restore, the provider gives the agent the restored form context
|
|
9
9
|
*/
|
|
10
|
-
import { type Action } from "../../../../types/index.
|
|
10
|
+
import { type Action } from "../../../../types/index.js";
|
|
11
11
|
export declare const formRestoreAction: Action;
|
|
12
12
|
export default formRestoreAction;
|
|
13
13
|
//# sourceMappingURL=restore.d.ts.map
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @module builder
|
|
3
3
|
* @description Fluent builder API for defining forms and controls
|
|
4
4
|
*/
|
|
5
|
-
import type { JsonValue } from "../../../types/index.
|
|
6
|
-
import type { FormControl, FormControlDependency, FormControlOption, FormDefinition, FormDefinitionHooks } from "./types.
|
|
5
|
+
import type { JsonValue } from "../../../types/index.js";
|
|
6
|
+
import type { FormControl, FormControlDependency, FormControlOption, FormDefinition, FormDefinitionHooks } from "./types.js";
|
|
7
7
|
export declare class ControlBuilder {
|
|
8
8
|
private control;
|
|
9
9
|
constructor(key: string);
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Standard control types available out of the box:
|
|
6
6
|
* text, number, email, boolean, select, date, file
|
|
7
7
|
*/
|
|
8
|
-
import type { ControlType } from "./types.
|
|
8
|
+
import type { ControlType } from "./types.js";
|
|
9
9
|
export declare const BUILTIN_TYPES: ControlType[];
|
|
10
10
|
export declare const BUILTIN_TYPE_MAP: Map<string, ControlType>;
|
|
11
11
|
export declare function registerBuiltinTypes(registerFn: (type: ControlType, options?: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @module defaults
|
|
3
3
|
* @description Default value application for forms and controls
|
|
4
4
|
*/
|
|
5
|
-
import type { FormControl, FormDefinition } from "./types.
|
|
5
|
+
import type { FormControl, FormDefinition } from "./types.js";
|
|
6
6
|
/**
|
|
7
7
|
* Apply defaults to a FormControl.
|
|
8
8
|
*
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* each user message to detect intent, extract fields, update state,
|
|
7
7
|
* trigger lifecycle transitions, and emit events.
|
|
8
8
|
*/
|
|
9
|
-
import type { Evaluator } from "../../../../types/index.
|
|
9
|
+
import type { Evaluator } from "../../../../types/index.js";
|
|
10
10
|
export declare const formEvaluator: Evaluator;
|
|
11
11
|
export default formEvaluator;
|
|
12
12
|
//# sourceMappingURL=extractor.d.ts.map
|