Re-import arcade_core errors into arcade_mcp_server (#620)

This commit is contained in:
Eric Gustin 2025-10-13 17:48:54 -07:00 committed by GitHub
parent 83c0eeab2b
commit baa262ec00
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 24 additions and 5 deletions

3
.gitignore vendored
View file

@ -97,6 +97,9 @@ target/
profile_default/
ipython_config.py
# IDE
*.code-workspace
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:

View file

@ -4,11 +4,27 @@ MCP Exception Hierarchy
Provides domain-specific exceptions for better error handling and debugging.
"""
from arcade_core.errors import ToolRuntimeError # Re-export for convenience
from arcade_core.errors import (
ContextRequiredToolError,
ErrorKind,
FatalToolError,
RetryableToolError,
ToolExecutionError,
ToolRuntimeError,
UpstreamError,
UpstreamRateLimitError,
)
__all__ = [
# Re-exports
"ErrorKind",
"FatalToolError",
"RetryableToolError",
"ToolExecutionError",
"ToolRuntimeError",
"UpstreamError",
"UpstreamRateLimitError",
"ContextRequiredToolError",
# Base exceptions
"MCPError",
"MCPRuntimeError",

View file

@ -4,7 +4,7 @@ build-backend = "hatchling.build"
[project]
name = "arcade-mcp-server"
version = "1.2.1"
version = "1.3.0"
description = "Model Context Protocol (MCP) server framework for Arcade.dev"
readme = "README.md"
authors = [{ name = "Arcade.dev" }]

View file

@ -1,6 +1,6 @@
[project]
name = "arcade-mcp"
version = "1.1.0"
version = "1.2.0"
description = "Arcade.dev - Tool Calling platform for Agents"
readme = "README.md"
license = {file = "LICENSE"}
@ -21,7 +21,7 @@ requires-python = ">=3.10"
dependencies = [
# CLI dependencies
"arcade-mcp-server>=1.1.1,<2.0.0",
"arcade-mcp-server>=1.3.0,<2.0.0",
"arcade-core>=3.0.0,<4.0.0",
"typer==0.10.0",
"rich==13.9.4",
@ -42,7 +42,7 @@ all = [
"pytz>=2024.1",
"python-dateutil>=2.8.2",
# mcp
"arcade-mcp-server>=1.1.1,<2.0.0",
"arcade-mcp-server>=1.3.0,<2.0.0",
# serve
"arcade-serve>=3.0.0,<4.0.0",
# tdk