microsoft-agents-hosting-msteams 1.9.0.dev3__tar.gz → 1.9.0.dev5__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_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/PKG-INFO +2 -2
- microsoft_agents_hosting_msteams-1.9.0.dev5/VERSION.txt +1 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/teams_turn_context.py +4 -16
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents_hosting_msteams.egg-info/PKG-INFO +2 -2
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents_hosting_msteams.egg-info/requires.txt +1 -1
- microsoft_agents_hosting_msteams-1.9.0.dev3/VERSION.txt +0 -1
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/LICENSE +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/_graph.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/_teams_api_client.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/_utils.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/channel/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/channel/channel.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/channel/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/config/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/config/config.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/config/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/errors/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/errors/error_resources.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/file_consent/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/file_consent/file_consent.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/file_consent/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/meeting/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/meeting/meeting.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/meeting/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message/message.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message_extension/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message_extension/message_extension.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/message_extension/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/models/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/models/quoted_reply.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/models/targeted_message_info.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/proactive_service_endpoints.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/py.typed +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/task_module/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/task_module/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/task_module/task_module.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/team/__init__.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/team/route_handlers.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/team/team.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/teams_activity.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/teams_agent_extension.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents/hosting/msteams/type_defs.py +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents_hosting_msteams.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents_hosting_msteams.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/microsoft_agents_hosting_msteams.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/pyproject.toml +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/readme.md +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/setup.cfg +0 -0
- {microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/setup.py +0 -0
{microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-msteams
|
|
3
|
-
Version: 1.9.0.
|
|
3
|
+
Version: 1.9.0.dev5
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: microsoft-agents-hosting-core==1.9.0.
|
|
17
|
+
Requires-Dist: microsoft-agents-hosting-core==1.9.0.dev5
|
|
18
18
|
Requires-Dist: aiohttp>=3.12
|
|
19
19
|
Requires-Dist: microsoft-teams-api==2.1.0
|
|
20
20
|
Requires-Dist: msgraph-sdk>=1.58.0
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.9.0.dev5
|
|
@@ -19,6 +19,9 @@ from microsoft_agents.activity import (
|
|
|
19
19
|
InputHints,
|
|
20
20
|
ResourceResponse,
|
|
21
21
|
)
|
|
22
|
+
from microsoft_agents.hosting.core._utils._turn_context_wrapper import (
|
|
23
|
+
_TurnContextWrapper,
|
|
24
|
+
)
|
|
22
25
|
from microsoft_agents.hosting.core import (
|
|
23
26
|
AgentApplication,
|
|
24
27
|
TurnContext,
|
|
@@ -35,7 +38,7 @@ from .teams_activity import TeamsActivity
|
|
|
35
38
|
from ._utils import _apply_prompt_preview_normalizer, _is_recipient_targeted
|
|
36
39
|
|
|
37
40
|
|
|
38
|
-
class TeamsTurnContext(
|
|
41
|
+
class TeamsTurnContext(_TurnContextWrapper):
|
|
39
42
|
"""A context object for handling Teams-specific turn functionality.
|
|
40
43
|
|
|
41
44
|
Wraps a plain :class:`TurnContext` so that Teams-aware route handlers
|
|
@@ -50,9 +53,6 @@ class TeamsTurnContext(TurnContext):
|
|
|
50
53
|
"""
|
|
51
54
|
super().__init__(context)
|
|
52
55
|
self._app = app
|
|
53
|
-
self._turn_state = context.turn_state
|
|
54
|
-
|
|
55
|
-
self._original = context
|
|
56
56
|
|
|
57
57
|
self._set_teams_activity()
|
|
58
58
|
|
|
@@ -76,18 +76,6 @@ class TeamsTurnContext(TurnContext):
|
|
|
76
76
|
self._activity.__class__ = TeamsActivity
|
|
77
77
|
self._teams_activity = cast(TeamsActivity, self._activity)
|
|
78
78
|
|
|
79
|
-
@property
|
|
80
|
-
def responded(self) -> bool:
|
|
81
|
-
return self._original.responded
|
|
82
|
-
|
|
83
|
-
@responded.setter
|
|
84
|
-
def responded(self, value: bool):
|
|
85
|
-
self._original.responded = value
|
|
86
|
-
|
|
87
|
-
@property
|
|
88
|
-
def streaming_response(self):
|
|
89
|
-
return self._original.streaming_response
|
|
90
|
-
|
|
91
79
|
@property
|
|
92
80
|
def activity(self) -> TeamsActivity:
|
|
93
81
|
"""The current activity, typed as a :class:`TeamsActivity`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-msteams
|
|
3
|
-
Version: 1.9.0.
|
|
3
|
+
Version: 1.9.0.dev5
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Teams
|
|
5
5
|
Author: Microsoft Corporation
|
|
6
6
|
License-Expression: MIT
|
|
@@ -14,7 +14,7 @@ Classifier: Operating System :: OS Independent
|
|
|
14
14
|
Requires-Python: >=3.11
|
|
15
15
|
Description-Content-Type: text/markdown
|
|
16
16
|
License-File: LICENSE
|
|
17
|
-
Requires-Dist: microsoft-agents-hosting-core==1.9.0.
|
|
17
|
+
Requires-Dist: microsoft-agents-hosting-core==1.9.0.dev5
|
|
18
18
|
Requires-Dist: aiohttp>=3.12
|
|
19
19
|
Requires-Dist: microsoft-teams-api==2.1.0
|
|
20
20
|
Requires-Dist: msgraph-sdk>=1.58.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.9.0.dev3
|
{microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/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
|
{microsoft_agents_hosting_msteams-1.9.0.dev3 → microsoft_agents_hosting_msteams-1.9.0.dev5}/setup.py
RENAMED
|
File without changes
|