@lil2good/nubis-mcp-server 1.0.28 → 1.0.30
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 +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/build/index.js
CHANGED
|
@@ -90,7 +90,7 @@ server.tool("get_tasks", "Get tasks for a workspace", {
|
|
|
90
90
|
`**Task ID:** ${task.id}`,
|
|
91
91
|
`**Task Number:** ${task.task_number}`,
|
|
92
92
|
`**Board:** ${task.board}`,
|
|
93
|
-
`**Bolt:** ${task.bolt ? task.bolt.name : "_No bolt_"}`,
|
|
93
|
+
`**Bolt:** ${task.bolt && typeof task.bolt === "object" && !Array.isArray(task.bolt) && "name" in task.bolt && task.bolt.name ? 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')
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -115,7 +115,7 @@ server.tool(
|
|
|
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_"}`,
|
|
118
|
+
`**Bolt:** ${task.bolt && typeof task.bolt === "object" && !Array.isArray(task.bolt) && "name" in task.bolt && task.bolt.name ? task.bolt.name : "_No bolt_"}`,
|
|
119
119
|
`**Description:** ${task.description ? task.description : "_No description_"}`,
|
|
120
120
|
task.images && task.images.length > 0
|
|
121
121
|
? task.images.map((image) => image.url).join('\n')
|