agent-handler-sdk 0.1.1__tar.gz → 0.1.2__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.

Potentially problematic release.


This version of agent-handler-sdk might be problematic. Click here for more details.

Files changed (17) hide show
  1. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/PKG-INFO +1 -1
  2. agent_handler_sdk-0.1.2/agent_handler_sdk/auth.py +15 -0
  3. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/pyproject.toml +1 -1
  4. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/__init__.py +0 -0
  5. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/cli.py +0 -0
  6. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/connector.py +0 -0
  7. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/exceptions.py +0 -0
  8. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/invocation.py +0 -0
  9. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/registry.py +0 -0
  10. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/README.md.tpl +0 -0
  11. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/handlers.py.tpl +0 -0
  12. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/init.py.tpl +0 -0
  13. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/metadata.yaml.tpl +0 -0
  14. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/pyproject.toml.tpl +0 -0
  15. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/templates/connector/test_handlers.py.tpl +0 -0
  16. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/tool.py +0 -0
  17. {agent_handler_sdk-0.1.1 → agent_handler_sdk-0.1.2}/agent_handler_sdk/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: agent-handler-sdk
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Agent Handler SDK for defining and invoking LLM tools
5
5
  Author: David Dalmaso
6
6
  Author-email: david.dalmaso@merge.dev
@@ -0,0 +1,15 @@
1
+ # agent_handler_sdk/auth.py
2
+
3
+ class AuthContext:
4
+ """
5
+ Auth context for tool execution that provides secure access to secrets.
6
+
7
+ This class provides an isolated container for secrets during tool execution.
8
+ Each tool execution should receive its own instance.
9
+ """
10
+ def __init__(self, secrets=None):
11
+ self._secrets = secrets or {}
12
+
13
+ def get(self, key, default=None):
14
+ """Get a secret value by key"""
15
+ return self._secrets.get(key, default)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "agent-handler-sdk"
3
- version = "0.1.1"
3
+ version = "0.1.2"
4
4
  description = "Agent Handler SDK for defining and invoking LLM tools"
5
5
  authors = ["David Dalmaso <david.dalmaso@merge.dev>"]
6
6
  packages = [