microsoft-agents-hosting-core 0.7.0__tar.gz → 0.7.0.dev1__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 (118) hide show
  1. {microsoft_agents_hosting_core-0.7.0/microsoft_agents_hosting_core.egg-info → microsoft_agents_hosting_core-0.7.0.dev1}/PKG-INFO +3 -21
  2. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/__init__.py +1 -0
  3. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/agent_application.py +24 -12
  4. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +15 -7
  5. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/claims_identity.py +0 -14
  6. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/channel_service_adapter.py +14 -28
  7. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/client/connector_client.py +1 -0
  8. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/client/user_token_client.py +1 -0
  9. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +2 -2
  10. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/memory_storage.py +1 -0
  11. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/storage.py +1 -0
  12. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/transcript_logger.py +1 -0
  13. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1/microsoft_agents_hosting_core.egg-info}/PKG-INFO +3 -21
  14. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents_hosting_core.egg-info/SOURCES.txt +0 -2
  15. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents_hosting_core.egg-info/requires.txt +1 -1
  16. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/readme.md +1 -19
  17. microsoft_agents_hosting_core-0.7.0.dev1/setup.py +15 -0
  18. microsoft_agents_hosting_core-0.7.0/MANIFEST.in +0 -1
  19. microsoft_agents_hosting_core-0.7.0/VERSION.txt +0 -1
  20. microsoft_agents_hosting_core-0.7.0/setup.py +0 -21
  21. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/LICENSE +0 -0
  22. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/_oauth/__init__.py +0 -0
  23. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/_oauth/_flow_state.py +0 -0
  24. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py +0 -0
  25. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/_oauth/_oauth_flow.py +0 -0
  26. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/activity_handler.py +0 -0
  27. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/agent.py +0 -0
  28. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/__init__.py +0 -0
  29. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/_routes/__init__.py +0 -0
  30. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/_routes/_route.py +0 -0
  31. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/_routes/_route_list.py +0 -0
  32. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/_routes/route_rank.py +0 -0
  33. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/_type_defs.py +0 -0
  34. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/app_error.py +0 -0
  35. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/app_options.py +0 -0
  36. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/input_file.py +0 -0
  37. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/__init__.py +0 -0
  38. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +0 -0
  39. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +0 -0
  40. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +0 -0
  41. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +0 -0
  42. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +0 -0
  43. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/auth_handler.py +0 -0
  44. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/oauth/authorization.py +0 -0
  45. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/query.py +0 -0
  46. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/state/__init__.py +0 -0
  47. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/state/conversation_state.py +0 -0
  48. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/state/state.py +0 -0
  49. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/state/temp_state.py +0 -0
  50. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/state/turn_state.py +0 -0
  51. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/streaming/__init__.py +0 -0
  52. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/streaming/citation.py +0 -0
  53. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/streaming/citation_util.py +0 -0
  54. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/streaming/streaming_response.py +0 -0
  55. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/app/typing_indicator.py +0 -0
  56. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/__init__.py +0 -0
  57. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/access_token_provider_base.py +0 -0
  58. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +0 -0
  59. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +0 -0
  60. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/auth_types.py +0 -0
  61. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/authentication_constants.py +0 -0
  62. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/connections.py +0 -0
  63. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/authorization/jwt_token_validator.py +0 -0
  64. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/card_factory.py +0 -0
  65. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/channel_adapter.py +0 -0
  66. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/channel_api_handler_protocol.py +0 -0
  67. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/channel_service_client_factory_base.py +0 -0
  68. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/__init__.py +0 -0
  69. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/agent_conversation_reference.py +0 -0
  70. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/channel_factory_protocol.py +0 -0
  71. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/channel_host_protocol.py +0 -0
  72. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/channel_info_protocol.py +0 -0
  73. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/channel_protocol.py +0 -0
  74. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/channels_configuration.py +0 -0
  75. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/configuration_channel_host.py +0 -0
  76. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/conversation_constants.py +0 -0
  77. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/conversation_id_factory.py +0 -0
  78. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/conversation_id_factory_options.py +0 -0
  79. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +0 -0
  80. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/http_agent_channel.py +0 -0
  81. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/client/http_agent_channel_factory.py +0 -0
  82. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/__init__.py +0 -0
  83. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/agent_sign_in_base.py +0 -0
  84. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/attachments_base.py +0 -0
  85. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/client/__init__.py +0 -0
  86. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/connector_client_base.py +0 -0
  87. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/conversations_base.py +0 -0
  88. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/get_product_info.py +0 -0
  89. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/teams/__init__.py +0 -0
  90. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/teams/teams_connector_client.py +0 -0
  91. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/user_token_base.py +0 -0
  92. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/connector/user_token_client_base.py +0 -0
  93. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/errors/__init__.py +0 -0
  94. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/errors/error_resources.py +0 -0
  95. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/http/__init__.py +0 -0
  96. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/http/_channel_service_routes.py +0 -0
  97. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/http/_http_adapter_base.py +0 -0
  98. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/http/_http_request_protocol.py +0 -0
  99. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/http/_http_response.py +0 -0
  100. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/message_factory.py +0 -0
  101. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/middleware_set.py +0 -0
  102. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/state/__init__.py +0 -0
  103. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/state/agent_state.py +0 -0
  104. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/state/state_property_accessor.py +0 -0
  105. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/state/user_state.py +0 -0
  106. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/__init__.py +0 -0
  107. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/_type_aliases.py +0 -0
  108. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/error_handling.py +0 -0
  109. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/store_item.py +0 -0
  110. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/transcript_file_store.py +0 -0
  111. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/transcript_info.py +0 -0
  112. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/transcript_memory_store.py +0 -0
  113. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/storage/transcript_store.py +0 -0
  114. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents/hosting/core/turn_context.py +0 -0
  115. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents_hosting_core.egg-info/dependency_links.txt +0 -0
  116. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/microsoft_agents_hosting_core.egg-info/top_level.txt +0 -0
  117. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/pyproject.toml +0 -0
  118. {microsoft_agents_hosting_core-0.7.0 → microsoft_agents_hosting_core-0.7.0.dev1}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-core
