@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.
- package/dist/index.js +4 -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
|
-
|
|
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