mcp-ticketer 0.1.39__py3-none-any.whl → 0.2.0__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.
- mcp_ticketer/__version__.py +1 -1
- mcp_ticketer/adapters/linear/__init__.py +24 -0
- mcp_ticketer/adapters/linear/adapter.py +813 -0
- mcp_ticketer/adapters/linear/client.py +257 -0
- mcp_ticketer/adapters/linear/mappers.py +307 -0
- mcp_ticketer/adapters/linear/queries.py +366 -0
- mcp_ticketer/adapters/linear/types.py +277 -0
- mcp_ticketer/adapters/linear.py +10 -2384
- mcp_ticketer/core/exceptions.py +152 -0
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/METADATA +1 -1
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/RECORD +15 -8
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/WHEEL +0 -0
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/entry_points.txt +0 -0
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {mcp_ticketer-0.1.39.dist-info → mcp_ticketer-0.2.0.dist-info}/top_level.txt +0 -0
mcp_ticketer/__version__.py
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"""Linear adapter for MCP Ticketer.
|
|
2
|
+
|
|
3
|
+
This module provides integration with Linear's GraphQL API for universal ticket management.
|
|
4
|
+
The adapter is split into multiple modules for better organization:
|
|
5
|
+
|
|
6
|
+
- adapter.py: Main LinearAdapter class with core functionality
|
|
7
|
+
- queries.py: GraphQL queries and fragments
|
|
8
|
+
- types.py: Linear-specific types and mappings
|
|
9
|
+
- client.py: GraphQL client management
|
|
10
|
+
- mappers.py: Data transformation between Linear and universal models
|
|
11
|
+
|
|
12
|
+
Usage:
|
|
13
|
+
from mcp_ticketer.adapters.linear import LinearAdapter
|
|
14
|
+
|
|
15
|
+
config = {
|
|
16
|
+
"api_key": "your_linear_api_key",
|
|
17
|
+
"team_id": "your_team_id"
|
|
18
|
+
}
|
|
19
|
+
adapter = LinearAdapter(config)
|
|
20
|
+
"""
|
|
21
|
+
|
|
22
|
+
from .adapter import LinearAdapter
|
|
23
|
+
|
|
24
|
+
__all__ = ["LinearAdapter"]
|