microsoft-agents-hosting-slack 1.1.0.dev7__tar.gz → 1.1.0.dev9__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_slack-1.1.0.dev7/microsoft_agents_hosting_slack.egg-info → microsoft_agents_hosting_slack-1.1.0.dev9}/PKG-INFO +2 -2
- microsoft_agents_hosting_slack-1.1.0.dev9/VERSION.txt +1 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/_path_navigator.py +3 -3
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/slack_stream.py +3 -3
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/slack_agent_extension.py +2 -2
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9/microsoft_agents_hosting_slack.egg-info}/PKG-INFO +2 -2
- microsoft_agents_hosting_slack-1.1.0.dev9/microsoft_agents_hosting_slack.egg-info/requires.txt +2 -0
- microsoft_agents_hosting_slack-1.1.0.dev7/VERSION.txt +0 -1
- microsoft_agents_hosting_slack-1.1.0.dev7/microsoft_agents_hosting_slack.egg-info/requires.txt +0 -2
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/LICENSE +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/MANIFEST.in +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/__init__.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/__init__.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/action_payload.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/chunks.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/event_content.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/event_envelope.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/slack_api.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/slack_channel_data.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/slack_model.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/api/slack_response.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents/hosting/slack/slack_helpers.py +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents_hosting_slack.egg-info/SOURCES.txt +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents_hosting_slack.egg-info/dependency_links.txt +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/microsoft_agents_hosting_slack.egg-info/top_level.txt +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/pyproject.toml +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/readme.md +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/setup.cfg +0 -0
- {microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-slack
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev9
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Slack
|
|
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.1.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.1.0.dev9
|
|
19
19
|
Requires-Dist: aiohttp>=3.11.11
|
|
20
20
|
Dynamic: license-file
|
|
21
21
|
Dynamic: requires-dist
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1.1.0.dev9
|
|
@@ -5,7 +5,7 @@ Licensed under the MIT License.
|
|
|
5
5
|
|
|
6
6
|
from __future__ import annotations
|
|
7
7
|
|
|
8
|
-
from typing import Any, Optional
|
|
8
|
+
from typing import Any, Optional
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def _parse_path(path: str) -> Optional[list[int | str]]:
|
|
@@ -60,7 +60,7 @@ def _parse_path(path: str) -> Optional[list[int | str]]:
|
|
|
60
60
|
return segments
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
def _resolve_segment(current: Any, segment: Any) ->
|
|
63
|
+
def _resolve_segment(current: Any, segment: Any) -> tuple[bool, Any]:
|
|
64
64
|
"""Resolve one path segment against the current node.
|
|
65
65
|
|
|
66
66
|
Returns ``(found, value)``. ``found`` is False when the segment cannot be
|
|
@@ -89,7 +89,7 @@ def _resolve_segment(current: Any, segment: Any) -> Tuple[bool, Any]:
|
|
|
89
89
|
return False, None
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
def try_get_path_value(data: Any, path: str) ->
|
|
92
|
+
def try_get_path_value(data: Any, path: str) -> tuple[bool, Any]:
|
|
93
93
|
"""Walk ``path`` against ``data``. Returns ``(found, value)``."""
|
|
94
94
|
if data is None:
|
|
95
95
|
return False, None
|
|
@@ -6,7 +6,7 @@ Licensed under the MIT License.
|
|
|
6
6
|
from __future__ import annotations
|
|
7
7
|
|
|
8
8
|
import json
|
|
9
|
-
from typing import Any, Optional
|
|
9
|
+
from typing import Any, Optional
|
|
10
10
|
|
|
11
11
|
from pydantic import BaseModel
|
|
12
12
|
|
|
@@ -64,7 +64,7 @@ class SlackStream:
|
|
|
64
64
|
|
|
65
65
|
async def append(
|
|
66
66
|
self,
|
|
67
|
-
chunk_or_text:
|
|
67
|
+
chunk_or_text: str | BaseModel | list[BaseModel],
|
|
68
68
|
) -> "SlackStream":
|
|
69
69
|
"""Append one or more chunks to the stream.
|
|
70
70
|
|
|
@@ -107,7 +107,7 @@ class SlackStream:
|
|
|
107
107
|
async def stop(
|
|
108
108
|
self,
|
|
109
109
|
chunks: Optional[list[BaseModel]] = None,
|
|
110
|
-
blocks:
|
|
110
|
+
blocks: str | list[Any] | dict | None = None,
|
|
111
111
|
) -> None:
|
|
112
112
|
"""Stop the active stream, optionally finalizing with chunks and/or
|
|
113
113
|
Block Kit blocks.
|
|
@@ -6,7 +6,7 @@ Licensed under the MIT License.
|
|
|
6
6
|
from __future__ import annotations
|
|
7
7
|
|
|
8
8
|
import re
|
|
9
|
-
from typing import Any, Callable, Generic, Optional, Pattern, TypeVar
|
|
9
|
+
from typing import Any, Callable, Generic, Optional, Pattern, TypeVar
|
|
10
10
|
|
|
11
11
|
from microsoft_agents.activity import ActivityTypes, Channels
|
|
12
12
|
from microsoft_agents.hosting.core import TurnContext
|
|
@@ -22,7 +22,7 @@ from .api import (
|
|
|
22
22
|
|
|
23
23
|
StateT = TypeVar("StateT", bound=TurnState)
|
|
24
24
|
|
|
25
|
-
TextSelector =
|
|
25
|
+
TextSelector = str | Pattern[str] | None
|
|
26
26
|
|
|
27
27
|
_SLACK_API_SERVICE_KEY = "microsoft_agents.hosting.slack.SlackApi"
|
|
28
28
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: microsoft-agents-hosting-slack
|
|
3
|
-
Version: 1.1.0.
|
|
3
|
+
Version: 1.1.0.dev9
|
|
4
4
|
Summary: Integration library for Microsoft Agents with Slack
|
|
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.1.0.
|
|
18
|
+
Requires-Dist: microsoft-agents-hosting-core==1.1.0.dev9
|
|
19
19
|
Requires-Dist: aiohttp>=3.11.11
|
|
20
20
|
Dynamic: license-file
|
|
21
21
|
Dynamic: requires-dist
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
1.1.0.dev7
|
{microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/LICENSE
RENAMED
|
File without changes
|
{microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/MANIFEST.in
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
|
{microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/readme.md
RENAMED
|
File without changes
|
{microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/setup.cfg
RENAMED
|
File without changes
|
{microsoft_agents_hosting_slack-1.1.0.dev7 → microsoft_agents_hosting_slack-1.1.0.dev9}/setup.py
RENAMED
|
File without changes
|