@papi-ai/shared
Advanced tools
+11
-0
@@ -579,2 +579,3 @@ // src/core.ts | ||
| var SECTION_HEADERS = [ | ||
| "RELEVANT ACTIVE DECISIONS", | ||
| "SCOPE (DO THIS)", | ||
@@ -658,2 +659,3 @@ "WHY NOT SIMPLER", | ||
| whyNow, | ||
| relevantDecisions: parseBulletsOnly(sections.get("RELEVANT ACTIVE DECISIONS") ?? ""), | ||
| scope: parseBulletList(sections.get("SCOPE (DO THIS)") ?? ""), | ||
@@ -682,2 +684,3 @@ scopeBoundary: parseBulletList(sections.get("SCOPE BOUNDARY (DO NOT DO THIS)") ?? ""), | ||
| whyNow: str(fields.whyNow), | ||
| relevantDecisions: ensureArray(fields.relevantDecisions), | ||
| scope, | ||
@@ -730,2 +733,10 @@ scopeBoundary, | ||
| lines.push(`Why now: ${handoff.whyNow}`); | ||
| const relevantDecisions = ensureArray(handoff.relevantDecisions); | ||
| if (relevantDecisions.length > 0) { | ||
| lines.push(""); | ||
| lines.push("RELEVANT ACTIVE DECISIONS"); | ||
| for (const item of relevantDecisions) { | ||
| lines.push(`- ${item}`); | ||
| } | ||
| } | ||
| lines.push(""); | ||
@@ -732,0 +743,0 @@ lines.push("SCOPE (DO THIS)"); |
+1
-1
| { | ||
| "name": "@papi-ai/shared", | ||
| "version": "0.2.7", | ||
| "version": "0.2.8", | ||
| "description": "Shared PAPI contract: the PapiAdapter interface, every entity type, business rules and markdown parsers — used by the MCP server, the pg adapter and the dashboard", | ||
@@ -5,0 +5,0 @@ "license": "Elastic-2.0", |
Sorry, the diff of this file is too big to display
224394
0.38%4758
0.36%