New:Socket for Asana Is Now Available.Learn more
Get Started

@papi-ai/shared

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@papi-ai/shared - npm Package Compare versions

Comparing version
0.2.7
to
0.2.8
+11
-0
dist/index.js

@@ -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