agent-framework-tools 1.0.0a260424__py3-none-any.whl

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.
@@ -0,0 +1,14 @@
1
+ # Copyright (c) Microsoft. All rights reserved.
2
+
3
+ """Built-in tools for the Microsoft Agent Framework."""
4
+
5
+ from __future__ import annotations
6
+
7
+ import importlib.metadata
8
+
9
+ try:
10
+ __version__ = importlib.metadata.version(__name__)
11
+ except importlib.metadata.PackageNotFoundError:
12
+ __version__ = "0.0.0"
13
+
14
+ __all__ = ["__version__"]
File without changes
@@ -0,0 +1,53 @@
1
+ # Copyright (c) Microsoft. All rights reserved.
2
+
3
+ """Cross-platform local shell tool for the Microsoft Agent Framework."""
4
+
5
+ from __future__ import annotations
6
+
7
+ from ._docker import (
8
+ DEFAULT_IMAGE as DOCKER_DEFAULT_IMAGE,
9
+ )
10
+ from ._docker import (
11
+ DockerNotAvailableError,
12
+ DockerShellTool,
13
+ is_docker_available,
14
+ )
15
+ from ._environment import (
16
+ ShellEnvironmentProvider,
17
+ ShellEnvironmentProviderOptions,
18
+ ShellEnvironmentSnapshot,
19
+ ShellFamily,
20
+ default_instructions_formatter,
21
+ )
22
+ from ._executor_base import ShellExecutor
23
+ from ._policy import ShellDecision, ShellPolicy, ShellRequest
24
+ from ._tool import LocalShellTool
25
+ from ._types import (
26
+ ShellCommandError,
27
+ ShellExecutionError,
28
+ ShellMode,
29
+ ShellResult,
30
+ ShellTimeoutError,
31
+ )
32
+
33
+ __all__ = [
34
+ "DOCKER_DEFAULT_IMAGE",
35
+ "DockerNotAvailableError",
36
+ "DockerShellTool",
37
+ "LocalShellTool",
38
+ "ShellCommandError",
39
+ "ShellDecision",
40
+ "ShellEnvironmentProvider",
41
+ "ShellEnvironmentProviderOptions",
42
+ "ShellEnvironmentSnapshot",
43
+ "ShellExecutionError",
44
+ "ShellExecutor",
45
+ "ShellFamily",
46
+ "ShellMode",
47
+ "ShellPolicy",
48
+ "ShellRequest",
49
+ "ShellResult",
50
+ "ShellTimeoutError",
51
+ "default_instructions_formatter",
52
+ "is_docker_available",
53
+ ]