planko-mcp-server 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.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -952,7 +952,7 @@ function summarizeItem(item, index) {
952
952
  const owner = ownerName(item.userId);
953
953
  if (owner) parts.push(`owner: ${owner}`);
954
954
  return (
955
- `${index}. ${item.name || '(untitled)'} [id: ${item._id}]\n` +
955
+ `${index}. ${item.name || '(untitled)'} [id: ${item._id ?? item.id}]\n` +
956
956
  ` ${parts.join(' | ')}`
957
957
  );
958
958
  }
@@ -977,7 +977,7 @@ function renderList(result, kindLabelPlural) {
977
977
  function renderItem(item, kindLabel) {
978
978
  const lines = [];
979
979
  lines.push(`${item.name || '(untitled)'}`);
980
- lines.push(`id: ${item._id}`);
980
+ lines.push(`id: ${item._id ?? item.id}`);
981
981
  lines.push(`type: ${item.type === 2 ? 'note' : 'task'} (${kindLabel})`);
982
982
  lines.push(`status: ${statusLabel(item.status)}`);
983
983
  if (item.priority != null) lines.push(`priority: ${item.priority}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "planko-mcp-server",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "MCP server for syncing Planko tasks with local Markdown files",
5
5
  "type": "module",
6
6
  "bin": {