3
- Version: 0.7.0
3
+ Version: 0.7.0.dev1
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==0.7.0
18
+ Requires-Dist: microsoft-agents-activity==0.7.0.dev1
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
@@ -41,29 +41,11 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
41
41
  <th style="width:20%">Date</th>
42
42
  <th style="width:60%">Release Notes</th>
43
43
  </tr>
44
- <tr>
45
- <td>0.6.1</td>
46
- <td>2025-12-01</td>
47
- <td>
48
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v061">
49
- 0.6.1 Release Notes
50
- </a>
51
- </td>
52
- </tr>
53
- <tr>
54
- <td>0.6.0</td>
55
- <td>2025-11-18</td>
56
- <td>
57
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v060">
58
- 0.6.0 Release Notes
59
- </a>
60
- </td>
61
- </tr>
62
44
  <tr>
63
45
  <td>0.5.0</td>
64
46
  <td>2025-10-22</td>
65
47
  <td>
66
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v050">
48
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
67
49
  0.5.0 Release Notes
68
50
  </a>
69
51
  </td>
@@ -101,6 +101,7 @@ from .storage.memory_storage import MemoryStorage
101
101
  # Error Resources
102
102
  from .errors import error_resources, ErrorMessage, ErrorResources
103
103
 
104
+
104
105
  # Define the package's public interface
105
106
  __all__ = [
106
107
  "ActivityHandler",
@@ -120,9 +120,11 @@ class AgentApplication(Agent, Generic[StateT]):
120
120
  "ApplicationOptions.storage is required and was not configured.",
121
121
  stack_info=True,
122
122
  )
123
- raise ApplicationError("""
123
+ raise ApplicationError(
124
+ """
124
125
  The `ApplicationOptions.storage` property is required and was not configured.
125
- """)
126
+ """
127
+ )
126
128
 
127
129
  if options.long_running_messages and (
128
130
  not options.adapter or not options.bot_app_id
@@ -131,10 +133,12 @@ class AgentApplication(Agent, Generic[StateT]):
131
133
  "ApplicationOptions.long_running_messages requires an adapter and bot_app_id.",
132
134
  stack_info=True,
133
135
  )
134
- raise ApplicationError("""
136
+ raise ApplicationError(
137
+ """
135
138
  The `ApplicationOptions.long_running_messages` property is unavailable because
136
139
  no adapter or `bot_app_id` was configured.
137
- """)
140
+ """
141
+ )
138
142
 
139
143
  if options.adapter:
140
144
  self._adapter = options.adapter
@@ -176,10 +180,12 @@ class AgentApplication(Agent, Generic[StateT]):
176
180
  "AgentApplication.adapter(): self._adapter is not configured.",
177
181
  stack_info=True,
178
182
  )
179
- raise ApplicationError("""
183
+ raise ApplicationError(
184
+ """
180
185
  The AgentApplication.adapter property is unavailable because it was
181
186
  not configured when creating the AgentApplication.
182
- """)
187
+ """
188
+ )
183
189
 
184
190
  return self._adapter
