#compdef aoe

autoload -U is-at-least

_aoe() {
    typeset -A opt_args
    typeset -a _arguments_options
    local ret=1

    if is-at-least 5.2; then
        _arguments_options=(-s -S -C)
    else
        _arguments_options=(-s -C)
    fi

    local context curcontext="$curcontext" state line
    _arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_aoe_commands" \
"*::: :->aoe" \
&& ret=0
    case $state in
    (aoe)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'-t+[Session title (defaults to folder name)]:TITLE:_default' \
'--title=[Session title (defaults to folder name)]:TITLE:_default' \
'-g+[Group path (defaults to parent folder)]:GROUP:_default' \
'--group=[Group path (defaults to parent folder)]:GROUP:_default' \
'-c+[Command to run (e.g., '\''claude'\'' or any other supported agent)]:COMMAND:_default' \
'--cmd=[Command to run (e.g., '\''claude'\'' or any other supported agent)]:COMMAND:_default' \
'-P+[Parent session (creates sub-session, inherits group)]:PARENT:_default' \
'--parent=[Parent session (creates sub-session, inherits group)]:PARENT:_default' \
'-w+[Create session in a git worktree for the specified branch]:WORKTREE_BRANCH:_default' \
'--worktree=[Create session in a git worktree for the specified branch]:WORKTREE_BRANCH:_default' \
'*-r+[Additional repositories for multi-repo workspace (use with --worktree)]:EXTRA_REPOS:_files' \
'*--repo=[Additional repositories for multi-repo workspace (use with --worktree)]:EXTRA_REPOS:_files' \
'--sandbox-image=[Custom Docker image for sandbox (implies --sandbox)]:SANDBOX_IMAGE:_default' \
'--extra-args=[Extra arguments to append after the agent binary]:EXTRA_ARGS:_default' \
'--cmd-override=[Override the agent binary command]:CMD_OVERRIDE:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-l[Launch the session immediately after creating]' \
'--launch[Launch the session immediately after creating]' \
'-b[Create a new branch (use with --worktree)]' \
'--new-branch[Create a new branch (use with --worktree)]' \
'-s[Run session in Docker sandbox]' \
'--sandbox[Run session in Docker sandbox]' \
'-y[Enable YOLO mode (skip permission prompts)]' \
'--yolo[Enable YOLO mode (skip permission prompts)]' \
'--trust-hooks[Automatically trust repository hooks without prompting]' \
'-h[Print help]' \
'--help[Print help]' \
'::path -- Project directory (defaults to current directory):_files' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::path -- Directory to initialize (defaults to current directory):_files' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--json[Output as JSON]' \
'--all[List sessions from all profiles]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--delete-worktree[Delete worktree directory (default\: keep worktree)]' \
'--delete-branch[Delete git branch after worktree removal (default\: per config)]' \
'--force[Force worktree removal even with untracked/modified files]' \
'--keep-container[Keep container instead of deleting it (default\: delete per config)]' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title to remove:_default' \
&& ret=0
;;
(send)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
':message -- Message to send to the agent:_default' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-v[Show detailed session list]' \
'--verbose[Show detailed session list]' \
'-q[Only output waiting count (for scripts)]' \
'--quiet[Only output waiting count (for scripts)]' \
'--json[Output as JSON]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(session)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__session_commands" \
"*::: :->session" \
&& ret=0

    case $state in
    (session)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-session-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
