@kaddo/mcp 3.56.0 → 3.57.0

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/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -382,7 +382,7 @@ function parseArtifact(filePath, raw) {
382
382
  status: String(data.status ?? ""),
383
383
  phase: String(data.phase ?? ""),
384
384
  initiative: String(data.initiative ?? data.source_initiative ?? ""),
385
- source: data.source ? String(data.source) : "",
385
+ source: data.source && typeof data.source === "object" ? String(data.source.type ?? "") : data.source ? String(data.source) : "",
386
386
  sourceId: String(data.source_id ?? ""),
387
387
  rawFrontmatter: data,
388
388
  decisions: Array.isArray(data.decisions) ? data.decisions.map(String).filter(Boolean) : [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kaddo/mcp",
3
- "version": "3.56.0",
3
+ "version": "3.57.0",
4
4
  "description": "MCP server for Kaddo project knowledge: read-only resources/tools/prompts plus safe derived generation under .kaddo/.",
5
5
  "license": "MIT",
6
6
  "repository": {