diff --git a/app/lib/features/chat/domain/chat_commands.dart b/app/lib/features/chat/domain/chat_commands.dart index 5864fc31..44625022 100644 --- a/app/lib/features/chat/domain/chat_commands.dart +++ b/app/lib/features/chat/domain/chat_commands.dart @@ -39,7 +39,7 @@ const List chatCommands = [ ), ChatCommand( name: chatCommandRename, - summary: 'Rename this session on this device', + summary: 'Rename this session', usage: '/rename ', takesArgument: true, ), @@ -150,7 +150,7 @@ String chatCommandArgumentReport(ChatCommand command) => /// `/rename` without a title sends nothing and reports its usage. const String chatRenameUsageReport = - 'Usage: /rename <title> — renames this session on this device.'; + 'Usage: /rename <title> — renames this session.'; /// `/new` needs the open session's directory; without one nothing is sent. const String chatNoDirectoryReport = diff --git a/app/test/features/chat/conversation/chat_command_palette_test.dart b/app/test/features/chat/conversation/chat_command_palette_test.dart index b676873c..d3d73ca7 100644 --- a/app/test/features/chat/conversation/chat_command_palette_test.dart +++ b/app/test/features/chat/conversation/chat_command_palette_test.dart @@ -237,7 +237,7 @@ void main() { find.text( '/new — Start a fresh session in this directory\n' '/close — Finish this session for every client, keeping its history\n' - '/rename <title> — Rename this session on this device\n' + '/rename <title> — Rename this session\n' '/stop — Stop the turn that is running\n' '/help — List every command', ), @@ -456,7 +456,7 @@ void main() { expect(palette(), findsOneWidget); expect(row('rename'), findsOneWidget); expect(find.text('/rename'), findsOneWidget); - expect(find.text('Rename this session on this device'), findsOneWidget); + expect(find.text('Rename this session'), findsOneWidget); await tester.sendKeyEvent(LogicalKeyboardKey.escape); await tester.pump(); diff --git a/app/test/features/chat/conversation/chat_command_session_test.dart b/app/test/features/chat/conversation/chat_command_session_test.dart index 8cc6d6a9..51064a18 100644 --- a/app/test/features/chat/conversation/chat_command_session_test.dart +++ b/app/test/features/chat/conversation/chat_command_session_test.dart @@ -135,7 +135,7 @@ void main() { expect(gateway.sent('chat_rename'), isEmpty); expect( find.text( - 'Usage: /rename <title> — renames this session on this device.', + 'Usage: /rename <title> — renames this session.', ), findsOneWidget, ); diff --git a/app/test/features/chat/domain/chat_commands_test.dart b/app/test/features/chat/domain/chat_commands_test.dart index 59ae91d7..ac2feb3d 100644 --- a/app/test/features/chat/domain/chat_commands_test.dart +++ b/app/test/features/chat/domain/chat_commands_test.dart @@ -20,7 +20,7 @@ void main() { expect(chatCommands.map((command) => command.summary), [ 'Start a fresh session in this directory', 'Finish this session for every client, keeping its history', - 'Rename this session on this device', + 'Rename this session', 'Stop the turn that is running', 'List every command', ]);