@elizaos/agent 2.0.3-beta.2 → 2.0.3-beta.3
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/__tests__/view-user-journeys.d.ts.map +1 -1
- package/__tests__/view-user-journeys.js +52 -41
- package/actions/context-signal.d.ts +2 -2
- package/actions/files.d.ts +9 -0
- package/actions/files.d.ts.map +1 -0
- package/actions/files.js +183 -0
- package/actions/index.d.ts +17 -17
- package/api/accounts-routes.d.ts +1 -1
- package/api/accounts-routes.js +1 -1
- package/api/agent-admin-routes.d.ts +1 -1
- package/api/agent-admin-routes.js +2 -2
- package/api/agent-model.d.ts +1 -1
- package/api/agent-status-routes.d.ts +1 -3
- package/api/agent-status-routes.d.ts.map +1 -1
- package/api/agent-status-routes.js +0 -2
- package/api/approval-routes.d.ts +38 -0
- package/api/approval-routes.d.ts.map +1 -0
- package/api/approval-routes.js +223 -0
- package/api/background-routes.d.ts +13 -0
- package/api/background-routes.d.ts.map +1 -0
- package/api/background-routes.js +91 -0
- package/api/binance-skill-helpers.d.ts +2 -2
- package/api/binance-skill-helpers.js +2 -2
- package/api/builtin-views.d.ts.map +1 -1
- package/api/builtin-views.js +44 -4
- package/api/character-routes.d.ts +1 -1
- package/api/chat-augmentation.d.ts.map +1 -1
- package/api/chat-augmentation.js +17 -0
- package/api/chat-routes.d.ts +29 -2
- package/api/chat-routes.d.ts.map +1 -1
- package/api/chat-routes.js +76 -1
- package/api/commands-routes.d.ts +10 -8
- package/api/commands-routes.d.ts.map +1 -1
- package/api/commands-routes.js +17 -59
- package/api/config-routes.d.ts +1 -1
- package/api/config-routes.d.ts.map +1 -1
- package/api/config-routes.js +0 -2
- package/api/connector-routes.d.ts +1 -1
- package/api/conversation-metadata.d.ts +1 -1
- package/api/conversation-metadata.d.ts.map +1 -1
- package/api/conversation-metadata.js +0 -1
- package/api/conversation-routes.d.ts +4 -3
- package/api/conversation-routes.d.ts.map +1 -1
- package/api/conversation-routes.js +34 -1
- package/api/documents-service-loader.d.ts +0 -4
- package/api/documents-service-loader.d.ts.map +1 -1
- package/api/documents-service-loader.js +0 -2
- package/api/files-routes.d.ts +14 -0
- package/api/files-routes.d.ts.map +1 -0
- package/api/files-routes.js +47 -0
- package/api/first-run-routes.d.ts +1 -1
- package/api/health-routes.d.ts +2 -2
- package/api/index.d.ts +40 -39
- package/api/index.d.ts.map +1 -1
- package/api/index.js +1 -0
- package/api/interactions-routes.d.ts +33 -0
- package/api/interactions-routes.d.ts.map +1 -0
- package/api/interactions-routes.js +63 -0
- package/api/media-runtime.d.ts +2 -1
- package/api/media-runtime.d.ts.map +1 -1
- package/api/media-runtime.js +64 -7
- package/api/media-store.d.ts +36 -0
- package/api/media-store.d.ts.map +1 -1
- package/api/media-store.js +141 -2
- package/api/memory-bounds.d.ts +0 -1
- package/api/memory-bounds.d.ts.map +1 -1
- package/api/memory-bounds.js +0 -1
- package/api/misc-routes.d.ts +1 -1
- package/api/model-provider-helpers.d.ts +2 -2
- package/api/model-provider-helpers.js +2 -2
- package/api/permissions-routes-extra.d.ts +1 -1
- package/api/permissions-routes.d.ts +1 -1
- package/api/permissions-routes.d.ts.map +1 -1
- package/api/permissions-routes.js +8 -7
- package/api/plugin-discovery-helpers.d.ts +5 -6
- package/api/plugin-discovery-helpers.d.ts.map +1 -1
- package/api/plugin-discovery-helpers.js +3 -4
- package/api/plugin-runtime-apply.d.ts +2 -2
- package/api/plugin-runtime-apply.d.ts.map +1 -1
- package/api/plugin-runtime-apply.js +74 -0
- package/api/provider-switch-config.d.ts +1 -1
- package/api/provider-switch-routes.d.ts +2 -2
- package/api/registry-routes.d.ts +1 -1
- package/api/registry-service.d.ts +1 -1
- package/api/remote-capability-routes.d.ts +2 -2
- package/api/remote-capability-routes.d.ts.map +1 -1
- package/api/remote-capability-routes.js +19 -0
- package/api/server-autonomy-helpers.d.ts +2 -2
- package/api/server-helpers-auth.d.ts +10 -0
- package/api/server-helpers-auth.d.ts.map +1 -1
- package/api/server-helpers-auth.js +16 -210
- package/api/server-helpers-config.d.ts +1 -1
- package/api/server-helpers-mcp.d.ts +2 -2
- package/api/server-helpers-plugin.d.ts +1 -1
- package/api/server-helpers-swarm.d.ts +3 -3
- package/api/server-helpers-swarm.d.ts.map +1 -1
- package/api/server-helpers-swarm.js +15 -5
- package/api/server-helpers-wallet.d.ts +1 -1
- package/api/server-helpers.d.ts +4 -4
- package/api/server-lazy-routes.d.ts +40 -38
- package/api/server-lazy-routes.d.ts.map +1 -1
- package/api/server-lazy-routes.js +7 -0
- package/api/server-route-dispatch.d.ts +2 -2
- package/api/server-route-dispatch.d.ts.map +1 -1
- package/api/server-route-dispatch.js +7 -0
- package/api/server-types.d.ts +9 -7
- package/api/server-types.d.ts.map +1 -1
- package/api/server.d.ts +19 -19
- package/api/server.d.ts.map +1 -1
- package/api/server.js +111 -17
- package/api/static-file-server.d.ts +2 -2
- package/api/static-file-server.js +2 -2
- package/api/subscription-routes.d.ts +4 -4
- package/api/subscription-routes.js +3 -4
- package/api/suggestions-routes.d.ts +1 -1
- package/api/suggestions-routes.d.ts.map +1 -1
- package/api/suggestions-routes.js +2 -3
- package/api/terminal-execution-routing.d.ts +1 -1
- package/api/training-service-like.d.ts +1 -1
- package/api/trajectory-fallback-routes.d.ts.map +1 -1
- package/api/trajectory-fallback-routes.js +21 -1
- package/api/update-routes.d.ts +1 -1
- package/api/view-registry-types.d.ts +1 -1
- package/api/views-registry.d.ts +14 -4
- package/api/views-registry.d.ts.map +1 -1
- package/api/views-registry.js +50 -26
- package/api/views-routes.d.ts +1 -1
- package/api/views-routes.d.ts.map +1 -1
- package/api/views-routes.js +131 -14
- package/api/views-search-index.d.ts +1 -1
- package/api/wallet-capability.d.ts +3 -3
- package/api/wallet-rpc.d.ts +1 -1
- package/api/wallet.d.ts +3 -3
- package/api/wallet.d.ts.map +1 -1
- package/api/wallet.js +4 -3
- package/api/workbench-context.d.ts +1 -1
- package/api/workbench-helpers.d.ts +3 -3
- package/api/workbench-helpers.js +3 -3
- package/api/workbench-routes.d.ts +2 -2
- package/api/workbench-vfs-routes.d.ts +1 -1
- package/api/ws-event-replay.d.ts +1 -2
- package/api/ws-event-replay.d.ts.map +1 -1
- package/api/ws-event-replay.js +1 -2
- package/api/x-relay-routes.d.ts +2 -2
- package/api/x402-route-validation.d.ts +4 -0
- package/api/x402-route-validation.d.ts.map +1 -0
- package/api/x402-route-validation.js +6 -0
- package/assets/view-heroes/background.png +0 -0
- package/auth/account-storage.d.ts +1 -1
- package/auth/anthropic.d.ts +1 -1
- package/auth/credentials.d.ts +2 -2
- package/auth/index.d.ts +7 -7
- package/auth/oauth-flow.d.ts +2 -2
- package/auth/openai-codex.d.ts +1 -1
- package/awareness/index.d.ts +1 -1
- package/config/config.js +0 -1
- package/config/env-vars.d.ts +1 -1
- package/config/env-vars.d.ts.map +1 -1
- package/config/env-vars.js +0 -1
- package/config/index.d.ts +10 -10
- package/config/model-metadata.d.ts +1 -1
- package/config/owner-contacts.d.ts +1 -1
- package/config/schema.d.ts +1 -1
- package/hooks/discovery.d.ts +1 -1
- package/hooks/eligibility.d.ts +2 -2
- package/hooks/index.d.ts +2 -2
- package/hooks/loader.d.ts +2 -2
- package/hooks/registry.d.ts +1 -1
- package/index.d.ts +87 -85
- package/index.d.ts.map +1 -1
- package/index.js +11 -3
- package/package.json +54 -44
- package/providers/media-provider.d.ts +1 -1
- package/providers/page-scoped-context.d.ts.map +1 -1
- package/providers/page-scoped-context.js +1 -70
- package/providers/relevant-conversations.d.ts.map +1 -1
- package/providers/relevant-conversations.js +8 -9
- package/providers/workspace.d.ts +1 -1
- package/runtime/actions/web-fetch.d.ts.map +1 -1
- package/runtime/actions/web-fetch.js +23 -3
- package/runtime/actions/web-search.d.ts +32 -0
- package/runtime/actions/web-search.d.ts.map +1 -0
- package/runtime/actions/web-search.js +245 -0
- package/runtime/advanced-capabilities-config.d.ts +1 -1
- package/runtime/boot-telemetry.d.ts +1 -1
- package/runtime/conversation-compactor-runtime.d.ts +1 -1
- package/runtime/conversation-compactor-runtime.js +1 -1
- package/runtime/conversation-compactor.d.ts +1 -1
- package/runtime/core-plugins.d.ts.map +1 -1
- package/runtime/core-plugins.js +9 -0
- package/runtime/custom-actions.d.ts +18 -9
- package/runtime/custom-actions.d.ts.map +1 -1
- package/runtime/custom-actions.js +85 -23
- package/runtime/eliza-plugin.d.ts.map +1 -1
- package/runtime/eliza-plugin.js +15 -1
- package/runtime/eliza.d.ts +9 -7
- package/runtime/eliza.d.ts.map +1 -1
- package/runtime/eliza.js +86 -23
- package/runtime/first-time-setup.d.ts +1 -3
- package/runtime/first-time-setup.d.ts.map +1 -1
- package/runtime/first-time-setup.js +0 -2
- package/runtime/index.d.ts +18 -18
- package/runtime/load-plugin-from-vfs.d.ts +2 -2
- package/runtime/mobile-dns.d.ts.map +1 -1
- package/runtime/mobile-dns.js +2 -5
- package/runtime/operations/classifier.d.ts +1 -1
- package/runtime/operations/cold-strategy.d.ts +1 -1
- package/runtime/operations/health-checks.d.ts +1 -1
- package/runtime/operations/health.d.ts +1 -1
- package/runtime/operations/index.d.ts +10 -10
- package/runtime/operations/manager.d.ts +3 -3
- package/runtime/operations/reload-hot.d.ts +1 -1
- package/runtime/operations/repository.d.ts +1 -1
- package/runtime/operations/vault-bridge.d.ts +1 -1
- package/runtime/plugin-collector.d.ts +6 -1
- package/runtime/plugin-collector.d.ts.map +1 -1
- package/runtime/plugin-collector.js +11 -28
- package/runtime/plugin-lifecycle.d.ts.map +1 -1
- package/runtime/plugin-lifecycle.js +1 -0
- package/runtime/plugin-resolver.d.ts +2 -2
- package/runtime/plugin-resolver.d.ts.map +1 -1
- package/runtime/plugin-resolver.js +113 -65
- package/runtime/plugin-types.d.ts +1 -1
- package/runtime/prompt-optimization.d.ts +4 -4
- package/runtime/remote-coding-runner-gate.d.ts +7 -0
- package/runtime/remote-coding-runner-gate.d.ts.map +1 -0
- package/runtime/remote-coding-runner-gate.js +36 -0
- package/runtime/roles/src/index.d.ts +4 -4
- package/runtime/roles.d.ts +2 -2
- package/runtime/sandbox-character.d.ts +1 -1
- package/runtime/tool-call-cache/cache.d.ts +1 -1
- package/runtime/tool-call-cache/disk-store.d.ts +1 -1
- package/runtime/tool-call-cache/index.d.ts +6 -6
- package/runtime/tool-call-cache/key.d.ts +1 -1
- package/runtime/tool-call-cache/redact.d.ts +1 -1
- package/runtime/tool-call-cache/registry.d.ts +1 -1
- package/runtime/tool-call-cache-wrapper.d.ts +7 -9
- package/runtime/tool-call-cache-wrapper.d.ts.map +1 -1
- package/runtime/tool-call-cache-wrapper.js +6 -11
- package/runtime/trajectory-export.d.ts +3 -3
- package/runtime/trajectory-internals.d.ts +2 -1
- package/runtime/trajectory-internals.d.ts.map +1 -1
- package/runtime/trajectory-persistence.d.ts +5 -5
- package/runtime/trajectory-steps-reader.d.ts +1 -1
- package/runtime/trajectory-steps-writer.d.ts +1 -1
- package/runtime/trajectory-storage.d.ts +4 -4
- package/runtime/view-action-affinity.d.ts +18 -15
- package/runtime/view-action-affinity.d.ts.map +1 -1
- package/runtime/view-action-affinity.js +26 -29
- package/runtime/web-search-tools.d.ts +4 -1
- package/runtime/web-search-tools.d.ts.map +1 -1
- package/runtime/web-search-tools.js +37 -9
- package/security/index.d.ts +3 -3
- package/services/approval/index.d.ts +9 -0
- package/services/approval/index.d.ts.map +1 -0
- package/services/approval/index.js +8 -0
- package/services/approval/service.d.ts +35 -0
- package/services/approval/service.d.ts.map +1 -0
- package/services/approval/service.js +40 -0
- package/services/approval/sql.d.ts +18 -0
- package/services/approval/sql.d.ts.map +1 -0
- package/services/approval/sql.js +104 -0
- package/services/approval/store.d.ts +39 -0
- package/services/approval/store.d.ts.map +1 -0
- package/services/approval/store.js +534 -0
- package/services/approval/types.d.ts +207 -0
- package/services/approval/types.d.ts.map +1 -0
- package/services/approval/types.js +34 -0
- package/services/character-persistence.d.ts +2 -2
- package/services/client-chat-sender.d.ts +1 -1
- package/services/config-plugin-manager.d.ts +2 -2
- package/services/connector-setup-service.d.ts +1 -1
- package/services/cove-quote-x509.d.ts +1 -1
- package/services/cove-quote.d.ts +2 -2
- package/services/dstack-tee-provider.d.ts +1 -1
- package/services/file-storage.d.ts +20 -0
- package/services/file-storage.d.ts.map +1 -0
- package/services/file-storage.js +70 -0
- package/services/global-pause/index.d.ts +8 -0
- package/services/global-pause/index.d.ts.map +1 -0
- package/services/global-pause/index.js +7 -0
- package/services/global-pause/service.d.ts +29 -0
- package/services/global-pause/service.d.ts.map +1 -0
- package/services/global-pause/service.js +34 -0
- package/services/global-pause/store.d.ts +31 -0
- package/services/global-pause/store.d.ts.map +1 -0
- package/services/global-pause/store.js +83 -0
- package/services/handoff/index.d.ts +8 -0
- package/services/handoff/index.d.ts.map +1 -0
- package/services/handoff/index.js +7 -0
- package/services/handoff/service.d.ts +29 -0
- package/services/handoff/service.d.ts.map +1 -0
- package/services/handoff/service.js +34 -0
- package/services/handoff/store.d.ts +76 -0
- package/services/handoff/store.d.ts.map +1 -0
- package/services/handoff/store.js +148 -0
- package/services/index.d.ts +30 -31
- package/services/index.d.ts.map +1 -1
- package/services/index.js +0 -6
- package/services/js-runtime-bridge.d.ts.map +1 -1
- package/services/js-runtime-bridge.js +8 -2
- package/services/knowledge-graph/index.d.ts +4 -4
- package/services/knowledge-graph/service.d.ts +2 -2
- package/services/pending-prompts/index.d.ts +8 -0
- package/services/pending-prompts/index.d.ts.map +1 -0
- package/services/pending-prompts/index.js +7 -0
- package/services/pending-prompts/service.d.ts +34 -0
- package/services/pending-prompts/service.d.ts.map +1 -0
- package/services/pending-prompts/service.js +68 -0
- package/services/pending-prompts/store.d.ts +70 -0
- package/services/pending-prompts/store.d.ts.map +1 -0
- package/services/pending-prompts/store.js +191 -0
- package/services/plugin-compiler.d.ts +1 -1
- package/services/plugin-installer.d.ts.map +1 -1
- package/services/plugin-installer.js +21 -11
- package/services/plugin-manager-types.d.ts +1 -1
- package/services/proactive-interaction-decider.d.ts +62 -11
- package/services/proactive-interaction-decider.d.ts.map +1 -1
- package/services/proactive-interaction-decider.js +223 -35
- package/services/push/apns-provider.d.ts +1 -1
- package/services/push/fcm-provider.d.ts +1 -1
- package/services/push/notification-push-service.d.ts +2 -2
- package/services/registry-client-app-meta.d.ts +1 -1
- package/services/registry-client-endpoints.d.ts +2 -2
- package/services/registry-client-local.d.ts +1 -1
- package/services/registry-client-network.d.ts +1 -1
- package/services/registry-client-queries.d.ts +1 -1
- package/services/registry-client.d.ts +3 -3
- package/services/relationships-graph.d.ts +1 -1
- package/services/remote-capability-cloud-sandbox.d.ts +3 -3
- package/services/remote-capability-endpoint-conformance.d.ts +1 -1
- package/services/remote-capability-endpoint-provider.d.ts +4 -4
- package/services/remote-capability-url-endpoint-providers.d.ts +1 -1
- package/services/remote-plugin-adapter.d.ts.map +1 -1
- package/services/remote-plugin-adapter.js +3 -0
- package/services/remote-plugin-bridge.d.ts.map +1 -1
- package/services/remote-plugin-bridge.js +97 -26
- package/services/remote-signing-service.d.ts +4 -4
- package/services/research-task-executor.d.ts +1 -1
- package/services/sandbox-manager.d.ts +1 -1
- package/services/self-updater.d.ts +1 -1
- package/services/self-updater.d.ts.map +1 -1
- package/services/self-updater.js +23 -9
- package/services/shell-execution-router.d.ts +1 -1
- package/services/shell-execution-router.d.ts.map +1 -1
- package/services/shell-execution-router.js +19 -2
- package/services/tee-boot-gate-state.d.ts +1 -1
- package/services/tee-boot-gate.d.ts +4 -4
- package/services/tee-confidential-inference.d.ts +3 -3
- package/services/tee-key-release.d.ts +2 -2
- package/services/tee-model-key-boot.d.ts +4 -4
- package/services/tee-policy.d.ts +1 -1
- package/services/tee-production-profile.d.ts +1 -1
- package/services/tee-release-policy.d.ts +1 -1
- package/services/tee-revocation.d.ts +2 -2
- package/services/tee-runtime-config.d.ts +1 -1
- package/services/tee-sealed-volume.d.ts +3 -3
- package/services/tee-signer-backend.d.ts +3 -3
- package/services/update-checker.d.ts +1 -1
- package/services/vault-signer-backend.d.ts +1 -1
- package/services/vfs-git.d.ts +1 -1
- package/test-support/index.d.ts +3 -3
- package/triggers/runtime.d.ts +1 -1
- package/triggers/scheduling.d.ts +3 -22
- package/triggers/scheduling.d.ts.map +1 -1
- package/triggers/scheduling.js +2 -214
- package/tui/agent-terminal-tui.d.ts.map +1 -1
- package/tui/agent-terminal-tui.js +174 -72
- package/types/index.d.ts +3 -3
- package/api/nfa-routes.d.ts +0 -6
- package/api/nfa-routes.d.ts.map +0 -1
- package/api/nfa-routes.js +0 -125
- package/api/server-auth.d.ts +0 -46
- package/api/server-auth.d.ts.map +0 -1
- package/api/server-auth.js +0 -504
- package/runtime/restart.d.ts +0 -9
- package/runtime/restart.d.ts.map +0 -1
- package/runtime/restart.js +0 -8
- package/test-utils/sqlite-compat.d.ts +0 -23
- package/test-utils/sqlite-compat.d.ts.map +0 -1
- package/test-utils/sqlite-compat.js +0 -214
package/index.d.ts
CHANGED
|
@@ -9,89 +9,91 @@ export declare function handleCloudCompatRoute(...args: unknown[]): Promise<bool
|
|
|
9
9
|
export declare function handleCloudRoute(...args: unknown[]): Promise<boolean>;
|
|
10
10
|
export declare function validateCloudBaseUrl(value: string): Promise<string | null>;
|
|
11
11
|
export type { ElizaConfig, ReleaseChannel, RolesConfig } from "@elizaos/shared";
|
|
12
|
-
export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, type ParseClampedIntegerOptions, type ParseClampedNumberOptions, type ParsePositiveNumberOptions, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, resolveCloudApiBaseUrl, STREAMING_PLUGINS, } from "@elizaos/shared";
|
|
13
|
-
export { type ExtractActionParamsArgs, extractActionParamsViaLlm, type ParamSchemaDescriptor, } from "./actions/extract-params.
|
|
14
|
-
export * from "./actions/index.
|
|
15
|
-
export * from "./api/config-env.
|
|
16
|
-
export { handleConnectorAccountRoutes } from "./api/connector-account-routes.
|
|
17
|
-
export * from "./api/conversation-metadata.
|
|
18
|
-
export * from "./api/index.
|
|
19
|
-
export { setOwnerContact } from "./api/owner-contact-helpers.
|
|
20
|
-
export { findPrimaryEnvKey, readBundledPluginPackageMetadata, } from "./api/plugin-discovery-helpers.
|
|
21
|
-
export * from "./api/plugin-runtime-apply.
|
|
22
|
-
export type { PluginParamInfo } from "./api/plugin-validation.
|
|
23
|
-
export { applyCanonicalFirstRunConfig, applyFirstRunCredentialPersistence, clearPersistedFirstRunConfig, } from "./api/provider-switch-config.
|
|
24
|
-
export { RegistryService } from "./api/registry-service.
|
|
25
|
-
export { AGENT_EVENT_ALLOWED_STREAMS, CONFIG_WRITE_ALLOWED_TOP_KEYS, type ConversationMeta, type captureEarlyLogs, cloneWithoutBlockedObjectKeys, decodePathComponent, discoverInstalledPlugins, discoverPluginsFromManifest, ensureApiTokenForBindHost, extractAuthToken, fetchWithTimeoutGuard, injectApiBaseIntoHtml, isAllowedHost, isAuthorized, isSafeResetStateDir, normalizeWsClientId, type PluginConfigMutationRejection, persistConversationRoomTitle, resolveCorsOrigin, resolveMcpServersRejection, resolveMcpTerminalAuthorizationRejection, resolvePluginConfigMutationRejections, resolveTerminalRunClientId, resolveTerminalRunRejection, resolveWalletExportRejection, resolveWebSocketUpgradeRejection, routeAutonomyTextToUser, startApiServer, streamResponseBodyWithByteLimit, validateMcpServerConfig, } from "./api/server.
|
|
26
|
-
export { type DeletedConversationsStateFile, getAgentEventSvc, initializeOGCodeInState, persistDeletedConversationIdsToState, readDeletedConversationIdsFromState, readOGCodeFromState, requireCoreManager, requirePluginManager, } from "./api/server-helpers.
|
|
27
|
-
export { getConfiguredApiToken, isTrustedLocalRequest, } from "./api/server-helpers-auth.
|
|
28
|
-
export type { AgentAutomationMode, ChatAttachmentWithData, ConnectorRouteHandler, ConversationAutomationType, ConversationMetadata, ConversationScope, PluginEntry, PluginParamDef, StreamEventType, TradePermissionMode, } from "./api/server-types.
|
|
29
|
-
export { normalizeJsonRpcUrl, probeJsonRpcEndpoint, TxService, } from "./api/tx-service.
|
|
30
|
-
export { getWalletAddresses, initStewardWalletCache } from "./api/wallet.
|
|
31
|
-
export * from "./api/wallet-capability.
|
|
32
|
-
export * from "./api/workbench-helpers.
|
|
33
|
-
export * from "./auth/index.
|
|
34
|
-
export * from "./awareness/index.
|
|
35
|
-
export { runBenchmark } from "./cli/benchmark.
|
|
36
|
-
export { CharacterSchema } from "./config/character-schema.
|
|
37
|
-
export { loadElizaConfig, saveElizaConfig } from "./config/config.
|
|
38
|
-
export * from "./config/index.
|
|
39
|
-
export { resolveUserPath } from "./config/paths.
|
|
40
|
-
export { getPluginWidgets, type PluginWidgetDeclarationServer, } from "./config/plugin-widgets.
|
|
41
|
-
export * from "./contracts/awareness.
|
|
42
|
-
export * from "./diagnostics/integration-observability.
|
|
43
|
-
export * from "./hooks/index.
|
|
44
|
-
export * from "./providers/workspace.
|
|
45
|
-
export * from "./runtime/advanced-capabilities-config.
|
|
46
|
-
export * from "./runtime/agent-event-service.
|
|
47
|
-
export * from "./runtime/core-plugins.
|
|
48
|
-
export * from "./runtime/eliza.
|
|
49
|
-
export * from "./runtime/eliza-plugin.
|
|
50
|
-
export * from "./runtime/first-run-names.
|
|
51
|
-
export { isCloudExecutionMode, type LocalExecutionMode, type RuntimeExecutionMode, type RuntimeExecutionModeSource, resolveLocalExecutionMode, resolveRuntimeExecutionMode, shouldUseSandboxExecution, } from "./runtime/local-execution-mode.
|
|
52
|
-
export * from "./runtime/operations/vault-bridge.
|
|
53
|
-
export * from "./runtime/owner-entity.
|
|
54
|
-
export * from "./runtime/plugin-collector.
|
|
55
|
-
export * from "./runtime/plugin-lifecycle.
|
|
56
|
-
export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.
|
|
57
|
-
export * from "./runtime/plugin-types.
|
|
58
|
-
export * from "./runtime/release-plugin-policy.
|
|
59
|
-
export * from "./runtime/
|
|
60
|
-
export * from "./runtime/trajectory-
|
|
61
|
-
export * from "./runtime/trajectory-
|
|
62
|
-
export * from "./runtime/
|
|
63
|
-
export * from "./
|
|
64
|
-
export
|
|
65
|
-
export * from "./services/cove-quote.
|
|
66
|
-
export * from "./services/dstack-tee-provider.
|
|
67
|
-
export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.
|
|
68
|
-
export
|
|
69
|
-
export {
|
|
70
|
-
export
|
|
71
|
-
export
|
|
72
|
-
export
|
|
73
|
-
export {
|
|
74
|
-
export
|
|
75
|
-
export {
|
|
76
|
-
export
|
|
77
|
-
export
|
|
78
|
-
export
|
|
79
|
-
export * from "./services/tee-
|
|
80
|
-
export * from "./services/tee-
|
|
81
|
-
export * from "./services/tee-
|
|
82
|
-
export * from "./services/tee-
|
|
83
|
-
export * from "./services/tee-
|
|
84
|
-
export * from "./services/tee-
|
|
85
|
-
export * from "./services/tee-
|
|
86
|
-
export * from "./services/tee-
|
|
87
|
-
export * from "./services/tee-
|
|
88
|
-
export * from "./services/tee-
|
|
89
|
-
export
|
|
90
|
-
export * from "./
|
|
91
|
-
export * from "./
|
|
92
|
-
export
|
|
93
|
-
export * from "./
|
|
94
|
-
export * from "./triggers/
|
|
95
|
-
export * from "./
|
|
96
|
-
export * from "./
|
|
12
|
+
export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, type ParseClampedIntegerOptions, type ParseClampedNumberOptions, type ParsePositiveNumberOptions, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, RESTART_EXIT_CODE, type RestartHandler, requestRestart, resolveCloudApiBaseUrl, STREAMING_PLUGINS, setRestartHandler, } from "@elizaos/shared";
|
|
13
|
+
export { type ExtractActionParamsArgs, extractActionParamsViaLlm, type ParamSchemaDescriptor, } from "./actions/extract-params.js";
|
|
14
|
+
export * from "./actions/index.js";
|
|
15
|
+
export * from "./api/config-env.js";
|
|
16
|
+
export { handleConnectorAccountRoutes } from "./api/connector-account-routes.js";
|
|
17
|
+
export * from "./api/conversation-metadata.js";
|
|
18
|
+
export * from "./api/index.js";
|
|
19
|
+
export { setOwnerContact } from "./api/owner-contact-helpers.js";
|
|
20
|
+
export { findPrimaryEnvKey, readBundledPluginPackageMetadata, } from "./api/plugin-discovery-helpers.js";
|
|
21
|
+
export * from "./api/plugin-runtime-apply.js";
|
|
22
|
+
export type { PluginParamInfo } from "./api/plugin-validation.js";
|
|
23
|
+
export { applyCanonicalFirstRunConfig, applyFirstRunCredentialPersistence, clearPersistedFirstRunConfig, } from "./api/provider-switch-config.js";
|
|
24
|
+
export { RegistryService } from "./api/registry-service.js";
|
|
25
|
+
export { AGENT_EVENT_ALLOWED_STREAMS, CONFIG_WRITE_ALLOWED_TOP_KEYS, type ConversationMeta, type captureEarlyLogs, cloneWithoutBlockedObjectKeys, decodePathComponent, discoverInstalledPlugins, discoverPluginsFromManifest, ensureApiTokenForBindHost, extractAuthToken, fetchWithTimeoutGuard, injectApiBaseIntoHtml, isAllowedHost, isAuthorized, isSafeResetStateDir, normalizeWsClientId, type PluginConfigMutationRejection, persistConversationRoomTitle, resolveCorsOrigin, resolveMcpServersRejection, resolveMcpTerminalAuthorizationRejection, resolvePluginConfigMutationRejections, resolveTerminalRunClientId, resolveTerminalRunRejection, resolveWalletExportRejection, resolveWebSocketUpgradeRejection, routeAutonomyTextToUser, startApiServer, streamResponseBodyWithByteLimit, validateMcpServerConfig, } from "./api/server.js";
|
|
26
|
+
export { type DeletedConversationsStateFile, getAgentEventSvc, initializeOGCodeInState, persistDeletedConversationIdsToState, readDeletedConversationIdsFromState, readOGCodeFromState, requireCoreManager, requirePluginManager, } from "./api/server-helpers.js";
|
|
27
|
+
export { getConfiguredApiToken, isTrustedLocalRequest, } from "./api/server-helpers-auth.js";
|
|
28
|
+
export type { AgentAutomationMode, ChatAttachmentWithData, ConnectorRouteHandler, ConversationAutomationType, ConversationMetadata, ConversationScope, PluginEntry, PluginParamDef, StreamEventType, TradePermissionMode, } from "./api/server-types.js";
|
|
29
|
+
export { normalizeJsonRpcUrl, probeJsonRpcEndpoint, TxService, } from "./api/tx-service.js";
|
|
30
|
+
export { getWalletAddresses, initStewardWalletCache } from "./api/wallet.js";
|
|
31
|
+
export * from "./api/wallet-capability.js";
|
|
32
|
+
export * from "./api/workbench-helpers.js";
|
|
33
|
+
export * from "./auth/index.js";
|
|
34
|
+
export * from "./awareness/index.js";
|
|
35
|
+
export { runBenchmark } from "./cli/benchmark.js";
|
|
36
|
+
export { CharacterSchema } from "./config/character-schema.js";
|
|
37
|
+
export { loadElizaConfig, saveElizaConfig } from "./config/config.js";
|
|
38
|
+
export * from "./config/index.js";
|
|
39
|
+
export { resolveUserPath } from "./config/paths.js";
|
|
40
|
+
export { getPluginWidgets, type PluginWidgetDeclarationServer, } from "./config/plugin-widgets.js";
|
|
41
|
+
export * from "./contracts/awareness.js";
|
|
42
|
+
export * from "./diagnostics/integration-observability.js";
|
|
43
|
+
export * from "./hooks/index.js";
|
|
44
|
+
export * from "./providers/workspace.js";
|
|
45
|
+
export * from "./runtime/advanced-capabilities-config.js";
|
|
46
|
+
export * from "./runtime/agent-event-service.js";
|
|
47
|
+
export * from "./runtime/core-plugins.js";
|
|
48
|
+
export * from "./runtime/eliza.js";
|
|
49
|
+
export * from "./runtime/eliza-plugin.js";
|
|
50
|
+
export * from "./runtime/first-run-names.js";
|
|
51
|
+
export { isCloudExecutionMode, type LocalExecutionMode, type RuntimeExecutionMode, type RuntimeExecutionModeSource, resolveLocalExecutionMode, resolveRuntimeExecutionMode, shouldUseSandboxExecution, } from "./runtime/local-execution-mode.js";
|
|
52
|
+
export * from "./runtime/operations/vault-bridge.js";
|
|
53
|
+
export * from "./runtime/owner-entity.js";
|
|
54
|
+
export * from "./runtime/plugin-collector.js";
|
|
55
|
+
export * from "./runtime/plugin-lifecycle.js";
|
|
56
|
+
export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.js";
|
|
57
|
+
export * from "./runtime/plugin-types.js";
|
|
58
|
+
export * from "./runtime/release-plugin-policy.js";
|
|
59
|
+
export * from "./runtime/trajectory-internals.js";
|
|
60
|
+
export * from "./runtime/trajectory-persistence.js";
|
|
61
|
+
export * from "./runtime/trajectory-query.js";
|
|
62
|
+
export * from "./runtime/version.js";
|
|
63
|
+
export * from "./security/index.js";
|
|
64
|
+
export { APPROVAL_SERVICE, type ApprovalAction, type ApprovalChannel, type ApprovalEnqueueInput, type ApprovalListFilter, ApprovalNotFoundError, type ApprovalPayload, type ApprovalQueue, type ApprovalQueueOptions, type ApprovalRequest, type ApprovalRequestState, type ApprovalResolution, ApprovalService, ApprovalStateTransitionError, type ApprovalTravelCalendarSync, type ApprovalTravelPassenger, createApprovalQueue, PgApprovalQueue, resolveApprovalService, } from "./services/approval/index.js";
|
|
65
|
+
export * from "./services/cove-quote.js";
|
|
66
|
+
export * from "./services/dstack-tee-provider.js";
|
|
67
|
+
export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.js";
|
|
68
|
+
export { createGlobalPauseStore, GLOBAL_PAUSE_CACHE_KEY, GLOBAL_PAUSE_SERVICE, GlobalPauseService, type GlobalPauseStatus, type GlobalPauseStore, type GlobalPauseWindow, resolveGlobalPauseService, } from "./services/global-pause/index.js";
|
|
69
|
+
export { createHandoffStore, describeResumeCondition, evaluateResume, HANDOFF_SERVICE, type HandoffEnterOpts, HandoffService, type HandoffStatus, type HandoffStore, type ResumeCondition, type ResumeEvaluation, type ResumeEvaluationInput, resolveHandoffService, } from "./services/handoff/index.js";
|
|
70
|
+
export * from "./services/index.js";
|
|
71
|
+
export { type JsRuntimeBridge, type JsRuntimeEvaluateOptions, type JsRuntimeFactory, type JsRuntimeImportOptions, type JsRuntimeKind, type JsValue, registerJsRuntimeFactory, resolveJsRuntimeBridge, } from "./services/js-runtime-bridge.js";
|
|
72
|
+
export { EntityStore, KNOWLEDGE_GRAPH_SERVICE, KnowledgeGraphService, knowledgeGraphSchema, RelationshipStore, resolveKnowledgeGraphService, } from "./services/knowledge-graph/index.js";
|
|
73
|
+
export { createPendingPromptsStore, type ExpectedReplyKind, PENDING_PROMPTS_SERVICE, type PendingPrompt, type PendingPromptRecordInput, PendingPromptsService, type PendingPromptsStore, type RecordedPendingPrompt, resolvePendingPromptsService, } from "./services/pending-prompts/index.js";
|
|
74
|
+
export * from "./services/plugin-installer.js";
|
|
75
|
+
export type { CoreManagerLike, CoreStatusLike, EjectResult, InstallProgressLike, PluginInstallOptionsLike, PluginInstallResult, PluginManagerLike, PluginUninstallResult, RegistryPluginAppMeta, RegistryPluginAppSessionFeature, RegistryPluginAppSessionInfo, RegistryPluginAppSessionMode, RegistryPluginInfo, RegistryPluginNpmInfo, RegistryPluginViewerInfo, RegistrySearchResult, RegistryVersionSupport, ReinjectResult, SyncResult, } from "./services/plugin-manager-types.js";
|
|
76
|
+
export { isCoreManagerLike, isPluginManagerLike, } from "./services/plugin-manager-types.js";
|
|
77
|
+
export { type ClusterMemoriesQuery, type ClusterSearchQuery, createNativeRelationshipsGraphService, getMemoriesForCluster, type RelationshipsGraphEdge, type RelationshipsGraphQuery, type RelationshipsGraphService, type RelationshipsGraphSnapshot, type RelationshipsGraphStats, type RelationshipsPersonDetail, type RelationshipsPersonFact, type RelationshipsPersonSummary, resolveRelationshipsGraphService, searchMemoriesForCluster, } from "./services/relationships-graph.js";
|
|
78
|
+
export { runShell, type ShellExecutionMode, type ShellRequest, type ShellResult, type ShellRouterContext, type ShellSandboxBackend, } from "./services/shell-execution-router.js";
|
|
79
|
+
export * from "./services/tee-boot-gate.js";
|
|
80
|
+
export * from "./services/tee-boot-gate-state.js";
|
|
81
|
+
export * from "./services/tee-confidential-inference.js";
|
|
82
|
+
export * from "./services/tee-evidence.js";
|
|
83
|
+
export * from "./services/tee-key-release.js";
|
|
84
|
+
export * from "./services/tee-model-key-boot.js";
|
|
85
|
+
export * from "./services/tee-policy.js";
|
|
86
|
+
export * from "./services/tee-production-profile.js";
|
|
87
|
+
export * from "./services/tee-release-policy.js";
|
|
88
|
+
export * from "./services/tee-revocation.js";
|
|
89
|
+
export * from "./services/tee-runtime-config.js";
|
|
90
|
+
export * from "./services/tee-sealed-volume.js";
|
|
91
|
+
export * from "./services/tee-signer-backend.js";
|
|
92
|
+
export { resolveDefaultAgentWorkspaceDir } from "./shared/workspace-resolution.js";
|
|
93
|
+
export * from "./test-support/index.js";
|
|
94
|
+
export * from "./triggers/runtime.js";
|
|
95
|
+
export * from "./triggers/scheduling.js";
|
|
96
|
+
export * from "./triggers/types.js";
|
|
97
|
+
export * from "./types/index.js";
|
|
98
|
+
export * from "./version-resolver.js";
|
|
97
99
|
//# sourceMappingURL=index.d.ts.map
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,YAAY,EACZ,eAAe,EACf,qBAAqB,EACrB,QAAQ,EACR,aAAa,GACd,MAAM,eAAe,CAAC;AACvB,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC;CACxB;AAiBD,wBAAsB,uBAAuB,CAC3C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAsB,sBAAsB,CAC1C,GAAG,IAAI,EAAE,OAAO,EAAE,GACjB,OAAO,CAAC,OAAO,CAAC,CAGlB;AAED,wBAAsB,gBAAgB,CAAC,GAAG,IAAI,EAAE,OAAO,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,CAG3E;AAED,wBAAsB,oBAAoB,CACxC,KAAK,EAAE,MAAM,GACZ,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAGxB;AACD,YAAY,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAChF,OAAO,EACL,iBAAiB,EACjB,qBAAqB,EACrB,KAAK,0BAA0B,EA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ACjB,mBAAmB,GACpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,EACvB,qCAAqC,EACrC,qBAAqB,EACrB,KAAK,sBAAsB,EAC3B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,uBAAuB,EAC5B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,gCAAgC,EAChC,wBAAwB,GACzB,MAAM,mCAAmC,CAAC;AAI3C,OAAO,EACL,QAAQ,EACR,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,WAAW,EAChB,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,GACzB,MAAM,sCAAsC,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,mCAAmC,CAAC;AAClD,cAAc,0CAA0C,CAAC;AACzD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,sCAAsC,CAAC;AACrD,cAAc,kCAAkC,CAAC;AACjD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kCAAkC,CAAC;AACjD,cAAc,iCAAiC,CAAC;AAChD,cAAc,kCAAkC,CAAC;AACjD,OAAO,EAAE,+BAA+B,EAAE,MAAM,kCAAkC,CAAC;AACnF,cAAc,yBAAyB,CAAC;AACxC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,uBAAuB,CAAC"}
|
package/index.js
CHANGED
|
@@ -18,7 +18,7 @@ export async function validateCloudBaseUrl(value) {
|
|
|
18
18
|
const { validateCloudBaseUrl } = await loadElizaCloudRoutes();
|
|
19
19
|
return validateCloudBaseUrl(value);
|
|
20
20
|
}
|
|
21
|
-
export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, resolveCloudApiBaseUrl, STREAMING_PLUGINS, } from "@elizaos/shared";
|
|
21
|
+
export { CONNECTOR_PLUGINS, normalizeCloudSiteUrl, parseClampedFloat, parseClampedInteger, parsePositiveFloat, parsePositiveInteger, RESTART_EXIT_CODE, requestRestart, resolveCloudApiBaseUrl, STREAMING_PLUGINS, setRestartHandler, } from "@elizaos/shared";
|
|
22
22
|
export { extractActionParamsViaLlm, } from "./actions/extract-params.js";
|
|
23
23
|
export * from "./actions/index.js";
|
|
24
24
|
export * from "./api/config-env.js";
|
|
@@ -82,21 +82,30 @@ export * from "./runtime/plugin-lifecycle.js";
|
|
|
82
82
|
export { getLastFailedPluginDetails, getLastFailedPluginNames, resolvePlugins, } from "./runtime/plugin-resolver.js";
|
|
83
83
|
export * from "./runtime/plugin-types.js";
|
|
84
84
|
export * from "./runtime/release-plugin-policy.js";
|
|
85
|
-
export * from "./runtime/restart.js";
|
|
86
85
|
export * from "./runtime/trajectory-internals.js";
|
|
87
86
|
export * from "./runtime/trajectory-persistence.js";
|
|
88
87
|
export * from "./runtime/trajectory-query.js";
|
|
89
88
|
export * from "./runtime/version.js";
|
|
90
89
|
export * from "./security/index.js";
|
|
90
|
+
// Runtime owner-approval queue promoted from LifeOps (Slice 4). Named
|
|
91
|
+
// re-export — same rationale as the knowledge graph / pending-prompts below:
|
|
92
|
+
// keep it out of the broad services barrel to avoid TS2308.
|
|
93
|
+
export { APPROVAL_SERVICE, ApprovalNotFoundError, ApprovalService, ApprovalStateTransitionError, createApprovalQueue, PgApprovalQueue, resolveApprovalService, } from "./services/approval/index.js";
|
|
91
94
|
export * from "./services/cove-quote.js";
|
|
92
95
|
export * from "./services/dstack-tee-provider.js";
|
|
93
96
|
export { isStewardEvmBridgeActive, setStewardEvmBridgeActive, } from "./services/external-bridge-state.js";
|
|
97
|
+
export { createGlobalPauseStore, GLOBAL_PAUSE_CACHE_KEY, GLOBAL_PAUSE_SERVICE, GlobalPauseService, resolveGlobalPauseService, } from "./services/global-pause/index.js";
|
|
98
|
+
export { createHandoffStore, describeResumeCondition, evaluateResume, HANDOFF_SERVICE, HandoffService, resolveHandoffService, } from "./services/handoff/index.js";
|
|
94
99
|
export * from "./services/index.js";
|
|
95
100
|
export { registerJsRuntimeFactory, resolveJsRuntimeBridge, } from "./services/js-runtime-bridge.js";
|
|
96
101
|
// Runtime knowledge graph (entity/relationship stores + service). Named
|
|
97
102
|
// re-export to mirror the relationships-graph surface and avoid colliding
|
|
98
103
|
// with the broad services barrel.
|
|
99
104
|
export { EntityStore, KNOWLEDGE_GRAPH_SERVICE, KnowledgeGraphService, knowledgeGraphSchema, RelationshipStore, resolveKnowledgeGraphService, } from "./services/knowledge-graph/index.js";
|
|
105
|
+
// Cache-backed runtime stores promoted from LifeOps (pending-prompts /
|
|
106
|
+
// global-pause / handoff). Named re-exports — same rationale as the knowledge
|
|
107
|
+
// graph above: keep them out of the broad services barrel to avoid TS2308.
|
|
108
|
+
export { createPendingPromptsStore, PENDING_PROMPTS_SERVICE, PendingPromptsService, resolvePendingPromptsService, } from "./services/pending-prompts/index.js";
|
|
100
109
|
export * from "./services/plugin-installer.js";
|
|
101
110
|
export { isCoreManagerLike, isPluginManagerLike, } from "./services/plugin-manager-types.js";
|
|
102
111
|
export { createNativeRelationshipsGraphService, getMemoriesForCluster, resolveRelationshipsGraphService, searchMemoriesForCluster, } from "./services/relationships-graph.js";
|
|
@@ -119,7 +128,6 @@ export * from "./services/tee-sealed-volume.js";
|
|
|
119
128
|
export * from "./services/tee-signer-backend.js";
|
|
120
129
|
export { resolveDefaultAgentWorkspaceDir } from "./shared/workspace-resolution.js";
|
|
121
130
|
export * from "./test-support/index.js";
|
|
122
|
-
export * from "./test-utils/sqlite-compat.js";
|
|
123
131
|
export * from "./triggers/runtime.js";
|
|
124
132
|
export * from "./triggers/scheduling.js";
|
|
125
133
|
export * from "./triggers/types.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elizaos/agent",
|
|
3
|
-
"version": "2.0.3-beta.
|
|
3
|
+
"version": "2.0.3-beta.3",
|
|
4
4
|
"description": "Standalone elizaOS-based agent and backend server package.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -257,48 +257,50 @@
|
|
|
257
257
|
"@ai-sdk/google": "^3.0.75",
|
|
258
258
|
"@ai-sdk/openai": "^3.0.58",
|
|
259
259
|
"@clack/prompts": "^1.0.0",
|
|
260
|
-
"@elizaos/
|
|
261
|
-
"@elizaos/
|
|
262
|
-
"@elizaos/plugin-agent-
|
|
263
|
-
"@elizaos/plugin-
|
|
264
|
-
"@elizaos/plugin-
|
|
265
|
-
"@elizaos/plugin-
|
|
266
|
-
"@elizaos/plugin-app-
|
|
267
|
-
"@elizaos/plugin-
|
|
268
|
-
"@elizaos/plugin-
|
|
269
|
-
"@elizaos/plugin-
|
|
270
|
-
"@elizaos/plugin-
|
|
271
|
-
"@elizaos/plugin-
|
|
272
|
-
"@elizaos/plugin-
|
|
273
|
-
"@elizaos/plugin-
|
|
274
|
-
"@elizaos/plugin-
|
|
275
|
-
"@elizaos/plugin-
|
|
276
|
-
"@elizaos/plugin-
|
|
277
|
-
"@elizaos/plugin-
|
|
278
|
-
"@elizaos/plugin-
|
|
279
|
-
"@elizaos/plugin-
|
|
280
|
-
"@elizaos/plugin-
|
|
281
|
-
"@elizaos/plugin-
|
|
282
|
-
"@elizaos/plugin-
|
|
283
|
-
"@elizaos/plugin-
|
|
284
|
-
"@elizaos/plugin-
|
|
285
|
-
"@elizaos/plugin-
|
|
286
|
-
"@elizaos/plugin-
|
|
287
|
-
"@elizaos/plugin-
|
|
288
|
-
"@elizaos/plugin-
|
|
289
|
-
"@elizaos/plugin-
|
|
290
|
-
"@elizaos/plugin-video": "2.0.3-beta.
|
|
291
|
-
"@elizaos/plugin-
|
|
292
|
-
"@elizaos/plugin-
|
|
293
|
-
"@elizaos/plugin-
|
|
294
|
-
"@elizaos/plugin-
|
|
295
|
-
"@elizaos/plugin-
|
|
296
|
-
"@elizaos/plugin-
|
|
297
|
-
"@elizaos/
|
|
298
|
-
"@elizaos/
|
|
299
|
-
"@elizaos/
|
|
300
|
-
"@elizaos/
|
|
301
|
-
"@elizaos/
|
|
260
|
+
"@elizaos/core": "2.0.3-beta.3",
|
|
261
|
+
"@elizaos/plugin-agent-orchestrator": "2.0.3-beta.3",
|
|
262
|
+
"@elizaos/plugin-agent-skills": "2.0.3-beta.3",
|
|
263
|
+
"@elizaos/plugin-anthropic": "2.0.3-beta.3",
|
|
264
|
+
"@elizaos/plugin-aosp-local-inference": "2.0.3-beta.3",
|
|
265
|
+
"@elizaos/plugin-app-control": "2.0.3-beta.3",
|
|
266
|
+
"@elizaos/plugin-app-manager": "2.0.3-beta.3",
|
|
267
|
+
"@elizaos/plugin-background-runner": "2.0.3-beta.3",
|
|
268
|
+
"@elizaos/plugin-browser": "2.0.3-beta.3",
|
|
269
|
+
"@elizaos/plugin-capacitor-bridge": "2.0.3-beta.3",
|
|
270
|
+
"@elizaos/plugin-coding-tools": "2.0.3-beta.3",
|
|
271
|
+
"@elizaos/plugin-commands": "2.0.3-beta.3",
|
|
272
|
+
"@elizaos/plugin-computeruse": "2.0.3-beta.3",
|
|
273
|
+
"@elizaos/plugin-contacts": "2.0.3-beta.3",
|
|
274
|
+
"@elizaos/plugin-discord": "2.0.3-beta.3",
|
|
275
|
+
"@elizaos/plugin-elizacloud": "2.0.3-beta.3",
|
|
276
|
+
"@elizaos/plugin-gitpathologist": "2.0.3-beta.3",
|
|
277
|
+
"@elizaos/plugin-imessage": "2.0.3-beta.3",
|
|
278
|
+
"@elizaos/plugin-local-inference": "2.0.3-beta.3",
|
|
279
|
+
"@elizaos/plugin-mcp": "2.0.3-beta.3",
|
|
280
|
+
"@elizaos/plugin-ollama": "2.0.3-beta.3",
|
|
281
|
+
"@elizaos/plugin-openai": "2.0.3-beta.3",
|
|
282
|
+
"@elizaos/plugin-phone": "2.0.3-beta.3",
|
|
283
|
+
"@elizaos/plugin-registry": "2.0.3-beta.3",
|
|
284
|
+
"@elizaos/plugin-remote-manifest": "2.0.3-beta.3",
|
|
285
|
+
"@elizaos/plugin-shell": "2.0.3-beta.3",
|
|
286
|
+
"@elizaos/plugin-signal": "2.0.3-beta.3",
|
|
287
|
+
"@elizaos/plugin-sql": "2.0.3-beta.3",
|
|
288
|
+
"@elizaos/plugin-streaming": "2.0.3-beta.3",
|
|
289
|
+
"@elizaos/plugin-task-coordinator": "2.0.3-beta.3",
|
|
290
|
+
"@elizaos/plugin-video": "2.0.3-beta.3",
|
|
291
|
+
"@elizaos/plugin-vision": "2.0.3-beta.3",
|
|
292
|
+
"@elizaos/plugin-wallet": "2.0.3-beta.3",
|
|
293
|
+
"@elizaos/plugin-whatsapp": "2.0.3-beta.3",
|
|
294
|
+
"@elizaos/plugin-wifi": "2.0.3-beta.3",
|
|
295
|
+
"@elizaos/plugin-worker-runtime": "2.0.3-beta.3",
|
|
296
|
+
"@elizaos/plugin-workflow": "2.0.3-beta.3",
|
|
297
|
+
"@elizaos/plugin-x402": "2.0.3-beta.3",
|
|
298
|
+
"@elizaos/registry": "2.0.3-beta.3",
|
|
299
|
+
"@elizaos/security": "2.0.3-beta.3",
|
|
300
|
+
"@elizaos/shared": "2.0.3-beta.3",
|
|
301
|
+
"@elizaos/skills": "2.0.3-beta.3",
|
|
302
|
+
"@elizaos/tui": "2.0.3-beta.3",
|
|
303
|
+
"@elizaos/vault": "2.0.3-beta.3",
|
|
302
304
|
"@noble/curves": "2.2.0",
|
|
303
305
|
"@noble/hashes": "2.2.0",
|
|
304
306
|
"@solana/web3.js": "1.98.4",
|
|
@@ -328,6 +330,14 @@
|
|
|
328
330
|
"ws": "^8.19.0",
|
|
329
331
|
"zod": "^4.4.3"
|
|
330
332
|
},
|
|
331
|
-
"
|
|
333
|
+
"peerDependencies": {
|
|
334
|
+
"@elizaos/app-core": "2.0.3-beta.3"
|
|
335
|
+
},
|
|
336
|
+
"peerDependenciesMeta": {
|
|
337
|
+
"@elizaos/app-core": {
|
|
338
|
+
"optional": true
|
|
339
|
+
}
|
|
340
|
+
},
|
|
341
|
+
"gitHead": "f54b0f4eaed317d59fa7dbcdce20f4cdb0734420",
|
|
332
342
|
"types": "./index.d.ts"
|
|
333
343
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* - "cloud" mode uses Eliza Cloud (no API key needed)
|
|
12
12
|
* - "own-key" mode uses the user's own API keys
|
|
13
13
|
*/
|
|
14
|
-
import type { AudioGenConfig, AudioKind, ImageConfig, MediaConfig, VideoConfig, VisionConfig } from "../config/types.eliza.
|
|
14
|
+
import type { AudioGenConfig, AudioKind, ImageConfig, MediaConfig, VideoConfig, VisionConfig } from "../config/types.eliza.js";
|
|
15
15
|
/** Fetch with an AbortController-based timeout (default 30s). */
|
|
16
16
|
export declare function fetchWithTimeout(url: string, init: RequestInit, timeoutMs?: number): Promise<Response>;
|
|
17
17
|
export interface MediaProviderResult<T> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"page-scoped-context.d.ts","sourceRoot":"","sources":["../../src/providers/page-scoped-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAGT,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"page-scoped-context.d.ts","sourceRoot":"","sources":["../../src/providers/page-scoped-context.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAGT,MAAM,eAAe,CAAC;AAgkBvB,eAAO,MAAM,yBAAyB,EAAE,QAmGvC,CAAC"}
|
|
@@ -14,7 +14,6 @@ const PAGE_SCOPE_BRIEF = {
|
|
|
14
14
|
"page-connectors": "The user is in the Connectors view. They can inspect connector availability, authentication state, setup requirements, webhook readiness, and integration health. Action vocabulary: LIST_CONNECTORS, TOGGLE_CONNECTOR, SAVE_CONNECTOR_CONFIG, DISCONNECT_CONNECTOR. When the user asks what to do, recommend the smallest connector setup or troubleshooting action that fits the visible state. Never invent connected accounts, permissions, webhook state, or delivery results.",
|
|
15
15
|
"page-phone": "The user is in the Android Phone view. They can place calls through Android Telecom, open the dialer, send SMS through Android SMS, review recent calls, browse contacts, import vCards, and save call transcripts or summaries. Action vocabulary may include MESSAGE with operation=send/read_channel/search, VOICE_CALL, ADD_CONTACT, UPDATE_CONTACT, GET_CONTACT, and SEARCH_CONTACTS when the relevant plugins are enabled. Confirm the target number/contact and message content before calls or SMS. Ground discussion in visible phone state when present and never invent call logs, contacts, message bodies, transcripts, or delivery results.",
|
|
16
16
|
"page-plugins": "The user is in the Plugins view. They can inspect installed plugins, registry plugins, configuration readiness, plugin health, and runtime capability gaps. Action vocabulary: PLUGIN with modes install, eject, sync, reinject, list, search, core_status, or create. When the user asks what to do, recommend the smallest plugin setup or troubleshooting action that fits the visible state. Never invent installed plugins, credentials, or enabled capabilities.",
|
|
17
|
-
"page-lifeops": "The user is in the LifeOps view. They can inspect the overview, goals, reminders, calendar, messages, mail, sleep, screen time, social context, connector setup, capability readiness, and LifeOps settings. The LifeOps app provider and actions are the authoritative execution path for creating or changing personal workflows, reminders, goals, schedules, inbox drafts, connector setup, and executive-assistant follow-through. When the user asks what to do, recommend capability readiness and overview review first, then suggest the smallest concrete LifeOps action. Reference only live LifeOps state below; never invent reminders, messages, calendar events, goals, or connector status.",
|
|
18
17
|
"page-settings": "The user is in the Settings view. They can tune models, providers, permissions, connectors, wallet RPC, cloud account state, appearance, updates, and feature toggles. Action vocabulary: UPDATE_IDENTITY, UPDATE_AI_PROVIDER, TOGGLE_CAPABILITY, and TOGGLE_AUTO_TRAINING. When the user asks what to do, recommend the smallest concrete settings change that fits the visible section. Ask before changes that affect security, spending, or external accounts. Never invent provider status, account state, or permission grants.",
|
|
19
18
|
"page-wallet": "The user is in the Wallet view. They can inspect token inventory, NFTs, LP position status, current balance, P&L, activity, EVM/Solana addresses, RPC/provider readiness, wallet/RPC settings, native Hyperliquid and Polymarket readiness, and Vincent delegated trading. There are no chain filters in this surface. When the user asks what to do, recommend the smallest concrete wallet action and confirm asset/market, amount, destination/outcome, slippage/risk limits, and execution path before invoking any available action. If the user asks about Hyperliquid or Polymarket, prefer native app surfaces for reads/status and only surface Vincent for delegated automated trading. Never invent balances, positions, fills, markets, odds, or execution support.",
|
|
20
19
|
"automation-draft": "This is an automation-creation room. The user wants to create exactly one automation. Decide the right shape based on their description and call the matching action exactly once:\n" +
|
|
@@ -230,72 +229,6 @@ async function renderAppsLiveState() {
|
|
|
230
229
|
}
|
|
231
230
|
return lines.join("\n");
|
|
232
231
|
}
|
|
233
|
-
function formatLifeOpsOverviewSection(label, overview) {
|
|
234
|
-
return `${label}: ${overview.summary.activeOccurrenceCount} active item${overview.summary.activeOccurrenceCount === 1 ? "" : "s"}, ${overview.summary.activeReminderCount} reminder${overview.summary.activeReminderCount === 1 ? "" : "s"}, ${overview.summary.activeGoalCount} goal${overview.summary.activeGoalCount === 1 ? "" : "s"}.`;
|
|
235
|
-
}
|
|
236
|
-
async function renderLifeOpsLiveState() {
|
|
237
|
-
const [overview, capabilities, inbox] = await Promise.all([
|
|
238
|
-
fetchLocalJson("/api/lifeops/overview"),
|
|
239
|
-
fetchLocalJson("/api/lifeops/capabilities"),
|
|
240
|
-
fetchLocalJson("/api/lifeops/inbox?limit=8"),
|
|
241
|
-
]);
|
|
242
|
-
if (!overview && !capabilities && !inbox) {
|
|
243
|
-
return "Live LifeOps state: unavailable from the LifeOps API.";
|
|
244
|
-
}
|
|
245
|
-
const lines = ["Live LifeOps state:"];
|
|
246
|
-
if (capabilities) {
|
|
247
|
-
lines.push(`- App enabled: ${capabilities.appEnabled ? "yes" : "no"}.`);
|
|
248
|
-
lines.push(`- Capabilities: ${capabilities.summary.workingCount} working, ${capabilities.summary.degradedCount} degraded, ${capabilities.summary.blockedCount} blocked, ${capabilities.summary.notConfiguredCount} not configured.`);
|
|
249
|
-
const attention = capabilities.capabilities.filter((capability) => capability.state === "blocked" ||
|
|
250
|
-
capability.state === "degraded" ||
|
|
251
|
-
capability.state === "not_configured");
|
|
252
|
-
for (const capability of attention.slice(0, 5)) {
|
|
253
|
-
lines.push(` - ${capability.label}: ${capability.state} — ${capability.summary}`);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
if (overview) {
|
|
257
|
-
lines.push(`- Overview: ${overview.summary.activeOccurrenceCount} active item${overview.summary.activeOccurrenceCount === 1 ? "" : "s"}, ${overview.summary.overdueOccurrenceCount} overdue, ${overview.summary.activeReminderCount} active reminder${overview.summary.activeReminderCount === 1 ? "" : "s"}, ${overview.summary.activeGoalCount} active goal${overview.summary.activeGoalCount === 1 ? "" : "s"}.`);
|
|
258
|
-
lines.push(`- ${formatLifeOpsOverviewSection("Owner", overview.owner)}`);
|
|
259
|
-
lines.push(`- ${formatLifeOpsOverviewSection("Agent ops", overview.agentOps)}`);
|
|
260
|
-
if (overview.schedule) {
|
|
261
|
-
const relative = overview.schedule.relativeTime;
|
|
262
|
-
const wake = relative.minutesSinceWake !== null
|
|
263
|
-
? `${Math.round(relative.minutesSinceWake)}m since wake`
|
|
264
|
-
: "wake time unknown";
|
|
265
|
-
const bedtime = relative.minutesUntilBedtimeTarget !== null
|
|
266
|
-
? `${Math.round(relative.minutesUntilBedtimeTarget)}m until bedtime target`
|
|
267
|
-
: "bedtime target unknown";
|
|
268
|
-
lines.push(`- Schedule: ${overview.schedule.circadianState} (${Math.round(overview.schedule.stateConfidence * 100)}% confidence), ${overview.schedule.sleepStatus}; ${wake}; ${bedtime}.`);
|
|
269
|
-
}
|
|
270
|
-
const activeReminders = [
|
|
271
|
-
...overview.owner.reminders,
|
|
272
|
-
...overview.agentOps.reminders,
|
|
273
|
-
];
|
|
274
|
-
if (activeReminders.length > 0) {
|
|
275
|
-
lines.push("Active reminders:");
|
|
276
|
-
for (const reminder of activeReminders.slice(0, 5)) {
|
|
277
|
-
lines.push(`- ${reminder.title} (${reminder.channel}, ${reminder.state}) scheduled ${reminder.scheduledFor}`);
|
|
278
|
-
}
|
|
279
|
-
}
|
|
280
|
-
const activeGoals = [...overview.owner.goals, ...overview.agentOps.goals];
|
|
281
|
-
if (activeGoals.length > 0) {
|
|
282
|
-
lines.push("Active goals:");
|
|
283
|
-
for (const goal of activeGoals.slice(0, 5)) {
|
|
284
|
-
lines.push(`- ${goal.title} (${goal.status})`);
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
}
|
|
288
|
-
if (inbox) {
|
|
289
|
-
const unreadCount = Object.values(inbox.channelCounts).reduce((sum, count) => sum + count.unread, 0);
|
|
290
|
-
lines.push(`- Inbox: ${inbox.messages.length} recent message${inbox.messages.length === 1 ? "" : "s"}, ${unreadCount} unread.`);
|
|
291
|
-
for (const message of inbox.messages.slice(0, 5)) {
|
|
292
|
-
const subject = message.subject ? `${message.subject}: ` : "";
|
|
293
|
-
const unread = message.unread ? " unread" : "";
|
|
294
|
-
lines.push(` - ${message.channel}${unread} from ${message.sender.displayName}: ${subject}${message.snippet.slice(0, 120)}`);
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
return lines.join("\n");
|
|
298
|
-
}
|
|
299
232
|
function shortAddress(address) {
|
|
300
233
|
if (!address)
|
|
301
234
|
return "(not configured)";
|
|
@@ -443,8 +376,6 @@ async function renderLiveStateForScope(runtime, scope) {
|
|
|
443
376
|
return renderAutomationsLiveState(runtime);
|
|
444
377
|
case "page-apps":
|
|
445
378
|
return renderAppsLiveState();
|
|
446
|
-
case "page-lifeops":
|
|
447
|
-
return renderLifeOpsLiveState();
|
|
448
379
|
case "page-connectors":
|
|
449
380
|
case "page-plugins":
|
|
450
381
|
case "page-settings":
|
|
@@ -464,7 +395,7 @@ function formatSourceTail(entries) {
|
|
|
464
395
|
}
|
|
465
396
|
export const pageScopedContextProvider = {
|
|
466
397
|
name: "page-scoped-context",
|
|
467
|
-
description: "Operational context for the current page-scoped chat (Browser, Character, Apps, Connectors, Plugins, Settings,
|
|
398
|
+
description: "Operational context for the current page-scoped chat (Browser, Character, Apps, Connectors, Plugins, Settings, Automations, Wallet).",
|
|
468
399
|
dynamic: false,
|
|
469
400
|
position: 5,
|
|
470
401
|
contexts: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relevant-conversations.d.ts","sourceRoot":"","sources":["../../src/providers/relevant-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAIT,MAAM,eAAe,CAAC;AAgBvB,eAAO,MAAM,6BAA6B,EAAE,
|
|
1
|
+
{"version":3,"file":"relevant-conversations.d.ts","sourceRoot":"","sources":["../../src/providers/relevant-conversations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAGV,QAAQ,EAIT,MAAM,eAAe,CAAC;AAgBvB,eAAO,MAAM,6BAA6B,EAAE,QAmH3C,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { embedRecallQuery, logger } from "@elizaos/core";
|
|
2
2
|
import { getValidationKeywordTerms } from "@elizaos/shared";
|
|
3
3
|
import { extractConversationMetadataFromRoom, isAutomationConversationMetadata, } from "../api/conversation-metadata.js";
|
|
4
4
|
import { formatRelativeTimestamp, formatSpeakerLabel, roomSourceTag, } from "../shared/conversation-format.js";
|
|
@@ -28,14 +28,13 @@ export const relevantConversationsProvider = {
|
|
|
28
28
|
if (isAutomationConversationMetadata(extractConversationMetadataFromRoom(currentRoom))) {
|
|
29
29
|
return { text: "", values: {}, data: {} };
|
|
30
30
|
}
|
|
31
|
-
// Embed the current message for semantic search
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
if (!embedding || !Array.isArray(embedding) || embedding.length === 0) {
|
|
31
|
+
// Embed the current message for semantic search. Routes through the one
|
|
32
|
+
// shared per-turn recall-query embed so this provider, document recall, and
|
|
33
|
+
// experience recall reuse a single embed round-trip per turn. `null` means
|
|
34
|
+
// the embed timed out/failed — fail open with no relevant-conversation
|
|
35
|
+
// context (recall richness lost, reply latency unaffected).
|
|
36
|
+
const embedding = await embedRecallQuery(runtime, text);
|
|
37
|
+
if (!embedding || embedding.length === 0) {
|
|
39
38
|
return { text: "", values: {}, data: {} };
|
|
40
39
|
}
|
|
41
40
|
const results = await runtime.searchMemories({
|
package/providers/workspace.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DEFAULT_AGENT_WORKSPACE_DIR, resolveDefaultAgentWorkspaceDir, shouldBootstrapWorkspaceInitFiles, shouldUseRuntimeCwdWorkspace } from "../shared/workspace-resolution.
|
|
1
|
+
import { DEFAULT_AGENT_WORKSPACE_DIR, resolveDefaultAgentWorkspaceDir, shouldBootstrapWorkspaceInitFiles, shouldUseRuntimeCwdWorkspace } from "../shared/workspace-resolution.js";
|
|
2
2
|
export { DEFAULT_AGENT_WORKSPACE_DIR, resolveDefaultAgentWorkspaceDir, shouldBootstrapWorkspaceInitFiles, shouldUseRuntimeCwdWorkspace, };
|
|
3
3
|
export interface RunCommandResult {
|
|
4
4
|
code: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/runtime/actions/web-fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,KAAK,MAAM,EAQZ,MAAM,eAAe,CAAC;AAMvB;;;;;;GAMG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAG3C;AAwDD,eAAO,MAAM,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,
|
|
1
|
+
{"version":3,"file":"web-fetch.d.ts","sourceRoot":"","sources":["../../../src/runtime/actions/web-fetch.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EACL,KAAK,MAAM,EAQZ,MAAM,eAAe,CAAC;AAMvB;;;;;;GAMG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAG3C;AAwDD,eAAO,MAAM,QAAQ,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAgJrD,CAAC"}
|
|
@@ -83,10 +83,30 @@ function extractValue(body, extract) {
|
|
|
83
83
|
}
|
|
84
84
|
export const webFetch = {
|
|
85
85
|
name: "WEB_FETCH",
|
|
86
|
-
similes: [
|
|
86
|
+
similes: [
|
|
87
|
+
"LOOKUP_WEB",
|
|
88
|
+
"WEB_LOOKUP",
|
|
89
|
+
"FETCH_URL",
|
|
90
|
+
"HTTP_GET",
|
|
91
|
+
"GET_URL",
|
|
92
|
+
"LIVE_INFO",
|
|
93
|
+
"CURRENT_PRICE",
|
|
94
|
+
"CHECK_PRICE",
|
|
95
|
+
"CURRENT_WEATHER",
|
|
96
|
+
],
|
|
97
|
+
// Declaring the `web` context attaches the catalog's live-info keyword docs
|
|
98
|
+
// (price/how-much/current/latest/news/weather) so action retrieval surfaces
|
|
99
|
+
// WEB_FETCH for natural live-info phrasings ("whats the price of btc",
|
|
100
|
+
// "weather in tokyo") — without it WEB_FETCH had NO keyword terms and scored
|
|
101
|
+
// 0, so those turns fell through to a coding sub-agent spawn.
|
|
102
|
+
contexts: ["web"],
|
|
87
103
|
suppressInitialMessage: true,
|
|
88
|
-
description: "Fetch
|
|
89
|
-
"
|
|
104
|
+
description: "Fetch one specific URL and return its contents — a JSON API, data file, or page whose address you already have or can construct exactly. " +
|
|
105
|
+
"Prefer a JSON API over an HTML page so the value parses cleanly, and fetch it inline THIS turn — " +
|
|
106
|
+
"e.g. https://api.coingecko.com/api/v3/simple/price?ids=bitcoin&vs_currencies=usd, " +
|
|
107
|
+
"https://wttr.in/Tokyo?format=j1, " +
|
|
108
|
+
"https://nodejs.org/dist/index.json. " +
|
|
109
|
+
"Optionally pass `extract` (a dotted JSON path) to return a single field. Returns the contents inline. " +
|
|
90
110
|
"No API key required. Requests are https-only, GET-only, and SSRF-guarded (internal/private hosts are blocked).",
|
|
91
111
|
parameters: [
|
|
92
112
|
{
|