fenix-mcp 1.3.1__tar.gz → 1.4.0__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.
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/PKG-INFO +1 -1
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/__init__.py +1 -1
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/knowledge.py +10 -4
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/PKG-INFO +1 -1
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/README.md +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/presenters.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tool_base.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tool_registry.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/__init__.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/health.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/initialize.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/intelligence.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/productivity.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/application/tools/user_config.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/domain/initialization.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/domain/intelligence.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/domain/knowledge.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/domain/productivity.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/domain/user_config.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/infrastructure/config.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/infrastructure/context.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/infrastructure/fenix_api/client.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/infrastructure/http_client.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/infrastructure/logging.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/interface/mcp_server.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/interface/transports.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp/main.py +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/SOURCES.txt +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/dependency_links.txt +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/entry_points.txt +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/requires.txt +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/fenix_mcp.egg-info/top_level.txt +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/pyproject.toml +0 -0
- {fenix_mcp-1.3.1 → fenix_mcp-1.4.0}/setup.cfg +0 -0
|
@@ -683,13 +683,19 @@ class KnowledgeTool(Tool):
|
|
|
683
683
|
associations = await self._service.mode_rules(payload.mode_id)
|
|
684
684
|
rules = [assoc.get("rule", assoc) for assoc in associations]
|
|
685
685
|
|
|
686
|
-
# Formatar resposta com rules
|
|
686
|
+
# Formatar resposta com rules (incluindo content)
|
|
687
687
|
output = _format_mode(mode, header="🎭 Mode details", show_content=True)
|
|
688
688
|
if rules:
|
|
689
|
-
|
|
690
|
-
|
|
689
|
+
rules_parts = []
|
|
690
|
+
for r in rules:
|
|
691
|
+
rule_text = f"### 📋 {r.get('name', 'Unnamed')}\n"
|
|
692
|
+
rule_text += f"ID: {r.get('id')}\n"
|
|
693
|
+
if r.get("content"):
|
|
694
|
+
rule_text += f"\n{r.get('content')}"
|
|
695
|
+
rules_parts.append(rule_text)
|
|
696
|
+
output += f"\n\n**Rules ({len(rules)}):**\n\n" + "\n\n---\n\n".join(
|
|
697
|
+
rules_parts
|
|
691
698
|
)
|
|
692
|
-
output += f"\n\n**Rules ({len(rules)}):**\n{rules_list}"
|
|
693
699
|
return text(output)
|
|
694
700
|
|
|
695
701
|
if action is KnowledgeAction.MODE_UPDATE:
|
|
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
|