@lil2good/nubis-mcp-server 1.0.27 → 1.0.29
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.
- package/build/index.js +3 -3
- package/package.json +1 -1
- package/src/index.ts +2 -3
package/build/index.js
CHANGED
|
@@ -85,17 +85,17 @@ server.tool("get_tasks", "Get tasks for a workspace", {
|
|
|
85
85
|
content: data.map((task) => ({
|
|
86
86
|
type: "text",
|
|
87
87
|
text: [
|
|
88
|
-
|
|
88
|
+
`---`,
|
|
89
89
|
`### ${task.title}`,
|
|
90
90
|
`**Task ID:** ${task.id}`,
|
|
91
91
|
`**Task Number:** ${task.task_number}`,
|
|
92
92
|
`**Board:** ${task.board}`,
|
|
93
|
-
`**Bolt:** ${task.bolt.name
|
|
93
|
+
`**Bolt:** ${task.bolt ? task.bolt.name : "_No bolt_"}`,
|
|
94
94
|
`**Description:** ${task.description ? task.description : "_No description_"}`,
|
|
95
95
|
task.images && task.images.length > 0
|
|
96
96
|
? task.images.map((image) => image.url).join('\n')
|
|
97
97
|
: "_No images_",
|
|
98
|
-
|
|
98
|
+
`---`,
|
|
99
99
|
].join('\n\n'),
|
|
100
100
|
})),
|
|
101
101
|
};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -110,17 +110,16 @@ server.tool(
|
|
|
110
110
|
content: (data as Task[]).map((task) => ({
|
|
111
111
|
type: "text",
|
|
112
112
|
text: [
|
|
113
|
-
|
|
113
|
+
`---`,
|
|
114
114
|
`### ${task.title}`,
|
|
115
115
|
`**Task ID:** ${task.id}`,
|
|
116
116
|
`**Task Number:** ${task.task_number}`,
|
|
117
117
|
`**Board:** ${task.board}`,
|
|
118
|
-
`**Bolt:** ${task.bolt ? task.bolt.name : "_No bolt_"}`,
|
|
119
118
|
`**Description:** ${task.description ? task.description : "_No description_"}`,
|
|
120
119
|
task.images && task.images.length > 0
|
|
121
120
|
? task.images.map((image) => image.url).join('\n')
|
|
122
121
|
: "_No images_",
|
|
123
|
-
|
|
122
|
+
`---`,
|
|
124
123
|
].join('\n\n'),
|
|
125
124
|
})),
|
|
126
125
|
};
|