&& ret=0
;;
(restart)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
&& ret=0
;;
(attach)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--json[Output as JSON]' \
'-h[Print help]' \
'--help[Print help]' \
'::identifier -- Session ID or title (optional, auto-detects in tmux):_default' \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
'-t+[New title for the session]:TITLE:_default' \
'--title=[New title for the session]:TITLE:_default' \
'-g+[New group for the session (empty string to ungroup)]:GROUP:_default' \
'--group=[New group for the session (empty string to ungroup)]:GROUP:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::identifier -- Session ID or title (optional, auto-detects in tmux):_default' \
&& ret=0
;;
(capture)
_arguments "${_arguments_options[@]}" : \
'-n+[Number of lines to capture]:LINES:_default' \
'--lines=[Number of lines to capture]:LINES:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--strip-ansi[Strip ANSI escape codes]' \
'--json[Output as JSON]' \
'-h[Print help]' \
'--help[Print help]' \
'::identifier -- Session ID or title (auto-detects in tmux if omitted):_default' \
&& ret=0
;;
(current)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-q[Just session name (for scripting)]' \
'--quiet[Just session name (for scripting)]' \
'--json[Output as JSON]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__session__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-session-help-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restart)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(attach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(capture)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(current)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(group)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__group_commands" \
"*::: :->group" \
&& ret=0

    case $state in
    (group)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-group-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--json[Output as JSON]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'--parent=[Parent group for creating subgroups]:PARENT:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Group name:_default' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--force[Force delete by moving sessions to default group]' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Group name:_default' \
&& ret=0
;;
(move)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
':group -- Target group:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__group__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-group-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(profile)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-profile-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Profile name:_default' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Profile name:_default' \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':old_name -- Current profile name:_default' \
':new_name -- New profile name:_default' \
&& ret=0
;;
(default)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::name -- Profile name (optional, shows current if not provided):_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__profile__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-profile-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(default)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(worktree)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__worktree_commands" \
"*::: :->worktree" \
&& ret=0

    case $state in
    (worktree)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-worktree-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':identifier -- Session ID or title:_default' \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-f[Actually remove worktrees (default is dry-run)]' \
'--force[Actually remove worktrees (default is dry-run)]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__worktree__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-worktree-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(tmux)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__tmux_commands" \
"*::: :->tmux" \
&& ret=0

    case $state in
    (tmux)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-tmux-command-$line[1]:"
        case $line[1] in
            (status)
_arguments "${_arguments_options[@]}" : \
'-f+[Output format (text or json)]:FORMAT:_default' \
'--format=[Output format (text or json)]:FORMAT:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help (see more with '\''--help'\'')]' \
'--help[Print help (see more with '\''--help'\'')]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__tmux__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-tmux-help-command-$line[1]:"
        case $line[1] in
            (status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(sounds)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__sounds_commands" \
"*::: :->sounds" \
&& ret=0

    case $state in
    (sounds)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-sounds-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(test)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Sound file name (without extension):_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__sounds__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-sounds-help-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(test)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(theme)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
":: :_aoe__theme_commands" \
"*::: :->theme" \
&& ret=0

    case $state in
    (theme)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-theme-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
'-o+[Output file path (defaults to <name>.toml in the themes directory)]:OUTPUT:_default' \
'--output=[Output file path (defaults to <name>.toml in the themes directory)]:OUTPUT:_default' \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Theme name to export:_default' \
&& ret=0
;;
(dir)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__theme__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-theme-help-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dir)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--keep-data[Keep data directory (sessions, config, logs)]' \
'--keep-tmux-config[Keep tmux configuration]' \
'--dry-run[Show what would be removed without removing]' \
'-y[Skip confirmation prompts]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(completion)
_arguments "${_arguments_options[@]}" : \
'-p+[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'--profile=[Profile to use (separate workspace with its own sessions)]:PROFILE:_default' \
'-h[Print help]' \
'--help[Print help]' \
':shell -- Shell to generate completions for:(bash elvish fish powershell zsh)' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(send)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(session)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__session_commands" \
"*::: :->session" \
&& ret=0

    case $state in
    (session)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-session-command-$line[1]:"
        case $line[1] in
            (start)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stop)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(restart)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(attach)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(show)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(capture)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(current)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(group)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__group_commands" \
"*::: :->group" \
&& ret=0

    case $state in
    (group)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-group-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(move)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(profile)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__profile_commands" \
"*::: :->profile" \
&& ret=0

    case $state in
    (profile)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-profile-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(rename)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(default)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(worktree)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__worktree_commands" \
"*::: :->worktree" \
&& ret=0

    case $state in
    (worktree)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-worktree-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(info)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(cleanup)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(tmux)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__tmux_commands" \
"*::: :->tmux" \
&& ret=0

    case $state in
    (tmux)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-tmux-command-$line[1]:"
        case $line[1] in
            (status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(sounds)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__sounds_commands" \
"*::: :->sounds" \
&& ret=0

    case $state in
    (sounds)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-sounds-command-$line[1]:"
        case $line[1] in
            (install)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(test)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(theme)
_arguments "${_arguments_options[@]}" : \
":: :_aoe__help__theme_commands" \
"*::: :->theme" \
&& ret=0

    case $state in
    (theme)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:aoe-help-theme-command-$line[1]:"
        case $line[1] in
            (list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dir)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(completion)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_aoe_commands] )) ||
