microsoft-agents-hosting-core 1.2.0.dev9__tar.gz → 1.2.0.dev16__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.
Files changed (168) hide show
  1. {microsoft_agents_hosting_core-1.2.0.dev9/microsoft_agents_hosting_core.egg-info → microsoft_agents_hosting_core-1.2.0.dev16}/PKG-INFO +2 -2
  2. microsoft_agents_hosting_core-1.2.0.dev16/VERSION.txt +1 -0
  3. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/activity_handler.py +1 -2
  4. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/agent_application.py +0 -6
  5. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/app_options.py +0 -13
  6. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +0 -1
  7. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/telemetry/spans.py +0 -1
  8. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/state/temp_state.py +7 -3
  9. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/channel_service_adapter.py +0 -2
  10. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/conversation_id_factory.py +0 -1
  11. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/conversations_base.py +0 -1
  12. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/memory_storage.py +4 -4
  13. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/store_item.py +0 -1
  14. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/transcript_memory_store.py +6 -7
  15. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/transcript_store.py +1 -1
  16. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/_agents_telemetry.py +0 -2
  17. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16/microsoft_agents_hosting_core.egg-info}/PKG-INFO +2 -2
  18. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents_hosting_core.egg-info/requires.txt +1 -1
  19. microsoft_agents_hosting_core-1.2.0.dev9/VERSION.txt +0 -1
  20. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/LICENSE +0 -0
  21. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/MANIFEST.in +0 -0
  22. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/__init__.py +0 -0
  23. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/_oauth/__init__.py +0 -0
  24. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/_oauth/_flow_state.py +0 -0
  25. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py +0 -0
  26. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/_oauth/_oauth_flow.py +0 -0
  27. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/agent.py +0 -0
  28. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/__init__.py +0 -0
  29. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/_routes/__init__.py +0 -0
  30. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/_routes/_route.py +0 -0
  31. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/_routes/_route_list.py +0 -0
  32. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/_routes/route_rank.py +0 -0
  33. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/_type_defs.py +0 -0
  34. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/app_error.py +0 -0
  35. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/input_file.py +0 -0
  36. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/__init__.py +0 -0
  37. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +0 -0
  38. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +0 -0
  39. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +0 -0
  40. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_handlers/connector_user_authorization.py +0 -0
  41. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +0 -0
  42. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +0 -0
  43. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/auth_handler.py +0 -0
  44. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/authorization.py +0 -0
  45. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/telemetry/__init__.py +0 -0
  46. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/oauth/telemetry/constants.py +0 -0
  47. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/__init__.py +0 -0
  48. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/conversation.py +0 -0
  49. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/conversation_builder.py +0 -0
  50. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/conversation_reference_builder.py +0 -0
  51. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/create_conversation_options.py +0 -0
  52. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/proactive.py +0 -0
  53. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/proactive_options.py +0 -0
  54. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/telemetry/__init__.py +0 -0
  55. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/telemetry/constants.py +0 -0
  56. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/proactive/telemetry/spans.py +0 -0
  57. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/query.py +0 -0
  58. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/state/__init__.py +0 -0
  59. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/state/conversation_state.py +0 -0
  60. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/state/state.py +0 -0
  61. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/state/turn_state.py +0 -0
  62. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/streaming/__init__.py +0 -0
  63. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/streaming/citation.py +0 -0
  64. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/streaming/citation_util.py +0 -0
  65. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/streaming/streaming_response.py +0 -0
  66. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/telemetry/__init__.py +0 -0
  67. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/telemetry/constants.py +0 -0
  68. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/telemetry/metrics.py +0 -0
  69. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/telemetry/spans.py +0 -0
  70. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/app/typing_indicator.py +0 -0
  71. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/__init__.py +0 -0
  72. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/access_token_provider_base.py +0 -0
  73. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +0 -0
  74. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +0 -0
  75. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/auth_types.py +0 -0
  76. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/authentication_constants.py +0 -0
  77. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/claims_identity.py +0 -0
  78. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/connections.py +0 -0
  79. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/jwt_token_validator.py +0 -0
  80. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/telemetry/__init__.py +0 -0
  81. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/telemetry/constants.py +0 -0
  82. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/telemetry/metrics.py +0 -0
  83. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/authorization/telemetry/spans.py +0 -0
  84. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/card_factory.py +0 -0
  85. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/channel_adapter.py +0 -0
  86. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/channel_api_handler_protocol.py +0 -0
  87. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/channel_service_client_factory_base.py +0 -0
  88. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/__init__.py +0 -0
  89. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/agent_conversation_reference.py +0 -0
  90. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/channel_factory_protocol.py +0 -0
  91. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/channel_host_protocol.py +0 -0
  92. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/channel_info_protocol.py +0 -0
  93. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/channel_protocol.py +0 -0
  94. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/channels_configuration.py +0 -0
  95. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/configuration_channel_host.py +0 -0
  96. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/conversation_constants.py +0 -0
  97. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/conversation_id_factory_options.py +0 -0
  98. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +0 -0
  99. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/http_agent_channel.py +0 -0
  100. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/client/http_agent_channel_factory.py +0 -0
  101. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/__init__.py +0 -0
  102. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/agent_sign_in_base.py +0 -0
  103. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/attachments_base.py +0 -0
  104. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/client/__init__.py +0 -0
  105. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/client/connector_client.py +0 -0
  106. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/client/user_token_client.py +0 -0
  107. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/connector_client_base.py +0 -0
  108. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/get_product_info.py +0 -0
  109. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/mcs/__init__.py +0 -0
  110. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/mcs/mcs_connector_client.py +0 -0
  111. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/teams/__init__.py +0 -0
  112. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/teams/teams_connector_client.py +0 -0
  113. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/__init__.py +0 -0
  114. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/_request_span_wrapper.py +0 -0
  115. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/connector_spans.py +0 -0
  116. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/constants.py +0 -0
  117. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/metrics.py +0 -0
  118. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/telemetry/user_token_client_spans.py +0 -0
  119. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/user_token_base.py +0 -0
  120. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/connector/user_token_client_base.py +0 -0
  121. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/errors/__init__.py +0 -0
  122. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/errors/error_resources.py +0 -0
  123. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/http/__init__.py +0 -0
  124. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/http/_channel_service_routes.py +0 -0
  125. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/http/_http_adapter_base.py +0 -0
  126. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/http/_http_request_protocol.py +0 -0
  127. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/http/_http_response.py +0 -0
  128. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/message_factory.py +0 -0
  129. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/middleware_set.py +0 -0
  130. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +0 -0
  131. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/state/__init__.py +0 -0
  132. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/state/agent_state.py +0 -0
  133. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/state/state_property_accessor.py +0 -0
  134. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/state/user_state.py +0 -0
  135. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/__init__.py +0 -0
  136. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/_type_aliases.py +0 -0
  137. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/error_handling.py +0 -0
  138. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/storage.py +0 -0
  139. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/telemetry/__init__.py +0 -0
  140. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/telemetry/constants.py +0 -0
  141. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/telemetry/metrics.py +0 -0
  142. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/telemetry/spans.py +0 -0
  143. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/transcript_file_store.py +0 -0
  144. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/transcript_info.py +0 -0
  145. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/storage/transcript_logger.py +0 -0
  146. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/__init__.py +0 -0
  147. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/adapter/__init__.py +0 -0
  148. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/adapter/constants.py +0 -0
  149. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/adapter/metrics.py +0 -0
  150. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/adapter/spans.py +0 -0
  151. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/attributes.py +0 -0
  152. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/__init__.py +0 -0
  153. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/base_span_wrapper.py +0 -0
  154. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/resource.py +0 -0
  155. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/simple_span_wrapper.py +0 -0
  156. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/core/type_defs.py +0 -0
  157. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/turn_context/__init__.py +0 -0
  158. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/turn_context/constants.py +0 -0
  159. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/turn_context/spans.py +0 -0
  160. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/telemetry/utils.py +0 -0
  161. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents/hosting/core/turn_context.py +0 -0
  162. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents_hosting_core.egg-info/SOURCES.txt +0 -0
  163. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents_hosting_core.egg-info/dependency_links.txt +0 -0
  164. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/microsoft_agents_hosting_core.egg-info/top_level.txt +0 -0
  165. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/pyproject.toml +0 -0
  166. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/readme.md +0 -0
  167. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/setup.cfg +0 -0
  168. {microsoft_agents_hosting_core-1.2.0.dev9 → microsoft_agents_hosting_core-1.2.0.dev16}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-core
