chuk-tool-processor 0.6.13__tar.gz → 0.6.15__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 chuk-tool-processor might be problematic. Click here for more details.

Files changed (65) hide show
  1. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/PKG-INFO +1 -1
  2. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/pyproject.toml +1 -1
  3. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/stream_manager.py +3 -4
  4. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/transport/stdio_transport.py +18 -2
  5. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor.egg-info/PKG-INFO +1 -1
  6. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/README.md +0 -0
  7. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/setup.cfg +0 -0
  8. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/__init__.py +0 -0
  9. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/core/__init__.py +0 -0
  10. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/core/exceptions.py +0 -0
  11. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/core/processor.py +0 -0
  12. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/__init__.py +0 -0
  13. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/strategies/__init__.py +0 -0
  14. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/strategies/inprocess_strategy.py +0 -0
  15. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/strategies/subprocess_strategy.py +0 -0
  16. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/tool_executor.py +0 -0
  17. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/wrappers/__init__.py +0 -0
  18. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/wrappers/caching.py +0 -0
  19. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/wrappers/rate_limiting.py +0 -0
  20. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/execution/wrappers/retry.py +0 -0
  21. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/logging/__init__.py +0 -0
  22. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/logging/context.py +0 -0
  23. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/logging/formatter.py +0 -0
  24. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/logging/helpers.py +0 -0
  25. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/logging/metrics.py +0 -0
  26. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/__init__.py +0 -0
  27. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/mcp_tool.py +0 -0
  28. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/register_mcp_tools.py +0 -0
  29. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/setup_mcp_http_streamable.py +0 -0
  30. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/setup_mcp_sse.py +0 -0
  31. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/setup_mcp_stdio.py +0 -0
  32. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/transport/__init__.py +0 -0
  33. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/transport/base_transport.py +0 -0
  34. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/transport/http_streamable_transport.py +0 -0
  35. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/mcp/transport/sse_transport.py +0 -0
  36. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/__init__.py +0 -0
  37. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/execution_strategy.py +0 -0
  38. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/streaming_tool.py +0 -0
  39. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/tool_call.py +0 -0
  40. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/tool_export_mixin.py +0 -0
  41. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/tool_result.py +0 -0
  42. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/models/validated_tool.py +0 -0
  43. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/__init__.py +0 -0
  44. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/discovery.py +0 -0
  45. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/__init__.py +0 -0
  46. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/base.py +0 -0
  47. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/function_call_tool.py +0 -0
  48. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/json_tool.py +0 -0
  49. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/openai_tool.py +0 -0
  50. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/plugins/parsers/xml_tool.py +0 -0
  51. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/__init__.py +0 -0
  52. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/auto_register.py +0 -0
  53. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/decorators.py +0 -0
  54. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/interface.py +0 -0
  55. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/metadata.py +0 -0
  56. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/provider.py +0 -0
  57. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/providers/__init__.py +0 -0
  58. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/providers/memory.py +0 -0
  59. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/registry/tool_export.py +0 -0
  60. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/utils/__init__.py +0 -0
  61. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor/utils/validation.py +0 -0
  62. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor.egg-info/SOURCES.txt +0 -0
  63. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor.egg-info/dependency_links.txt +0 -0
  64. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor.egg-info/requires.txt +0 -0
  65. {chuk_tool_processor-0.6.13 → chuk_tool_processor-0.6.15}/src/chuk_tool_processor.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chuk-tool-processor
3
- Version: 0.6.13
3
+ Version: 0.6.15
4
4
  Summary: Async-native framework for registering, discovering, and executing tools referenced in LLM responses
5
5
  Author-email: CHUK Team <chrishayuk@somejunkmailbox.com>
6
6
  Maintainer-email: CHUK Team <chrishayuk@somejunkmailbox.com>
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "chuk-tool-processor"
7
- version = "0.6.13"
7
+ version = "0.6.15"
8
8
  description = "Async-native framework for registering, discovering, and executing tools referenced in LLM responses"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.11"
@@ -369,12 +369,11 @@ class StreamManager:
369
369
  "session_id": cfg.get("session_id"),
370
370
  }
371
371
 
372
- # Handle headers if provided (for future HTTPStreamableTransport support)
372
+ # Handle headers if provided
373
373
  headers = cfg.get("headers", {})
374
374
  if headers:
375
- logger.debug("HTTP Streamable %s: Headers provided but not yet supported in transport", name)
376
- # TODO: Add headers support when HTTPStreamableTransport is updated
377
- # transport_params['headers'] = headers
375
+ transport_params["headers"] = headers
376
+ logger.debug("HTTP Streamable %s: Custom headers configured: %s", name, list(headers.keys()))
378
377
 
379
378
  transport = HTTPStreamableTransport(**transport_params)
380
379
 
@@ -4,6 +4,7 @@ from __future__ import annotations
4
4
  import asyncio
5
5
  import json
6
6
  import logging
7
+ import os
7
8
  import time
8
9
  from typing import Any
9
10
 
@@ -54,13 +55,28 @@ class StdioTransport(MCPBaseTransport):
54
55
  """
55
56
  # Convert dict to StdioParameters if needed
56
57
  if isinstance(server_params, dict):
58
+ # Merge provided env with system environment to ensure PATH is available
59
+ merged_env = os.environ.copy()
60
+ if server_params.get("env"):
61
+ merged_env.update(server_params["env"])
62
+
57
63
  self.server_params = StdioParameters(
58
64
  command=server_params.get("command", "python"),
59
65
  args=server_params.get("args", []),
60
- env=server_params.get("env"),
66
+ env=merged_env,
61
67
  )
62
68
  else:
63
- self.server_params = server_params
69
+ # Also handle StdioParameters object - merge env if provided
70
+ # Create a new StdioParameters with merged env (Pydantic models are immutable)
71
+ merged_env = os.environ.copy()
72
+ if hasattr(server_params, "env") and server_params.env:
73
+ merged_env.update(server_params.env)
74
+
75
+ self.server_params = StdioParameters(
76
+ command=server_params.command,
77
+ args=server_params.args,
78
+ env=merged_env,
79
+ )
64
80
 
65
81
  self.connection_timeout = connection_timeout
66
82
  self.default_timeout = default_timeout
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: chuk-tool-processor
3
- Version: 0.6.13
3
+ Version: 0.6.15
4
4
  Summary: Async-native framework for registering, discovering, and executing tools referenced in LLM responses
5
5
  Author-email: CHUK Team <chrishayuk@somejunkmailbox.com>
6
6
  Maintainer-email: CHUK Team <chrishayuk@somejunkmailbox.com>