_aoe_commands() {
    local commands; commands=(
'add:Add a new session' \
'init:Initialize .agent-of-empires/config.toml in a repository' \
'list:List all sessions' \
'remove:Remove a session' \
'send:Send a message to a running agent session' \
'status:Show session status summary' \
'session:Manage session lifecycle (start, stop, attach, etc.)' \
'group:Manage groups for organizing sessions' \
'profile:Manage profiles (separate workspaces)' \
'worktree:Manage git worktrees for parallel development' \
'tmux:tmux integration utilities' \
'sounds:Manage sound effects for agent state transitions' \
'theme:Manage color themes (list, export, customize)' \
'uninstall:Uninstall Agent of Empires' \
'completion:Generate shell completions' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe commands' commands "$@"
}
(( $+functions[_aoe__add_commands] )) ||
_aoe__add_commands() {
    local commands; commands=()
    _describe -t commands 'aoe add commands' commands "$@"
}
(( $+functions[_aoe__completion_commands] )) ||
_aoe__completion_commands() {
    local commands; commands=()
    _describe -t commands 'aoe completion commands' commands "$@"
}
(( $+functions[_aoe__group_commands] )) ||
_aoe__group_commands() {
    local commands; commands=(
'list:List all groups' \
'create:Create a new group' \
'delete:Delete a group' \
'move:Move session to group' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe group commands' commands "$@"
}
(( $+functions[_aoe__group__create_commands] )) ||
_aoe__group__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group create commands' commands "$@"
}
(( $+functions[_aoe__group__delete_commands] )) ||
_aoe__group__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group delete commands' commands "$@"
}
(( $+functions[_aoe__group__help_commands] )) ||
_aoe__group__help_commands() {
    local commands; commands=(
'list:List all groups' \
'create:Create a new group' \
'delete:Delete a group' \
'move:Move session to group' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe group help commands' commands "$@"
}
(( $+functions[_aoe__group__help__create_commands] )) ||
_aoe__group__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group help create commands' commands "$@"
}
(( $+functions[_aoe__group__help__delete_commands] )) ||
_aoe__group__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group help delete commands' commands "$@"
}
(( $+functions[_aoe__group__help__help_commands] )) ||
_aoe__group__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group help help commands' commands "$@"
}
(( $+functions[_aoe__group__help__list_commands] )) ||
_aoe__group__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group help list commands' commands "$@"
}
(( $+functions[_aoe__group__help__move_commands] )) ||
_aoe__group__help__move_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group help move commands' commands "$@"
}
(( $+functions[_aoe__group__list_commands] )) ||
_aoe__group__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group list commands' commands "$@"
}
(( $+functions[_aoe__group__move_commands] )) ||
_aoe__group__move_commands() {
    local commands; commands=()
    _describe -t commands 'aoe group move commands' commands "$@"
}
(( $+functions[_aoe__help_commands] )) ||
_aoe__help_commands() {
    local commands; commands=(
'add:Add a new session' \
'init:Initialize .agent-of-empires/config.toml in a repository' \
'list:List all sessions' \
'remove:Remove a session' \
'send:Send a message to a running agent session' \
'status:Show session status summary' \
'session:Manage session lifecycle (start, stop, attach, etc.)' \
'group:Manage groups for organizing sessions' \
'profile:Manage profiles (separate workspaces)' \
'worktree:Manage git worktrees for parallel development' \
'tmux:tmux integration utilities' \
'sounds:Manage sound effects for agent state transitions' \
'theme:Manage color themes (list, export, customize)' \
'uninstall:Uninstall Agent of Empires' \
'completion:Generate shell completions' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe help commands' commands "$@"
}
(( $+functions[_aoe__help__add_commands] )) ||
_aoe__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help add commands' commands "$@"
}
(( $+functions[_aoe__help__completion_commands] )) ||
_aoe__help__completion_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help completion commands' commands "$@"
}
(( $+functions[_aoe__help__group_commands] )) ||
_aoe__help__group_commands() {
    local commands; commands=(
'list:List all groups' \
'create:Create a new group' \
'delete:Delete a group' \
'move:Move session to group' \
    )
    _describe -t commands 'aoe help group commands' commands "$@"
}
(( $+functions[_aoe__help__group__create_commands] )) ||
_aoe__help__group__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help group create commands' commands "$@"
}
(( $+functions[_aoe__help__group__delete_commands] )) ||
_aoe__help__group__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help group delete commands' commands "$@"
}
(( $+functions[_aoe__help__group__list_commands] )) ||
_aoe__help__group__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help group list commands' commands "$@"
}
(( $+functions[_aoe__help__group__move_commands] )) ||
_aoe__help__group__move_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help group move commands' commands "$@"
}
(( $+functions[_aoe__help__help_commands] )) ||
_aoe__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help help commands' commands "$@"
}
(( $+functions[_aoe__help__init_commands] )) ||
_aoe__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help init commands' commands "$@"
}
(( $+functions[_aoe__help__list_commands] )) ||
_aoe__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help list commands' commands "$@"
}
(( $+functions[_aoe__help__profile_commands] )) ||
_aoe__help__profile_commands() {
    local commands; commands=(
'list:List all profiles' \
'create:Create a new profile' \
'delete:Delete a profile' \
'rename:Rename a profile' \
'default:Show or set default profile' \
    )
    _describe -t commands 'aoe help profile commands' commands "$@"
}
(( $+functions[_aoe__help__profile__create_commands] )) ||
_aoe__help__profile__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help profile create commands' commands "$@"
}
(( $+functions[_aoe__help__profile__default_commands] )) ||
_aoe__help__profile__default_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help profile default commands' commands "$@"
}
(( $+functions[_aoe__help__profile__delete_commands] )) ||
_aoe__help__profile__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help profile delete commands' commands "$@"
}
(( $+functions[_aoe__help__profile__list_commands] )) ||
_aoe__help__profile__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help profile list commands' commands "$@"
}
(( $+functions[_aoe__help__profile__rename_commands] )) ||
_aoe__help__profile__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help profile rename commands' commands "$@"
}
(( $+functions[_aoe__help__remove_commands] )) ||
_aoe__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help remove commands' commands "$@"
}
(( $+functions[_aoe__help__send_commands] )) ||
_aoe__help__send_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help send commands' commands "$@"
}
(( $+functions[_aoe__help__session_commands] )) ||
_aoe__help__session_commands() {
    local commands; commands=(
'start:Start a session'\''s tmux process' \
'stop:Stop session process' \
'restart:Restart session' \
'attach:Attach to session interactively' \
'show:Show session details' \
'rename:Rename a session' \
'capture:Capture tmux pane output' \
'current:Auto-detect current session' \
    )
    _describe -t commands 'aoe help session commands' commands "$@"
}
(( $+functions[_aoe__help__session__attach_commands] )) ||
_aoe__help__session__attach_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session attach commands' commands "$@"
}
(( $+functions[_aoe__help__session__capture_commands] )) ||
_aoe__help__session__capture_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session capture commands' commands "$@"
}
(( $+functions[_aoe__help__session__current_commands] )) ||
_aoe__help__session__current_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session current commands' commands "$@"
}
(( $+functions[_aoe__help__session__rename_commands] )) ||
_aoe__help__session__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session rename commands' commands "$@"
}
(( $+functions[_aoe__help__session__restart_commands] )) ||
_aoe__help__session__restart_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session restart commands' commands "$@"
}
(( $+functions[_aoe__help__session__show_commands] )) ||
_aoe__help__session__show_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session show commands' commands "$@"
}
(( $+functions[_aoe__help__session__start_commands] )) ||
_aoe__help__session__start_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session start commands' commands "$@"
}
(( $+functions[_aoe__help__session__stop_commands] )) ||
_aoe__help__session__stop_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help session stop commands' commands "$@"
}
(( $+functions[_aoe__help__sounds_commands] )) ||
_aoe__help__sounds_commands() {
    local commands; commands=(
'install:Install bundled sound effects' \
'list:List currently installed sounds' \
'test:Test a sound by playing it' \
    )
    _describe -t commands 'aoe help sounds commands' commands "$@"
}
(( $+functions[_aoe__help__sounds__install_commands] )) ||
_aoe__help__sounds__install_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help sounds install commands' commands "$@"
}
(( $+functions[_aoe__help__sounds__list_commands] )) ||
_aoe__help__sounds__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help sounds list commands' commands "$@"
}
(( $+functions[_aoe__help__sounds__test_commands] )) ||
_aoe__help__sounds__test_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help sounds test commands' commands "$@"
}
(( $+functions[_aoe__help__status_commands] )) ||
_aoe__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help status commands' commands "$@"
}
(( $+functions[_aoe__help__theme_commands] )) ||
_aoe__help__theme_commands() {
    local commands; commands=(
'list:List all available themes (built-in and custom)' \
'export:Export a built-in theme as a TOML file for customization' \
'dir:Show the custom themes directory path' \
    )
    _describe -t commands 'aoe help theme commands' commands "$@"
}
(( $+functions[_aoe__help__theme__dir_commands] )) ||
_aoe__help__theme__dir_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help theme dir commands' commands "$@"
}
(( $+functions[_aoe__help__theme__export_commands] )) ||
_aoe__help__theme__export_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help theme export commands' commands "$@"
}
(( $+functions[_aoe__help__theme__list_commands] )) ||
_aoe__help__theme__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help theme list commands' commands "$@"
}
(( $+functions[_aoe__help__tmux_commands] )) ||
_aoe__help__tmux_commands() {
    local commands; commands=(
'status:Output session info for use in custom tmux status bar' \
    )
    _describe -t commands 'aoe help tmux commands' commands "$@"
}
(( $+functions[_aoe__help__tmux__status_commands] )) ||
_aoe__help__tmux__status_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help tmux status commands' commands "$@"
}
(( $+functions[_aoe__help__uninstall_commands] )) ||
_aoe__help__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help uninstall commands' commands "$@"
}
(( $+functions[_aoe__help__worktree_commands] )) ||
_aoe__help__worktree_commands() {
    local commands; commands=(
'list:List all worktrees in current repository' \
'info:Show worktree information for a session' \
'cleanup:Cleanup orphaned worktrees' \
    )
    _describe -t commands 'aoe help worktree commands' commands "$@"
}
(( $+functions[_aoe__help__worktree__cleanup_commands] )) ||
_aoe__help__worktree__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help worktree cleanup commands' commands "$@"
}
(( $+functions[_aoe__help__worktree__info_commands] )) ||
_aoe__help__worktree__info_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help worktree info commands' commands "$@"
}
(( $+functions[_aoe__help__worktree__list_commands] )) ||
_aoe__help__worktree__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe help worktree list commands' commands "$@"
}
(( $+functions[_aoe__init_commands] )) ||
_aoe__init_commands() {
    local commands; commands=()
    _describe -t commands 'aoe init commands' commands "$@"
}
(( $+functions[_aoe__list_commands] )) ||
_aoe__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe list commands' commands "$@"
}
(( $+functions[_aoe__profile_commands] )) ||
_aoe__profile_commands() {
    local commands; commands=(
'list:List all profiles' \
'create:Create a new profile' \
'delete:Delete a profile' \
'rename:Rename a profile' \
'default:Show or set default profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe profile commands' commands "$@"
}
(( $+functions[_aoe__profile__create_commands] )) ||
_aoe__profile__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile create commands' commands "$@"
}
(( $+functions[_aoe__profile__default_commands] )) ||
_aoe__profile__default_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile default commands' commands "$@"
}
(( $+functions[_aoe__profile__delete_commands] )) ||
_aoe__profile__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile delete commands' commands "$@"
}
(( $+functions[_aoe__profile__help_commands] )) ||
_aoe__profile__help_commands() {
    local commands; commands=(
'list:List all profiles' \
'create:Create a new profile' \
'delete:Delete a profile' \
'rename:Rename a profile' \
'default:Show or set default profile' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe profile help commands' commands "$@"
}
(( $+functions[_aoe__profile__help__create_commands] )) ||
_aoe__profile__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help create commands' commands "$@"
}
(( $+functions[_aoe__profile__help__default_commands] )) ||
_aoe__profile__help__default_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help default commands' commands "$@"
}
(( $+functions[_aoe__profile__help__delete_commands] )) ||
_aoe__profile__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help delete commands' commands "$@"
}
(( $+functions[_aoe__profile__help__help_commands] )) ||
_aoe__profile__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help help commands' commands "$@"
}
(( $+functions[_aoe__profile__help__list_commands] )) ||
_aoe__profile__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help list commands' commands "$@"
}
(( $+functions[_aoe__profile__help__rename_commands] )) ||
_aoe__profile__help__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile help rename commands' commands "$@"
}
(( $+functions[_aoe__profile__list_commands] )) ||
_aoe__profile__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile list commands' commands "$@"
}
(( $+functions[_aoe__profile__rename_commands] )) ||
_aoe__profile__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe profile rename commands' commands "$@"
}
(( $+functions[_aoe__remove_commands] )) ||
_aoe__remove_commands() {
    local commands; commands=()
    _describe -t commands 'aoe remove commands' commands "$@"
}
(( $+functions[_aoe__send_commands] )) ||
_aoe__send_commands() {
    local commands; commands=()
    _describe -t commands 'aoe send commands' commands "$@"
}
(( $+functions[_aoe__session_commands] )) ||
_aoe__session_commands() {
    local commands; commands=(
'start:Start a session'\''s tmux process' \
'stop:Stop session process' \
'restart:Restart session' \
'attach:Attach to session interactively' \
'show:Show session details' \
'rename:Rename a session' \
'capture:Capture tmux pane output' \
'current:Auto-detect current session' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe session commands' commands "$@"
}
(( $+functions[_aoe__session__attach_commands] )) ||
_aoe__session__attach_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session attach commands' commands "$@"
}
(( $+functions[_aoe__session__capture_commands] )) ||
_aoe__session__capture_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session capture commands' commands "$@"
}
(( $+functions[_aoe__session__current_commands] )) ||
_aoe__session__current_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session current commands' commands "$@"
}
(( $+functions[_aoe__session__help_commands] )) ||
_aoe__session__help_commands() {
    local commands; commands=(
'start:Start a session'\''s tmux process' \
'stop:Stop session process' \
'restart:Restart session' \
'attach:Attach to session interactively' \
'show:Show session details' \
'rename:Rename a session' \
'capture:Capture tmux pane output' \
'current:Auto-detect current session' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe session help commands' commands "$@"
}
(( $+functions[_aoe__session__help__attach_commands] )) ||
_aoe__session__help__attach_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help attach commands' commands "$@"
}
(( $+functions[_aoe__session__help__capture_commands] )) ||
_aoe__session__help__capture_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help capture commands' commands "$@"
}
(( $+functions[_aoe__session__help__current_commands] )) ||
_aoe__session__help__current_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help current commands' commands "$@"
}
(( $+functions[_aoe__session__help__help_commands] )) ||
_aoe__session__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help help commands' commands "$@"
}
(( $+functions[_aoe__session__help__rename_commands] )) ||
_aoe__session__help__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help rename commands' commands "$@"
}
(( $+functions[_aoe__session__help__restart_commands] )) ||
_aoe__session__help__restart_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help restart commands' commands "$@"
}
(( $+functions[_aoe__session__help__show_commands] )) ||
_aoe__session__help__show_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help show commands' commands "$@"
}
(( $+functions[_aoe__session__help__start_commands] )) ||
_aoe__session__help__start_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help start commands' commands "$@"
}
(( $+functions[_aoe__session__help__stop_commands] )) ||
_aoe__session__help__stop_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session help stop commands' commands "$@"
}
(( $+functions[_aoe__session__rename_commands] )) ||
_aoe__session__rename_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session rename commands' commands "$@"
}
(( $+functions[_aoe__session__restart_commands] )) ||
_aoe__session__restart_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session restart commands' commands "$@"
}
(( $+functions[_aoe__session__show_commands] )) ||
_aoe__session__show_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session show commands' commands "$@"
}
(( $+functions[_aoe__session__start_commands] )) ||
_aoe__session__start_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session start commands' commands "$@"
}
(( $+functions[_aoe__session__stop_commands] )) ||
_aoe__session__stop_commands() {
    local commands; commands=()
    _describe -t commands 'aoe session stop commands' commands "$@"
}
(( $+functions[_aoe__sounds_commands] )) ||
_aoe__sounds_commands() {
    local commands; commands=(
'install:Install bundled sound effects' \
'list:List currently installed sounds' \
'test:Test a sound by playing it' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe sounds commands' commands "$@"
}
(( $+functions[_aoe__sounds__help_commands] )) ||
_aoe__sounds__help_commands() {
    local commands; commands=(
'install:Install bundled sound effects' \
'list:List currently installed sounds' \
'test:Test a sound by playing it' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe sounds help commands' commands "$@"
}
(( $+functions[_aoe__sounds__help__help_commands] )) ||
_aoe__sounds__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds help help commands' commands "$@"
}
(( $+functions[_aoe__sounds__help__install_commands] )) ||
_aoe__sounds__help__install_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds help install commands' commands "$@"
}
(( $+functions[_aoe__sounds__help__list_commands] )) ||
_aoe__sounds__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds help list commands' commands "$@"
}
(( $+functions[_aoe__sounds__help__test_commands] )) ||
_aoe__sounds__help__test_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds help test commands' commands "$@"
}
(( $+functions[_aoe__sounds__install_commands] )) ||
_aoe__sounds__install_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds install commands' commands "$@"
}
(( $+functions[_aoe__sounds__list_commands] )) ||
_aoe__sounds__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds list commands' commands "$@"
}
(( $+functions[_aoe__sounds__test_commands] )) ||
_aoe__sounds__test_commands() {
    local commands; commands=()
    _describe -t commands 'aoe sounds test commands' commands "$@"
}
(( $+functions[_aoe__status_commands] )) ||
_aoe__status_commands() {
    local commands; commands=()
    _describe -t commands 'aoe status commands' commands "$@"
}
(( $+functions[_aoe__theme_commands] )) ||
_aoe__theme_commands() {
    local commands; commands=(
'list:List all available themes (built-in and custom)' \
'export:Export a built-in theme as a TOML file for customization' \
'dir:Show the custom themes directory path' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe theme commands' commands "$@"
}
(( $+functions[_aoe__theme__dir_commands] )) ||
_aoe__theme__dir_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme dir commands' commands "$@"
}
(( $+functions[_aoe__theme__export_commands] )) ||
_aoe__theme__export_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme export commands' commands "$@"
}
(( $+functions[_aoe__theme__help_commands] )) ||
_aoe__theme__help_commands() {
    local commands; commands=(
'list:List all available themes (built-in and custom)' \
'export:Export a built-in theme as a TOML file for customization' \
'dir:Show the custom themes directory path' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe theme help commands' commands "$@"
}
(( $+functions[_aoe__theme__help__dir_commands] )) ||
_aoe__theme__help__dir_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme help dir commands' commands "$@"
}
(( $+functions[_aoe__theme__help__export_commands] )) ||
_aoe__theme__help__export_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme help export commands' commands "$@"
}
(( $+functions[_aoe__theme__help__help_commands] )) ||
_aoe__theme__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme help help commands' commands "$@"
}
(( $+functions[_aoe__theme__help__list_commands] )) ||
_aoe__theme__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme help list commands' commands "$@"
}
(( $+functions[_aoe__theme__list_commands] )) ||
_aoe__theme__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe theme list commands' commands "$@"
}
(( $+functions[_aoe__tmux_commands] )) ||
_aoe__tmux_commands() {
    local commands; commands=(
'status:Output session info for use in custom tmux status bar' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe tmux commands' commands "$@"
}
(( $+functions[_aoe__tmux__help_commands] )) ||
_aoe__tmux__help_commands() {
    local commands; commands=(
'status:Output session info for use in custom tmux status bar' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe tmux help commands' commands "$@"
}
(( $+functions[_aoe__tmux__help__help_commands] )) ||
_aoe__tmux__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe tmux help help commands' commands "$@"
}
(( $+functions[_aoe__tmux__help__status_commands] )) ||
_aoe__tmux__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'aoe tmux help status commands' commands "$@"
}
(( $+functions[_aoe__tmux__status_commands] )) ||
_aoe__tmux__status_commands() {
    local commands; commands=()
    _describe -t commands 'aoe tmux status commands' commands "$@"
}
(( $+functions[_aoe__uninstall_commands] )) ||
_aoe__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'aoe uninstall commands' commands "$@"
}
(( $+functions[_aoe__worktree_commands] )) ||
_aoe__worktree_commands() {
    local commands; commands=(
'list:List all worktrees in current repository' \
'info:Show worktree information for a session' \
'cleanup:Cleanup orphaned worktrees' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe worktree commands' commands "$@"
}
(( $+functions[_aoe__worktree__cleanup_commands] )) ||
_aoe__worktree__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree cleanup commands' commands "$@"
}
(( $+functions[_aoe__worktree__help_commands] )) ||
_aoe__worktree__help_commands() {
    local commands; commands=(
'list:List all worktrees in current repository' \
'info:Show worktree information for a session' \
'cleanup:Cleanup orphaned worktrees' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'aoe worktree help commands' commands "$@"
}
(( $+functions[_aoe__worktree__help__cleanup_commands] )) ||
_aoe__worktree__help__cleanup_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree help cleanup commands' commands "$@"
}
(( $+functions[_aoe__worktree__help__help_commands] )) ||
_aoe__worktree__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree help help commands' commands "$@"
}
(( $+functions[_aoe__worktree__help__info_commands] )) ||
_aoe__worktree__help__info_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree help info commands' commands "$@"
}
(( $+functions[_aoe__worktree__help__list_commands] )) ||
_aoe__worktree__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree help list commands' commands "$@"
}
(( $+functions[_aoe__worktree__info_commands] )) ||
_aoe__worktree__info_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree info commands' commands "$@"
}
(( $+functions[_aoe__worktree__list_commands] )) ||
_aoe__worktree__list_commands() {
    local commands; commands=()
    _describe -t commands 'aoe worktree list commands' commands "$@"
}

if [ "$funcstack[1]" = "_aoe" ]; then
    _aoe "$@"
else
    compdef _aoe aoe
fi
