unique_toolkit 1.3.2__py3-none-any.whl → 1.3.3__py3-none-any.whl

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.
@@ -402,8 +402,8 @@ class TestMCPManager:
402
402
  # Should only have the exclusive tool, MCP tools should be ignored
403
403
  tools = tool_manager.get_tools()
404
404
  tool_names = [tool.name for tool in tools]
405
- assert "internal_search" not in tool_names
406
- assert "mcp_test_tool" in tool_names
405
+ assert "internal_search" in tool_names
406
+ assert "mcp_test_tool" not in tool_names
407
407
  assert len(tools) == 1
408
408
 
409
409
  def test_init_tools_with_disabled_tool_config(
@@ -125,11 +125,7 @@ class ToolManager:
125
125
  if len(self._tool_choices) > 0 and t.name not in self._tool_choices:
126
126
  continue
127
127
  # is the tool exclusive and has been choosen by the user?
128
- if (
129
- t.is_exclusive()
130
- and len(tool_choices) > 0
131
- and t.name not in tool_choices
132
- ):
128
+ if t.is_exclusive() and len(tool_choices) > 0 and t.name in tool_choices:
133
129
  self._tools = [t] # override all other tools
134
130
  break
135
131
  # if the tool is exclusive but no tool choices are given, skip it
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: unique_toolkit
3
- Version: 1.3.2
3
+ Version: 1.3.3
4
4
  Summary:
5
5
  License: Proprietary
6
6
  Author: Cedric Klinkert
@@ -118,6 +118,9 @@ All notable changes to this project will be documented in this file.
118
118
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
119
119
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
120
120
 
121
+ ## [1.3.3] - 2025-09-30
122
+ - fix bug in exclusive tools not making them selectable
123
+
121
124
  ## [1.3.2] - 2025-09-29
122
125
  - Auto-update unique settings on event arrival in SSE client
123
126
 
@@ -68,10 +68,10 @@ unique_toolkit/agentic/tools/mcp/manager.py,sha256=DPYwwDe6RSZyuPaxn-je49fP_qOOs
68
68
  unique_toolkit/agentic/tools/mcp/models.py,sha256=OyCCb7Vwv1ftzC_OCpFkf3TX9Aeb74ZZagG-qK5peIU,722
69
69
  unique_toolkit/agentic/tools/mcp/tool_wrapper.py,sha256=5UdtqFtZ0aqjae2eL3zVacDMfr1hu5KiQkaoI7VkhqA,9972
70
70
  unique_toolkit/agentic/tools/schemas.py,sha256=0ZR8xCdGj1sEdPE0lfTIG2uSR5zqWoprUa3Seqez4C8,4837
71
- unique_toolkit/agentic/tools/test/test_mcp_manager.py,sha256=9F7FjpYKeOkg2Z4bt2H1WGaxu9fzB-1iiE-b7g3KzQk,15724
71
+ unique_toolkit/agentic/tools/test/test_mcp_manager.py,sha256=PVRvkK3M21rzONpy5VE_i3vEbAGIz1haW_VPVwiPDI0,15724
72
72
  unique_toolkit/agentic/tools/test/test_tool_progress_reporter.py,sha256=dod5QPqgGUInVAGXAbsAKNTEypIi6pUEWhDbJr9YfUU,6307
73
73
  unique_toolkit/agentic/tools/tool.py,sha256=m56VLxiHuKU2_J5foZp00xhm5lTxWEW7zRLGbIE9ssU,6744
74
- unique_toolkit/agentic/tools/tool_manager.py,sha256=l8OGQiSeMWqesnFQ4vmgnrSU4e6ipAbB2pq0HmQM4AE,11140
74
+ unique_toolkit/agentic/tools/tool_manager.py,sha256=Ct8AMtJNwVIY8CGz62R4_Dahc-6Op7tkLURkZMxKuqk,11072
75
75
  unique_toolkit/agentic/tools/tool_progress_reporter.py,sha256=ixud9VoHey1vlU1t86cW0-WTvyTwMxNSWBon8I11SUk,7955
76
76
  unique_toolkit/agentic/tools/utils/__init__.py,sha256=iD1YYzf9LcJFv95Z8BqCAFSewNBabybZRZyvPKGfvro,27
77
77
  unique_toolkit/agentic/tools/utils/execution/__init__.py,sha256=OHiKpqBnfhBiEQagKVWJsZlHv8smPp5OI4dFIexzibw,37
@@ -133,7 +133,7 @@ unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJ
133
133
  unique_toolkit/short_term_memory/service.py,sha256=5PeVBu1ZCAfyDb2HLVvlmqSbyzBBuE9sI2o9Aajqjxg,8884
134
134
  unique_toolkit/smart_rules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
135
135
  unique_toolkit/smart_rules/compile.py,sha256=cxWjb2dxEI2HGsakKdVCkSNi7VK9mr08w5sDcFCQyWI,9553
136
- unique_toolkit-1.3.2.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
137
- unique_toolkit-1.3.2.dist-info/METADATA,sha256=64vZcZcbk6v47satQNAuj1iuDrkR15OyO2GjqoOOX6s,33695
138
- unique_toolkit-1.3.2.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
139
- unique_toolkit-1.3.2.dist-info/RECORD,,
136
+ unique_toolkit-1.3.3.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
137
+ unique_toolkit-1.3.3.dist-info/METADATA,sha256=FY2iBzcDa6mneFLi2qOfuttrXjCBDkW1TM11UoBbGus,33776
138
+ unique_toolkit-1.3.3.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
139
+ unique_toolkit-1.3.3.dist-info/RECORD,,