185
191
 
@@ -197,10 +203,12 @@ class AgentApplication(Agent, Generic[StateT]):
197
203
  "AgentApplication.auth(): self._auth is not configured.",
198
204
  stack_info=True,
199
205
  )
200
- raise ApplicationError("""
206
+ raise ApplicationError(
207
+ """
201
208
  The `AgentApplication.auth` property is unavailable because
202
209
  no Auth options were configured.
203
- """)
210
+ """
211
+ )
204
212
 
205
213
  return self._auth
206
214
 
@@ -584,10 +592,12 @@ class AgentApplication(Agent, Generic[StateT]):
584
592
  f"Failed to register sign-in success handler for route handler {func.__name__}",
585
593
  stack_info=True,
586
594
  )
587
- raise ApplicationError("""
595
+ raise ApplicationError(
596
+ """
588
597
  The `AgentApplication.on_sign_in_success` method is unavailable because
589
598
  no Auth options were configured.
590
- """)
599
+ """
600
+ )
591
601
  return func
592
602
 
593
603
  def on_sign_in_failure(
@@ -618,10 +628,12 @@ class AgentApplication(Agent, Generic[StateT]):
618
628
  f"Failed to register sign-in failure handler for route handler {func.__name__}",
619
629
  stack_info=True,
620
630
  )
621
- raise ApplicationError("""
631
+ raise ApplicationError(
632
+ """
622
633
  The `AgentApplication.on_sign_in_failure` method is unavailable because
623
634
  no Auth options were configured.
624
- """)
635
+ """
636
+ )
625
637
  return func
626
638
 
627
639
  def error(
@@ -7,27 +7,35 @@ from __future__ import annotations
7
7
 
8
8
  from typing import Optional
9
9
 
10
- from pydantic import BaseModel
11
-
12
10
  from microsoft_agents.activity import Activity
13
11
 
14
12
  from ...storage._type_aliases import JSON
15
13
  from ...storage import StoreItem
16
14
 
17
15
 
18
- class _SignInState(BaseModel, StoreItem):
16
+ class _SignInState(StoreItem):
19
17
  """Store item for sign-in state, including tokens and continuation activity.
20
18
 
21
19
  Used to cache tokens and keep track of activities during single and
22
20
  multi-turn sign-in flows.
23
21
  """
24
22
 
25
- active_handler_id: str
26
- continuation_activity: Optional[Activity] = None
23
+ def __init__(
24
+ self,
25
+ active_handler_id: str,
26
+ continuation_activity: Optional[Activity] = None,
27
+ ) -> None:
28
+ self.active_handler_id = active_handler_id
29
+ self.continuation_activity = continuation_activity
27
30
 
28
31
  def store_item_to_json(self) -> JSON:
29
- return self.model_dump(mode="json", exclude_unset=True, by_alias=True)
32
+ return {
33
+ "active_handler_id": self.active_handler_id,
34
+ "continuation_activity": self.continuation_activity,
35
+ }
30
36
 
31
37
  @staticmethod
32
38
  def from_json_to_store_item(json_data: JSON) -> _SignInState:
33
- return _SignInState.model_validate(json_data)
39
+ return _SignInState(
40
+ json_data["active_handler_id"], json_data.get("continuation_activity")
41
+ )
@@ -83,17 +83,3 @@ class ClaimsIdentity:
83
83
  if self.is_agent_claim()
84
84
  else AuthenticationConstants.AGENTS_SDK_SCOPE
85
85
  )
86
-
87
- def get_token_scope(self) -> list[str]:
88
- """
89
- Gets the token scope from current claims.
90
-
91
- :return: The token scope.
92
- """
93
- return [
94
- (
95
- f"{self.get_outgoing_app_id()}/.default"
96
- if self.is_agent_claim()
97
- else AuthenticationConstants.AGENTS_SDK_SCOPE + "/.default"
98
- )
99
- ]
@@ -341,19 +341,6 @@ class ChannelServiceAdapter(ChannelAdapter, ABC):
341
341
  await connector_client.close()
342
342
  await user_token_client.close()
343
343
 
