agentnode-sdk 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.
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/PKG-INFO +1 -1
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/installer.py +15 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/pyproject.toml +1 -1
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/.env.example +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/.gitignore +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/CHANGELOG.md +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/README.md +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode.lock +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/__init__.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/async_client.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/__init__.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/__main__.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/commands.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/main.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/output.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/cli/setup_wizard.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/client.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/compatibility.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/config.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/credential_handle.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/credential_resolver.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/credential_store.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/detect.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/exceptions.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/models.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/policy.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/resource_provider.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/run_log.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtime.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtimes/__init__.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtimes/agent_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtimes/mcp_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtimes/python_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/agentnode_sdk/runtimes/remote_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/analyze_scores.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/batch_verify.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/ci_smoke_test.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/generate_compatibility_artifacts.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/verify_toolcalls.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/scripts/weekly_retest.sh +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/__init__.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/conftest.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_agent_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_async_client.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_auto_upgrade_policy.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_cli.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_client.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_client_sprint_b.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_config.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_credential_handle.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_credential_integration.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_credential_resolver.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_credential_store.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_detect.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_detect_and_install.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_e2e_runtime.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_edge_cases.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_installer_sprint_b.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_llm_binding.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_llm_call_runlog.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_policy.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_policy_integration.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_prompt_specs.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_provider_matrix.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_remote_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_resource_provider.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_resource_specs.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_run_log.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_runner.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_runtime.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_smart.py +0 -0
- {agentnode_sdk-0.5.0 → agentnode_sdk-0.5.1}/tests/test_v02.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: agentnode-sdk
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.1
|
|
4
4
|
Summary: Python SDK for AgentNode — the open upgrade and discovery infrastructure for AI agents.
|
|
5
5
|
Project-URL: Homepage, https://agentnode.net
|
|
6
6
|
Project-URL: Repository, https://github.com/agentnode-ai/agentnode
|
|
@@ -478,6 +478,21 @@ def load_tool(slug: str, tool_name: str | None = None) -> Any:
|
|
|
478
478
|
f"for tool '{tool_name}' in package '{slug}'."
|
|
479
479
|
)
|
|
480
480
|
return func
|
|
481
|
+
# Fallback: tool_name given but not in tools list — try package-level entrypoint
|
|
482
|
+
# This handles packages where capability-level entrypoints are not published
|
|
483
|
+
entrypoint = pkg.get("entrypoint")
|
|
484
|
+
if entrypoint:
|
|
485
|
+
module_path, func_name = _resolve_entrypoint(entrypoint)
|
|
486
|
+
mod = _import_module(module_path, slug)
|
|
487
|
+
# Try tool_name as function name in the module
|
|
488
|
+
func = getattr(mod, tool_name, None)
|
|
489
|
+
if func and callable(func):
|
|
490
|
+
return func
|
|
491
|
+
# Try default function from entrypoint
|
|
492
|
+
func = getattr(mod, func_name, None)
|
|
493
|
+
if func and callable(func):
|
|
494
|
+
return func
|
|
495
|
+
|
|
481
496
|
raise ImportError(
|
|
482
497
|
f"Tool '{tool_name}' not found in package '{slug}'. "
|
|
483
498
|
f"Available tools: {[t.get('name') for t in pkg.get('tools', [])]}"
|
|
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "agentnode-sdk"
|
|
7
|
-
version = "0.5.
|
|
7
|
+
version = "0.5.1"
|
|
8
8
|
description = "Python SDK for AgentNode — the open upgrade and discovery infrastructure for AI agents."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
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
|
|
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
|