@@ -106,7 +106,7 @@ def _generate_bash_completion() -> str:
106106
107107def _get_bash_completion_content () -> str :
108108 """Get the bash completion script content."""
109- return """# code-assistant -manager bash completion
109+ return """# code-agent -manager bash completion
110110
111111_code_assistant_manager_completions()
112112{
@@ -501,7 +501,7 @@ def _get_bash_completion_content() -> str:
501501 return 0
502502}
503503
504- complete -F _code_assistant_manager_completions code-assistant -manager
504+ complete -F _code_assistant_manager_completions code-agent -manager
505505complete -F _code_assistant_manager_completions cam"""
506506
507507
@@ -512,9 +512,9 @@ def _generate_zsh_completion() -> str:
512512
513513def _get_zsh_completion_content () -> str :
514514 """Get the zsh completion script content."""
515- return """# code-assistant -manager zsh completion
515+ return """# code-agent -manager zsh completion
516516
517- #compdef code-assistant -manager cam
517+ #compdef code-agent -manager cam
518518
519519_code_assistant_manager() {
520520 local -a commands tools mcp_server_commands config_commands prompt_commands skill_commands plugin_commands agent_commands extensions_commands global_flags
@@ -693,7 +693,7 @@ def _get_zsh_completion_content() -> str:
693693
694694 case $state in
695695 command)
696- _describe -t commands 'code-assistant -manager command' commands
696+ _describe -t commands 'code-agent -manager command' commands
697697 ;;
698698 args)
699699 case $words[1] in
@@ -951,35 +951,35 @@ def _get_zsh_completion_content() -> str:
951951
952952def _generate_fish_completion () -> str :
953953 """Generate fish completion script."""
954- return """# code-assistant -manager fish completion
954+ return """# code-agent -manager fish completion
955955
956956set -l __cam_commands launch l config cf mcp m prompt p skill s plugin pl agent ag extensions ext upgrade u install i uninstall un doctor d version v completion comp c
957957set -l __cam_tools aichat claude codex copilot gemini droid qwen codebuddy iflow qodercli zed neovate crush cursor-agent ampcode
958958set -l __cam_completion_shells bash zsh fish powershell pwsh
959959
960- complete -c code-assistant -manager -f
960+ complete -c code-agent -manager -f
961961complete -c cam -f
962962
963- complete -c code-assistant -manager -n "__fish_use_subcommand" -a "$__cam_commands"
963+ complete -c code-agent -manager -n "__fish_use_subcommand" -a "$__cam_commands"
964964complete -c cam -n "__fish_use_subcommand" -a "$__cam_commands"
965965
966- complete -c code-assistant -manager -n "__fish_seen_subcommand_from launch l upgrade u install i uninstall un" -a "$__cam_tools"
966+ complete -c code-agent -manager -n "__fish_seen_subcommand_from launch l upgrade u install i uninstall un" -a "$__cam_tools"
967967complete -c cam -n "__fish_seen_subcommand_from launch l upgrade u install i uninstall un" -a "$__cam_tools"
968968
969- complete -c code-assistant -manager -n "__fish_seen_subcommand_from completion comp c" -a "$__cam_completion_shells"
969+ complete -c code-agent -manager -n "__fish_seen_subcommand_from completion comp c" -a "$__cam_completion_shells"
970970complete -c cam -n "__fish_seen_subcommand_from completion comp c" -a "$__cam_completion_shells"
971971"""
972972
973973
974974def _generate_powershell_completion () -> str :
975975 """Generate PowerShell completion script."""
976- return """# code-assistant -manager powershell completion
976+ return """# code-agent -manager powershell completion
977977
978978$codeAssistantCommands = @('launch','l','config','cf','mcp','m','prompt','p','skill','s','plugin','pl','agent','ag','extensions','ext','upgrade','u','install','i','uninstall','un','doctor','d','version','v','completion','comp','c')
979979$codeAssistantTools = @('aichat','claude','codex','copilot','gemini','droid','qwen','codebuddy','iflow','qodercli','zed','neovate','crush','cursor-agent','ampcode')
980980$completionShells = @('bash','zsh','fish','powershell','pwsh')
981981
982- Register-ArgumentCompleter -Native -CommandName code-assistant -manager, cam -ScriptBlock {
982+ Register-ArgumentCompleter -Native -CommandName code-agent -manager, cam -ScriptBlock {
983983 param($wordToComplete, $commandAst, $cursorPosition)
984984
985985 $elements = $commandAst.CommandElements | ForEach-Object { $_.Value }
@@ -1061,12 +1061,12 @@ def completion(
10611061 if normalized_shell in ["bash" , "zsh" ]:
10621062 typer .echo ("# Option 1: Add to ~/.bashrc or ~/.zshrc" )
10631063 typer .echo (
1064- f"# echo 'source <(code-assistant -manager completion { normalized_shell } )' >> ~/.{ normalized_shell } rc"
1064+ f"# echo 'source <(code-agent -manager completion { normalized_shell } )' >> ~/.{ normalized_shell } rc"
10651065 )
10661066 typer .echo ("#" )
10671067 typer .echo ("# Option 2: Save to file and source it" )
10681068 typer .echo (
1069- f"# code-assistant -manager completion { normalized_shell } > ~/.{ normalized_shell } _completion_code_assistant_manager"
1069+ f"# code-agent -manager completion { normalized_shell } > ~/.{ normalized_shell } _completion_code_assistant_manager"
10701070 )
10711071 typer .echo (
10721072 f"# echo 'source ~/.{ normalized_shell } _completion_code_assistant_manager' >> ~/.{ normalized_shell } rc"
@@ -1078,15 +1078,15 @@ def completion(
10781078 elif normalized_shell == "fish" :
10791079 typer .echo ("# Option 1: Install to fish completions directory" )
10801080 typer .echo (
1081- "# code-assistant -manager completion fish > ~/.config/fish/completions/code-assistant -manager.fish"
1081+ "# code-agent -manager completion fish > ~/.config/fish/completions/code-agent -manager.fish"
10821082 )
10831083 typer .echo ("#" )
10841084 typer .echo ("# Option 2: Load for current session only" )
1085- typer .echo ("# source (code-assistant -manager completion fish | psub)" )
1085+ typer .echo ("# source (code-agent -manager completion fish | psub)" )
10861086 else :
10871087 typer .echo ("# Save to your PowerShell profile and reload" )
10881088 typer .echo (
1089- "# code-assistant -manager completion powershell | Out-File -Encoding utf8 -Append $PROFILE"
1089+ "# code-agent -manager completion powershell | Out-File -Encoding utf8 -Append $PROFILE"
10901090 )
10911091 typer .echo ("# . $PROFILE" )
10921092 typer .echo ()
@@ -1499,7 +1499,7 @@ def doctor(
14991499 None , "--config" , help = "Path to config file"
15001500 ),
15011501):
1502- """Run diagnostic checks on the code-assistant -manager installation (alias: d)"""
1502+ """Run diagnostic checks on the code-agent -manager installation (alias: d)"""
15031503 # Lazy imports for doctor command
15041504 from code_assistant_manager .config import ConfigManager
15051505 from code_assistant_manager .cli .doctor import run_doctor_checks
@@ -1729,7 +1729,7 @@ def version_command():
17291729 """Show version information."""
17301730 from code_assistant_manager import __version__
17311731
1732- typer .echo (f"code-assistant -manager version { __version__ } " )
1732+ typer .echo (f"code-agent -manager version { __version__ } " )
17331733 raise typer .Exit ()
17341734
17351735
@@ -1814,7 +1814,7 @@ def list_config():
18141814 typer .echo (f"{ Colors .CYAN } Code Assistant Manager (CAM):{ Colors .RESET } " )
18151815 home = Path .home ()
18161816 cam_config_locations = [
1817- home / ".config" / "code-assistant -manager" / "providers.json" ,
1817+ home / ".config" / "code-agent -manager" / "providers.json" ,
18181818 Path .cwd () / "providers.json" ,
18191819 home / "providers.json" ,
18201820 ]
0 commit comments