fenix-mcp 1.0.0__tar.gz → 1.1.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.
Files changed (34) hide show
  1. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/PKG-INFO +1 -1
  2. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/__init__.py +1 -1
  3. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/knowledge.py +14 -2
  4. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/PKG-INFO +1 -1
  5. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/README.md +0 -0
  6. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/presenters.py +0 -0
  7. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tool_base.py +0 -0
  8. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tool_registry.py +0 -0
  9. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/__init__.py +0 -0
  10. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/health.py +0 -0
  11. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/initialize.py +0 -0
  12. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/intelligence.py +0 -0
  13. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/productivity.py +0 -0
  14. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/application/tools/user_config.py +0 -0
  15. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/domain/initialization.py +0 -0
  16. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/domain/intelligence.py +0 -0
  17. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/domain/knowledge.py +0 -0
  18. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/domain/productivity.py +0 -0
  19. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/domain/user_config.py +0 -0
  20. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/infrastructure/config.py +0 -0
  21. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/infrastructure/context.py +0 -0
  22. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/infrastructure/fenix_api/client.py +0 -0
  23. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/infrastructure/http_client.py +0 -0
  24. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/infrastructure/logging.py +0 -0
  25. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/interface/mcp_server.py +0 -0
  26. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/interface/transports.py +0 -0
  27. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp/main.py +0 -0
  28. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/SOURCES.txt +0 -0
  29. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/dependency_links.txt +0 -0
  30. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/entry_points.txt +0 -0
  31. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/requires.txt +0 -0
  32. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/fenix_mcp.egg-info/top_level.txt +0 -0
  33. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/pyproject.toml +0 -0
  34. {fenix_mcp-1.0.0 → fenix_mcp-1.1.0}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fenix-mcp
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: Fênix Cloud MCP server implemented in Python
5
5
  Author: Fenix Inc
6
6
  Requires-Python: >=3.10
@@ -8,4 +8,4 @@ Fênix Cloud MCP Server (Python edition).
8
8
  __all__ = ["__version__"]
9
9
 
10
10
 
11
- __version__ = "1.0.0"
11
+ __version__ = "1.1.0"
@@ -108,7 +108,10 @@ class KnowledgeAction(str, Enum):
108
108
  RULE_DELETE = ("rule_delete", "Removes a rule.")
109
109
 
110
110
  # Documentation
111
- DOC_CREATE = ("doc_create", "Creates a documentation item.")
111
+ DOC_CREATE = (
112
+ "doc_create",
113
+ "Creates a documentation item. Requires doc_emoji for page, api_doc, and guide types.",
114
+ )
112
115
  DOC_LIST = ("doc_list", "Lists documentation items with filters.")
113
116
  DOC_GET = ("doc_get", "Gets documentation item details.")
114
117
  DOC_UPDATE = ("doc_update", "Updates a documentation item.")
@@ -295,7 +298,8 @@ class KnowledgeRequest(ToolRequest):
295
298
  default=None, ge=0, description="Desired position when moving documents."
296
299
  )
297
300
  doc_emoji: Optional[EmojiStr] = Field(
298
- default=None, description="Emoji displayed with the document."
301
+ default=None,
302
+ description="Emoji displayed with the document. REQUIRED for page, api_doc, and guide types (not required for folder).",
299
303
  )
300
304
  doc_emote: Optional[EmojiStr] = Field(
301
305
  default=None, description="Alias for emoji, kept for compatibility."
@@ -807,6 +811,14 @@ class KnowledgeTool(Tool):
807
811
  return text(
808
812
  "❌ Invalid doc_type. Use one of the supported values: " + allowed
809
813
  )
814
+ # Emoji is required for page, api_doc, guide (not for folder)
815
+ doc_type = sanitize_null(payload.doc_type) or "page"
816
+ emoji = sanitize_null(payload.doc_emoji or payload.doc_emote)
817
+ if doc_type != "folder" and not emoji:
818
+ return text(
819
+ "❌ Provide doc_emoji to create documentation. "
820
+ "Emoji is required for page, api_doc, and guide types."
821
+ )
810
822
  doc = await self._service.doc_create(
811
823
  {
812
824
  "title": payload.doc_title,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: fenix-mcp
3
- Version: 1.0.0
3
+ Version: 1.1.0
4
4
  Summary: Fênix Cloud MCP server implemented in Python
5
5
  Author: Fenix Inc
6
6
  Requires-Python: >=3.10
File without changes
File without changes
File without changes
File without changes