@elizaos/core 2.0.0-alpha.206 → 2.0.0-alpha.207
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
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* Plugins can register for activation with their secret requirements,
|
|
6
6
|
* and will be activated automatically once all secrets are present.
|
|
7
7
|
*/
|
|
8
|
-
import { type IAgentRuntime, type Plugin, Service, type ServiceTypeName } from "../../../types/index.
|
|
9
|
-
import type { PluginActivatorConfig, PluginRequirementStatus, PluginSecretRequirement } from "../types.
|
|
8
|
+
import { type IAgentRuntime, type Plugin, Service, type ServiceTypeName } from "../../../types/index.js";
|
|
9
|
+
import type { PluginActivatorConfig, PluginRequirementStatus, PluginSecretRequirement } from "../types.js";
|
|
10
10
|
/**
|
|
11
11
|
* Service type identifier
|
|
12
12
|
*/
|
|
@@ -5,10 +5,10 @@
|
|
|
5
5
|
* Provides unified API for accessing global, world, and user secrets
|
|
6
6
|
* with encryption, access control, and change notification support.
|
|
7
7
|
*/
|
|
8
|
-
import { type IAgentRuntime, Service, type ServiceTypeName } from "../../../types/index.
|
|
9
|
-
import { KeyManager } from "../crypto/index.
|
|
10
|
-
import { CharacterSettingsStorage, ComponentSecretStorage, WorldMetadataStorage } from "../storage/index.
|
|
11
|
-
import type { PluginSecretRequirement, SecretAccessLog, SecretChangeCallback, SecretConfig, SecretContext, SecretMetadata, SecretsServiceConfig, ValidationResult } from "../types.
|
|
8
|
+
import { type IAgentRuntime, Service, type ServiceTypeName } from "../../../types/index.js";
|
|
9
|
+
import { KeyManager } from "../crypto/index.js";
|
|
10
|
+
import { CharacterSettingsStorage, ComponentSecretStorage, WorldMetadataStorage } from "../storage/index.js";
|
|
11
|
+
import type { PluginSecretRequirement, SecretAccessLog, SecretChangeCallback, SecretConfig, SecretContext, SecretMetadata, SecretsServiceConfig, ValidationResult } from "../types.js";
|
|
12
12
|
/**
|
|
13
13
|
* Service type identifier
|
|
14
14
|
*/
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* using getSetting()/setSetting() because those methods don't support object
|
|
9
9
|
* values - they only return primitives (string | boolean | number | null).
|
|
10
10
|
*/
|
|
11
|
-
import type { IAgentRuntime } from "../../../types/index.
|
|
12
|
-
import { type KeyManager } from "../crypto/index.
|
|
13
|
-
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.
|
|
14
|
-
import { BaseSecretStorage } from "./interface.
|
|
11
|
+
import type { IAgentRuntime } from "../../../types/index.js";
|
|
12
|
+
import { type KeyManager } from "../crypto/index.js";
|
|
13
|
+
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.js";
|
|
14
|
+
import { BaseSecretStorage } from "./interface.js";
|
|
15
15
|
/**
|
|
16
16
|
* Character settings-based storage for global secrets
|
|
17
17
|
*
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Stores user-level secrets as Components in the ElizaOS database.
|
|
5
5
|
* Each user's secrets are isolated via the component's entityId.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAgentRuntime } from "../../../types/index.
|
|
8
|
-
import { type KeyManager } from "../crypto/index.
|
|
9
|
-
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.
|
|
10
|
-
import { BaseSecretStorage } from "./interface.
|
|
7
|
+
import type { IAgentRuntime } from "../../../types/index.js";
|
|
8
|
+
import { type KeyManager } from "../crypto/index.js";
|
|
9
|
+
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.js";
|
|
10
|
+
import { BaseSecretStorage } from "./interface.js";
|
|
11
11
|
/**
|
|
12
12
|
* Component-based storage for user-level secrets
|
|
13
13
|
*
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Storage module exports
|
|
3
3
|
*/
|
|
4
|
-
export { CharacterSettingsStorage } from "./character-store.
|
|
5
|
-
export { ComponentSecretStorage } from "./component-store.
|
|
6
|
-
export type { ISecretStorage } from "./interface.
|
|
7
|
-
export { BaseSecretStorage, CompositeSecretStorage } from "./interface.
|
|
8
|
-
export { MemorySecretStorage } from "./memory-store.
|
|
9
|
-
export { WorldMetadataStorage } from "./world-store.
|
|
4
|
+
export { CharacterSettingsStorage } from "./character-store.js";
|
|
5
|
+
export { ComponentSecretStorage } from "./component-store.js";
|
|
6
|
+
export type { ISecretStorage } from "./interface.js";
|
|
7
|
+
export { BaseSecretStorage, CompositeSecretStorage } from "./interface.js";
|
|
8
|
+
export { MemorySecretStorage } from "./memory-store.js";
|
|
9
|
+
export { WorldMetadataStorage } from "./world-store.js";
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Defines the contract that all storage backends must implement.
|
|
5
5
|
* Designed for ElizaOS native storage patterns.
|
|
6
6
|
*/
|
|
7
|
-
import type { ISecretStorage, SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.
|
|
7
|
+
import type { ISecretStorage, SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.js";
|
|
8
8
|
export type { ISecretStorage };
|
|
9
9
|
/**
|
|
10
10
|
* Abstract base class for secret storage implementations
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
* In-memory storage backend for secrets. Useful for testing and
|
|
5
5
|
* ephemeral environments where persistence is not required.
|
|
6
6
|
*/
|
|
7
|
-
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.
|
|
8
|
-
import { BaseSecretStorage } from "./interface.
|
|
7
|
+
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.js";
|
|
8
|
+
import { BaseSecretStorage } from "./interface.js";
|
|
9
9
|
/**
|
|
10
10
|
* Memory-based secret storage implementation
|
|
11
11
|
*/
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
* Stores world-level secrets in the world's metadata.secrets object.
|
|
5
5
|
* This is used for server/channel-specific configuration like Discord tokens.
|
|
6
6
|
*/
|
|
7
|
-
import type { IAgentRuntime } from "../../../types/index.
|
|
8
|
-
import { type KeyManager } from "../crypto/index.
|
|
9
|
-
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.
|
|
10
|
-
import { BaseSecretStorage } from "./interface.
|
|
7
|
+
import type { IAgentRuntime } from "../../../types/index.js";
|
|
8
|
+
import { type KeyManager } from "../crypto/index.js";
|
|
9
|
+
import type { SecretConfig, SecretContext, SecretMetadata, StorageBackend } from "../types.js";
|
|
10
|
+
import { BaseSecretStorage } from "./interface.js";
|
|
11
11
|
/**
|
|
12
12
|
* World metadata-based storage for world-level secrets
|
|
13
13
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Provides validation strategies for different types of secrets
|
|
5
5
|
* including API keys, URLs, and custom validation.
|
|
6
6
|
*/
|
|
7
|
-
import type { CustomValidator, ValidationResult, ValidationStrategy } from "./types.
|
|
7
|
+
import type { CustomValidator, ValidationResult, ValidationStrategy } from "./types.js";
|
|
8
8
|
/**
|
|
9
9
|
* Validation strategy implementations
|
|
10
10
|
*/
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
* - Supports both runtime logging AND RL training data collection
|
|
8
8
|
* - Provides API for UI viewing and export
|
|
9
9
|
*/
|
|
10
|
-
import type { IAgentRuntime } from "../../types";
|
|
11
|
-
import { Service } from "../../types/service";
|
|
12
|
-
import type { ActionAttempt, EnvironmentState, JsonValue, LLMCall, ProviderAccess, RewardComponents, Trajectory } from "./types";
|
|
10
|
+
import type { IAgentRuntime } from "../../types/index.js";
|
|
11
|
+
import { Service } from "../../types/service.js";
|
|
12
|
+
import type { ActionAttempt, EnvironmentState, JsonValue, LLMCall, ProviderAccess, RewardComponents, Trajectory } from "./types.js";
|
|
13
13
|
export interface TrajectoryListOptions {
|
|
14
14
|
limit?: number;
|
|
15
15
|
offset?: number;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Wraps actions and providers with trajectory logging.
|
|
5
5
|
*/
|
|
6
|
-
import type { Action, IAgentRuntime, Plugin, Provider } from "../../types";
|
|
7
|
-
import type { TrajectoriesService } from "./TrajectoriesService";
|
|
8
|
-
import type { JsonValue } from "./types";
|
|
6
|
+
import type { Action, IAgentRuntime, Plugin, Provider } from "../../types/index.js";
|
|
7
|
+
import type { TrajectoriesService } from "./TrajectoriesService.js";
|
|
8
|
+
import type { JsonValue } from "./types.js";
|
|
9
9
|
interface TrajectoryContext {
|
|
10
10
|
trajectoryId: string;
|
|
11
11
|
logger: TrajectoriesService;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* - Single reward per trajectory
|
|
10
10
|
* - Grouping by scenario for GRPO
|
|
11
11
|
*/
|
|
12
|
-
import type { ARTTrajectory, ChatMessage, Trajectory, TrajectoryGroup } from "./types";
|
|
12
|
+
import type { ARTTrajectory, ChatMessage, Trajectory, TrajectoryGroup } from "./types.js";
|
|
13
13
|
/**
|
|
14
14
|
* Convert rich trajectory to ART message format.
|
|
15
15
|
*/
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* In elizaOS core, this module is storage-agnostic and focuses on preparing files for downstream
|
|
6
6
|
* training (JSONL / grouped JSON).
|
|
7
7
|
*/
|
|
8
|
-
import type { Trajectory } from "./types";
|
|
8
|
+
import type { Trajectory } from "./types.js";
|
|
9
9
|
export interface ExportOptions {
|
|
10
10
|
datasetName: string;
|
|
11
11
|
huggingFaceToken?: string;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @remarks These helpers are intentionally lightweight; environments can provide richer
|
|
7
7
|
* reward computation by writing into `trajectory.totalReward` and `step.reward`.
|
|
8
8
|
*/
|
|
9
|
-
import type { JsonValue, Trajectory, TrajectoryStep } from "./types";
|
|
9
|
+
import type { JsonValue, Trajectory, TrajectoryStep } from "./types.js";
|
|
10
10
|
export declare function computeTrajectoryReward(trajectory: Trajectory): number;
|
|
11
11
|
export declare function computeStepReward(step: TrajectoryStep): number;
|
|
12
12
|
export declare function buildGameStateFromDB(_trajectoryId: string): Promise<Record<string, JsonValue>>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Plugin } from "../../types";
|
|
1
|
+
import type { Plugin } from "../../types/index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Native trajectories plugin.
|
|
4
4
|
*
|
|
@@ -12,13 +12,13 @@ import type { Plugin } from "../../types";
|
|
|
12
12
|
*/
|
|
13
13
|
export declare const trajectoriesPlugin: Plugin;
|
|
14
14
|
export default trajectoriesPlugin;
|
|
15
|
-
export * from "./action-interceptor";
|
|
16
|
-
export * from "./art-format";
|
|
17
|
-
export * from "./export";
|
|
18
|
-
export * from "./game-rewards";
|
|
19
|
-
export * from "./integration";
|
|
20
|
-
export * from "./reward-service";
|
|
21
|
-
export type { TrajectoryExportOptions, TrajectoryListItem, TrajectoryListOptions, TrajectoryListResult, TrajectoryStats, TrajectoryZipEntry, TrajectoryZipExportOptions, TrajectoryZipExportResult, } from "./TrajectoriesService";
|
|
22
|
-
export { TrajectoriesService } from "./TrajectoriesService";
|
|
23
|
-
export * from "./types";
|
|
15
|
+
export * from "./action-interceptor.js";
|
|
16
|
+
export * from "./art-format.js";
|
|
17
|
+
export * from "./export.js";
|
|
18
|
+
export * from "./game-rewards.js";
|
|
19
|
+
export * from "./integration.js";
|
|
20
|
+
export * from "./reward-service.js";
|
|
21
|
+
export type { TrajectoryExportOptions, TrajectoryListItem, TrajectoryListOptions, TrajectoryListResult, TrajectoryStats, TrajectoryZipEntry, TrajectoryZipExportOptions, TrajectoryZipExportResult, } from "./TrajectoriesService.js";
|
|
22
|
+
export { TrajectoriesService } from "./TrajectoriesService.js";
|
|
23
|
+
export * from "./types.js";
|
|
24
24
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Advanced manual control for trajectory logging.
|
|
5
5
|
*/
|
|
6
|
-
import type { TrajectoriesService } from "./TrajectoriesService";
|
|
7
|
-
import type { JsonValue } from "./types";
|
|
6
|
+
import type { TrajectoriesService } from "./TrajectoriesService.js";
|
|
7
|
+
import type { JsonValue } from "./types.js";
|
|
8
8
|
export interface TrajectoryMetadata {
|
|
9
9
|
[key: string]: JsonValue;
|
|
10
10
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Use heuristic scoring to score trajectories when game knowledge isn't available.
|
|
5
5
|
*/
|
|
6
|
-
import type { Trajectory } from "./types";
|
|
6
|
+
import type { Trajectory } from "./types.js";
|
|
7
7
|
export interface RewardServiceOptions {
|
|
8
8
|
archetype?: string;
|
|
9
9
|
useHeuristics?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./evaluateTrust.
|
|
2
|
-
export * from "./recordTrustInteraction.
|
|
3
|
-
export * from "./requestElevation.
|
|
4
|
-
export * from "./roles.
|
|
5
|
-
export * from "./settings.
|
|
1
|
+
export * from "./evaluateTrust.js";
|
|
2
|
+
export * from "./recordTrustInteraction.js";
|
|
3
|
+
export * from "./requestElevation.js";
|
|
4
|
+
export * from "./roles.js";
|
|
5
|
+
export * from "./settings.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type Action as ElizaAction, type IAgentRuntime, type WorldSettings } from "../../../types/index.
|
|
1
|
+
import { type Action as ElizaAction, type IAgentRuntime, type WorldSettings } from "../../../types/index.js";
|
|
2
2
|
export declare function getWorldSettings(runtime: IAgentRuntime, serverId: string): Promise<WorldSettings | null>;
|
|
3
3
|
export declare function updateWorldSettings(runtime: IAgentRuntime, serverId: string, worldSettings: WorldSettings): Promise<boolean>;
|
|
4
4
|
export declare const updateSettingsAction: ElizaAction;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./reflection.
|
|
2
|
-
export * from "./securityEvaluator.
|
|
3
|
-
export * from "./trustChangeEvaluator.
|
|
1
|
+
export * from "./reflection.js";
|
|
2
|
+
export * from "./securityEvaluator.js";
|
|
3
|
+
export * from "./trustChangeEvaluator.js";
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { type IAgentRuntime, type Plugin } from "../../types/index.
|
|
2
|
-
import * as schema from "./schema.
|
|
3
|
-
import { ContextualPermissionSystem } from "./services/ContextualPermissionSystem.
|
|
4
|
-
import { CredentialProtector } from "./services/CredentialProtector.
|
|
5
|
-
import { SecurityModule } from "./services/SecurityModule.
|
|
6
|
-
import { TrustEngine } from "./services/TrustEngine.
|
|
7
|
-
export type { AccessDecision, AccessRequest, ElevationRequest, ElevationResult, Permission, PermissionContext, PermissionDecision, } from "./types/permissions.
|
|
8
|
-
export * from "./types/security.
|
|
9
|
-
export * from "./types/trust.
|
|
1
|
+
import { type IAgentRuntime, type Plugin } from "../../types/index.js";
|
|
2
|
+
import * as schema from "./schema.js";
|
|
3
|
+
import { ContextualPermissionSystem } from "./services/ContextualPermissionSystem.js";
|
|
4
|
+
import { CredentialProtector } from "./services/CredentialProtector.js";
|
|
5
|
+
import { SecurityModule } from "./services/SecurityModule.js";
|
|
6
|
+
import { TrustEngine } from "./services/TrustEngine.js";
|
|
7
|
+
export type { AccessDecision, AccessRequest, ElevationRequest, ElevationResult, Permission, PermissionContext, PermissionDecision, } from "./types/permissions.js";
|
|
8
|
+
export * from "./types/security.js";
|
|
9
|
+
export * from "./types/trust.js";
|
|
10
10
|
export { ContextualPermissionSystem, CredentialProtector, SecurityModule, TrustEngine, };
|
|
11
11
|
export type TrustEngineService = InstanceType<typeof TrustEngine>;
|
|
12
12
|
export type SecurityModuleService = InstanceType<typeof SecurityModule>;
|
|
13
13
|
export type ContextualPermissionSystemService = InstanceType<typeof ContextualPermissionSystem>;
|
|
14
14
|
export type CredentialProtectorService = InstanceType<typeof CredentialProtector>;
|
|
15
|
-
export * from "./actions/index.
|
|
16
|
-
export * from "./evaluators/index.
|
|
17
|
-
export * from "./providers/index.
|
|
18
|
-
export { ContextualPermissionSystemServiceWrapper, CredentialProtectorServiceWrapper, SecurityModuleServiceWrapper, TrustEngineServiceWrapper, } from "./services/wrappers.
|
|
15
|
+
export * from "./actions/index.js";
|
|
16
|
+
export * from "./evaluators/index.js";
|
|
17
|
+
export * from "./providers/index.js";
|
|
18
|
+
export { ContextualPermissionSystemServiceWrapper, CredentialProtectorServiceWrapper, SecurityModuleServiceWrapper, TrustEngineServiceWrapper, } from "./services/wrappers.js";
|
|
19
19
|
declare function ensureAdminRoleOnInit(runtime: IAgentRuntime): Promise<void>;
|
|
20
20
|
declare const trustPlugin: Plugin;
|
|
21
21
|
export { ensureAdminRoleOnInit, schema };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./adminTrust.
|
|
2
|
-
export * from "./roles.
|
|
3
|
-
export * from "./securityStatus.
|
|
4
|
-
export * from "./settings.
|
|
5
|
-
export * from "./trustProfile.
|
|
1
|
+
export * from "./adminTrust.js";
|
|
2
|
+
export * from "./roles.js";
|
|
3
|
+
export * from "./securityStatus.js";
|
|
4
|
+
export * from "./settings.js";
|
|
5
|
+
export * from "./trustProfile.js";
|
|
6
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { type IAgentRuntime, type UUID } from "../../../types/index.
|
|
2
|
-
import type { AccessDecision, AccessRequest, ElevationRequest, ElevationResult, Permission, PermissionContext, PermissionDelegation } from "../types/permissions.
|
|
3
|
-
import type { SecurityModule } from "./SecurityModule.
|
|
4
|
-
import type { TrustEngine } from "./TrustEngine.
|
|
1
|
+
import { type IAgentRuntime, type UUID } from "../../../types/index.js";
|
|
2
|
+
import type { AccessDecision, AccessRequest, ElevationRequest, ElevationResult, Permission, PermissionContext, PermissionDelegation } from "../types/permissions.js";
|
|
3
|
+
import type { SecurityModule } from "./SecurityModule.js";
|
|
4
|
+
import type { TrustEngine } from "./TrustEngine.js";
|
|
5
5
|
export declare class ContextualPermissionSystem {
|
|
6
6
|
private runtime;
|
|
7
7
|
private trustEngine;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.
|
|
2
|
-
import { type SecurityContext } from "../types/security.
|
|
3
|
-
import type { SecurityModule } from "./SecurityModule.
|
|
1
|
+
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.js";
|
|
2
|
+
import { type SecurityContext } from "../types/security.js";
|
|
3
|
+
import type { SecurityModule } from "./SecurityModule.js";
|
|
4
4
|
export interface CredentialThreatDetection {
|
|
5
5
|
detected: boolean;
|
|
6
6
|
confidence: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { IAgentRuntime, UUID } from "../../../types/index.
|
|
2
|
-
import { type Action, type CoordinationDetection, type CredentialTheftDetection, type ImpersonationDetection, type Message, type MultiAccountDetection, type PhishingDetection, type SecurityCheck, type SecurityContext, type SecurityEvent, SecurityEventType, type ThreatAssessment } from "../types/security.
|
|
3
|
-
import type { TrustEngine } from "./TrustEngine.
|
|
1
|
+
import type { IAgentRuntime, UUID } from "../../../types/index.js";
|
|
2
|
+
import { type Action, type CoordinationDetection, type CredentialTheftDetection, type ImpersonationDetection, type Message, type MultiAccountDetection, type PhishingDetection, type SecurityCheck, type SecurityContext, type SecurityEvent, SecurityEventType, type ThreatAssessment } from "../types/security.js";
|
|
3
|
+
import type { TrustEngine } from "./TrustEngine.js";
|
|
4
4
|
export interface RiskScore {
|
|
5
5
|
score: number;
|
|
6
6
|
factors: Record<string, number>;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Thin wrappers around Drizzle queries for security incidents,
|
|
4
4
|
* trust evidence, behavioral profiles, identity links, and whistleblower reports.
|
|
5
5
|
*/
|
|
6
|
-
import type { UUID } from "../../../types/index.
|
|
7
|
-
import type { DrizzleDB } from "./db.
|
|
6
|
+
import type { UUID } from "../../../types/index.js";
|
|
7
|
+
import type { DrizzleDB } from "./db.js";
|
|
8
8
|
export interface InsertSecurityIncident {
|
|
9
9
|
entityId: UUID;
|
|
10
10
|
type: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.
|
|
2
|
-
import { type TrustCalculationConfig, type TrustContext, type TrustDecision, type TrustInteraction, type TrustProfile, type TrustRequirements } from "../types/trust.
|
|
1
|
+
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.js";
|
|
2
|
+
import { type TrustCalculationConfig, type TrustContext, type TrustDecision, type TrustInteraction, type TrustProfile, type TrustRequirements } from "../types/trust.js";
|
|
3
3
|
export declare class TrustEngine extends Service {
|
|
4
4
|
static serviceType: "trust-engine";
|
|
5
5
|
capabilityDescription: string;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { type IAgentRuntime, type Memory, type State } from "../../../types/index.
|
|
1
|
+
import { type IAgentRuntime, type Memory, type State } from "../../../types/index.js";
|
|
2
2
|
export declare function resolveAdminContext(runtime: IAgentRuntime, message: Memory, state?: State): Promise<boolean>;
|
|
3
3
|
//# sourceMappingURL=adminContext.d.ts.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.
|
|
2
|
-
import type { AccessDecision, AccessRequest, Permission, PermissionContext } from "../types/permissions.
|
|
3
|
-
import type { ImpersonationDetection, MultiAccountDetection, PhishingDetection, Action as SecurityAction, SecurityCheck, SecurityContext, SecurityEvent, SecurityEventType, Message as SecurityMessage, ThreatAssessment } from "../types/security.
|
|
4
|
-
import type { TrustContext, TrustDecision, TrustInteraction, TrustProfile, TrustRequirements } from "../types/trust.
|
|
5
|
-
import { ContextualPermissionSystem } from "./ContextualPermissionSystem.
|
|
6
|
-
import { CredentialProtector, type CredentialThreatDetection } from "./CredentialProtector.
|
|
7
|
-
import { SecurityModule } from "./SecurityModule.
|
|
8
|
-
import { TrustEngine } from "./TrustEngine.
|
|
1
|
+
import { type IAgentRuntime, Service, type UUID } from "../../../types/index.js";
|
|
2
|
+
import type { AccessDecision, AccessRequest, Permission, PermissionContext } from "../types/permissions.js";
|
|
3
|
+
import type { ImpersonationDetection, MultiAccountDetection, PhishingDetection, Action as SecurityAction, SecurityCheck, SecurityContext, SecurityEvent, SecurityEventType, Message as SecurityMessage, ThreatAssessment } from "../types/security.js";
|
|
4
|
+
import type { TrustContext, TrustDecision, TrustInteraction, TrustProfile, TrustRequirements } from "../types/trust.js";
|
|
5
|
+
import { ContextualPermissionSystem } from "./ContextualPermissionSystem.js";
|
|
6
|
+
import { CredentialProtector, type CredentialThreatDetection } from "./CredentialProtector.js";
|
|
7
|
+
import { SecurityModule } from "./SecurityModule.js";
|
|
8
|
+
import { TrustEngine } from "./TrustEngine.js";
|
|
9
9
|
export declare class TrustEngineServiceWrapper extends Service {
|
|
10
10
|
static readonly serviceType = "trust-engine";
|
|
11
11
|
readonly capabilityDescription = "Multi-dimensional trust scoring and evidence-based trust evaluation";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Role, UUID } from "../../../types/index.
|
|
2
|
-
import type { TrustRequirements } from "./trust.
|
|
1
|
+
import type { Role, UUID } from "../../../types/index.js";
|
|
2
|
+
import type { TrustRequirements } from "./trust.js";
|
|
3
3
|
/**
|
|
4
4
|
* Context for permission evaluation
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { UUID } from "../../../types/index.
|
|
2
|
-
import type { PermissionContext } from "./permissions.
|
|
1
|
+
import type { UUID } from "../../../types/index.js";
|
|
2
|
+
import type { PermissionContext } from "./permissions.js";
|
|
3
3
|
export interface SecurityContext extends PermissionContext {
|
|
4
4
|
entityId?: UUID;
|
|
5
5
|
requestedAction?: string;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*
|
|
6
6
|
* DO NOT EDIT the spec data - update packages/prompts/specs/** and regenerate.
|
|
7
7
|
*/
|
|
8
|
-
import { type ActionDoc, type EvaluatorDoc, type ProviderDoc } from "./action-docs";
|
|
8
|
+
import { type ActionDoc, type EvaluatorDoc, type ProviderDoc } from "./action-docs.js";
|
|
9
9
|
/**
|
|
10
10
|
* Get an action spec by name from the core specs.
|
|
11
11
|
* @param name - The action name (e.g., "REPLY", "IGNORE")
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* To add/edit keywords, edit the JSON files and run:
|
|
10
10
|
* node packages/shared/scripts/generate-keywords.mjs
|
|
11
11
|
*/
|
|
12
|
-
import { VALIDATION_KEYWORD_DOCS as _DOCS, VALIDATION_KEYWORD_LOCALES as _LOCALES } from "./generated/validation-keyword-data.
|
|
13
|
-
export type { ValidationKeywordLocale } from "./generated/validation-keyword-data.
|
|
12
|
+
import { VALIDATION_KEYWORD_DOCS as _DOCS, VALIDATION_KEYWORD_LOCALES as _LOCALES } from "./generated/validation-keyword-data.js";
|
|
13
|
+
export type { ValidationKeywordLocale } from "./generated/validation-keyword-data.js";
|
|
14
14
|
export { _DOCS as VALIDATION_KEYWORD_DOCS, _LOCALES as VALIDATION_KEYWORD_LOCALES, };
|
|
15
15
|
export declare function normalizeKeywordMatchText(value: string): string;
|
|
16
16
|
export declare function splitKeywordDoc(value: string | undefined): string[];
|