@productbrain/mcp 0.0.1-beta.14536 → 0.0.1-beta.14548
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.
|
@@ -236,6 +236,9 @@ var NAME_KINDS = {
|
|
|
236
236
|
strategy: { word: "strategy", tier: "direction" },
|
|
237
237
|
objectives: { word: "objective", tier: "outcome" },
|
|
238
238
|
"key-results": { word: "key result", tier: "outcome" },
|
|
239
|
+
kpis: { word: "KPI", tier: "outcome" },
|
|
240
|
+
// TASK-1683 (DEC-2655): a KPI's name is one label line, as a key result's
|
|
241
|
+
sops: { word: "SOP", tier: "working" },
|
|
239
242
|
rules: { word: "rule", tier: "rule" },
|
|
240
243
|
teams: { word: "team", tier: "other" },
|
|
241
244
|
labels: { word: "label", tier: "other" }
|
|
@@ -243,8 +246,9 @@ var NAME_KINDS = {
|
|
|
243
246
|
function isAcronym(word) {
|
|
244
247
|
return /^(?=[0-9]*[A-Z])[A-Z0-9]{2,}s?$/.test(word);
|
|
245
248
|
}
|
|
249
|
+
var alphanumericCore = (token) => token.match(/[A-Za-z0-9]+/)?.[0] ?? "";
|
|
246
250
|
function withArticle(word) {
|
|
247
|
-
const first = word
|
|
251
|
+
const first = alphanumericCore(word);
|
|
248
252
|
const vowelSound = isAcronym(first) ? /^[AEFHILMNORSX]/.test(first) : /^[aeiou]/i.test(word);
|
|
249
253
|
return `${vowelSound ? "an" : "a"} ${word}`;
|
|
250
254
|
}
|
|
@@ -6354,22 +6358,8 @@ function buildPlannedWorkSection(work, priorSessions, recoveryBlock) {
|
|
|
6354
6358
|
var REGISTRY_MANIFEST = [
|
|
6355
6359
|
// ── Canonical UI registries ──────────────────────────────────────
|
|
6356
6360
|
// BET-143 Slice 4: ui-colors removed — color is now a field on collection docs (schema.ts).
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
path: "src/lib/navigation.ts",
|
|
6360
|
-
exportName: "COLLECTION_ROUTES",
|
|
6361
|
-
description: "Collection slug to dedicated route path",
|
|
6362
|
-
expectedCoverage: "curated",
|
|
6363
|
-
keyExtraction: "object-keys"
|
|
6364
|
-
},
|
|
6365
|
-
{
|
|
6366
|
-
id: "gap-paths",
|
|
6367
|
-
path: "src/lib/navigation.ts",
|
|
6368
|
-
exportName: "GAP_PATHS",
|
|
6369
|
-
description: "Readiness gap ID to workspace-relative route path",
|
|
6370
|
-
expectedCoverage: "curated",
|
|
6371
|
-
keyExtraction: "object-keys"
|
|
6372
|
-
},
|
|
6361
|
+
// TASK-407 (WP-867): routes (COLLECTION_ROUTES) and gap-paths (GAP_PATHS) removed — both maps
|
|
6362
|
+
// are deleted from src/lib/navigation.ts (no runtime reader).
|
|
6373
6363
|
// BET-280 S3: display-fields removed — DISPLAY_FIELDS constant deleted, field display is now schema-driven.
|
|
6374
6364
|
// BET-280 S3: brain-icons removed — COLLECTION_ICONS unexported, getCollectionIcon() is a local rendering fallback only.
|
|
6375
6365
|
// ── Graph visualization registries ───────────────────────────────
|
|
@@ -12414,4 +12404,4 @@ export {
|
|
|
12414
12404
|
SERVER_VERSION,
|
|
12415
12405
|
createProductBrainServer
|
|
12416
12406
|
};
|
|
12417
|
-
//# sourceMappingURL=chunk-
|
|
12407
|
+
//# sourceMappingURL=chunk-BUA26RO2.js.map
|