microsoft-agents-hosting-core 0.6.0.dev10__tar.gz → 0.6.0.dev11__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-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/PKG-INFO +2 -2
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/errors/error_message.py +2 -6
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/errors/error_resources.py +0 -29
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents_hosting_core.egg-info/PKG-INFO +2 -2
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents_hosting_core.egg-info/requires.txt +1 -1
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/LICENSE +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/_oauth/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/_oauth/_flow_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/_oauth/_flow_storage_client.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/_oauth/_oauth_flow.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/activity_handler.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/agent.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/_routes/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/_routes/_route.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/_routes/_route_list.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/_routes/route_rank.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/_type_defs.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/agent_application.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/app_error.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/app_options.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/input_file.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_handlers/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_handlers/_authorization_handler.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_handlers/_user_authorization.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_handlers/agentic_user_authorization.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_sign_in_response.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/_sign_in_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/auth_handler.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/oauth/authorization.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/query.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/state/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/state/conversation_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/state/state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/state/temp_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/state/turn_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/app/typing_indicator.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/access_token_provider_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/agent_auth_configuration.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/anonymous_token_provider.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/auth_types.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/authentication_constants.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/claims_identity.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/connections.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/authorization/jwt_token_validator.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/card_factory.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/channel_adapter.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/channel_api_handler_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/channel_service_adapter.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/channel_service_client_factory_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/agent_conversation_reference.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/channel_factory_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/channel_host_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/channel_info_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/channel_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/channels_configuration.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/configuration_channel_host.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/conversation_constants.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/conversation_id_factory.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/conversation_id_factory_options.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/conversation_id_factory_protocol.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/http_agent_channel.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/client/http_agent_channel_factory.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/agent_sign_in_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/attachments_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/client/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/client/connector_client.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/client/user_token_client.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/connector_client_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/conversations_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/get_product_info.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/teams/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/teams/teams_connector_client.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/user_token_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/connector/user_token_client_base.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/errors/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/message_factory.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/middleware_set.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/rest_channel_service_client_factory.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/state/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/state/agent_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/state/state_property_accessor.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/state/user_state.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/__init__.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/_type_aliases.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/error_handling.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/memory_storage.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/storage.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/store_item.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/transcript_file_store.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/transcript_info.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/transcript_logger.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/transcript_memory_store.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/storage/transcript_store.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents/hosting/core/turn_context.py +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents_hosting_core.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents_hosting_core.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/microsoft_agents_hosting_core.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/pyproject.toml +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/readme.md +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/setup.cfg +0 -0
- {microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/setup.py +0 -0
{microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-core
|
|
3
|
-
Version: 0.6.0.
|
|
3
|
+
Version: 0.6.0.dev11
|
|
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.6.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-activity==0.6.0.dev11
|
|
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
|
|
@@ -13,14 +13,13 @@ class ErrorMessage:
|
|
|
13
13
|
This class formats error messages according to the Microsoft Agents SDK pattern:
|
|
14
14
|
- Original error message
|
|
15
15
|
- Error Code: [negative number]
|
|
16
|
-
- Help URL: https://aka.ms/M365AgentsErrorCodes/#
|
|
16
|
+
- Help URL: https://aka.ms/M365AgentsErrorCodes/#[error_code]
|
|
17
17
|
"""
|
|
18
18
|
|
|
19
19
|
def __init__(
|
|
20
20
|
self,
|
|
21
21
|
message_template: str,
|
|
22
22
|
error_code: int,
|
|
23
|
-
help_url_anchor: str = "agentic-identity-with-the-m365-agents-sdk",
|
|
24
23
|
):
|
|
25
24
|
"""
|
|
26
25
|
Initialize an ErrorMessage.
|
|
@@ -29,12 +28,9 @@ class ErrorMessage:
|
|
|
29
28
|
:type message_template: str
|
|
30
29
|
:param error_code: The error code (should be negative)
|
|
31
30
|
:type error_code: int
|
|
32
|
-
:param help_url_anchor: The anchor for the help URL (defaults to agentic identity)
|
|
33
|
-
:type help_url_anchor: str
|
|
34
31
|
"""
|
|
35
32
|
self.message_template = message_template
|
|
36
33
|
self.error_code = error_code
|
|
37
|
-
self.help_url_anchor = help_url_anchor
|
|
38
34
|
self.base_url = "https://aka.ms/M365AgentsErrorCodes"
|
|
39
35
|
|
|
40
36
|
def format(self, *args, **kwargs) -> str:
|
|
@@ -56,7 +52,7 @@ class ErrorMessage:
|
|
|
56
52
|
return (
|
|
57
53
|
f"{message}\n\n"
|
|
58
54
|
f"Error Code: {self.error_code}\n"
|
|
59
|
-
f"Help URL: {self.base_url}/#{self.
|
|
55
|
+
f"Help URL: {self.base_url}/#{self.error_code}"
|
|
60
56
|
)
|
|
61
57
|
|
|
62
58
|
def __str__(self) -> str:
|
|
@@ -25,176 +25,147 @@ class ErrorResources:
|
|
|
25
25
|
AdapterRequired = ErrorMessage(
|
|
26
26
|
"start_agent_process: adapter can't be None",
|
|
27
27
|
-63000,
|
|
28
|
-
"hosting-configuration",
|
|
29
28
|
)
|
|
30
29
|
|
|
31
30
|
AgentApplicationRequired = ErrorMessage(
|
|
32
31
|
"start_agent_process: agent_application can't be None",
|
|
33
32
|
-63001,
|
|
34
|
-
"hosting-configuration",
|
|
35
33
|
)
|
|
36
34
|
|
|
37
35
|
RequestRequired = ErrorMessage(
|
|
38
36
|
"CloudAdapter.process: request can't be None",
|
|
39
37
|
-63002,
|
|
40
|
-
"hosting-configuration",
|
|
41
38
|
)
|
|
42
39
|
|
|
43
40
|
AgentRequired = ErrorMessage(
|
|
44
41
|
"CloudAdapter.process: agent can't be None",
|
|
45
42
|
-63003,
|
|
46
|
-
"hosting-configuration",
|
|
47
43
|
)
|
|
48
44
|
|
|
49
45
|
StreamAlreadyEnded = ErrorMessage(
|
|
50
46
|
"The stream has already ended.",
|
|
51
47
|
-63004,
|
|
52
|
-
"streaming",
|
|
53
48
|
)
|
|
54
49
|
|
|
55
50
|
TurnContextRequired = ErrorMessage(
|
|
56
51
|
"TurnContext cannot be None.",
|
|
57
52
|
-63005,
|
|
58
|
-
"hosting-configuration",
|
|
59
53
|
)
|
|
60
54
|
|
|
61
55
|
ActivityRequired = ErrorMessage(
|
|
62
56
|
"Activity cannot be None.",
|
|
63
57
|
-63006,
|
|
64
|
-
"hosting-configuration",
|
|
65
58
|
)
|
|
66
59
|
|
|
67
60
|
AppIdRequired = ErrorMessage(
|
|
68
61
|
"AppId cannot be empty or None.",
|
|
69
62
|
-63007,
|
|
70
|
-
"hosting-configuration",
|
|
71
63
|
)
|
|
72
64
|
|
|
73
65
|
InvalidActivityType = ErrorMessage(
|
|
74
66
|
"Invalid or missing activity type.",
|
|
75
67
|
-63008,
|
|
76
|
-
"hosting-configuration",
|
|
77
68
|
)
|
|
78
69
|
|
|
79
70
|
ConversationIdRequired = ErrorMessage(
|
|
80
71
|
"Conversation ID cannot be empty or None.",
|
|
81
72
|
-63009,
|
|
82
|
-
"hosting-configuration",
|
|
83
73
|
)
|
|
84
74
|
|
|
85
75
|
AuthHeaderRequired = ErrorMessage(
|
|
86
76
|
"Authorization header is required.",
|
|
87
77
|
-63010,
|
|
88
|
-
"hosting-configuration",
|
|
89
78
|
)
|
|
90
79
|
|
|
91
80
|
InvalidAuthHeader = ErrorMessage(
|
|
92
81
|
"Invalid authorization header format.",
|
|
93
82
|
-63011,
|
|
94
|
-
"hosting-configuration",
|
|
95
83
|
)
|
|
96
84
|
|
|
97
85
|
ClaimsIdentityRequired = ErrorMessage(
|
|
98
86
|
"ClaimsIdentity is required.",
|
|
99
87
|
-63012,
|
|
100
|
-
"hosting-configuration",
|
|
101
88
|
)
|
|
102
89
|
|
|
103
90
|
ChannelServiceRouteNotFound = ErrorMessage(
|
|
104
91
|
"Channel service route not found for: {0}",
|
|
105
92
|
-63013,
|
|
106
|
-
"hosting-configuration",
|
|
107
93
|
)
|
|
108
94
|
|
|
109
95
|
TokenExchangeRequired = ErrorMessage(
|
|
110
96
|
"Token exchange requires a token exchange resource.",
|
|
111
97
|
-63014,
|
|
112
|
-
"hosting-configuration",
|
|
113
98
|
)
|
|
114
99
|
|
|
115
100
|
MissingHttpClient = ErrorMessage(
|
|
116
101
|
"HTTP client is required.",
|
|
117
102
|
-63015,
|
|
118
|
-
"hosting-configuration",
|
|
119
103
|
)
|
|
120
104
|
|
|
121
105
|
InvalidBotFrameworkActivity = ErrorMessage(
|
|
122
106
|
"Invalid Bot Framework Activity format.",
|
|
123
107
|
-63016,
|
|
124
|
-
"hosting-configuration",
|
|
125
108
|
)
|
|
126
109
|
|
|
127
110
|
CredentialsRequired = ErrorMessage(
|
|
128
111
|
"Credentials are required for authentication.",
|
|
129
112
|
-63017,
|
|
130
|
-
"hosting-configuration",
|
|
131
113
|
)
|
|
132
114
|
|
|
133
115
|
# General/Validation Errors (-66000 to -66999)
|
|
134
116
|
InvalidConfiguration = ErrorMessage(
|
|
135
117
|
"Invalid configuration: {0}",
|
|
136
118
|
-66000,
|
|
137
|
-
"configuration",
|
|
138
119
|
)
|
|
139
120
|
|
|
140
121
|
RequiredParameterMissing = ErrorMessage(
|
|
141
122
|
"Required parameter missing: {0}",
|
|
142
123
|
-66001,
|
|
143
|
-
"configuration",
|
|
144
124
|
)
|
|
145
125
|
|
|
146
126
|
InvalidParameterValue = ErrorMessage(
|
|
147
127
|
"Invalid parameter value for {0}: {1}",
|
|
148
128
|
-66002,
|
|
149
|
-
"configuration",
|
|
150
129
|
)
|
|
151
130
|
|
|
152
131
|
OperationNotSupported = ErrorMessage(
|
|
153
132
|
"Operation not supported: {0}",
|
|
154
133
|
-66003,
|
|
155
|
-
"configuration",
|
|
156
134
|
)
|
|
157
135
|
|
|
158
136
|
ResourceNotFound = ErrorMessage(
|
|
159
137
|
"Resource not found: {0}",
|
|
160
138
|
-66004,
|
|
161
|
-
"configuration",
|
|
162
139
|
)
|
|
163
140
|
|
|
164
141
|
UnexpectedError = ErrorMessage(
|
|
165
142
|
"An unexpected error occurred: {0}",
|
|
166
143
|
-66005,
|
|
167
|
-
"configuration",
|
|
168
144
|
)
|
|
169
145
|
|
|
170
146
|
InvalidStateObject = ErrorMessage(
|
|
171
147
|
"Invalid state object: {0}",
|
|
172
148
|
-66006,
|
|
173
|
-
"configuration",
|
|
174
149
|
)
|
|
175
150
|
|
|
176
151
|
SerializationError = ErrorMessage(
|
|
177
152
|
"Serialization error: {0}",
|
|
178
153
|
-66007,
|
|
179
|
-
"configuration",
|
|
180
154
|
)
|
|
181
155
|
|
|
182
156
|
DeserializationError = ErrorMessage(
|
|
183
157
|
"Deserialization error: {0}",
|
|
184
158
|
-66008,
|
|
185
|
-
"configuration",
|
|
186
159
|
)
|
|
187
160
|
|
|
188
161
|
TimeoutError = ErrorMessage(
|
|
189
162
|
"Operation timed out: {0}",
|
|
190
163
|
-66009,
|
|
191
|
-
"configuration",
|
|
192
164
|
)
|
|
193
165
|
|
|
194
166
|
NetworkError = ErrorMessage(
|
|
195
167
|
"Network error occurred: {0}",
|
|
196
168
|
-66010,
|
|
197
|
-
"configuration",
|
|
198
169
|
)
|
|
199
170
|
|
|
200
171
|
def __init__(self):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-core
|
|
3
|
-
Version: 0.6.0.
|
|
3
|
+
Version: 0.6.0.dev11
|
|
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.6.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-activity==0.6.0.dev11
|
|
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
|
{microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/LICENSE
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
|
{microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/readme.md
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/setup.cfg
RENAMED
|
File without changes
|
{microsoft_agents_hosting_core-0.6.0.dev10 → microsoft_agents_hosting_core-0.6.0.dev11}/setup.py
RENAMED
|
File without changes
|