microsoft-agents-hosting-core 1.1.0.dev0__tar.gz → 1.1.0.dev7__tar.gz
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.
- {microsoft_agents_hosting_core-1.1.0.dev0/microsoft_agents_hosting_core.egg-info → microsoft_agents_hosting_core-1.1.0.dev7}/PKG-INFO +2 -2
- microsoft_agents_hosting_core-1.1.0.dev7/VERSION.txt +1 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +19 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/auth_types.py +1 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/client/connector_client.py +34 -5
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7/microsoft_agents_hosting_core.egg-info}/PKG-INFO +2 -2
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents_hosting_core.egg-info/requires.txt +1 -1
- microsoft_agents_hosting_core-1.1.0.dev0/VERSION.txt +0 -1
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/LICENSE +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/_oauth/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/_oauth/_flow_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/_oauth/_oauth_flow.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/activity_handler.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/agent.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/_routes/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/_routes/_route.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/_routes/_route_list.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/_routes/route_rank.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/_type_defs.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/agent_application.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/app_error.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/app_options.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/input_file.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_handlers/connector_user_authorization.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/auth_handler.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/authorization.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/oauth/telemetry/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/conversation.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/conversation_builder.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/conversation_reference_builder.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/create_conversation_options.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/proactive.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/proactive_options.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/proactive/telemetry/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/query.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/state/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/state/conversation_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/state/state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/state/temp_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/state/turn_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/streaming/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/streaming/citation.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/streaming/citation_util.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/streaming/streaming_response.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/telemetry/metrics.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/telemetry/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/app/typing_indicator.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/access_token_provider_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/authentication_constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/claims_identity.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/connections.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/jwt_token_validator.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/telemetry/metrics.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/authorization/telemetry/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/card_factory.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/channel_adapter.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/channel_api_handler_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/channel_service_adapter.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/channel_service_client_factory_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/agent_conversation_reference.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/channel_factory_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/channel_host_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/channel_info_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/channel_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/channels_configuration.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/configuration_channel_host.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/conversation_constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory_options.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/http_agent_channel.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/client/http_agent_channel_factory.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/agent_sign_in_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/attachments_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/client/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/client/user_token_client.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/connector_client_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/conversations_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/get_product_info.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/mcs/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/mcs/mcs_connector_client.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/teams/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/teams/teams_connector_client.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/_request_span_wrapper.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/connector_spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/metrics.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/telemetry/user_token_client_spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/user_token_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/connector/user_token_client_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/errors/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/errors/error_resources.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/http/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/http/_channel_service_routes.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/http/_http_adapter_base.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/http/_http_request_protocol.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/http/_http_response.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/message_factory.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/middleware_set.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/state/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/state/agent_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/state/state_property_accessor.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/state/user_state.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/_type_aliases.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/error_handling.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/memory_storage.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/storage.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/store_item.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/telemetry/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/telemetry/metrics.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/telemetry/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/transcript_file_store.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/transcript_info.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/transcript_logger.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/transcript_memory_store.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/storage/transcript_store.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/adapter/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/adapter/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/adapter/metrics.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/adapter/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/attributes.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/_agents_telemetry.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/base_span_wrapper.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/resource.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/simple_span_wrapper.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/core/type_defs.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/turn_context/__init__.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/turn_context/constants.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/turn_context/spans.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/telemetry/utils.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents/hosting/core/turn_context.py +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents_hosting_core.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents_hosting_core.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/microsoft_agents_hosting_core.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/pyproject.toml +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/readme.md +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/setup.cfg +0 -0
- {microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-core
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev7
|
|
4
4
|
Summary: Core library for Microsoft Agents
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: microsoft-agents-activity==1.1.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-activity==1.1.0.dev7
|
|
19
19
|
Requires-Dist: pyjwt>=2.10.1
|
|
20
20
|
Requires-Dist: isodate>=0.6.1
|
|
21
21
|
Requires-Dist: azure-core>=1.30.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.1.0.dev7
|
|
@@ -20,6 +20,11 @@ class AgentAuthConfiguration:
|
|
|
20
20
|
SCOPES: The scopes to request
|
|
21
21
|
AUTHORITY: The authority URL for the Azure AD (if different from the default).
|
|
22
22
|
ALT_BLUEPRINT_ID: An optional alternative blueprint ID used when constructing a connector client.
|
|
23
|
+
AZURE_REGION: The Azure regional token service to use for token acquisition (ESTS-R).
|
|
24
|
+
This feature is currently available to first-party applications only.
|
|
25
|
+
IDPM_RESOURCE: The resource URL for Identity Proxy Manager (IDPM) token acquisition.
|
|
26
|
+
Only meaningful when AUTH_TYPE is AuthTypes.identity_proxy_manager. When not set,
|
|
27
|
+
it defaults to "api://AzureAdTokenExchange/.default".
|
|
23
28
|
"""
|
|
24
29
|
|
|
25
30
|
TENANT_ID: str | None
|
|
@@ -32,6 +37,8 @@ class AgentAuthConfiguration:
|
|
|
32
37
|
SCOPES: list[str] | None
|
|
33
38
|
AUTHORITY: str | None
|
|
34
39
|
ALT_BLUEPRINT_ID: str | None
|
|
40
|
+
AZURE_REGION: str | None
|
|
41
|
+
IDPM_RESOURCE: str | None
|
|
35
42
|
ANONYMOUS_ALLOWED: bool = False
|
|
36
43
|
|
|
37
44
|
# Multi-connection support: Maintains a map of all configured connections
|
|
@@ -54,6 +61,8 @@ class AgentAuthConfiguration:
|
|
|
54
61
|
federated_client_id: str | None = None,
|
|
55
62
|
authority: str | None = None,
|
|
56
63
|
scopes: list[str] | None = None,
|
|
64
|
+
azure_region: str | None = None,
|
|
65
|
+
idpm_resource: str | None = None,
|
|
57
66
|
anonymous_allowed: bool = False,
|
|
58
67
|
**kwargs: str,
|
|
59
68
|
):
|
|
@@ -69,6 +78,16 @@ class AgentAuthConfiguration:
|
|
|
69
78
|
"FEDERATEDCLIENTID", None
|
|
70
79
|
)
|
|
71
80
|
self.SCOPES = scopes or kwargs.get("SCOPES", None)
|
|
81
|
+
# Azure regional token service. Falls back to the legacy "REGIONALAUTHORITY"
|
|
82
|
+
# configuration key when "AZUREREGION" is not provided.
|
|
83
|
+
self.AZURE_REGION = (
|
|
84
|
+
azure_region
|
|
85
|
+
or kwargs.get("AZUREREGION", None)
|
|
86
|
+
or kwargs.get("REGIONALAUTHORITY", None)
|
|
87
|
+
)
|
|
88
|
+
# Resource URL for Identity Proxy Manager (IDPM) token acquisition.
|
|
89
|
+
# Only meaningful when AUTH_TYPE is AuthTypes.identity_proxy_manager.
|
|
90
|
+
self.IDPM_RESOURCE = idpm_resource or kwargs.get("IDPMRESOURCE", None)
|
|
72
91
|
self.ALT_BLUEPRINT_ID = kwargs.get("ALT_BLUEPRINT_NAME", None)
|
|
73
92
|
self.ANONYMOUS_ALLOWED = anonymous_allowed or kwargs.get(
|
|
74
93
|
"ANONYMOUS_ALLOWED", False
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
"""Connector Client for Microsoft Agents."""
|
|
5
5
|
|
|
6
6
|
import logging
|
|
7
|
+
import re
|
|
7
8
|
from typing import Any, Optional
|
|
8
9
|
from aiohttp import ClientSession
|
|
9
10
|
from io import BytesIO
|
|
@@ -11,12 +12,15 @@ from io import BytesIO
|
|
|
11
12
|
from microsoft_agents.activity import (
|
|
12
13
|
Activity,
|
|
13
14
|
ChannelAccount,
|
|
15
|
+
Channels,
|
|
14
16
|
ConversationParameters,
|
|
15
17
|
ConversationResourceResponse,
|
|
16
18
|
ResourceResponse,
|
|
19
|
+
RoleTypes,
|
|
17
20
|
ConversationsResult,
|
|
18
21
|
PagedMembersResult,
|
|
19
22
|
)
|
|
23
|
+
from microsoft_agents.activity.channel_id import ChannelId
|
|
20
24
|
from microsoft_agents.hosting.core.connector import ConnectorClientBase
|
|
21
25
|
from ..attachments_base import AttachmentsBase
|
|
22
26
|
from ..conversations_base import ConversationsBase
|
|
@@ -138,8 +142,33 @@ class ConversationsOperations(ConversationsBase):
|
|
|
138
142
|
self.client = client
|
|
139
143
|
self._max_conversation_id_length = kwargs.get("max_conversation_id_length", 150)
|
|
140
144
|
|
|
141
|
-
def _normalize_conversation_id(
|
|
142
|
-
|
|
145
|
+
def _normalize_conversation_id(
|
|
146
|
+
self, conversation_id: str, activity: Optional[Activity] = None
|
|
147
|
+
) -> str:
|
|
148
|
+
trimmed = conversation_id[: self._max_conversation_id_length]
|
|
149
|
+
if activity is not None and self._should_sanitize_conversation_id(activity):
|
|
150
|
+
return re.sub(r"[/\\#?]", "_", trimmed)
|
|
151
|
+
return trimmed
|
|
152
|
+
|
|
153
|
+
@staticmethod
|
|
154
|
+
def _should_sanitize_conversation_id(activity: Activity) -> bool:
|
|
155
|
+
channel_id = activity.channel_id
|
|
156
|
+
if not channel_id:
|
|
157
|
+
return False
|
|
158
|
+
base_channel = (
|
|
159
|
+
channel_id.channel
|
|
160
|
+
if isinstance(channel_id, ChannelId)
|
|
161
|
+
else channel_id.split(":", 1)[0]
|
|
162
|
+
)
|
|
163
|
+
if base_channel != Channels.agents:
|
|
164
|
+
return False
|
|
165
|
+
from_property = activity.from_property
|
|
166
|
+
if not from_property or not from_property.role:
|
|
167
|
+
return False
|
|
168
|
+
return from_property.role in (
|
|
169
|
+
RoleTypes.agentic_identity,
|
|
170
|
+
RoleTypes.agentic_user,
|
|
171
|
+
)
|
|
143
172
|
|
|
144
173
|
async def get_conversations(
|
|
145
174
|
self, continuation_token: Optional[str] = None
|
|
@@ -221,7 +250,7 @@ class ConversationsOperations(ConversationsBase):
|
|
|
221
250
|
|
|
222
251
|
with spans.ConnectorReplyToActivity(conversation_id, activity_id) as span:
|
|
223
252
|
|
|
224
|
-
conversation_id = self._normalize_conversation_id(conversation_id)
|
|
253
|
+
conversation_id = self._normalize_conversation_id(conversation_id, body)
|
|
225
254
|
url = f"v3/conversations/{conversation_id}/activities/{activity_id}"
|
|
226
255
|
|
|
227
256
|
logger.info(
|
|
@@ -283,7 +312,7 @@ class ConversationsOperations(ConversationsBase):
|
|
|
283
312
|
|
|
284
313
|
with spans.ConnectorSendToConversation(conversation_id, body.id) as span:
|
|
285
314
|
|
|
286
|
-
conversation_id = self._normalize_conversation_id(conversation_id)
|
|
315
|
+
conversation_id = self._normalize_conversation_id(conversation_id, body)
|
|
287
316
|
url = f"v3/conversations/{conversation_id}/activities"
|
|
288
317
|
|
|
289
318
|
logger.info(
|
|
@@ -330,7 +359,7 @@ class ConversationsOperations(ConversationsBase):
|
|
|
330
359
|
|
|
331
360
|
with spans.ConnectorUpdateActivity(conversation_id, activity_id) as span:
|
|
332
361
|
|
|
333
|
-
conversation_id = self._normalize_conversation_id(conversation_id)
|
|
362
|
+
conversation_id = self._normalize_conversation_id(conversation_id, body)
|
|
334
363
|
url = f"v3/conversations/{conversation_id}/activities/{activity_id}"
|
|
335
364
|
|
|
336
365
|
logger.info(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-core
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev7
|
|
4
4
|
Summary: Core library for Microsoft Agents
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -15,7 +15,7 @@ Classifier: Operating System :: OS Independent
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: microsoft-agents-activity==1.1.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-activity==1.1.0.dev7
|
|
19
19
|
Requires-Dist: pyjwt>=2.10.1
|
|
20
20
|
Requires-Dist: isodate>=0.6.1
|
|
21
21
|
Requires-Dist: azure-core>=1.30.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.1.0.dev0
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/LICENSE
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/MANIFEST.in
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/pyproject.toml
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/readme.md
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/setup.cfg
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-1.1.0.dev0 → microsoft_agents_hosting_core-1.1.0.dev7}/setup.py
RENAMED
|
File without changes
|