@hauptsache.net/clickup-mcp 1.6.1 → 1.6.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"task-tools.d.ts","sourceRoot":"","sources":["../../src/tools/task-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAyC,MAAM,iBAAiB,CAAC;AAOtF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,QA2DrE;AA+MD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAAC,YAAY,CAAC,CA+G/H"}
1
+ {"version":3,"file":"task-tools.d.ts","sourceRoot":"","sources":["../../src/tools/task-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAGpE,OAAO,EAAE,YAAY,EAAyC,MAAM,iBAAiB,CAAC;AAOtF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,QA2DrE;AA+MD;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,IAAI,EAAE,GAAG,EAAE,WAAW,CAAC,EAAE,GAAG,EAAE,EAAE,YAAY,GAAE,OAAe,GAAG,OAAO,CAAC,YAAY,CAAC,CAmH/H"}
@@ -229,9 +229,14 @@ async function generateTaskMetadata(task, timeEntries, isDetailView = false) {
229
229
  let spaceName = task.space?.name || 'Unknown Space';
230
230
  let spaceIdForDisplay = task.space?.id || 'N/A';
231
231
  if (spaceName === 'Unknown Space' && task.space?.id) {
232
- const spaceDetails = await (0, utils_1.getSpaceDetails)(task.space.id);
233
- if (spaceDetails && spaceDetails.name) {
234
- spaceName = spaceDetails.name;
232
+ try {
233
+ const spaceDetails = await (0, utils_1.getSpaceDetails)(task.space.id);
234
+ if (spaceDetails && spaceDetails.name) {
235
+ spaceName = spaceDetails.name;
236
+ }
237
+ }
238
+ catch {
239
+ // Space details fetch can fail (e.g. 401) - gracefully keep "Unknown Space"
235
240
  }
236
241
  }
237
242
  const metadataLines = [
@@ -1 +1 @@
1
- {"version":3,"file":"time-tools.d.ts","sourceRoot":"","sources":["../../src/tools/time-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAyDpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAgFtD;AAwLD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QAwFvD"}
1
+ {"version":3,"file":"time-tools.d.ts","sourceRoot":"","sources":["../../src/tools/time-tools.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AAyDpE,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,SAAS,QAgFtD;AAyLD,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,QAwFvD"}
@@ -243,7 +243,8 @@ function processTimeEntriesData(data, task_id, start_date, end_date, include_all
243
243
  else {
244
244
  entryDuration = formatDuration(rawDuration);
245
245
  }
246
- outputLines.push(`${entryPrefix} ${entryStart} - ${entryDuration}`);
246
+ const entryDescription = entry.description ? ` | ${entry.description}` : '';
247
+ outputLines.push(`${entryPrefix} ${entryStart} - ${entryDuration}${entryDescription}`);
247
248
  });
248
249
  }
249
250
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hauptsache.net/clickup-mcp",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "Search, create, and retrieve tasks, add comments, and track time through natural language commands.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",