@productbrain/mcp 0.0.1-beta.10217 → 0.0.1-beta.10227

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.
@@ -262,12 +262,13 @@ function sanitizeSingleLineField(str) {
262
262
  }
263
263
 
264
264
  // src/lib/ownerLine.ts
265
+ var PLACED_LINE_WORD = "Home:";
265
266
  function ownerLineParts(owner) {
266
267
  return owner.kind === "one" ? { role: owner.role.name, team: owner.team.name } : null;
267
268
  }
268
269
  function formatOwnerLine(owner, options = {}) {
269
270
  const ids = options.ids ?? true;
270
- const word = owner.kind === "placed" ? "Home:" : "Owner:";
271
+ const word = owner.kind === "placed" ? PLACED_LINE_WORD : "Owner:";
271
272
  const label = options.bold ? `**${word}**` : word;
272
273
  switch (owner.kind) {
273
274
  case "one": {
@@ -369,7 +370,14 @@ var ownerOutputShape = z2.discriminatedUnion("kind", [
369
370
  // workspace's name. Nested (not flat teamName/roleName) to match the `one` kind.
370
371
  z2.object({ kind: z2.literal("dangling"), teamId: z2.string(), roleId: z2.string(), team: ownerTeam.pick({ name: true }).optional(), role: ownerRole.pick({ name: true }).optional() }),
371
372
  // DEC-1944 (TASK-614; WP-783): where a role or a team lives — its team's name only.
372
- z2.object({ kind: z2.literal("placed"), team: ownerTeam.pick({ name: true }) })
373
+ // DEC-1950 (TASK-768): what is placed and, for a team, the names above its parent; no MCP line prints them.
374
+ z2.object({
375
+ kind: z2.literal("placed"),
376
+ of: z2.enum(["role", "team"]),
377
+ team: ownerTeam.pick({ name: true }),
378
+ ancestors: z2.array(z2.string()),
379
+ ancestorsTruncated: z2.boolean()
380
+ })
373
381
  ]);
374
382
  function parseOwnerOutput(raw) {
375
383
  if (!raw) return void 0;
@@ -6923,6 +6931,8 @@ var SEAT_WORDS = {
6923
6931
  coveredBySection: "Covered by",
6924
6932
  holderSection: "Holder",
6925
6933
  teamLead: "Team Lead",
6934
+ /** TASK-756 (DEC-1973): the Chain list's quiet word beside a Team Lead chip that decides for an empty role or an unowned entry. */
6935
+ covering: "covering",
6926
6936
  /** DEC-1973: the empty HOLDER line a viewer who may seat reads under a covered role. */
6927
6937
  nobodySits: "Nobody sits in this role. Seat someone to hand it over.",
6928
6938
  /** DEC-1973: the one sentence every surface shows when who covers a role can't be read, never faked as covered. */
@@ -12929,4 +12939,4 @@ export {
12929
12939
  createProductBrainServer,
12930
12940
  initFeatureFlags
12931
12941
  };
12932
- //# sourceMappingURL=chunk-UM2G5FII.js.map
12942
+ //# sourceMappingURL=chunk-22KOP4XB.js.map