agents-function-tools 0.5.0__tar.gz → 0.5.1__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.
Files changed (31) hide show
  1. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/PKG-INFO +9 -9
  2. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/README.md +5 -8
  3. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/pyproject.toml +6 -1
  4. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/agents_function_tools.egg-info/PKG-INFO +9 -9
  5. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/__init__.py +1 -1
  6. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_public_api.py +1 -1
  7. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/LICENSE +0 -0
  8. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/setup.cfg +0 -0
  9. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/agents_function_tools.egg-info/SOURCES.txt +0 -0
  10. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/agents_function_tools.egg-info/dependency_links.txt +0 -0
  11. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/agents_function_tools.egg-info/requires.txt +0 -0
  12. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/agents_function_tools.egg-info/top_level.txt +0 -0
  13. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/archive.py +0 -0
  14. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/command.py +0 -0
  15. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/contracts.py +0 -0
  16. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/errors.py +0 -0
  17. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/host.py +0 -0
  18. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/http.py +0 -0
  19. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/network.py +0 -0
  20. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/openai_tools.py +0 -0
  21. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/process.py +0 -0
  22. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/responses.py +0 -0
  23. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/src/function_tools/workspace.py +0 -0
  24. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_agent_integration.py +0 -0
  25. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_archive.py +0 -0
  26. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_command.py +0 -0
  27. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_host_and_http.py +0 -0
  28. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_network_and_process.py +0 -0
  29. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_openai_tools.py +0 -0
  30. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_tool_contract.py +0 -0
  31. {agents_function_tools-0.5.0 → agents_function_tools-0.5.1}/tests/test_workspace.py +0 -0
@@ -1,8 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agents-function-tools
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Portable, policy-friendly system function tools for AI applications.
5
5
  License-Expression: Apache-2.0
6
+ Project-URL: Documentation, https://github.com/dongrv/agents-function-tools#agents-function-tools
7
+ Project-URL: Source, https://github.com/dongrv/agents-function-tools
8
+ Project-URL: Changelog, https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md
6
9
  Classifier: Programming Language :: Python :: 3
7
10
  Classifier: Programming Language :: Python :: 3.10
8
11
  Classifier: Programming Language :: Python :: 3.11