344
- def _resolve_if_connector_client_is_needed(self, activity: Activity) -> bool:
345
- """Determine if a connector client is needed based on the activity's delivery mode and service URL.
346
-
347
- :param activity: The activity to evaluate.
348
- :type activity: :class:`microsoft_agents.activity.Activity`
349
- """
350
- if activity.delivery_mode in [
351
- DeliveryModes.expect_replies,
352
- DeliveryModes.stream,
353
- ]:
354
- return False
355
- return True
356
-
357
344
  async def process_activity(
358
345
  self,
359
346
  claims_identity: ClaimsIdentity,
@@ -381,14 +368,16 @@ class ChannelServiceAdapter(ChannelAdapter, ABC):
381
368
  If the task completes successfully, then an :class:`microsoft_agents.activity.InvokeResponse` is returned;
382
369
  otherwise, `None` is returned.
383
370
  """
384
- scopes: list[str] = claims_identity.get_token_scope()
371
+ scopes: list[str] = None
385
372
  outgoing_audience: str = None
386
373
 
387
374
  if claims_identity.is_agent_claim():
388
375
  outgoing_audience = claims_identity.get_token_audience()
376
+ scopes = [f"{claims_identity.get_outgoing_app_id()}/.default"]
389
377
  activity.caller_id = f"{CallerIdConstants.agent_to_agent_prefix}{claims_identity.get_outgoing_app_id()}"
390
378
  else:
391
379
  outgoing_audience = AuthenticationConstants.AGENTS_SDK_SCOPE
380
+ scopes = [f"{AuthenticationConstants.AGENTS_SDK_SCOPE}/.default"]
392
381
 
393
382
  use_anonymous_auth_callback = False
394
383
  if (
@@ -414,24 +403,21 @@ class ChannelServiceAdapter(ChannelAdapter, ABC):
414
403
  context.turn_state[self.USER_TOKEN_CLIENT_KEY] = user_token_client
415
404
 
416
405
  # Create the connector client to use for outbound requests.
417
- connector_client: Optional[ConnectorClient] = None
418
- if self._resolve_if_connector_client_is_needed(activity):
419
- connector_client = (
420
- await self._channel_service_client_factory.create_connector_client(
421
- context,
422
- claims_identity,
423
- activity.service_url,
424
- outgoing_audience,
425
- scopes,
426
- use_anonymous_auth_callback,
427
- )
406
+ connector_client: ConnectorClient = (
407
+ await self._channel_service_client_factory.create_connector_client(
408
+ context,
409
+ claims_identity,
410
+ activity.service_url,
411
+ outgoing_audience,
412
+ scopes,
413
+ use_anonymous_auth_callback,
428
414
  )
429
- context.turn_state[self._AGENT_CONNECTOR_CLIENT_KEY] = connector_client
415
+ )
416
+ context.turn_state[self._AGENT_CONNECTOR_CLIENT_KEY] = connector_client
430
417
 
431
418
  await self.run_pipeline(context, callback)
432
419
 
433
- if connector_client:
434
- await connector_client.close()
420
+ await connector_client.close()
435
421
  await user_token_client.close()
436
422
 
437
423
  # If there are any results they will have been left on the TurnContext.
@@ -22,6 +22,7 @@ from ..attachments_base import AttachmentsBase
22
22
  from ..conversations_base import ConversationsBase
23
23
  from ..get_product_info import get_product_info
24
24
 
25
+
25
26
  logger = logging.getLogger(__name__)
26
27
 
27
28
 
@@ -18,6 +18,7 @@ from ..get_product_info import get_product_info
18
18
  from ..user_token_base import UserTokenBase
19
19
  from ..agent_sign_in_base import AgentSignInBase
20
20
 
21
+
21
22
  logger = logging.getLogger(__name__)
22
23
 
23
24
 
@@ -113,7 +113,7 @@ class RestChannelServiceClientFactory(ChannelServiceClientFactoryBase):
113
113
  )
114
114
 
115
115
  token = await token_provider.get_access_token(
116
- audience, scopes or claims_identity.get_token_scope()
116
+ audience, scopes or [f"{audience}/.default"]
117
117
  )
118
118
 
119
119
  return TeamsConnectorClient(
@@ -142,7 +142,7 @@ class RestChannelServiceClientFactory(ChannelServiceClientFactoryBase):
142
142
  if context.activity.is_agentic_request():
143
143
  token = await self._get_agentic_token(context, self._token_service_endpoint)
144
144
  else:
145
- scopes = claims_identity.get_token_scope()
145
+ scopes = [f"{self._token_service_audience}/.default"]
146
146
 
147
147
  token_provider = self._connection_manager.get_token_provider(
148
148
  claims_identity, self._token_service_endpoint
@@ -8,6 +8,7 @@ from ._type_aliases import JSON
8
8
  from .storage import Storage
9
9
  from .store_item import StoreItem
10
10
 
11
+
11
12
  StoreItemT = TypeVar("StoreItemT", bound=StoreItem)
12
13
 
13
14
 
@@ -8,6 +8,7 @@ from asyncio import gather
8
8
  from ._type_aliases import JSON
9
9
  from .store_item import StoreItem
10
10
 
11
+
11
12
  StoreItemT = TypeVar("StoreItemT", bound=StoreItem)
12
13
 
13
14
 
@@ -19,6 +19,7 @@ from microsoft_agents.activity.conversation_reference import ActivityEventNames
19
19
  from microsoft_agents.hosting.core.middleware_set import Middleware, TurnContext
20
20
  from typing import Generic, TypeVar
21
21
 
22
+
22
23
  T = TypeVar("T")
23
24
 
24
25
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: microsoft-agents-hosting-core
3
- Version: 0.7.0
3
+ Version: 0.7.0.dev1
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==0.7.0
18
+ Requires-Dist: microsoft-agents-activity==0.7.0.dev1
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
@@ -41,29 +41,11 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
41
41
  <th style="width:20%">Date</th>
42
42
  <th style="width:60%">Release Notes</th>
43
43
  </tr>
44
- <tr>
45
- <td>0.6.1</td>
46
- <td>2025-12-01</td>
47
- <td>
48
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v061">
49
- 0.6.1 Release Notes
50
- </a>
51
- </td>
52
- </tr>
53
- <tr>
54
- <td>0.6.0</td>
55
- <td>2025-11-18</td>
56
- <td>
57
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v060">
58
- 0.6.0 Release Notes
59
- </a>
60
- </td>
61
- </tr>
62
44
  <tr>
63
45
  <td>0.5.0</td>
64
46
  <td>2025-10-22</td>
65
47
  <td>
66
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v050">
48
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
67
49
  0.5.0 Release Notes
68
50
  </a>
69
51
  </td>
@@ -1,6 +1,4 @@
1
1
  LICENSE
2
- MANIFEST.in
3
- VERSION.txt
4
2
  pyproject.toml
5
3
  readme.md
6
4
  setup.py
@@ -1,4 +1,4 @@
1
- microsoft-agents-activity==0.7.0
1
+ microsoft-agents-activity==0.7.0.dev1
2
2
  pyjwt>=2.10.1
3
3
  isodate>=0.6.1
4
4
  azure-core>=1.30.0
@@ -16,29 +16,11 @@ This library is part of the **Microsoft 365 Agents SDK for Python** - a comprehe
16
16
  <th style="width:20%">Date</th>
17
17
  <th style="width:60%">Release Notes</th>
18
18
  </tr>
19
- <tr>
20
- <td>0.6.1</td>
21
- <td>2025-12-01</td>
22
- <td>
23
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v061">
24
- 0.6.1 Release Notes
25
- </a>
26
- </td>
27
- </tr>
28
- <tr>
29
- <td>0.6.0</td>
30
- <td>2025-11-18</td>
31
- <td>
32
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v060">
33
- 0.6.0 Release Notes
34
- </a>
35
- </td>
36
- </tr>
37
19
  <tr>
38
20
  <td>0.5.0</td>
39
21
  <td>2025-10-22</td>
40
22
  <td>
41
- <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v050">
23
+ <a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md">
42
24
  0.5.0 Release Notes
43
25
  </a>
44
26
  </td>
@@ -0,0 +1,15 @@
1
+ from os import environ
2
+ from setuptools import setup
3
+
4
+ package_version = environ.get("PackageVersion", "0.0.0")
5
+
6
+ setup(
7
+ version=package_version,
8
+ install_requires=[
9
+ f"microsoft-agents-activity=={package_version}",
10
+ "pyjwt>=2.10.1",
11
+ "isodate>=0.6.1",
12
+ "azure-core>=1.30.0",
13
+ "python-dotenv>=1.1.1",
14
+ ],
15
+ )
@@ -1 +0,0 @@
1
- include VERSION.txt
@@ -1 +0,0 @@
1
- 0.7.0
@@ -1,21 +0,0 @@
1
- from os import environ, path
2
- from setuptools import setup
3
-
4
- # Try to read from VERSION.txt file first, fall back to environment variable
5
- version_file = path.join(path.dirname(__file__), "VERSION.txt")
6
- if path.exists(version_file):
7
- with open(version_file, "r", encoding="utf-8") as f:
8
- package_version = f.read().strip()
9
- else:
10
- package_version = environ.get("PackageVersion", "0.0.0")
11
-
12
- setup(
13
- version=package_version,
14
- install_requires=[
15
- f"microsoft-agents-activity=={package_version}",
16
- "pyjwt>=2.10.1",
17
- "isodate>=0.6.1",
18
- "azure-core>=1.30.0",
19
- "python-dotenv>=1.1.1",
20
- ],
21
- )