linear-toon-mcp 0.5.0 → 0.5.1
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.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bf06d4bccdbce8b42b754913248e6d2380aa8f695725714de733603a8fd65e6b
|
|
4
|
+
data.tar.gz: 32e7d3447fc0a55462f6f8b544bbe27801a4ac22d8192ec76208d99236275d73
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2aa03787fd5668f525d274650f8c334caf9e0c199d1c0ab93f96c6d609f4ee92f89d412af4daa9a3a1052e50fa30c813624e4c5e3ae10ffedc55616965977591
|
|
7
|
+
data.tar.gz: 255d287d3d61419cb4dcecbb224ef4b840dc821aa6fb09cd4109803018d30cf8e15f4300ee7c1fca82db8235b305cd193cda78fe8a420fcb36c14cb19419a2a0
|
|
@@ -31,7 +31,6 @@ module LinearToonMcp
|
|
|
31
31
|
estimate: {type: "number", description: "Issue estimate value"},
|
|
32
32
|
dueDate: {type: "string", description: "Due date (ISO format)"},
|
|
33
33
|
parentId: {type: "string", description: "Parent issue ID"},
|
|
34
|
-
blockedBy: {type: "array", items: {type: "string"}, description: "Issue IDs/identifiers blocking this"},
|
|
35
34
|
blocks: {type: "array", items: {type: "string"}, description: "Issue IDs/identifiers this blocks"},
|
|
36
35
|
relatedTo: {type: "array", items: {type: "string"}, description: "Related issue IDs/identifiers"},
|
|
37
36
|
duplicateOf: {type: "string", description: "Duplicate of issue ID/identifier"},
|
|
@@ -127,8 +126,7 @@ module LinearToonMcp
|
|
|
127
126
|
end
|
|
128
127
|
end
|
|
129
128
|
|
|
130
|
-
def create_relations(client, issue_id,
|
|
131
|
-
Array(blockedBy).each { |id| create_relation(client, issue_id, id, "isBlockedBy") }
|
|
129
|
+
def create_relations(client, issue_id, blocks: nil, relatedTo: nil, duplicateOf: nil, **)
|
|
132
130
|
Array(blocks).each { |id| create_relation(client, issue_id, id, "blocks") }
|
|
133
131
|
Array(relatedTo).each { |id| create_relation(client, issue_id, id, "related") }
|
|
134
132
|
create_relation(client, issue_id, duplicateOf, "duplicate") if duplicateOf
|
|
@@ -31,7 +31,6 @@ module LinearToonMcp
|
|
|
31
31
|
estimate: {type: "number", description: "Issue estimate value"},
|
|
32
32
|
dueDate: {type: "string", description: "Due date (ISO format)"},
|
|
33
33
|
parentId: {type: ["string", "null"], description: "Parent issue ID. Null to remove"},
|
|
34
|
-
blockedBy: {type: "array", items: {type: "string"}, description: "Issue IDs blocking this. Replaces existing; omit to keep unchanged"},
|
|
35
34
|
blocks: {type: "array", items: {type: "string"}, description: "Issue IDs this blocks. Replaces existing; omit to keep unchanged"},
|
|
36
35
|
relatedTo: {type: "array", items: {type: "string"}, description: "Related issue IDs. Replaces existing; omit to keep unchanged"},
|
|
37
36
|
duplicateOf: {type: ["string", "null"], description: "Duplicate of issue ID. Null to remove"},
|
|
@@ -93,7 +92,6 @@ module LinearToonMcp
|
|
|
93
92
|
GRAPHQL
|
|
94
93
|
|
|
95
94
|
RELATION_TYPE_MAP = {
|
|
96
|
-
blockedBy: "isBlockedBy",
|
|
97
95
|
blocks: "blocks",
|
|
98
96
|
relatedTo: "related",
|
|
99
97
|
duplicateOf: "duplicate"
|