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/README.md +1 -1
- package/bin/pleum.mjs +1 -1
- package/package.json +1 -1
- package/src/balance.mjs +38 -137
- package/src/config.mjs +5 -18
- package/src/launch.mjs +2 -6
- package/src/locales/es.mjs +9 -2
- package/src/locales/ja.mjs +9 -2
- package/src/locales/ko.mjs +9 -2
- package/src/locales/zh.mjs +9 -2
- package/src/menu.mjs +3 -5
- package/src/run.mjs +19 -2
- package/src/settings.mjs +3 -6
- package/src/wire.mjs +375 -164
- package/src/workspace.mjs +3 -3
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
|
|