@@ -97,15 +100,12 @@ agent = Agent(
97
100
 
98
101
  Use the narrowest domain selector: `tools.files`, `tools.network`, `tools.host`, or `tools.process`. The v0.3-style `tools.read`, `tools.write`, and `tools.execute` selectors remain available for compatibility, but combine more capabilities. Every `*.write` and `*.execute` tool requires approval on every call. The SDK derives each FunctionTool's input schema from the Python signature and docstring.
99
102
 
100
- ## Complete Example
103
+ ## Documentation
101
104
 
102
- [OpenAI Agents workspace assistant](examples/openai_agents_workspace_assistant/README.md) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
105
+ [OpenAI Agents workspace assistant](https://github.com/dongrv/agents-function-tools/tree/main/examples/openai_agents_workspace_assistant) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
103
106
 
104
- ## Design specs
105
-
106
- - [v0.4 tool expansion spec](docs/v0.4-tool-expansion-spec.md)
107
- - [release and compatibility policy](docs/release-policy.md)
108
- - [changelog](CHANGELOG.md)
107
+ - [Release and compatibility policy](https://github.com/dongrv/agents-function-tools/blob/main/docs/release-policy.md)
108
+ - [Changelog](https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md)
109
109
 
110
110
  For configured commands, HTTPS hosts, or readable environment variables, use `ToolConfig`:
111
111
 
@@ -146,7 +146,7 @@ process_tools = tools.process.inspect
146
146
 
147
147
  ## License
148
148
 
149
- Apache-2.0. See [LICENSE](LICENSE).
149
+ Apache-2.0. See the [license](https://github.com/dongrv/agents-function-tools/blob/main/LICENSE).
150
150
 
151
151
  ## Development
152
152
 
@@ -81,15 +81,12 @@ agent = Agent(
81
81
 
82
82
  Use the narrowest domain selector: `tools.files`, `tools.network`, `tools.host`, or `tools.process`. The v0.3-style `tools.read`, `tools.write`, and `tools.execute` selectors remain available for compatibility, but combine more capabilities. Every `*.write` and `*.execute` tool requires approval on every call. The SDK derives each FunctionTool's input schema from the Python signature and docstring.
83
83
 
84
- ## Complete Example
84
+ ## Documentation
85
85
 
86
- [OpenAI Agents workspace assistant](examples/openai_agents_workspace_assistant/README.md) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
86
+ [OpenAI Agents workspace assistant](https://github.com/dongrv/agents-function-tools/tree/main/examples/openai_agents_workspace_assistant) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
87
87
 
88
- ## Design specs
89
-
90
- - [v0.4 tool expansion spec](docs/v0.4-tool-expansion-spec.md)
91
- - [release and compatibility policy](docs/release-policy.md)
92
- - [changelog](CHANGELOG.md)
88
+ - [Release and compatibility policy](https://github.com/dongrv/agents-function-tools/blob/main/docs/release-policy.md)
89
+ - [Changelog](https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md)
93
90
 
94
91
  For configured commands, HTTPS hosts, or readable environment variables, use `ToolConfig`:
95
92
 
@@ -130,7 +127,7 @@ process_tools = tools.process.inspect
130
127
 
131
128
  ## License
132
129
 
133
- Apache-2.0. See [LICENSE](LICENSE).
130
+ Apache-2.0. See the [license](https://github.com/dongrv/agents-function-tools/blob/main/LICENSE).
134
131
 
135
132
  ## Development
136
133
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "agents-function-tools"
7
- version = "0.5.0"
7
+ version = "0.5.1"
8
8
  description = "Portable, policy-friendly system function tools for AI applications."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
@@ -21,6 +21,11 @@ dependencies = [
21
21
  "pydantic>=2,<3",
22
22
  ]
23
23
 
24
+ [project.urls]
25
+ Documentation = "https://github.com/dongrv/agents-function-tools#agents-function-tools"
26
+ Source = "https://github.com/dongrv/agents-function-tools"
27
+ Changelog = "https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md"
28
+
24
29
  [dependency-groups]
25
30
  dev = [
26
31
  "pytest>=8,<9",
@@ -1,8 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: agents-function-tools
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Portable, policy-friendly system function tools for AI applications.
5
5
  License-Expression: Apache-2.0
6
+ Project-URL: Documentation, https://github.com/dongrv/agents-function-tools#agents-function-tools
7
+ Project-URL: Source, https://github.com/dongrv/agents-function-tools
8
+ Project-URL: Changelog, https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md
6
9
  Classifier: Programming Language :: Python :: 3
7
10
  Classifier: Programming Language :: Python :: 3.10
8
11
  Classifier: Programming Language :: Python :: 3.11
@@ -97,15 +100,12 @@ agent = Agent(
97
100
 
98
101
  Use the narrowest domain selector: `tools.files`, `tools.network`, `tools.host`, or `tools.process`. The v0.3-style `tools.read`, `tools.write`, and `tools.execute` selectors remain available for compatibility, but combine more capabilities. Every `*.write` and `*.execute` tool requires approval on every call. The SDK derives each FunctionTool's input schema from the Python signature and docstring.
99
102
 
100
- ## Complete Example
103
+ ## Documentation
101
104
 
102
- [OpenAI Agents workspace assistant](examples/openai_agents_workspace_assistant/README.md) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
105
+ [OpenAI Agents workspace assistant](https://github.com/dongrv/agents-function-tools/tree/main/examples/openai_agents_workspace_assistant) is a runnable example with `tools.files.read`, `tools.files.write`, and per-call SDK approval. It is intentionally limited to one workspace; it does not attach network, host, process, command, MCP, or database tools.
103
106
 
104
- ## Design specs
105
-
106
- - [v0.4 tool expansion spec](docs/v0.4-tool-expansion-spec.md)
107
- - [release and compatibility policy](docs/release-policy.md)
108
- - [changelog](CHANGELOG.md)
107
+ - [Release and compatibility policy](https://github.com/dongrv/agents-function-tools/blob/main/docs/release-policy.md)
108
+ - [Changelog](https://github.com/dongrv/agents-function-tools/blob/main/CHANGELOG.md)
109
109
 
110
110
  For configured commands, HTTPS hosts, or readable environment variables, use `ToolConfig`:
111
111
 
@@ -146,7 +146,7 @@ process_tools = tools.process.inspect
146
146
 
147
147
  ## License
148
148
 
149
- Apache-2.0. See [LICENSE](LICENSE).
149
+ Apache-2.0. See the [license](https://github.com/dongrv/agents-function-tools/blob/main/LICENSE).
150
150
 
151
151
  ## Development
152
152
 
@@ -24,7 +24,7 @@ from .openai_tools import (
24
24
  from .process import ProcessInspector
25
25
  from .workspace import Workspace
26
26
 
27
- __version__ = "0.5.0"
27
+ __version__ = "0.5.1"
28
28
 
29
29
  __all__ = [
30
30
  "CommandPolicy",
@@ -4,7 +4,7 @@ import function_tools
4
4
 
5
5
 
6
6
  def test_top_level_api_exposes_the_quick_start() -> None:
7
- assert function_tools.__version__ == "0.5.0"
7
+ assert function_tools.__version__ == "0.5.1"
8
8
  assert callable(function_tools.create_tools)
9
9
  assert callable(function_tools.create_function_tools)
10
10
  assert callable(function_tools.create_filesystem_tools)