pleumrouter 0.5.45 → 0.5.47

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.
package/src/workspace.mjs CHANGED
@@ -62,7 +62,7 @@ export function formatWorkspaceList(context, candidates = []) {
62
62
  for (const candidate of candidates) {
63
63
  const mark = String(candidate.workspace_id) === activeId ? style.bold(style.plum("▸ ")) : " ";
64
64
  lines.push(
65
- `${mark}${candidate.workspace_id} ${sanitizeTerminalText(candidate.name)} (${candidate.role})`,
65
+ `${mark}${candidate.workspace_id} ${sanitizeTerminalText(candidate.name)} (${sanitizeTerminalText(candidate.role)})`,
66
66
  );
67
67
  }
68
68
  return lines.join("\n");
@@ -130,8 +130,8 @@ export async function selectAndBindWorkspace({
130
130
  type: "workspace",
131
131
  workspace_id: c.workspace_id,
132
132
  name: c.name,
133
- title: `${c.name} (${c.role})`,
134
- label: `${activeId === String(c.workspace_id) ? "✓ " : " "}${sanitizeTerminalText(c.name)} (${c.role})`,
133
+ title: `${sanitizeTerminalText(c.name)} (${sanitizeTerminalText(c.role)})`,
134
+ label: `${activeId === String(c.workspace_id) ? "✓ " : " "}${sanitizeTerminalText(c.name)} (${sanitizeTerminalText(c.role)})`,
135
135
  })),
136
136
  ];
137
137