@@ -29,15 +29,15 @@ use crate::os::Os;
29
29
#[ derive( Debug , PartialEq , Subcommand ) ]
30
30
#[ command(
31
31
before_long_help = "Context rules determine which files are included in your Amazon Q session.
32
+ They are derived from the current active agent.
32
33
The files matched by these rules provide Amazon Q with additional information
33
34
about your project or environment. Adding relevant files helps Q generate
34
35
more accurate and helpful responses.
35
36
36
37
Notes:
37
38
• You can add specific files or use glob patterns (e.g., \" *.py\" , \" src/**/*.js\" )
38
- • Profile rules apply only to the current profile
39
- • Global rules apply across all profiles
40
- • Context is preserved between chat sessions"
39
+ • Agent rules apply only to the current agent
40
+ • Context changes are NOT preserved between chat sessions. To make these changes permanent, edit the agent config file."
41
41
) ]
42
42
pub enum ContextSubcommand {
43
43
/// Display the context rule configuration and matched files
@@ -89,7 +89,7 @@ impl ContextSubcommand {
89
89
session. stderr,
90
90
style:: SetAttribute ( Attribute :: Bold ) ,
91
91
style:: SetForegroundColor ( Color :: Magenta ) ,
92
- style:: Print ( format!( "\n 👤 profile ({}):\n " , context_manager. current_profile) ) ,
92
+ style:: Print ( format!( "\n 👤 Agent ({}):\n " , context_manager. current_profile) ) ,
93
93
style:: SetAttribute ( Attribute :: Reset ) ,
94
94
) ?;
95
95
0 commit comments