@integrity-labs/agt-cli 0.12.7 → 0.12.9

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/mcp/index.js CHANGED
@@ -21150,13 +21150,10 @@ server.tool(
21150
21150
  }
21151
21151
  ]
21152
21152
  });
21153
+ const first = data.added_items?.[0];
21154
+ const text = !data.ok ? "Failed to add item." : first ? `Added "${first.title}" to board (status: ${params.status ?? "today"}, id: ${first.id}). Board: ${first.url}` : `Added "${params.title}" to board (status: ${params.status ?? "today"}).`;
21153
21155
  return {
21154
- content: [
21155
- {
21156
- type: "text",
21157
- text: data.ok ? `Added "${params.title}" to board (status: ${params.status ?? "today"}).` : "Failed to add item."
21158
- }
21159
- ]
21156
+ content: [{ type: "text", text }]
21160
21157
  };
21161
21158
  }
21162
21159
  );