@papi-ai/server 0.7.1-alpha.1 → 0.7.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 +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16456,7 +16456,7 @@ async function completeBuild(adapter2, config2, taskId, input, options = {}) {
16456
16456
  }
16457
16457
  const [healthResult, priorCount] = await Promise.all([
16458
16458
  adapter2.getCycleHealth().catch(() => ({ totalCycles: 0 })),
16459
- adapter2.getBuildReportCountForTask(taskId).catch(() => 0)
16459
+ typeof adapter2.getBuildReportCountForTask === "function" ? adapter2.getBuildReportCountForTask(taskId).catch(() => 0) : Promise.resolve(0)
16460
16460
  ]);
16461
16461
  const cycleNumber = healthResult.totalCycles;
16462
16462
  const iterationCount = priorCount + 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papi-ai/server",
3
- "version": "0.7.1-alpha.1",
3
+ "version": "0.7.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",