@papi-ai/server 0.7.2 → 0.7.3-alpha.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/dist/index.js +4 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8518,8 +8518,10 @@ Check PAPI_PROJECT_ID in your .mcp.json config. Find your project ID in the PAPI
8518
8518
  return this.invoke("submitBugReport", [report]);
8519
8519
  }
8520
8520
  // --- Atomic plan write-back ---
8521
- planWriteBack(payload) {
8522
- return this.invoke("planWriteBack", [payload]);
8521
+ async planWriteBack(payload) {
8522
+ const raw = await this.invoke("planWriteBack", [payload]);
8523
+ const map = new Map(Object.entries(raw.newTaskIdMap ?? {}));
8524
+ return { ...raw, newTaskIdMap: map };
8523
8525
  }
8524
8526
  };
8525
8527
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papi-ai/server",
3
- "version": "0.7.2",
3
+ "version": "0.7.3-alpha.1",
4
4
  "description": "PAPI MCP server — AI-powered sprint planning, build execution, and strategy review for software projects",
5
5
  "license": "Elastic-2.0",
6
6
  "type": "module",