3
- Version: 1.2.0.dev9
3
+ Version: 1.2.0.dev16
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.2.0.dev9
18
+ Requires-Dist: microsoft-agents-activity==1.2.0.dev16
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.2.0.dev16
@@ -3,7 +3,6 @@
3
3
 
4
4
  from __future__ import annotations
5
5
  from http import HTTPStatus
6
- from typing import Awaitable
7
6
  from pydantic import BaseModel
8
7
 
9
8
  from microsoft_agents.activity import TurnContextProtocol
@@ -539,7 +538,7 @@ class ActivityHandler(Agent):
539
538
  raise _InvokeResponseException(HTTPStatus.NOT_IMPLEMENTED)
540
539
 
541
540
  @staticmethod
542
- def _create_invoke_response(body: BaseModel = None) -> InvokeResponse:
541
+ def _create_invoke_response(body: BaseModel | None = None) -> InvokeResponse:
543
542
  serialized_body = (
544
543
  body.model_dump(mode="json", by_alias=True, exclude_none=True)
545
544
  if body
@@ -104,11 +104,6 @@ class AgentApplication(Agent, Generic[StateT]):
104
104
 
105
105
  configuration = kwargs
106
106
 
107
- logger.debug(f"Initializing AgentApplication with options: {options}")
108
- logger.debug(
109
- f"Initializing AgentApplication with configuration: {configuration}"
110
- )
111
-
112
107
  if not options:
113
108
  # TODO: consolidate configuration story
114
109
  # Take the options from the kwargs and create an ApplicationOptions instance
@@ -915,7 +910,6 @@ class AgentApplication(Agent, Generic[StateT]):
915
910
  else:
916
911
  logger.debug("Using default turn state factory")
917
912
  turn_state = TurnState.with_storage(self._options.storage)
918
- await turn_state.load(context, self._options.storage)
919
913
 
920
914
  turn_state = cast(StateT, turn_state)
921
915
 
@@ -6,7 +6,6 @@ Licensed under the MIT License.
6
6
  from __future__ import annotations
7
7
 
8
8
  from dataclasses import dataclass, field
9
- from logging import Logger
10
9
  from typing import Callable, Optional
11
10
 
12
11
  from microsoft_agents.hosting.core.app.oauth import AuthHandler
@@ -20,8 +19,6 @@ from ..channel_service_adapter import ChannelServiceAdapter
20
19
  from .state.turn_state import TurnState
21
20
  from .proactive.proactive_options import ProactiveOptions
22
21
 
23
- # from .teams_adapter import TeamsAdapter
24
-
25
22
 
26
23
  @dataclass
27
24
  class ApplicationOptions:
@@ -30,11 +27,6 @@ class ApplicationOptions:
30
27
  Optional. Options used to initialize your `BotAdapter`
31
28
  """
32
29
 
33
- # auth: Optional[AuthOptions] = None
34
- """
35
- Optional. Auth settings.
36
- """
37
-
38
30
  bot_app_id: str = ""
39
31
  """
40
32
  Optional. `AgentApplication` ID of the bot.
@@ -45,11 +37,6 @@ class ApplicationOptions:
45
37
  Optional. `Storage` provider to use for the application.
46
38
  """
47
39
 
48
- logger: Logger = Logger(__name__)
49
- """
50
- Optional. `Logger` that will be used in this application.
51
- """
52
-
53
40
  remove_recipient_mention: bool = True
54
41
  """
55
42
  Optional. If true, the bot will automatically remove mentions of the bot's name from incoming
@@ -5,7 +5,6 @@ Licensed under the MIT License.
5
5
 
6
6
  from __future__ import annotations
7
7
  import logging
8
- import jwt
9
8
  from typing import Optional
10
9
 
11
10
  from microsoft_agents.activity import (
@@ -7,7 +7,6 @@ from opentelemetry.trace import Span
7
7
 
8
8
  from microsoft_agents.hosting.core.telemetry import (
9
9
  attributes,
10
- AttributeMap,
11
10
  SimpleSpanWrapper,
12
11
  format_scopes,
13
12
  )
@@ -64,9 +64,13 @@ class TempState(AgentState):
64
64
  del self._state[name]
65
65
 
66
66
  def get_value(
67
- self, name: str, default_value_factory: Optional[Callable[[], T]] = None
68
- ) -> T:
69
- """Gets a value from the state with the given name, using a factory for default values if not found"""
67
+ self,
68
+ name: str,
69
+ default_value_factory: Optional[Callable[[], T]] = None,
70
+ *,
71
+ target_cls: type[T] | None = None,
72
+ ) -> T | None:
73
+ """Gets a value from state, using a factory if not found."""
70
74
  if name not in self._state and default_value_factory is not None:
71
75
  value = default_value_factory()
72
76
  self.set_value(name, value)
@@ -3,7 +3,6 @@
3
3
 
4
4
  from __future__ import annotations
5
5
 
6
- from asyncio import sleep
7
6
  from abc import ABC
8
7
  from copy import Error
9
8
  from http import HTTPStatus
@@ -27,7 +26,6 @@ from microsoft_agents.activity import (
27
26
  )
28
27
  from microsoft_agents.hosting.core.connector import (
29
28
  ConnectorClientBase,
30
- UserTokenClientBase,
31
29
  ConnectorClient,
32
30
  UserTokenClient,
33
31
  )
@@ -3,7 +3,6 @@
3
3
 
4
4
  from uuid import uuid4
5
5
  from functools import partial
6
- from typing import Type
7
6
 
8
7
  from microsoft_agents.activity import AgentsModel
9
8
  from microsoft_agents.hosting.core.storage import Storage, StoreItem
@@ -5,7 +5,6 @@ from abc import abstractmethod
5
5
  from typing import Protocol, Optional
6
6
 
7
7
  from microsoft_agents.activity import (
8
- AttachmentInfo,
9
8
  ConversationResourceResponse,
10
9
  ConversationsResult,
11
10
  ConversationParameters,
@@ -1,7 +1,7 @@
1
1
  # Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  # Licensed under the MIT License.
3
3
 
4
- from threading import Lock
4
+ from asyncio import Lock
5
5
  from typing import TypeVar
6
6
 
7
7
  from ._type_aliases import JSON
@@ -26,7 +26,7 @@ class MemoryStorage(Storage):
26
26
  raise ValueError("Storage.read(): target_cls cannot be None.")
27
27
 
28
28
  result: dict[str, StoreItem] = {}
29
- with self._lock:
29
+ async with self._lock:
30
30
  for key in keys:
31
31
  if key == "":
32
32
  raise ValueError("MemoryStorage.read(): key cannot be empty")
@@ -48,7 +48,7 @@ class MemoryStorage(Storage):
48
48
  if not changes:
49
49
  raise ValueError("MemoryStorage.write(): changes cannot be None")
50
50
 
51
- with self._lock:
51
+ async with self._lock:
52
52
  for key in changes:
53
53
  if key == "":
54
54
  raise ValueError("MemoryStorage.write(): key cannot be empty")
@@ -58,7 +58,7 @@ class MemoryStorage(Storage):
58
58
  if not keys:
59
59
  raise ValueError("Storage.delete(): Keys are required when deleting.")
60
60
 
61
- with self._lock:
61
+ async with self._lock:
62
62
  for key in keys:
63
63
  if key == "":
64
64
  raise ValueError("MemoryStorage.delete(): key cannot be empty")
@@ -2,7 +2,6 @@
2
2
  # Licensed under the MIT License.
3
3
 
4
4
  from abc import ABC
5
- from typing import Protocol, runtime_checkable
6
5
 
7
6
  from ._type_aliases import JSON
8
7
 
@@ -1,9 +1,8 @@
1
1
  # Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  # Licensed under the MIT License.
3
3
 
4
- from threading import Lock
4
+ from asyncio import Lock
5
5
  from datetime import datetime, timezone
6
- from typing import List
7
6
  from .transcript_logger import TranscriptLogger, PagedResult
8
7
  from .transcript_info import TranscriptInfo
9
8
  from microsoft_agents.activity import Activity
@@ -13,7 +12,7 @@ class TranscriptMemoryStore(TranscriptLogger):
13
12
  """
14
13
  An in-memory implementation of the TranscriptLogger for storing and retrieving activities.
15
14
 
16
- This class is thread-safe and stores all activities in a list. It supports logging activities,
15
+ This class is async-safe and stores all activities in a list. It supports logging activities,
17
16
  retrieving activities for a specific channel and conversation, and filtering by timestamp.
18
17
  Activities with a None timestamp are treated as the earliest possible datetime.
19
18
 
@@ -43,7 +42,7 @@ class TranscriptMemoryStore(TranscriptLogger):
43
42
  if not activity.conversation.id:
44
43
  raise ValueError("Activity.Conversation.id cannot be None")
45
44
 
46
- with self.lock:
45
+ async with self.lock:
47
46
  self._transcript.append(activity)
48
47
 
49
48
  async def get_transcript_activities(
@@ -68,7 +67,7 @@ class TranscriptMemoryStore(TranscriptLogger):
68
67
  if not conversation_id:
69
68
  raise ValueError("conversation_id cannot be None")
70
69
 
71
- with self.lock:
70
+ async with self.lock:
72
71
  # Get the activities that match on channel and conversation id
73
72
  relevant_activities = [
74
73
  a
@@ -115,7 +114,7 @@ class TranscriptMemoryStore(TranscriptLogger):
115
114
  if not conversation_id:
116
115
  raise ValueError("conversation_id cannot be None")
117
116
 
118
- with self.lock:
117
+ async with self.lock:
119
118
  self._transcript = [
120
119
  a
121
120
  for a in self._transcript
@@ -140,7 +139,7 @@ class TranscriptMemoryStore(TranscriptLogger):
140
139
  if not channel_id:
141
140
  raise ValueError("channel_id cannot be None")
142
141
 
143
- with self.lock:
142
+ async with self.lock:
144
143
  relevant_activities = [
145
144
  a for a in self._transcript if a.channel_id == channel_id
146
145
  ]
@@ -1,7 +1,7 @@
1
1
  # Copyright (c) Microsoft Corporation. All rights reserved.
2
2
  # Licensed under the MIT License.
3
3
 
4
- from abc import ABC, abstractmethod
4
+ from abc import abstractmethod
5
5
  from datetime import datetime, timezone
6
6
  from microsoft_agents.activity import Activity
7
7
  from .transcript_info import TranscriptInfo
@@ -11,8 +11,6 @@ from opentelemetry.metrics import Meter
11
11
  from opentelemetry import metrics, trace
12
12
  from opentelemetry.trace import Tracer, Span
13
13
 
14
- from microsoft_agents.activity import TurnContextProtocol
15
-
16
14
  from .resource import SERVICE_NAME, SERVICE_VERSION
17
15
  from .type_defs import SpanCallback
18
16
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-core
3
- Version: 1.2.0.dev9
3
+ Version: 1.2.0.dev16
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.2.0.dev9
18
+ Requires-Dist: microsoft-agents-activity==1.2.0.dev16
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,4 +1,4 @@
1
- microsoft-agents-activity==1.2.0.dev9
1
+ microsoft-agents-activity==1.2.0.dev16
2
2
  pyjwt>=2.10.1
3
3
  isodate>=0.6.1
4
4
  azure-core>=1.30.0
@@ -1 +0,0 @@
1
- 1.2.0.dev9