microsoft-agents-hosting-dialogs 1.1.0.dev8__tar.gz → 1.2.0__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_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/PKG-INFO +20 -2
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_manager.py +4 -22
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/object_path.py +3 -5
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt_validator_context.py +3 -2
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents_hosting_dialogs.egg-info/PKG-INFO +20 -2
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents_hosting_dialogs.egg-info/requires.txt +1 -1
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/readme.md +18 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/LICENSE +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/_component_registration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/_telemetry_client.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/channel.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/choice_factory.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/choice_recognizer.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/find.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/choice.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/choice_factory_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/find_choices_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/find_values_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/found_choice.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/found_value.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/list_style.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/model_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/sorted_value.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/models/token.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/choices/tokenizer.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/component_dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_component_registration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_container.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_context.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_extensions.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_manager_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_set.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/dialog_state.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/component_memory_scopes_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/component_path_resolvers_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/dialog_path.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/dialog_state_manager.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/dialog_state_manager_configuration.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolver_base.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/alias_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/at_at_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/at_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/dollar_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/hash_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/path_resolvers/percent_path_resolver.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scope_path.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/bot_state_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/class_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/conversation_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_class_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_context_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/dialog_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/settings_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/this_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/turn_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/memory/scopes/user_memory_scope.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_event.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_events.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_instance.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_reason.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_turn_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/models/dialog_turn_status.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/persisted_state.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/persisted_state_keys.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/__init__.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/activity_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/attachment_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/choice_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/confirm_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/datetime_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/datetime_resolution.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/number_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/oauth_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/oauth_prompt_settings.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt_culture_models.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt_options.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt_recognizer_result.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/prompt_validator.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/prompts/text_prompt.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/waterfall_dialog.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents/hosting/dialogs/waterfall_step_context.py +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents_hosting_dialogs.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents_hosting_dialogs.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/microsoft_agents_hosting_dialogs.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/pyproject.toml +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/setup.cfg +0 -0
- {microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/setup.py +0 -0
{microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-dialogs
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Dialog system for Microsoft Agents (waterfall dialogs, prompts, choices)
|
|
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-hosting-core==1.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.2.0
|
|
19
19
|
Requires-Dist: recognizers-text-number>=1.0.1a0
|
|
20
20
|
Requires-Dist: recognizers-text-choice>=1.0.1a0
|
|
21
21
|
Requires-Dist: recognizers-text-date-time>=1.0.1a0
|
|
@@ -90,6 +90,24 @@ dialogs.add(WaterfallDialog("main", [step1, step2]))
|
|
|
90
90
|
<th style="width:20%">Date</th>
|
|
91
91
|
<th style="width:60%">Release Notes</th>
|
|
92
92
|
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td>1.2.0</td>
|
|
95
|
+
<td>2026-07-17</td>
|
|
96
|
+
<td>
|
|
97
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
|
|
98
|
+
1.2.0 Release Notes
|
|
99
|
+
</a>
|
|
100
|
+
</td>
|
|
101
|
+
</tr>
|
|
102
|
+
<tr>
|
|
103
|
+
<td>1.1.0</td>
|
|
104
|
+
<td>2026-06-19</td>
|
|
105
|
+
<td>
|
|
106
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
107
|
+
1.1.0 Release Notes
|
|
108
|
+
</a>
|
|
109
|
+
</td>
|
|
110
|
+
</tr>
|
|
93
111
|
<tr>
|
|
94
112
|
<td>1.0.0</td>
|
|
95
113
|
<td>2026-05-22</td>
|
|
@@ -83,28 +83,10 @@ class DialogManager:
|
|
|
83
83
|
# Register DialogManager with TurnState.
|
|
84
84
|
context.turn_state[DialogManager.__name__] = self
|
|
85
85
|
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
raise Exception(
|
|
91
|
-
f"Unable to get an instance of {conversation_state_name} from turn_context. "
|
|
92
|
-
f"Please ensure ConversationState is available in turn_state."
|
|
93
|
-
)
|
|
94
|
-
self.conversation_state = cast(
|
|
95
|
-
ConversationState, context.turn_state[conversation_state_name]
|
|
96
|
-
)
|
|
97
|
-
else:
|
|
98
|
-
context.turn_state[conversation_state_name] = self.conversation_state
|
|
99
|
-
|
|
100
|
-
# Resolve UserState (optional)
|
|
101
|
-
user_state_name = UserState.__name__
|
|
102
|
-
if self.user_state is None:
|
|
103
|
-
self.user_state = cast(
|
|
104
|
-
UserState | None, context.turn_state.get(user_state_name, None)
|
|
105
|
-
)
|
|
106
|
-
else:
|
|
107
|
-
context.turn_state[user_state_name] = self.user_state
|
|
86
|
+
if self.conversation_state is not None:
|
|
87
|
+
await self.conversation_state.load(context, False)
|
|
88
|
+
if self.user_state is not None:
|
|
89
|
+
await self.user_state.load(context, False)
|
|
108
90
|
|
|
109
91
|
# Create property accessors
|
|
110
92
|
last_access_property = self.conversation_state.create_property(self.last_access)
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Licensed under the MIT License.
|
|
3
3
|
|
|
4
4
|
import copy
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Callable
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class ObjectPath:
|
|
@@ -11,7 +11,7 @@ class ObjectPath:
|
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
13
|
@staticmethod
|
|
14
|
-
def assign(start_object, overlay_object, default:
|
|
14
|
+
def assign(start_object, overlay_object, default: Callable | object = None):
|
|
15
15
|
"""
|
|
16
16
|
Creates a new object by overlaying values in start_object with non-null values from overlay_object.
|
|
17
17
|
|
|
@@ -106,9 +106,7 @@ class ObjectPath:
|
|
|
106
106
|
ObjectPath.__set_object_segment(current, last_segment, value)
|
|
107
107
|
|
|
108
108
|
@staticmethod
|
|
109
|
-
def get_path_value(
|
|
110
|
-
obj, path: str, default: Union[Callable, object] = None
|
|
111
|
-
) -> object:
|
|
109
|
+
def get_path_value(obj, path: str, default: Callable | object = None) -> object:
|
|
112
110
|
"""
|
|
113
111
|
Get the value for a path relative to an object.
|
|
114
112
|
"""
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
2
2
|
# Licensed under the MIT License.
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
from typing import cast
|
|
4
5
|
from microsoft_agents.hosting.core import TurnContext
|
|
5
6
|
from .prompt_options import PromptOptions
|
|
6
7
|
from .prompt_recognizer_result import PromptRecognizerResult
|
|
@@ -11,7 +12,7 @@ class PromptValidatorContext:
|
|
|
11
12
|
self,
|
|
12
13
|
turn_context: TurnContext,
|
|
13
14
|
recognized: PromptRecognizerResult,
|
|
14
|
-
state:
|
|
15
|
+
state: dict[str, object],
|
|
15
16
|
options: PromptOptions,
|
|
16
17
|
):
|
|
17
18
|
"""Creates contextual information passed to a custom `PromptValidator`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-dialogs
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.2.0
|
|
4
4
|
Summary: Dialog system for Microsoft Agents (waterfall dialogs, prompts, choices)
|
|
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-hosting-core==1.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.2.0
|
|
19
19
|
Requires-Dist: recognizers-text-number>=1.0.1a0
|
|
20
20
|
Requires-Dist: recognizers-text-choice>=1.0.1a0
|
|
21
21
|
Requires-Dist: recognizers-text-date-time>=1.0.1a0
|
|
@@ -90,6 +90,24 @@ dialogs.add(WaterfallDialog("main", [step1, step2]))
|
|
|
90
90
|
<th style="width:20%">Date</th>
|
|
91
91
|
<th style="width:60%">Release Notes</th>
|
|
92
92
|
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td>1.2.0</td>
|
|
95
|
+
<td>2026-07-17</td>
|
|
96
|
+
<td>
|
|
97
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
|
|
98
|
+
1.2.0 Release Notes
|
|
99
|
+
</a>
|
|
100
|
+
</td>
|
|
101
|
+
</tr>
|
|
102
|
+
<tr>
|
|
103
|
+
<td>1.1.0</td>
|
|
104
|
+
<td>2026-06-19</td>
|
|
105
|
+
<td>
|
|
106
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
107
|
+
1.1.0 Release Notes
|
|
108
|
+
</a>
|
|
109
|
+
</td>
|
|
110
|
+
</tr>
|
|
93
111
|
<tr>
|
|
94
112
|
<td>1.0.0</td>
|
|
95
113
|
<td>2026-05-22</td>
|
{microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/readme.md
RENAMED
|
@@ -64,6 +64,24 @@ dialogs.add(WaterfallDialog("main", [step1, step2]))
|
|
|
64
64
|
<th style="width:20%">Date</th>
|
|
65
65
|
<th style="width:60%">Release Notes</th>
|
|
66
66
|
</tr>
|
|
67
|
+
<tr>
|
|
68
|
+
<td>1.2.0</td>
|
|
69
|
+
<td>2026-07-17</td>
|
|
70
|
+
<td>
|
|
71
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v120">
|
|
72
|
+
1.2.0 Release Notes
|
|
73
|
+
</a>
|
|
74
|
+
</td>
|
|
75
|
+
</tr>
|
|
76
|
+
<tr>
|
|
77
|
+
<td>1.1.0</td>
|
|
78
|
+
<td>2026-06-19</td>
|
|
79
|
+
<td>
|
|
80
|
+
<a href="https://github.com/microsoft/Agents-for-python/blob/main/changelog.md#microsoft-365-agents-sdk-for-python---release-notes-v110">
|
|
81
|
+
1.1.0 Release Notes
|
|
82
|
+
</a>
|
|
83
|
+
</td>
|
|
84
|
+
</tr>
|
|
67
85
|
<tr>
|
|
68
86
|
<td>1.0.0</td>
|
|
69
87
|
<td>2026-05-22</td>
|
{microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/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
|
{microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/setup.cfg
RENAMED
|
File without changes
|
{microsoft_agents_hosting_dialogs-1.1.0.dev8 → microsoft_agents_hosting_dialogs-1.2.0}/setup.py
RENAMED
|
File without changes
|