feat: rename /directory to /workspace and unify terminology

Renames the /directory command to /workspace, adds aliases for backward compatibility, and updates UI strings, settings, and prompts to use 'workspace' terminology consistently.

Linked to #20737. Per Core/UX chat on 2/18.
This commit is contained in:
Keith Guerin
2026-03-01 00:21:56 -08:00
parent 703759cfae
commit 043a08807b
56 changed files with 581 additions and 451 deletions
+2 -2
View File
@@ -50,7 +50,7 @@ export class SessionError extends Error {
static noSessionsFound(): SessionError {
return new SessionError(
'NO_SESSIONS_FOUND',
'No previous sessions found for this project.',
'No previous sessions found for this workspace.',
);
}
@@ -463,7 +463,7 @@ export class SessionSelector {
const sessions = await this.listSessions();
if (sessions.length === 0) {
throw new Error('No previous sessions found for this project.');
throw new Error('No previous sessions found for this workspace.');
}
// Sort by startTime (oldest first, so newest sessions get highest numbers)