@frontmcp/sdk 0.6.3 → 0.7.1
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/adapter/adapter.instance.d.ts +3 -1
- package/adapter/adapter.instance.d.ts.map +1 -0
- package/adapter/adapter.regsitry.d.ts +1 -0
- package/adapter/adapter.regsitry.d.ts.map +1 -0
- package/adapter/adapter.utils.d.ts +3 -1
- package/adapter/adapter.utils.d.ts.map +1 -0
- package/agent/adapters/adapter.factory.d.ts +105 -0
- package/agent/adapters/adapter.factory.d.ts.map +1 -0
- package/agent/adapters/base.adapter.d.ts +116 -0
- package/agent/adapters/base.adapter.d.ts.map +1 -0
- package/agent/adapters/index.d.ts +47 -0
- package/agent/adapters/index.d.ts.map +1 -0
- package/agent/adapters/langchain.adapter.d.ts +178 -0
- package/agent/adapters/langchain.adapter.d.ts.map +1 -0
- package/agent/adapters/providers/index.d.ts +36 -0
- package/agent/adapters/providers/index.d.ts.map +1 -0
- package/agent/adapters/providers/types.d.ts +15 -0
- package/agent/adapters/providers/types.d.ts.map +1 -0
- package/agent/agent-execution-loop.d.ts +209 -0
- package/agent/agent-execution-loop.d.ts.map +1 -0
- package/agent/agent.events.d.ts +149 -0
- package/agent/agent.events.d.ts.map +1 -0
- package/agent/agent.instance.d.ts +201 -0
- package/agent/agent.instance.d.ts.map +1 -0
- package/agent/agent.registry.d.ts +137 -0
- package/agent/agent.registry.d.ts.map +1 -0
- package/agent/agent.scope.d.ts +333 -0
- package/agent/agent.scope.d.ts.map +1 -0
- package/agent/agent.utils.d.ts +72 -0
- package/agent/agent.utils.d.ts.map +1 -0
- package/agent/flows/call-agent.flow.d.ts +306 -0
- package/agent/flows/call-agent.flow.d.ts.map +1 -0
- package/agent/flows/index.d.ts +2 -0
- package/agent/flows/index.d.ts.map +1 -0
- package/agent/hooks/agent.hooks.d.ts +52 -0
- package/agent/hooks/agent.hooks.d.ts.map +1 -0
- package/agent/hooks/index.d.ts +2 -0
- package/agent/hooks/index.d.ts.map +1 -0
- package/agent/index.d.ts +51 -0
- package/agent/index.d.ts.map +1 -0
- package/app/app.registry.d.ts +1 -0
- package/app/app.registry.d.ts.map +1 -0
- package/app/app.utils.d.ts +3 -1
- package/app/app.utils.d.ts.map +1 -0
- package/app/instances/app.local.instance.d.ts +4 -0
- package/app/instances/app.local.instance.d.ts.map +1 -0
- package/app/instances/app.remote.instance.d.ts +98 -0
- package/app/instances/app.remote.instance.d.ts.map +1 -0
- package/app/instances/index.d.ts +1 -0
- package/app/instances/index.d.ts.map +1 -0
- package/auth/auth.registry.d.ts +1 -0
- package/auth/auth.registry.d.ts.map +1 -0
- package/auth/auth.utils.d.ts +3 -1
- package/auth/auth.utils.d.ts.map +1 -0
- package/auth/authorization/authorization.class.d.ts +1 -0
- package/auth/authorization/authorization.class.d.ts.map +1 -0
- package/auth/authorization/authorization.types.d.ts +1 -0
- package/auth/authorization/authorization.types.d.ts.map +1 -0
- package/auth/authorization/index.d.ts +1 -0
- package/auth/authorization/index.d.ts.map +1 -0
- package/auth/authorization/orchestrated.authorization.d.ts +1 -0
- package/auth/authorization/orchestrated.authorization.d.ts.map +1 -0
- package/auth/authorization/public.authorization.d.ts +1 -0
- package/auth/authorization/public.authorization.d.ts.map +1 -0
- package/auth/authorization/transparent.authorization.d.ts +1 -0
- package/auth/authorization/transparent.authorization.d.ts.map +1 -0
- package/auth/consent/consent.types.d.ts +1 -0
- package/auth/consent/consent.types.d.ts.map +1 -0
- package/auth/consent/index.d.ts +1 -0
- package/auth/consent/index.d.ts.map +1 -0
- package/auth/detection/auth-provider-detection.d.ts +1 -0
- package/auth/detection/auth-provider-detection.d.ts.map +1 -0
- package/auth/detection/index.d.ts +1 -0
- package/auth/detection/index.d.ts.map +1 -0
- package/auth/flows/auth.verify.flow.d.ts +8 -2
- package/auth/flows/auth.verify.flow.d.ts.map +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts +1 -0
- package/auth/flows/oauth.authorize.flow.d.ts.map +1 -0
- package/auth/flows/oauth.callback.flow.d.ts +1 -0
- package/auth/flows/oauth.callback.flow.d.ts.map +1 -0
- package/auth/flows/oauth.register.flow.d.ts +4 -3
- package/auth/flows/oauth.register.flow.d.ts.map +1 -0
- package/auth/flows/oauth.token.flow.d.ts +1 -0
- package/auth/flows/oauth.token.flow.d.ts.map +1 -0
- package/auth/flows/session.verify.flow.d.ts +12 -1
- package/auth/flows/session.verify.flow.d.ts.map +1 -0
- package/auth/flows/well-known.jwks.flow.d.ts +1 -0
- package/auth/flows/well-known.jwks.flow.d.ts.map +1 -0
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts +1 -0
- package/auth/flows/well-known.oauth-authorization-server.flow.d.ts.map +1 -0
- package/auth/flows/well-known.prm.flow.d.ts +1 -0
- package/auth/flows/well-known.prm.flow.d.ts.map +1 -0
- package/auth/instances/instance.local-primary-auth.d.ts +1 -0
- package/auth/instances/instance.local-primary-auth.d.ts.map +1 -0
- package/auth/instances/instance.remote-primary-auth.d.ts +1 -0
- package/auth/instances/instance.remote-primary-auth.d.ts.map +1 -0
- package/auth/jwks/dev-key-persistence.d.ts +1 -0
- package/auth/jwks/dev-key-persistence.d.ts.map +1 -0
- package/auth/jwks/index.d.ts +1 -0
- package/auth/jwks/index.d.ts.map +1 -0
- package/auth/jwks/jwks.service.d.ts +16 -2
- package/auth/jwks/jwks.service.d.ts.map +1 -0
- package/auth/jwks/jwks.types.d.ts +1 -0
- package/auth/jwks/jwks.types.d.ts.map +1 -0
- package/auth/jwks/jwks.utils.d.ts +1 -0
- package/auth/jwks/jwks.utils.d.ts.map +1 -0
- package/auth/machine-id.d.ts +1 -0
- package/auth/machine-id.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.authorize.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.authorize.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.device-authorization.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.introspect.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.introspect.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.par.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.par.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.revoke.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.revoke.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.token.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.token.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts +1 -0
- package/auth/oauth/flows/oauth.userinfo.flow.d.ts.map +1 -0
- package/auth/oauth/flows/oidc.logout.flow.d.ts +1 -0
- package/auth/oauth/flows/oidc.logout.flow.d.ts.map +1 -0
- package/auth/session/authorization-vault.d.ts +5 -4
- package/auth/session/authorization-vault.d.ts.map +1 -0
- package/auth/session/authorization.store.d.ts +1 -0
- package/auth/session/authorization.store.d.ts.map +1 -0
- package/auth/session/encrypted-authorization-vault.d.ts +1 -0
- package/auth/session/encrypted-authorization-vault.d.ts.map +1 -0
- package/auth/session/index.d.ts +1 -0
- package/auth/session/index.d.ts.map +1 -0
- package/auth/session/record/session.base.d.ts +1 -0
- package/auth/session/record/session.base.d.ts.map +1 -0
- package/auth/session/record/session.stateful.d.ts +1 -0
- package/auth/session/record/session.stateful.d.ts.map +1 -0
- package/auth/session/record/session.stateless.d.ts +1 -0
- package/auth/session/record/session.stateless.d.ts.map +1 -0
- package/auth/session/record/session.transparent.d.ts +1 -0
- package/auth/session/record/session.transparent.d.ts.map +1 -0
- package/auth/session/redis-session.store.d.ts +1 -0
- package/auth/session/redis-session.store.d.ts.map +1 -0
- package/auth/session/session-crypto.d.ts +1 -0
- package/auth/session/session-crypto.d.ts.map +1 -0
- package/auth/session/session-rate-limiter.d.ts +1 -0
- package/auth/session/session-rate-limiter.d.ts.map +1 -0
- package/auth/session/session.crypto.d.ts +1 -0
- package/auth/session/session.crypto.d.ts.map +1 -0
- package/auth/session/session.schema.d.ts +1 -0
- package/auth/session/session.schema.d.ts.map +1 -0
- package/auth/session/session.service.d.ts +1 -0
- package/auth/session/session.service.d.ts.map +1 -0
- package/auth/session/session.transport.d.ts +1 -0
- package/auth/session/session.transport.d.ts.map +1 -0
- package/auth/session/session.types.d.ts +1 -0
- package/auth/session/session.types.d.ts.map +1 -0
- package/auth/session/token.refresh.d.ts +1 -0
- package/auth/session/token.refresh.d.ts.map +1 -0
- package/auth/session/token.store.d.ts +3 -2
- package/auth/session/token.store.d.ts.map +1 -0
- package/auth/session/token.vault.d.ts +1 -0
- package/auth/session/token.vault.d.ts.map +1 -0
- package/auth/session/transport-session.manager.d.ts +1 -0
- package/auth/session/transport-session.manager.d.ts.map +1 -0
- package/auth/session/transport-session.types.d.ts +9 -8
- package/auth/session/transport-session.types.d.ts.map +1 -0
- package/auth/session/utils/auth-token.utils.d.ts +1 -0
- package/auth/session/utils/auth-token.utils.d.ts.map +1 -0
- package/auth/session/utils/session-id.utils.d.ts +1 -0
- package/auth/session/utils/session-id.utils.d.ts.map +1 -0
- package/auth/session/utils/tiny-ttl-cache.d.ts +1 -0
- package/auth/session/utils/tiny-ttl-cache.d.ts.map +1 -0
- package/auth/session/vault-encryption.d.ts +1 -0
- package/auth/session/vault-encryption.d.ts.map +1 -0
- package/auth/session/vercel-kv-session.store.d.ts +1 -0
- package/auth/session/vercel-kv-session.store.d.ts.map +1 -0
- package/auth/ui/base-layout.d.ts +1 -0
- package/auth/ui/base-layout.d.ts.map +1 -0
- package/auth/ui/index.d.ts +1 -0
- package/auth/ui/index.d.ts.map +1 -0
- package/auth/ui/templates.d.ts +1 -0
- package/auth/ui/templates.d.ts.map +1 -0
- package/auth/utils/audience.validator.d.ts +1 -0
- package/auth/utils/audience.validator.d.ts.map +1 -0
- package/auth/utils/index.d.ts +1 -0
- package/auth/utils/index.d.ts.map +1 -0
- package/auth/utils/www-authenticate.utils.d.ts +1 -0
- package/auth/utils/www-authenticate.utils.d.ts.map +1 -0
- package/common/common.schema.d.ts +1 -0
- package/common/common.schema.d.ts.map +1 -0
- package/common/decorators/adapter.decorator.d.ts +1 -0
- package/common/decorators/adapter.decorator.d.ts.map +1 -0
- package/common/decorators/agent.decorator.d.ts +116 -0
- package/common/decorators/agent.decorator.d.ts.map +1 -0
- package/common/decorators/app.decorator.d.ts +1 -0
- package/common/decorators/app.decorator.d.ts.map +1 -0
- package/common/decorators/auth-provider.decorator.d.ts +1 -0
- package/common/decorators/auth-provider.decorator.d.ts.map +1 -0
- package/common/decorators/decorator-utils.d.ts +1 -0
- package/common/decorators/decorator-utils.d.ts.map +1 -0
- package/common/decorators/flow.decorator.d.ts +1 -0
- package/common/decorators/flow.decorator.d.ts.map +1 -0
- package/common/decorators/front-mcp.decorator.d.ts +1 -0
- package/common/decorators/front-mcp.decorator.d.ts.map +1 -0
- package/common/decorators/hook.decorator.d.ts +1 -0
- package/common/decorators/hook.decorator.d.ts.map +1 -0
- package/common/decorators/index.d.ts +2 -0
- package/common/decorators/index.d.ts.map +1 -0
- package/common/decorators/logger.decorator.d.ts +1 -0
- package/common/decorators/logger.decorator.d.ts.map +1 -0
- package/common/decorators/plugin.decorator.d.ts +1 -0
- package/common/decorators/plugin.decorator.d.ts.map +1 -0
- package/common/decorators/prompt.decorator.d.ts +8 -3
- package/common/decorators/prompt.decorator.d.ts.map +1 -0
- package/common/decorators/provider.decorator.d.ts +1 -0
- package/common/decorators/provider.decorator.d.ts.map +1 -0
- package/common/decorators/resource.decorator.d.ts +1 -0
- package/common/decorators/resource.decorator.d.ts.map +1 -0
- package/common/decorators/tool.decorator.d.ts +1 -0
- package/common/decorators/tool.decorator.d.ts.map +1 -0
- package/common/dynamic/dynamic.adapter.d.ts +1 -0
- package/common/dynamic/dynamic.adapter.d.ts.map +1 -0
- package/common/dynamic/dynamic.plugin.d.ts +3 -1
- package/common/dynamic/dynamic.plugin.d.ts.map +1 -0
- package/common/dynamic/dynamic.utils.d.ts +1 -0
- package/common/dynamic/dynamic.utils.d.ts.map +1 -0
- package/common/dynamic/index.d.ts +1 -0
- package/common/dynamic/index.d.ts.map +1 -0
- package/common/entries/adapter.entry.d.ts +1 -0
- package/common/entries/adapter.entry.d.ts.map +1 -0
- package/common/entries/agent.entry.d.ts +143 -0
- package/common/entries/agent.entry.d.ts.map +1 -0
- package/common/entries/app.entry.d.ts +8 -0
- package/common/entries/app.entry.d.ts.map +1 -0
- package/common/entries/auth-provider.entry.d.ts +1 -0
- package/common/entries/auth-provider.entry.d.ts.map +1 -0
- package/common/entries/base.entry.d.ts +3 -2
- package/common/entries/base.entry.d.ts.map +1 -0
- package/common/entries/flow.entry.d.ts +3 -1
- package/common/entries/flow.entry.d.ts.map +1 -0
- package/common/entries/hook.entry.d.ts +7 -5
- package/common/entries/hook.entry.d.ts.map +1 -0
- package/common/entries/index.d.ts +2 -0
- package/common/entries/index.d.ts.map +1 -0
- package/common/entries/logger.entry.d.ts +1 -0
- package/common/entries/logger.entry.d.ts.map +1 -0
- package/common/entries/plugin.entry.d.ts +3 -1
- package/common/entries/plugin.entry.d.ts.map +1 -0
- package/common/entries/prompt.entry.d.ts +13 -0
- package/common/entries/prompt.entry.d.ts.map +1 -0
- package/common/entries/provider.entry.d.ts +1 -0
- package/common/entries/provider.entry.d.ts.map +1 -0
- package/common/entries/resource.entry.d.ts +7 -0
- package/common/entries/resource.entry.d.ts.map +1 -0
- package/common/entries/scope.entry.d.ts +3 -1
- package/common/entries/scope.entry.d.ts.map +1 -0
- package/common/entries/tool.entry.d.ts +17 -0
- package/common/entries/tool.entry.d.ts.map +1 -0
- package/common/flow/flow.utils.d.ts +1 -0
- package/common/flow/flow.utils.d.ts.map +1 -0
- package/common/index.d.ts +1 -1
- package/common/index.d.ts.map +1 -0
- package/common/interfaces/adapter.interface.d.ts +2 -1
- package/common/interfaces/adapter.interface.d.ts.map +1 -0
- package/common/interfaces/agent.interface.d.ts +255 -0
- package/common/interfaces/agent.interface.d.ts.map +1 -0
- package/common/interfaces/app.interface.d.ts +5 -3
- package/common/interfaces/app.interface.d.ts.map +1 -0
- package/common/interfaces/auth-hook.interface.d.ts +1 -0
- package/common/interfaces/auth-hook.interface.d.ts.map +1 -0
- package/common/interfaces/auth-provider.interface.d.ts +2 -1
- package/common/interfaces/auth-provider.interface.d.ts.map +1 -0
- package/common/interfaces/base.interface.d.ts +2 -77
- package/common/interfaces/base.interface.d.ts.map +1 -0
- package/common/interfaces/execution-context.interface.d.ts +2 -1
- package/common/interfaces/execution-context.interface.d.ts.map +1 -0
- package/common/interfaces/flow.interface.d.ts +2 -1
- package/common/interfaces/flow.interface.d.ts.map +1 -0
- package/common/interfaces/front-mcp.interface.d.ts +1 -0
- package/common/interfaces/front-mcp.interface.d.ts.map +1 -0
- package/common/interfaces/hook.interface.d.ts +2 -1
- package/common/interfaces/hook.interface.d.ts.map +1 -0
- package/common/interfaces/index.d.ts +4 -0
- package/common/interfaces/index.d.ts.map +1 -0
- package/common/interfaces/internal/flow.utils.d.ts +1 -0
- package/common/interfaces/internal/flow.utils.d.ts.map +1 -0
- package/common/interfaces/internal/index.d.ts +1 -0
- package/common/interfaces/internal/index.d.ts.map +1 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts +1 -0
- package/common/interfaces/internal/primary-auth-provider.interface.d.ts.map +1 -0
- package/common/interfaces/internal/registry.interface.d.ts +13 -3
- package/common/interfaces/internal/registry.interface.d.ts.map +1 -0
- package/common/interfaces/llm-adapter.interface.d.ts +221 -0
- package/common/interfaces/llm-adapter.interface.d.ts.map +1 -0
- package/common/interfaces/logger.interface.d.ts +7 -6
- package/common/interfaces/logger.interface.d.ts.map +1 -0
- package/common/interfaces/plugin.interface.d.ts +2 -1
- package/common/interfaces/plugin.interface.d.ts.map +1 -0
- package/common/interfaces/prompt.interface.d.ts +10 -2
- package/common/interfaces/prompt.interface.d.ts.map +1 -0
- package/common/interfaces/provider.interface.d.ts +2 -1
- package/common/interfaces/provider.interface.d.ts.map +1 -0
- package/common/interfaces/resource.interface.d.ts +12 -2
- package/common/interfaces/resource.interface.d.ts.map +1 -0
- package/common/interfaces/scope.interface.d.ts +3 -2
- package/common/interfaces/scope.interface.d.ts.map +1 -0
- package/common/interfaces/server.interface.d.ts +1 -0
- package/common/interfaces/server.interface.d.ts.map +1 -0
- package/common/interfaces/session-hook.interface.d.ts +1 -0
- package/common/interfaces/session-hook.interface.d.ts.map +1 -0
- package/common/interfaces/tool-hook.interface.d.ts +1 -0
- package/common/interfaces/tool-hook.interface.d.ts.map +1 -0
- package/common/interfaces/tool.interface.d.ts +52 -2
- package/common/interfaces/tool.interface.d.ts.map +1 -0
- package/common/metadata/adapter.metadata.d.ts +1 -0
- package/common/metadata/adapter.metadata.d.ts.map +1 -0
- package/common/metadata/agent.metadata.d.ts +398 -0
- package/common/metadata/agent.metadata.d.ts.map +1 -0
- package/common/metadata/app.metadata.d.ts +162 -16
- package/common/metadata/app.metadata.d.ts.map +1 -0
- package/common/metadata/auth-provider.metadata.d.ts +1 -0
- package/common/metadata/auth-provider.metadata.d.ts.map +1 -0
- package/common/metadata/flow.metadata.d.ts +5 -3
- package/common/metadata/flow.metadata.d.ts.map +1 -0
- package/common/metadata/front-mcp.metadata.d.ts +138 -46
- package/common/metadata/front-mcp.metadata.d.ts.map +1 -0
- package/common/metadata/hook.metadata.d.ts +2 -1
- package/common/metadata/hook.metadata.d.ts.map +1 -0
- package/common/metadata/index.d.ts +3 -0
- package/common/metadata/index.d.ts.map +1 -0
- package/common/metadata/logger.metadata.d.ts +1 -0
- package/common/metadata/logger.metadata.d.ts.map +1 -0
- package/common/metadata/plugin.metadata.d.ts +74 -7
- package/common/metadata/plugin.metadata.d.ts.map +1 -0
- package/common/metadata/prompt.metadata.d.ts +1 -0
- package/common/metadata/prompt.metadata.d.ts.map +1 -0
- package/common/metadata/provider.metadata.d.ts +5 -30
- package/common/metadata/provider.metadata.d.ts.map +1 -0
- package/common/metadata/resource.metadata.d.ts +1 -0
- package/common/metadata/resource.metadata.d.ts.map +1 -0
- package/common/metadata/tool-ui.metadata.d.ts +1 -0
- package/common/metadata/tool-ui.metadata.d.ts.map +1 -0
- package/common/metadata/tool.metadata.d.ts +1 -0
- package/common/metadata/tool.metadata.d.ts.map +1 -0
- package/common/migrate/auth-transport.migrate.d.ts +1 -0
- package/common/migrate/auth-transport.migrate.d.ts.map +1 -0
- package/common/migrate/index.d.ts +1 -0
- package/common/migrate/index.d.ts.map +1 -0
- package/common/providers/base-config.provider.d.ts +1 -0
- package/common/providers/base-config.provider.d.ts.map +1 -0
- package/common/records/adapter.record.d.ts +2 -1
- package/common/records/adapter.record.d.ts.map +1 -0
- package/common/records/agent.record.d.ts +89 -0
- package/common/records/agent.record.d.ts.map +1 -0
- package/common/records/app.record.d.ts +2 -1
- package/common/records/app.record.d.ts.map +1 -0
- package/common/records/auth-provider.record.d.ts +3 -1
- package/common/records/auth-provider.record.d.ts.map +1 -0
- package/common/records/flow.record.d.ts +1 -0
- package/common/records/flow.record.d.ts.map +1 -0
- package/common/records/hook.record.d.ts +1 -0
- package/common/records/hook.record.d.ts.map +1 -0
- package/common/records/index.d.ts +3 -0
- package/common/records/index.d.ts.map +1 -0
- package/common/records/logger.record.d.ts +4 -2
- package/common/records/logger.record.d.ts.map +1 -0
- package/common/records/plugin.record.d.ts +3 -1
- package/common/records/plugin.record.d.ts.map +1 -0
- package/common/records/prompt.record.d.ts +2 -1
- package/common/records/prompt.record.d.ts.map +1 -0
- package/common/records/provider.record.d.ts +2 -36
- package/common/records/provider.record.d.ts.map +1 -0
- package/common/records/resource.record.d.ts +2 -1
- package/common/records/resource.record.d.ts.map +1 -0
- package/common/records/scope.record.d.ts +2 -1
- package/common/records/scope.record.d.ts.map +1 -0
- package/common/records/tool.record.d.ts +3 -1
- package/common/records/tool.record.d.ts.map +1 -0
- package/common/schemas/annotated-class.schema.d.ts +4 -1
- package/common/schemas/annotated-class.schema.d.ts.map +1 -0
- package/common/schemas/http-input.schema.d.ts +1 -0
- package/common/schemas/http-input.schema.d.ts.map +1 -0
- package/common/schemas/http-output.schema.d.ts +1 -0
- package/common/schemas/http-output.schema.d.ts.map +1 -0
- package/common/schemas/index.d.ts +1 -0
- package/common/schemas/index.d.ts.map +1 -0
- package/common/schemas/session-header.schema.d.ts +1 -0
- package/common/schemas/session-header.schema.d.ts.map +1 -0
- package/common/tokens/adapter.tokens.d.ts +1 -0
- package/common/tokens/adapter.tokens.d.ts.map +1 -0
- package/common/tokens/agent.tokens.d.ts +33 -0
- package/common/tokens/agent.tokens.d.ts.map +1 -0
- package/common/tokens/app.tokens.d.ts +1 -0
- package/common/tokens/app.tokens.d.ts.map +1 -0
- package/common/tokens/auth-provider.tokens.d.ts +1 -0
- package/common/tokens/auth-provider.tokens.d.ts.map +1 -0
- package/common/tokens/base.tokens.d.ts +6 -4
- package/common/tokens/base.tokens.d.ts.map +1 -0
- package/common/tokens/flow-hook.tokens.d.ts +1 -0
- package/common/tokens/flow-hook.tokens.d.ts.map +1 -0
- package/common/tokens/flow.tokens.d.ts +1 -0
- package/common/tokens/flow.tokens.d.ts.map +1 -0
- package/common/tokens/front-mcp.tokens.d.ts +1 -0
- package/common/tokens/front-mcp.tokens.d.ts.map +1 -0
- package/common/tokens/index.d.ts +2 -0
- package/common/tokens/index.d.ts.map +1 -0
- package/common/tokens/logger.tokens.d.ts +1 -0
- package/common/tokens/logger.tokens.d.ts.map +1 -0
- package/common/tokens/plugin.tokens.d.ts +3 -0
- package/common/tokens/plugin.tokens.d.ts.map +1 -0
- package/common/tokens/prompt.tokens.d.ts +1 -0
- package/common/tokens/prompt.tokens.d.ts.map +1 -0
- package/common/tokens/provider.tokens.d.ts +1 -0
- package/common/tokens/provider.tokens.d.ts.map +1 -0
- package/common/tokens/resource.tokens.d.ts +1 -0
- package/common/tokens/resource.tokens.d.ts.map +1 -0
- package/common/tokens/server.tokens.d.ts +1 -0
- package/common/tokens/server.tokens.d.ts.map +1 -0
- package/common/tokens/tool.tokens.d.ts +1 -0
- package/common/tokens/tool.tokens.d.ts.map +1 -0
- package/common/types/auth/index.d.ts +1 -0
- package/common/types/auth/index.d.ts.map +1 -0
- package/common/types/auth/jwt.types.d.ts +1 -0
- package/common/types/auth/jwt.types.d.ts.map +1 -0
- package/common/types/auth/session.types.d.ts +1 -0
- package/common/types/auth/session.types.d.ts.map +1 -0
- package/common/types/common.types.d.ts +1 -0
- package/common/types/common.types.d.ts.map +1 -0
- package/common/types/index.d.ts +1 -0
- package/common/types/index.d.ts.map +1 -0
- package/common/types/options/auth/app-auth.schema.d.ts +1 -0
- package/common/types/options/auth/app-auth.schema.d.ts.map +1 -0
- package/common/types/options/auth/auth.interfaces.d.ts +1 -0
- package/common/types/options/auth/auth.interfaces.d.ts.map +1 -0
- package/common/types/options/auth/auth.schema.d.ts +1 -0
- package/common/types/options/auth/auth.schema.d.ts.map +1 -0
- package/common/types/options/auth/auth.typecheck.d.ts +1 -0
- package/common/types/options/auth/auth.typecheck.d.ts.map +1 -0
- package/common/types/options/auth/auth.utils.d.ts +1 -0
- package/common/types/options/auth/auth.utils.d.ts.map +1 -0
- package/common/types/options/auth/index.d.ts +1 -0
- package/common/types/options/auth/index.d.ts.map +1 -0
- package/common/types/options/auth/orchestrated.schema.d.ts +1 -0
- package/common/types/options/auth/orchestrated.schema.d.ts.map +1 -0
- package/common/types/options/auth/public.schema.d.ts +1 -0
- package/common/types/options/auth/public.schema.d.ts.map +1 -0
- package/common/types/options/auth/shared.schemas.d.ts +1 -0
- package/common/types/options/auth/shared.schemas.d.ts.map +1 -0
- package/common/types/options/auth/transparent.schema.d.ts +1 -0
- package/common/types/options/auth/transparent.schema.d.ts.map +1 -0
- package/common/types/options/auth/transport.deprecated.d.ts +1 -0
- package/common/types/options/auth/transport.deprecated.d.ts.map +1 -0
- package/common/types/options/http.options.d.ts +1 -0
- package/common/types/options/http.options.d.ts.map +1 -0
- package/common/types/options/index.d.ts +1 -0
- package/common/types/options/index.d.ts.map +1 -0
- package/common/types/options/logging.options.d.ts +2 -5
- package/common/types/options/logging.options.d.ts.map +1 -0
- package/common/types/options/redis.options.d.ts +1 -0
- package/common/types/options/redis.options.d.ts.map +1 -0
- package/common/types/options/server-info.options.d.ts +1 -0
- package/common/types/options/server-info.options.d.ts.map +1 -0
- package/common/types/options/session.options.d.ts +1 -0
- package/common/types/options/session.options.d.ts.map +1 -0
- package/common/types/options/transport.options.d.ts +25 -0
- package/common/types/options/transport.options.d.ts.map +1 -0
- package/common/utils/decide-request-intent.utils.d.ts +1 -0
- package/common/utils/decide-request-intent.utils.d.ts.map +1 -0
- package/common/utils/global-config.utils.d.ts +1 -0
- package/common/utils/global-config.utils.d.ts.map +1 -0
- package/common/utils/index.d.ts +1 -0
- package/common/utils/index.d.ts.map +1 -0
- package/common/utils/path.utils.d.ts +3 -4
- package/common/utils/path.utils.d.ts.map +1 -0
- package/completion/flows/complete.flow.d.ts +1 -0
- package/completion/flows/complete.flow.d.ts.map +1 -0
- package/context/context-extension.d.ts +52 -0
- package/context/context-extension.d.ts.map +1 -0
- package/context/frontmcp-context-storage.d.ts +1 -0
- package/context/frontmcp-context-storage.d.ts.map +1 -0
- package/context/frontmcp-context.d.ts +1 -0
- package/context/frontmcp-context.d.ts.map +1 -0
- package/context/frontmcp-context.provider.d.ts +3 -2
- package/context/frontmcp-context.provider.d.ts.map +1 -0
- package/context/index.d.ts +1 -0
- package/context/index.d.ts.map +1 -0
- package/context/request-context-storage.d.ts +1 -0
- package/context/request-context-storage.d.ts.map +1 -0
- package/context/request-context.d.ts +1 -0
- package/context/request-context.d.ts.map +1 -0
- package/context/request-context.provider.d.ts +1 -0
- package/context/request-context.provider.d.ts.map +1 -0
- package/context/session-key.provider.d.ts +1 -0
- package/context/session-key.provider.d.ts.map +1 -0
- package/context/trace-context.d.ts +1 -0
- package/context/trace-context.d.ts.map +1 -0
- package/errors/agent.errors.d.ts +80 -0
- package/errors/agent.errors.d.ts.map +1 -0
- package/errors/authorization-required.error.d.ts +1 -0
- package/errors/authorization-required.error.d.ts.map +1 -0
- package/errors/error-handler.d.ts +1 -0
- package/errors/error-handler.d.ts.map +1 -0
- package/errors/index.d.ts +4 -1
- package/errors/index.d.ts.map +1 -0
- package/errors/mcp.error.d.ts +31 -0
- package/errors/mcp.error.d.ts.map +1 -0
- package/errors/remote.errors.d.ts +156 -0
- package/errors/remote.errors.d.ts.map +1 -0
- package/esm/index.mjs +14039 -7081
- package/esm/package.json +12 -12
- package/flows/flow.instance.d.ts +1 -0
- package/flows/flow.instance.d.ts.map +1 -0
- package/flows/flow.registry.d.ts +3 -1
- package/flows/flow.registry.d.ts.map +1 -0
- package/flows/flow.stages.d.ts +1 -0
- package/flows/flow.stages.d.ts.map +1 -0
- package/flows/flow.utils.d.ts +3 -1
- package/flows/flow.utils.d.ts.map +1 -0
- package/front-mcp/front-mcp.d.ts +21 -1
- package/front-mcp/front-mcp.d.ts.map +1 -0
- package/front-mcp/front-mcp.providers.d.ts +42 -21
- package/front-mcp/front-mcp.providers.d.ts.map +1 -0
- package/front-mcp/front-mcp.tokens.d.ts +3 -1
- package/front-mcp/front-mcp.tokens.d.ts.map +1 -0
- package/front-mcp/index.d.ts +1 -0
- package/front-mcp/index.d.ts.map +1 -0
- package/front-mcp/serverless-handler.d.ts +1 -0
- package/front-mcp/serverless-handler.d.ts.map +1 -0
- package/hooks/hook.instance.d.ts +1 -0
- package/hooks/hook.instance.d.ts.map +1 -0
- package/hooks/hook.registry.d.ts +1 -0
- package/hooks/hook.registry.d.ts.map +1 -0
- package/hooks/hooks.utils.d.ts +3 -1
- package/hooks/hooks.utils.d.ts.map +1 -0
- package/index.d.ts +29 -20
- package/index.d.ts.map +1 -0
- package/index.js +14250 -7223
- package/logger/instances/instance.console-logger.d.ts +1 -0
- package/logger/instances/instance.console-logger.d.ts.map +1 -0
- package/logger/instances/instance.logger.d.ts +1 -0
- package/logger/instances/instance.logger.d.ts.map +1 -0
- package/logger/logger.registry.d.ts +1 -0
- package/logger/logger.registry.d.ts.map +1 -0
- package/logger/logger.tokens.d.ts +1 -0
- package/logger/logger.tokens.d.ts.map +1 -0
- package/logger/logger.types.d.ts +1 -0
- package/logger/logger.types.d.ts.map +1 -0
- package/logger/logger.utils.d.ts +3 -1
- package/logger/logger.utils.d.ts.map +1 -0
- package/logging/flows/set-level.flow.d.ts +1 -0
- package/logging/flows/set-level.flow.d.ts.map +1 -0
- package/notification/index.d.ts +1 -0
- package/notification/index.d.ts.map +1 -0
- package/notification/notification.service.d.ts +17 -4
- package/notification/notification.service.d.ts.map +1 -0
- package/package.json +12 -12
- package/plugin/plugin.registry.d.ts +25 -6
- package/plugin/plugin.registry.d.ts.map +1 -0
- package/plugin/plugin.utils.d.ts +3 -1
- package/plugin/plugin.utils.d.ts.map +1 -0
- package/prompt/flows/get-prompt.flow.d.ts +8 -1
- package/prompt/flows/get-prompt.flow.d.ts.map +1 -0
- package/prompt/flows/prompts-list.flow.d.ts +8 -1
- package/prompt/flows/prompts-list.flow.d.ts.map +1 -0
- package/prompt/index.d.ts +1 -0
- package/prompt/index.d.ts.map +1 -0
- package/prompt/prompt.events.d.ts +3 -2
- package/prompt/prompt.events.d.ts.map +1 -0
- package/prompt/prompt.instance.d.ts +7 -1
- package/prompt/prompt.instance.d.ts.map +1 -0
- package/prompt/prompt.registry.d.ts +32 -7
- package/prompt/prompt.registry.d.ts.map +1 -0
- package/prompt/prompt.types.d.ts +5 -4
- package/prompt/prompt.types.d.ts.map +1 -0
- package/prompt/prompt.utils.d.ts +3 -3
- package/prompt/prompt.utils.d.ts.map +1 -0
- package/provider/flow-context-providers.d.ts +24 -0
- package/provider/flow-context-providers.d.ts.map +1 -0
- package/provider/provider.registry.d.ts +26 -4
- package/provider/provider.registry.d.ts.map +1 -0
- package/provider/provider.types.d.ts +2 -1
- package/provider/provider.types.d.ts.map +1 -0
- package/provider/provider.utils.d.ts +21 -2
- package/provider/provider.utils.d.ts.map +1 -0
- package/regsitry/index.d.ts +1 -0
- package/regsitry/index.d.ts.map +1 -0
- package/regsitry/registry.base.d.ts +3 -1
- package/regsitry/registry.base.d.ts.map +1 -0
- package/remote-mcp/cache/capability-cache.d.ts +87 -0
- package/remote-mcp/cache/capability-cache.d.ts.map +1 -0
- package/remote-mcp/cache/index.d.ts +6 -0
- package/remote-mcp/cache/index.d.ts.map +1 -0
- package/remote-mcp/factories/context-factories.d.ts +43 -0
- package/remote-mcp/factories/context-factories.d.ts.map +1 -0
- package/remote-mcp/factories/index.d.ts +12 -0
- package/remote-mcp/factories/index.d.ts.map +1 -0
- package/remote-mcp/factories/instance-factories.d.ts +81 -0
- package/remote-mcp/factories/instance-factories.d.ts.map +1 -0
- package/remote-mcp/factories/record-builders.d.ts +50 -0
- package/remote-mcp/factories/record-builders.d.ts.map +1 -0
- package/remote-mcp/index.d.ts +14 -0
- package/remote-mcp/index.d.ts.map +1 -0
- package/remote-mcp/mcp-client.service.d.ts +169 -0
- package/remote-mcp/mcp-client.service.d.ts.map +1 -0
- package/remote-mcp/mcp-client.types.d.ts +298 -0
- package/remote-mcp/mcp-client.types.d.ts.map +1 -0
- package/remote-mcp/resilience/circuit-breaker.d.ts +100 -0
- package/remote-mcp/resilience/circuit-breaker.d.ts.map +1 -0
- package/remote-mcp/resilience/health-check.d.ts +107 -0
- package/remote-mcp/resilience/health-check.d.ts.map +1 -0
- package/remote-mcp/resilience/index.d.ts +8 -0
- package/remote-mcp/resilience/index.d.ts.map +1 -0
- package/remote-mcp/resilience/retry.d.ts +37 -0
- package/remote-mcp/resilience/retry.d.ts.map +1 -0
- package/resource/flows/read-resource.flow.d.ts +8 -1
- package/resource/flows/read-resource.flow.d.ts.map +1 -0
- package/resource/flows/resource-templates-list.flow.d.ts +8 -1
- package/resource/flows/resource-templates-list.flow.d.ts.map +1 -0
- package/resource/flows/resources-list.flow.d.ts +8 -1
- package/resource/flows/resources-list.flow.d.ts.map +1 -0
- package/resource/flows/subscribe-resource.flow.d.ts +1 -0
- package/resource/flows/subscribe-resource.flow.d.ts.map +1 -0
- package/resource/flows/unsubscribe-resource.flow.d.ts +1 -0
- package/resource/flows/unsubscribe-resource.flow.d.ts.map +1 -0
- package/resource/index.d.ts +1 -0
- package/resource/index.d.ts.map +1 -0
- package/resource/resource.events.d.ts +3 -2
- package/resource/resource.events.d.ts.map +1 -0
- package/resource/resource.instance.d.ts +1 -0
- package/resource/resource.instance.d.ts.map +1 -0
- package/resource/resource.registry.d.ts +33 -8
- package/resource/resource.registry.d.ts.map +1 -0
- package/resource/resource.types.d.ts +5 -4
- package/resource/resource.types.d.ts.map +1 -0
- package/resource/resource.utils.d.ts +3 -5
- package/resource/resource.utils.d.ts.map +1 -0
- package/scope/flows/http.request.flow.d.ts +1 -0
- package/scope/flows/http.request.flow.d.ts.map +1 -0
- package/scope/index.d.ts +1 -0
- package/scope/index.d.ts.map +1 -0
- package/scope/scope.instance.d.ts +7 -0
- package/scope/scope.instance.d.ts.map +1 -0
- package/scope/scope.registry.d.ts +6 -0
- package/scope/scope.registry.d.ts.map +1 -0
- package/scope/scope.utils.d.ts +3 -1
- package/scope/scope.utils.d.ts.map +1 -0
- package/server/adapters/base.host.adapter.d.ts +1 -0
- package/server/adapters/base.host.adapter.d.ts.map +1 -0
- package/server/adapters/express.host.adapter.d.ts +1 -0
- package/server/adapters/express.host.adapter.d.ts.map +1 -0
- package/server/server.instance.d.ts +1 -0
- package/server/server.instance.d.ts.map +1 -0
- package/server/server.types.d.ts +1 -0
- package/server/server.types.d.ts.map +1 -0
- package/server/server.validation.d.ts +1 -0
- package/server/server.validation.d.ts.map +1 -0
- package/store/adapters/store.base.adapter.d.ts +1 -0
- package/store/adapters/store.base.adapter.d.ts.map +1 -0
- package/store/adapters/store.memory.adapter.d.ts +1 -0
- package/store/adapters/store.memory.adapter.d.ts.map +1 -0
- package/store/adapters/store.redis.adapter.d.ts +1 -0
- package/store/adapters/store.redis.adapter.d.ts.map +1 -0
- package/store/adapters/store.vercel-kv.adapter.d.ts +1 -0
- package/store/adapters/store.vercel-kv.adapter.d.ts.map +1 -0
- package/store/index.d.ts +1 -0
- package/store/index.d.ts.map +1 -0
- package/store/store.factory.d.ts +1 -0
- package/store/store.factory.d.ts.map +1 -0
- package/store/store.helpers.d.ts +1 -0
- package/store/store.helpers.d.ts.map +1 -0
- package/store/store.registry.d.ts +1 -0
- package/store/store.registry.d.ts.map +1 -0
- package/store/store.tokens.d.ts +1 -0
- package/store/store.tokens.d.ts.map +1 -0
- package/store/store.types.d.ts +1 -0
- package/store/store.types.d.ts.map +1 -0
- package/store/store.utils.d.ts +1 -0
- package/store/store.utils.d.ts.map +1 -0
- package/tool/flows/call-tool.flow.d.ts +9 -1
- package/tool/flows/call-tool.flow.d.ts.map +1 -0
- package/tool/flows/tools-list.flow.d.ts +8 -1
- package/tool/flows/tools-list.flow.d.ts.map +1 -0
- package/tool/tool.events.d.ts +3 -2
- package/tool/tool.events.d.ts.map +1 -0
- package/tool/tool.instance.d.ts +18 -1
- package/tool/tool.instance.d.ts.map +1 -0
- package/tool/tool.registry.d.ts +57 -5
- package/tool/tool.registry.d.ts.map +1 -0
- package/tool/tool.types.d.ts +5 -4
- package/tool/tool.types.d.ts.map +1 -0
- package/tool/tool.utils.d.ts +20 -3
- package/tool/tool.utils.d.ts.map +1 -0
- package/tool/ui/index.d.ts +1 -0
- package/tool/ui/index.d.ts.map +1 -0
- package/tool/ui/platform-adapters.d.ts +1 -0
- package/tool/ui/platform-adapters.d.ts.map +1 -0
- package/tool/ui/template-helpers.d.ts +1 -0
- package/tool/ui/template-helpers.d.ts.map +1 -0
- package/tool/ui/ui-resource-template.d.ts +1 -0
- package/tool/ui/ui-resource-template.d.ts.map +1 -0
- package/tool/ui/ui-resource.handler.d.ts +1 -0
- package/tool/ui/ui-resource.handler.d.ts.map +1 -0
- package/transport/adapters/sse-transport.d.ts +1 -0
- package/transport/adapters/sse-transport.d.ts.map +1 -0
- package/transport/adapters/streamable-http-transport.d.ts +27 -0
- package/transport/adapters/streamable-http-transport.d.ts.map +1 -0
- package/transport/adapters/transport.local.adapter.d.ts +12 -0
- package/transport/adapters/transport.local.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.sse.adapter.d.ts +1 -0
- package/transport/adapters/transport.sse.adapter.d.ts.map +1 -0
- package/transport/adapters/transport.streamable-http.adapter.d.ts +1 -0
- package/transport/adapters/transport.streamable-http.adapter.d.ts.map +1 -0
- package/transport/flows/handle.sse.flow.d.ts +1 -0
- package/transport/flows/handle.sse.flow.d.ts.map +1 -0
- package/transport/flows/handle.stateless-http.flow.d.ts +1 -0
- package/transport/flows/handle.stateless-http.flow.d.ts.map +1 -0
- package/transport/flows/handle.streamable-http.flow.d.ts +1 -0
- package/transport/flows/handle.streamable-http.flow.d.ts.map +1 -0
- package/transport/index.d.ts +1 -0
- package/transport/index.d.ts.map +1 -0
- package/transport/legacy/legacy.sse.tranporter.d.ts +1 -0
- package/transport/legacy/legacy.sse.tranporter.d.ts.map +1 -0
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts +1 -0
- package/transport/mcp-handlers/Initialized-notification.hanlder.d.ts.map +1 -0
- package/transport/mcp-handlers/call-tool-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/call-tool-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/complete-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/complete-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/get-prompt-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/index.d.ts +2 -1
- package/transport/mcp-handlers/index.d.ts.map +1 -0
- package/transport/mcp-handlers/initialize-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/initialize-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-prompts-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-resource-templates-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-resources-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-resources-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/list-tools-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/list-tools-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts +2 -1
- package/transport/mcp-handlers/logging-set-level-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/mcp-handlers.types.d.ts +1 -0
- package/transport/mcp-handlers/mcp-handlers.types.d.ts.map +1 -0
- package/transport/mcp-handlers/read-resource-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/read-resource-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts +1 -0
- package/transport/mcp-handlers/roots-list-changed-notification.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/subscribe-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/subscribe-request.handler.d.ts.map +1 -0
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts +1 -0
- package/transport/mcp-handlers/unsubscribe-request.handler.d.ts.map +1 -0
- package/transport/transport.error.d.ts +1 -0
- package/transport/transport.error.d.ts.map +1 -0
- package/transport/transport.event-store.d.ts +1 -0
- package/transport/transport.event-store.d.ts.map +1 -0
- package/transport/transport.local.d.ts +1 -0
- package/transport/transport.local.d.ts.map +1 -0
- package/transport/transport.registry.d.ts +1 -0
- package/transport/transport.registry.d.ts.map +1 -0
- package/transport/transport.remote.d.ts +1 -0
- package/transport/transport.remote.d.ts.map +1 -0
- package/transport/transport.types.d.ts +2 -1
- package/transport/transport.types.d.ts.map +1 -0
- package/types/drinen-hooks.types.d.ts +1 -0
- package/types/drinen-hooks.types.d.ts.map +1 -0
- package/types/invoke.type.d.ts +1 -0
- package/types/invoke.type.d.ts.map +1 -0
- package/types/token.types.d.ts +1 -0
- package/types/token.types.d.ts.map +1 -0
- package/{utils/types.utils.d.ts → types/zod.types.d.ts} +1 -0
- package/types/zod.types.d.ts.map +1 -0
- package/utils/content.utils.d.ts +1 -19
- package/utils/content.utils.d.ts.map +1 -0
- package/utils/index.d.ts +3 -7
- package/utils/index.d.ts.map +1 -0
- package/utils/lineage.utils.d.ts +1 -0
- package/utils/lineage.utils.d.ts.map +1 -0
- package/utils/naming.utils.d.ts +2 -34
- package/utils/naming.utils.d.ts.map +1 -0
- package/common/constants.d.ts +0 -5
- package/esm/mcp-apps/index.mjs +0 -723
- package/exceptions/mcp-exceptions/session-missing.exception.d.ts +0 -3
- package/exceptions/mcp-exceptions/unsupported-client-version.exception.d.ts +0 -5
- package/mcp-apps/csp.d.ts +0 -111
- package/mcp-apps/index.d.ts +0 -23
- package/mcp-apps/index.js +0 -799
- package/mcp-apps/schemas.d.ts +0 -403
- package/mcp-apps/template.d.ts +0 -94
- package/mcp-apps/types.d.ts +0 -323
- package/utils/metadata.utils.d.ts +0 -5
- package/utils/server.utils.d.ts +0 -19
- package/utils/string.utils.d.ts +0 -1
- package/utils/token.utils.d.ts +0 -11
- package/utils/uri-template.utils.d.ts +0 -57
- package/utils/uri-validation.utils.d.ts +0 -40
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
import { AgentLlmAdapter, AgentMessage, AgentToolDefinition, AgentToolCall, AgentCompletionOptions, FrontMcpLogger } from '../common';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration for the agent execution loop.
|
|
4
|
+
*/
|
|
5
|
+
export interface AgentExecutionLoopConfig {
|
|
6
|
+
/**
|
|
7
|
+
* LLM adapter for making completions.
|
|
8
|
+
*/
|
|
9
|
+
adapter: AgentLlmAdapter;
|
|
10
|
+
/**
|
|
11
|
+
* System instructions for the agent.
|
|
12
|
+
*/
|
|
13
|
+
systemInstructions: string;
|
|
14
|
+
/**
|
|
15
|
+
* Available tools for the agent to use.
|
|
16
|
+
*/
|
|
17
|
+
tools: AgentToolDefinition[];
|
|
18
|
+
/**
|
|
19
|
+
* Maximum number of iterations (tool call rounds).
|
|
20
|
+
* @default 10
|
|
21
|
+
*/
|
|
22
|
+
maxIterations?: number;
|
|
23
|
+
/**
|
|
24
|
+
* Timeout for the entire execution in milliseconds.
|
|
25
|
+
* @default 120000 (2 minutes)
|
|
26
|
+
*/
|
|
27
|
+
timeout?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Completion options (temperature, maxTokens, etc.).
|
|
30
|
+
*/
|
|
31
|
+
completionOptions?: AgentCompletionOptions;
|
|
32
|
+
/**
|
|
33
|
+
* Logger for debugging.
|
|
34
|
+
*/
|
|
35
|
+
logger?: FrontMcpLogger;
|
|
36
|
+
/**
|
|
37
|
+
* Callback when a tool call is made.
|
|
38
|
+
*/
|
|
39
|
+
onToolCall?: (toolCall: AgentToolCall) => void;
|
|
40
|
+
/**
|
|
41
|
+
* Callback when a tool result is received.
|
|
42
|
+
*/
|
|
43
|
+
onToolResult?: (toolCall: AgentToolCall, result: unknown, error?: Error) => void;
|
|
44
|
+
/**
|
|
45
|
+
* Callback for streaming content.
|
|
46
|
+
*/
|
|
47
|
+
onContent?: (content: string) => void;
|
|
48
|
+
/**
|
|
49
|
+
* Callback for each iteration.
|
|
50
|
+
*/
|
|
51
|
+
onIteration?: (iteration: number, message: AgentMessage) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Callback when LLM request starts.
|
|
54
|
+
*/
|
|
55
|
+
onLlmStart?: (iteration: number, maxIterations: number) => void;
|
|
56
|
+
/**
|
|
57
|
+
* Callback when LLM response is received (with usage stats).
|
|
58
|
+
*/
|
|
59
|
+
onLlmComplete?: (iteration: number, usage?: {
|
|
60
|
+
promptTokens?: number;
|
|
61
|
+
completionTokens?: number;
|
|
62
|
+
}) => void;
|
|
63
|
+
/**
|
|
64
|
+
* Callback when tool calls are extracted from LLM response.
|
|
65
|
+
*/
|
|
66
|
+
onToolsIdentified?: (count: number, names: string[]) => void;
|
|
67
|
+
/**
|
|
68
|
+
* Callback before a tool starts execution.
|
|
69
|
+
*/
|
|
70
|
+
onToolStart?: (toolCall: AgentToolCall, index: number, total: number) => void;
|
|
71
|
+
/**
|
|
72
|
+
* Callback when agent execution is complete.
|
|
73
|
+
*/
|
|
74
|
+
onComplete?: (content: string | null, error?: Error) => void;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Result of an agent execution.
|
|
78
|
+
*/
|
|
79
|
+
export interface AgentExecutionResult {
|
|
80
|
+
/**
|
|
81
|
+
* Final response content from the agent.
|
|
82
|
+
*/
|
|
83
|
+
content: string | null;
|
|
84
|
+
/**
|
|
85
|
+
* All messages in the conversation.
|
|
86
|
+
*/
|
|
87
|
+
messages: AgentMessage[];
|
|
88
|
+
/**
|
|
89
|
+
* Number of iterations (tool call rounds) performed.
|
|
90
|
+
*/
|
|
91
|
+
iterations: number;
|
|
92
|
+
/**
|
|
93
|
+
* Total token usage.
|
|
94
|
+
*/
|
|
95
|
+
usage?: {
|
|
96
|
+
promptTokens: number;
|
|
97
|
+
completionTokens: number;
|
|
98
|
+
totalTokens?: number;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* Whether the execution completed successfully.
|
|
102
|
+
*/
|
|
103
|
+
success: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Error if execution failed.
|
|
106
|
+
*/
|
|
107
|
+
error?: Error;
|
|
108
|
+
/**
|
|
109
|
+
* Duration in milliseconds.
|
|
110
|
+
*/
|
|
111
|
+
durationMs: number;
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Handler function for executing tools.
|
|
115
|
+
*/
|
|
116
|
+
export type ToolExecutor = (name: string, args: Record<string, unknown>) => Promise<unknown>;
|
|
117
|
+
/**
|
|
118
|
+
* Agent execution loop for processing LLM interactions.
|
|
119
|
+
*
|
|
120
|
+
* The loop:
|
|
121
|
+
* 1. Sends the current prompt to the LLM
|
|
122
|
+
* 2. Processes tool calls if any
|
|
123
|
+
* 3. Adds tool results to the conversation
|
|
124
|
+
* 4. Repeats until the LLM responds with text or max iterations
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* ```typescript
|
|
128
|
+
* const loop = new AgentExecutionLoop({
|
|
129
|
+
* adapter: myLlmAdapter,
|
|
130
|
+
* systemInstructions: 'You are a helpful assistant.',
|
|
131
|
+
* tools: [searchTool, calculateTool],
|
|
132
|
+
* });
|
|
133
|
+
*
|
|
134
|
+
* const result = await loop.run(
|
|
135
|
+
* 'What is the weather in Paris?',
|
|
136
|
+
* async (name, args) => {
|
|
137
|
+
* // Execute the tool and return result
|
|
138
|
+
* return toolRegistry.execute(name, args);
|
|
139
|
+
* },
|
|
140
|
+
* );
|
|
141
|
+
*
|
|
142
|
+
* console.log(result.content);
|
|
143
|
+
* ```
|
|
144
|
+
*/
|
|
145
|
+
export declare class AgentExecutionLoop {
|
|
146
|
+
private readonly config;
|
|
147
|
+
constructor(config: AgentExecutionLoopConfig);
|
|
148
|
+
/**
|
|
149
|
+
* Run the execution loop with a user message.
|
|
150
|
+
*
|
|
151
|
+
* @param userMessage - The user's input message
|
|
152
|
+
* @param toolExecutor - Function to execute tools
|
|
153
|
+
* @param existingMessages - Optional existing conversation history
|
|
154
|
+
* @returns Execution result
|
|
155
|
+
*/
|
|
156
|
+
run(userMessage: string, toolExecutor: ToolExecutor, existingMessages?: AgentMessage[]): Promise<AgentExecutionResult>;
|
|
157
|
+
/**
|
|
158
|
+
* Run the execution loop with streaming.
|
|
159
|
+
*
|
|
160
|
+
* @param userMessage - The user's input message
|
|
161
|
+
* @param toolExecutor - Function to execute tools
|
|
162
|
+
* @param existingMessages - Optional existing conversation history
|
|
163
|
+
* @returns AsyncGenerator yielding chunks and final result
|
|
164
|
+
*/
|
|
165
|
+
runStreaming(userMessage: string, toolExecutor: ToolExecutor, existingMessages?: AgentMessage[]): AsyncGenerator<AgentStreamEvent>;
|
|
166
|
+
private executeLoop;
|
|
167
|
+
private executeLoopStreaming;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* Events emitted during streaming execution.
|
|
171
|
+
*/
|
|
172
|
+
export type AgentStreamEvent = {
|
|
173
|
+
type: 'iteration';
|
|
174
|
+
iteration: number;
|
|
175
|
+
} | {
|
|
176
|
+
type: 'content';
|
|
177
|
+
content: string;
|
|
178
|
+
} | {
|
|
179
|
+
type: 'tool_call';
|
|
180
|
+
toolCall: Partial<AgentToolCall> & {
|
|
181
|
+
id: string;
|
|
182
|
+
};
|
|
183
|
+
} | {
|
|
184
|
+
type: 'tool_start';
|
|
185
|
+
toolCall: AgentToolCall;
|
|
186
|
+
} | {
|
|
187
|
+
type: 'tool_end';
|
|
188
|
+
toolCall: AgentToolCall;
|
|
189
|
+
result: unknown;
|
|
190
|
+
error?: Error;
|
|
191
|
+
} | {
|
|
192
|
+
type: 'usage';
|
|
193
|
+
promptTokens: number;
|
|
194
|
+
completionTokens: number;
|
|
195
|
+
} | {
|
|
196
|
+
type: 'error';
|
|
197
|
+
error: Error;
|
|
198
|
+
} | {
|
|
199
|
+
type: 'done';
|
|
200
|
+
result: AgentExecutionResult;
|
|
201
|
+
};
|
|
202
|
+
/**
|
|
203
|
+
* Error thrown when agent reaches maximum iterations.
|
|
204
|
+
*/
|
|
205
|
+
export declare class AgentMaxIterationsError extends Error {
|
|
206
|
+
readonly maxIterations: number;
|
|
207
|
+
constructor(message: string, maxIterations: number);
|
|
208
|
+
}
|
|
209
|
+
//# sourceMappingURL=agent-execution-loop.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent-execution-loop.d.ts","sourceRoot":"","sources":["../../src/agent/agent-execution-loop.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,eAAe,EAEf,YAAY,EACZ,mBAAmB,EACnB,aAAa,EAEb,sBAAsB,EAEtB,cAAc,EACf,MAAM,WAAW,CAAC;AAMnB;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,OAAO,EAAE,eAAe,CAAC;IAEzB;;OAEG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAE7B;;;OA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AAI,EAAE,SAAS,CAAC;IAAC,OAAO,EAAE,MAAM,CAAA;CAAE,GACpC;IAAE,IAAI,EAAE,WAAW,CAAC;IAAC,QAAQ,EAAE,OAAO,CAAC,aAAa,CAAC,GAAG;QAAE,EAAE,EAAE,MAAM,CAAA;KAAE,CAAA;CAAE,GACxE;IAAE,IAAI,EAAE,YAAY,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAA;CAAE,GAC/C;IAAE,IAAI,EAAE,UAAU,CAAC;IAAC,QAAQ,EAAE,aAAa,CAAC;IAAC,MAAM,EAAE,OAAO,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAC7E;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,CAAC;IAAC,gBAAgB,EAAE,MAAM,CAAA;CAAE,GACjE;IAAE,IAAI,EAAE,OAAO,CAAC;IAAC,KAAK,EAAE,KAAK,CAAA;CAAE,GAC/B;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,oBAAoB,CAAA;CAAE,CAAC;AAMnD;;GAEG;AACH,qBAAa,uBAAwB,SAAQ,KAAK;aACH,aAAa,EAAE,MAAM;gBAAtD,OAAO,EAAE,MAAM,EAAkB,aAAa,EAAE,MAAM;CAInE"}
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Agent change event types and emitter.
|
|
3
|
+
*/
|
|
4
|
+
import type { AgentInstance } from './agent.instance';
|
|
5
|
+
/**
|
|
6
|
+
* Types of changes that can occur in the agent registry.
|
|
7
|
+
*/
|
|
8
|
+
export type AgentChangeKind = 'added' | 'removed' | 'updated' | 'reset' | 'execution_start' | 'execution_complete' | 'execution_error';
|
|
9
|
+
/**
|
|
10
|
+
* Scope of the change event.
|
|
11
|
+
*/
|
|
12
|
+
export type AgentChangeScope = 'global' | 'scope' | 'app' | 'plugin' | 'agent';
|
|
13
|
+
/**
|
|
14
|
+
* Event emitted when agents change.
|
|
15
|
+
*/
|
|
16
|
+
export interface AgentChangeEvent {
|
|
17
|
+
/**
|
|
18
|
+
* Type of change.
|
|
19
|
+
*/
|
|
20
|
+
kind: AgentChangeKind;
|
|
21
|
+
/**
|
|
22
|
+
* Scope where the change occurred.
|
|
23
|
+
*/
|
|
24
|
+
changeScope: AgentChangeScope;
|
|
25
|
+
/**
|
|
26
|
+
* Registry version number.
|
|
27
|
+
*/
|
|
28
|
+
version: number;
|
|
29
|
+
/**
|
|
30
|
+
* Snapshot of all agents after the change.
|
|
31
|
+
*/
|
|
32
|
+
snapshot: readonly AgentInstance[];
|
|
33
|
+
/**
|
|
34
|
+
* ID of the affected agent (for single-agent events).
|
|
35
|
+
*/
|
|
36
|
+
agentId?: string;
|
|
37
|
+
/**
|
|
38
|
+
* Full name of the agent (including parent path).
|
|
39
|
+
*/
|
|
40
|
+
agentFullName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Owner reference (app, plugin, or parent agent).
|
|
43
|
+
*/
|
|
44
|
+
owner?: {
|
|
45
|
+
kind: AgentChangeScope;
|
|
46
|
+
id: string;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Timestamp of the event.
|
|
50
|
+
*/
|
|
51
|
+
timestamp?: number;
|
|
52
|
+
/**
|
|
53
|
+
* Additional metadata for execution events.
|
|
54
|
+
*/
|
|
55
|
+
execution?: {
|
|
56
|
+
/** Run ID for this execution */
|
|
57
|
+
runId: string;
|
|
58
|
+
/** Input provided to the agent */
|
|
59
|
+
input?: unknown;
|
|
60
|
+
/** Output from the agent (for completion events) */
|
|
61
|
+
output?: unknown;
|
|
62
|
+
/** Error if execution failed */
|
|
63
|
+
error?: Error;
|
|
64
|
+
/** Duration in milliseconds */
|
|
65
|
+
durationMs?: number;
|
|
66
|
+
};
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Listener function type.
|
|
70
|
+
*/
|
|
71
|
+
export type AgentChangeListener = (event: AgentChangeEvent) => void;
|
|
72
|
+
/**
|
|
73
|
+
* Unsubscribe function type.
|
|
74
|
+
*/
|
|
75
|
+
export type Unsubscribe = () => void;
|
|
76
|
+
/**
|
|
77
|
+
* Event emitter for agent changes.
|
|
78
|
+
*
|
|
79
|
+
* Allows components to subscribe to agent lifecycle events.
|
|
80
|
+
*/
|
|
81
|
+
export declare class AgentEmitter {
|
|
82
|
+
private listeners;
|
|
83
|
+
/**
|
|
84
|
+
* Subscribe to agent change events (alias for subscribe).
|
|
85
|
+
*
|
|
86
|
+
* @param listener Function to call when events occur
|
|
87
|
+
* @returns Unsubscribe function
|
|
88
|
+
*/
|
|
89
|
+
on(listener: AgentChangeListener): Unsubscribe;
|
|
90
|
+
/**
|
|
91
|
+
* Subscribe to agent change events.
|
|
92
|
+
*
|
|
93
|
+
* @param listener Function to call when events occur
|
|
94
|
+
* @returns Unsubscribe function
|
|
95
|
+
*/
|
|
96
|
+
subscribe(listener: AgentChangeListener): Unsubscribe;
|
|
97
|
+
/**
|
|
98
|
+
* Emit an event to all listeners.
|
|
99
|
+
*/
|
|
100
|
+
emit(event: AgentChangeEvent): void;
|
|
101
|
+
/**
|
|
102
|
+
* Remove all listeners.
|
|
103
|
+
*/
|
|
104
|
+
clear(): void;
|
|
105
|
+
/**
|
|
106
|
+
* Get the number of listeners.
|
|
107
|
+
*/
|
|
108
|
+
get size(): number;
|
|
109
|
+
/**
|
|
110
|
+
* Emit an agent added event.
|
|
111
|
+
*/
|
|
112
|
+
emitAdded(agentId: string, agentFullName: string, owner: {
|
|
113
|
+
kind: AgentChangeScope;
|
|
114
|
+
id: string;
|
|
115
|
+
}, version: number, snapshot: readonly AgentInstance[]): void;
|
|
116
|
+
/**
|
|
117
|
+
* Emit an agent removed event.
|
|
118
|
+
*/
|
|
119
|
+
emitRemoved(agentId: string, agentFullName: string, owner: {
|
|
120
|
+
kind: AgentChangeScope;
|
|
121
|
+
id: string;
|
|
122
|
+
}, version: number, snapshot: readonly AgentInstance[]): void;
|
|
123
|
+
/**
|
|
124
|
+
* Emit an execution start event.
|
|
125
|
+
*/
|
|
126
|
+
emitExecutionStart(agentId: string, agentFullName: string, owner: {
|
|
127
|
+
kind: AgentChangeScope;
|
|
128
|
+
id: string;
|
|
129
|
+
}, runId: string, version: number, snapshot: readonly AgentInstance[], input?: unknown): void;
|
|
130
|
+
/**
|
|
131
|
+
* Emit an execution complete event.
|
|
132
|
+
*/
|
|
133
|
+
emitExecutionComplete(agentId: string, agentFullName: string, owner: {
|
|
134
|
+
kind: AgentChangeScope;
|
|
135
|
+
id: string;
|
|
136
|
+
}, runId: string, output: unknown, durationMs: number, version: number, snapshot: readonly AgentInstance[]): void;
|
|
137
|
+
/**
|
|
138
|
+
* Emit an execution error event.
|
|
139
|
+
*/
|
|
140
|
+
emitExecutionError(agentId: string, agentFullName: string, owner: {
|
|
141
|
+
kind: AgentChangeScope;
|
|
142
|
+
id: string;
|
|
143
|
+
}, runId: string, error: Error, durationMs: number, version: number, snapshot: readonly AgentInstance[]): void;
|
|
144
|
+
}
|
|
145
|
+
/**
|
|
146
|
+
* Global agent emitter instance.
|
|
147
|
+
*/
|
|
148
|
+
export declare const agentEmitter: AgentEmitter;
|
|
149
|
+
//# sourceMappingURL=agent.events.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.events.d.ts","sourceRoot":"","sources":["../../src/agent/agent.events.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAMtD;;GAEG;AACH,MAAM,MAAM,eAAe,GACvB,OAAO,GACP,SAAS,GACT,SAAS,GACT,OAAO,GACP,iBAAiB,GACjB,oBAAoB,GACpB,iBAAiB,CAAC;AAEtB;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,GAAG,OAAO,GAAG,KAAK,GAAG,QAAQ,GAAG,OAAO,CAAC;AAE/E;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,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AAK,EAAE,KAAK,EACZ,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,MAAM,EACf,QAAQ,EAAE,SAAS,aAAa,EAAE,GACjC,IAAI;CAaR;AAED;;GAEG;AACH,eAAO,MAAM,YAAY,cAAqB,CAAC"}
|
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
import { EntryOwnerRef, AgentCallArgs, AgentCallExtra, AgentContext, AgentEntry, AgentRecord, ParsedAgentResult, SafeTransformResult, ToolInputType, ToolOutputType, AgentInputOf, AgentOutputOf, AgentLlmAdapter } from '../common';
|
|
2
|
+
import { ToolInstance } from '../tool/tool.instance';
|
|
3
|
+
import ProviderRegistry from '../provider/provider.registry';
|
|
4
|
+
import HookRegistry from '../hooks/hook.registry';
|
|
5
|
+
import { Scope } from '../scope';
|
|
6
|
+
import type { CallToolRequest, Tool } from '@modelcontextprotocol/sdk/types.js';
|
|
7
|
+
/**
|
|
8
|
+
* Concrete implementation of AgentEntry.
|
|
9
|
+
*
|
|
10
|
+
* AgentInstance manages an agent's lifecycle, including:
|
|
11
|
+
* - LLM adapter initialization and configuration
|
|
12
|
+
* - Agent-scoped tool registration (tools are private to this agent)
|
|
13
|
+
* - Hook registration for agent-specific flows
|
|
14
|
+
* - Input/output schema parsing and validation
|
|
15
|
+
* - Tool definition generation for MCP exposure
|
|
16
|
+
* - Swarm visibility configuration
|
|
17
|
+
*
|
|
18
|
+
* @template InSchema - Zod schema type for agent input
|
|
19
|
+
* @template OutSchema - Zod schema type for agent output
|
|
20
|
+
* @template In - Inferred input type from InSchema
|
|
21
|
+
* @template Out - Inferred output type from OutSchema
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```typescript
|
|
25
|
+
* // Created internally by AgentRegistry
|
|
26
|
+
* const instance = new AgentInstance(record, providers, owner);
|
|
27
|
+
* await instance.ready;
|
|
28
|
+
*
|
|
29
|
+
* // Create an execution context
|
|
30
|
+
* const context = instance.create(input, { authInfo });
|
|
31
|
+
* const result = await context.execute(input);
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export declare class AgentInstance<InSchema extends ToolInputType = ToolInputType, OutSchema extends ToolOutputType = ToolOutputType, In = AgentInputOf<{
|
|
35
|
+
inputSchema: InSchema;
|
|
36
|
+
}>, Out = AgentOutputOf<{
|
|
37
|
+
outputSchema: OutSchema;
|
|
38
|
+
}>> extends AgentEntry<InSchema, OutSchema, In, Out> {
|
|
39
|
+
private readonly providers;
|
|
40
|
+
readonly scope: Scope;
|
|
41
|
+
readonly hooks: HookRegistry;
|
|
42
|
+
/** The LLM adapter for this agent */
|
|
43
|
+
private llmAdapter;
|
|
44
|
+
/** Agent-scoped tools (from @Agent({ tools: [...] })) */
|
|
45
|
+
private agentTools;
|
|
46
|
+
/** Agent's private scope (like a private app with its own registries) */
|
|
47
|
+
private agentScope;
|
|
48
|
+
/**
|
|
49
|
+
* The agent exposed as a standard tool for registration in parent scope.
|
|
50
|
+
* This allows the agent to be called like any other tool (use-agent:*) and
|
|
51
|
+
* go through the standard tools:call-tool flow with all plugins/hooks.
|
|
52
|
+
*/
|
|
53
|
+
private agentToolInstance;
|
|
54
|
+
constructor(record: AgentRecord, providers: ProviderRegistry, owner: EntryOwnerRef);
|
|
55
|
+
protected initialize(): Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* Initialize the agent's private scope.
|
|
58
|
+
*
|
|
59
|
+
* The AgentScope acts as a "private app" with its own registries for:
|
|
60
|
+
* - Tools (from @Agent({ tools: [...] }))
|
|
61
|
+
* - Plugins (from @Agent({ plugins: [...] }))
|
|
62
|
+
* - Adapters (from @Agent({ adapters: [...] }))
|
|
63
|
+
* - Providers (from @Agent({ providers: [...] }))
|
|
64
|
+
* - Resources, Prompts, nested Agents
|
|
65
|
+
*
|
|
66
|
+
* This scope is isolated from the parent scope and not exposed externally.
|
|
67
|
+
* Tool calls are routed through the scope's call-tool flow for full lifecycle support.
|
|
68
|
+
*/
|
|
69
|
+
private initializeAgentTools;
|
|
70
|
+
/**
|
|
71
|
+
* Initialize the LLM adapter from the agent's metadata configuration.
|
|
72
|
+
*/
|
|
73
|
+
private initializeLlmAdapter;
|
|
74
|
+
/**
|
|
75
|
+
* Register hooks from the agent class.
|
|
76
|
+
* Validates that hooks are only registered for agent-specific flows.
|
|
77
|
+
*
|
|
78
|
+
* @throws InvalidHookFlowError If hooks are registered for non-agent flows
|
|
79
|
+
*/
|
|
80
|
+
private registerHooks;
|
|
81
|
+
/**
|
|
82
|
+
* Get the class name from the record's provide property.
|
|
83
|
+
* Used for error messages and logging.
|
|
84
|
+
*/
|
|
85
|
+
private getClassName;
|
|
86
|
+
/**
|
|
87
|
+
* Create the agent as a standard ToolInstance for registration in parent scope.
|
|
88
|
+
*
|
|
89
|
+
* This follows the same pattern as OpenAPI adapters that create dynamic tools
|
|
90
|
+
* with a prebuilt execute function. The agent's execute handler internally calls
|
|
91
|
+
* the agent's LLM execution loop.
|
|
92
|
+
*
|
|
93
|
+
* Benefits:
|
|
94
|
+
* - Agent tools go through standard tools:call-tool flow
|
|
95
|
+
* - Plugin metadata extensions (cache, codecall) work on agents
|
|
96
|
+
* - CodeCall can discover and search for agent tools
|
|
97
|
+
* - Unified hook/plugin execution
|
|
98
|
+
*/
|
|
99
|
+
private createAgentAsTool;
|
|
100
|
+
/**
|
|
101
|
+
* Build ToolMetadata from AgentMetadata.
|
|
102
|
+
*
|
|
103
|
+
* Includes plugin metadata extensions (cache, codecall) from agent metadata
|
|
104
|
+
* so plugins can apply to agent tools.
|
|
105
|
+
*/
|
|
106
|
+
private buildAgentToolMetadata;
|
|
107
|
+
/**
|
|
108
|
+
* Create the execute handler for the agent tool.
|
|
109
|
+
*
|
|
110
|
+
* This handler is called when the tool is invoked through the standard
|
|
111
|
+
* tools:call-tool flow. It creates an AgentContext and runs the LLM loop.
|
|
112
|
+
*/
|
|
113
|
+
private createAgentToolExecuteHandler;
|
|
114
|
+
/**
|
|
115
|
+
* Get the ToolInstance representing this agent.
|
|
116
|
+
*
|
|
117
|
+
* This is used by AgentRegistry to register the agent tool in the parent
|
|
118
|
+
* scope's ToolRegistry, enabling standard tool flow with plugins/hooks.
|
|
119
|
+
*
|
|
120
|
+
* @returns The agent's ToolInstance, or null if not created
|
|
121
|
+
*/
|
|
122
|
+
getToolInstance(): ToolInstance | null;
|
|
123
|
+
getMetadata(): import("../common").AgentMetadata<ToolInputType, ToolOutputType>;
|
|
124
|
+
getOutputSchema(): OutSchema | undefined;
|
|
125
|
+
/**
|
|
126
|
+
* Get the LLM adapter for this agent.
|
|
127
|
+
*/
|
|
128
|
+
getLlmAdapter(): AgentLlmAdapter | null;
|
|
129
|
+
/**
|
|
130
|
+
* Create an AgentContext instance for executing this agent.
|
|
131
|
+
*
|
|
132
|
+
* @param input - The input arguments for the agent
|
|
133
|
+
* @param ctx - Extra context including authInfo
|
|
134
|
+
* @returns A new AgentContext instance ready for execution
|
|
135
|
+
* @throws AgentNotConfiguredError If no LLM adapter is configured
|
|
136
|
+
*/
|
|
137
|
+
create(input: AgentCallArgs, ctx: AgentCallExtra): AgentContext<InSchema, OutSchema, In, Out>;
|
|
138
|
+
/**
|
|
139
|
+
* Build the constructor arguments for creating an AgentContext.
|
|
140
|
+
*
|
|
141
|
+
* @param input - The input arguments for the agent
|
|
142
|
+
* @param ctx - Extra context including authInfo
|
|
143
|
+
* @param llmAdapter - The LLM adapter (passed explicitly to avoid non-null assertion)
|
|
144
|
+
*/
|
|
145
|
+
private buildAgentCtorArgs;
|
|
146
|
+
/**
|
|
147
|
+
* Get tool definitions available to this agent.
|
|
148
|
+
* Returns only the agent's own tools (from @Agent({ tools: [...] })).
|
|
149
|
+
*/
|
|
150
|
+
private getToolDefinitions;
|
|
151
|
+
/**
|
|
152
|
+
* Create a tool executor for agent-scoped tools.
|
|
153
|
+
*
|
|
154
|
+
* When `execution.useToolFlow` is enabled (default: true), tool calls are routed
|
|
155
|
+
* through the agent's private scope's call-tool flow. This enables full lifecycle
|
|
156
|
+
* support including:
|
|
157
|
+
* - Plugin integration (cache, PII, rate limiting, etc.)
|
|
158
|
+
* - Hook execution (will/did/around stages)
|
|
159
|
+
* - Authorization checks
|
|
160
|
+
* - UI rendering
|
|
161
|
+
* - MCP-compliant error handling
|
|
162
|
+
*
|
|
163
|
+
* When `execution.useToolFlow` is false, tools are executed directly for
|
|
164
|
+
* performance-critical scenarios.
|
|
165
|
+
*
|
|
166
|
+
* @param ctx - Extra context including authInfo
|
|
167
|
+
* @returns A function that executes tools by name
|
|
168
|
+
*/
|
|
169
|
+
private createToolExecutor;
|
|
170
|
+
/**
|
|
171
|
+
* Extract the actual result from MCP CallToolResult format.
|
|
172
|
+
*
|
|
173
|
+
* The call-tool flow returns a CallToolResult with:
|
|
174
|
+
* - structuredContent: The raw tool output (preferred)
|
|
175
|
+
* - content: Array of text/image content (fallback)
|
|
176
|
+
* - isError: Whether the tool execution failed
|
|
177
|
+
*
|
|
178
|
+
* @param mcpResult - The CallToolResult from the flow
|
|
179
|
+
* @returns The extracted tool result
|
|
180
|
+
* @throws Error if the tool execution failed
|
|
181
|
+
*/
|
|
182
|
+
private extractToolResult;
|
|
183
|
+
parseInput(input: CallToolRequest['params']): AgentCallArgs;
|
|
184
|
+
parseOutput(raw: Out | Partial<Out> | unknown): ParsedAgentResult;
|
|
185
|
+
safeParseOutput(raw: Out | Partial<Out> | unknown): SafeTransformResult<ParsedAgentResult>;
|
|
186
|
+
/**
|
|
187
|
+
* Get the MCP Tool definition for this agent.
|
|
188
|
+
* This allows the agent to be invoked as a tool by other agents or clients.
|
|
189
|
+
*
|
|
190
|
+
* @returns Tool definition with name, description, and input schema
|
|
191
|
+
*/
|
|
192
|
+
getToolDefinition(): Tool;
|
|
193
|
+
/**
|
|
194
|
+
* Build the tool description from metadata.
|
|
195
|
+
*/
|
|
196
|
+
private buildToolDescription;
|
|
197
|
+
isVisibleToSwarm(): boolean;
|
|
198
|
+
canSeeSwarm(): boolean;
|
|
199
|
+
getVisibleAgentIds(): string[];
|
|
200
|
+
}
|
|
201
|
+
//# sourceMappingURL=agent.instance.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agent.instance.d.ts","sourceRoot":"","sources":["../../src/agent/agent.instance.ts"],"names":[],"mappings":"AAKA,OAAO,EACL,aAAa,EACb,aAAa,EACb,cAAc,EACd,YAAY,EAEZ,UAAU,EACV,WAAW,EAGX,iBAAiB,EACjB,mBAAmB,EACnB,aAAa,EACb,cAAc,EACd,YAAY,EACZ,aAAa,EACb,eAAe,EAKhB,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,gBAAgB,MAAM,+BAA+B,CAAC;AAC7D,OAAO,YAAY,MAAM,wBAAwB,CAAC;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAGjC,OAAO,KAAK,EAAE,eAAe,EAAE,IAAI,EAAE,MAAM,oCAAoC,CAAC;AAmBhF;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,qBAAa,aAAa,CACxB,QAAQ,SAAS,aAAa,GAAG,aAAa,EAC9C,SAAS,SAAS,cAAc,GAAG,cAAc,EACjD,EAAE,GAAG,YAAY,CAAC;IAAE,WAAW,EAAE,QAAQ,CAAA;CAAE,CAAC,EAC5C,GAAG,GAAG,aAAa,CAAC;IAAE,YAAY,EAAE,SAAS,CAAA;CAAE,CAAC,CAChD,SAAQ,UAAU,CAAC,QAAQ,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,CAAC;IAChD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAmB;IAC7C,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,YAAY,CAAC;IAE7B,qCAAqC;IACrC,OAAO,CAAC,UAAU,CAAgC;IAElD,yDAAyD;IACzD,OAAO,CAAC,UAAU,CAAmB;IAErC,yEAAyE;IACzE,OAAO,CAAC,UAAU,CAA2B;IAE7C;;;;O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