#compdef suv

autoload -U is-at-least

_suv() {
    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[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
'-V[Print version]' \
'--version[Print version]' \
":: :_suv_commands" \
"*::: :->suvadu" \
&& ret=0
    case $state in
    (suvadu)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-command-$line[1]:"
        case $line[1] in
            (enable)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(disable)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(pause)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
'--session-id=[]:SESSION_ID:_default' \
'--command=[]:COMMAND:_default' \
'--cwd=[]:CWD:_default' \
'--exit-code=[]:EXIT_CODE:_default' \
'--started-at=[]:STARTED_AT:_default' \
'--ended-at=[]:ENDED_AT:_default' \
'--executor-type=[]:EXECUTOR_TYPE:_default' \
'--executor=[]:EXECUTOR:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':target -- Target\: '\''zsh'\'', '\''bash'\'', '\''claude-code'\'', '\''cursor'\'', '\''antigravity'\'', or '\''opencode'\'':(zsh bash claude-code cursor antigravity opencode)' \
&& ret=0
;;
(hook-claude-code)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(hook-claude-code-failure)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(hook-cursor)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(mcp-serve)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(hook-cursor-prompt)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(hook-claude-prompt)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
'--query=[Query string]:QUERY:_default' \
'--offset=[Offset (0 = most recent)]:OFFSET:_default' \
'--cwd=[Current working directory (for context-aware ranking)]:CWD:_default' \
'--prefix[Match only as prefix]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(settings)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(search)
_arguments "${_arguments_options[@]}" : \
'-q+[Optional initial query]:QUERY:_default' \
'--query=[Optional initial query]:QUERY:_default' \
'--after=[Filter by date after (ISO 8601)]:AFTER:_default' \
'--before=[Filter by date before (ISO 8601)]:BEFORE:_default' \
'--tag=[Filter by tag name]:TAG:_default' \
'--exit-code=[Filter by exit code]:EXIT_CODE:_default' \
'--executor=[Filter by executor (type or name)]:EXECUTOR:_default' \
'--field=[Search field\: command (default), cwd, session, or executor]:FIELD:(command cwd session executor)' \
'-u[Deduplicate results (only show unique commands)]' \
'--unique[Deduplicate results (only show unique commands)]' \
'--here[Filter to commands run in the current directory]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stats)
_arguments "${_arguments_options[@]}" : \
'-d+[Number of days to analyze (default\: all time)]:DAYS:_default' \
'--days=[Number of days to analyze (default\: all time)]:DAYS:_default' \
'-n+[Number of top commands/directories to show]:TOP:_default' \
'--top=[Number of top commands/directories to show]:TOP:_default' \
'--tag=[Filter by tag name]:TAG:_default' \
'--text[Output plain text instead of interactive TUI]' \
'--json[Output as JSON for scripting]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
'--session=[Replay a specific session ID]:SESSION:_default' \
'--after=[Show commands after this date (YYYY-MM-DD, "today", "yesterday")]:AFTER:_default' \
'--before=[Show commands before this date (YYYY-MM-DD, "today", "yesterday")]:BEFORE:_default' \
'--tag=[Filter by tag name]:TAG:_default' \
'--exit-code=[Filter by exit code]:EXIT_CODE:_default' \
'--executor=[Filter by executor]:EXECUTOR:_default' \
'--cwd=[Filter to a specific directory]:CWD:_default' \
'--here[Filter to commands run in the current directory]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
'--before=[Delete entries older than this date (YYYY-MM-DD)]:BEFORE:_default' \
'--regex[Treat pattern as a Regular Expression]' \
'--dry-run[Dry run (show what would be deleted without deleting)]' \
'-y[Skip confirmation prompt]' \
'--yes[Skip confirmation prompt]' \
'-h[Print help]' \
'--help[Print help]' \
':pattern -- Pattern to match (substring by default):_default' \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_suv__tag_commands" \
"*::: :->tag" \
&& ret=0

    case $state in
    (tag)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-tag-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
'-d+[Optional description]:DESCRIPTION:_default' \
'--description=[Optional description]:DESCRIPTION:_default' \
'-h[Print help]' \
'--help[Print help]' \
'::name -- Name of the tag (lowercase):_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(associate)
_arguments "${_arguments_options[@]}" : \
'--session-id=[Optional session ID (defaults to current)]:SESSION_ID:_default' \
'-h[Print help]' \
'--help[Print help]' \
':tag_name -- Name of the tag to associate:_default' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'--new-name=[New name for the tag (optional)]:NEW_NAME:_default' \
'-d+[New description (optional)]:DESCRIPTION:_default' \
'--description=[New description (optional)]:DESCRIPTION:_default' \
'-h[Print help]' \
'--help[Print help]' \
':name -- Current name of the tag:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_suv__tag__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-tag-help-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(associate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(note)
_arguments "${_arguments_options[@]}" : \
'-c+[Note content (omit to view existing note)]:CONTENT:_default' \
'--content=[Note content (omit to view existing note)]:CONTENT:_default' \
'--delete[Delete the note]' \
'-h[Print help]' \
'--help[Print help]' \
':entry_id -- Entry ID to annotate:_default' \
&& ret=0
;;
(bookmark)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_suv__bookmark_commands" \
"*::: :->bookmark" \
&& ret=0

    case $state in
    (bookmark)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-bookmark-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'-l+[Optional label/description]:LABEL:_default' \
'--label=[Optional label/description]:LABEL:_default' \
'-h[Print help]' \
'--help[Print help]' \
':command -- The command text to bookmark:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--json[Output as JSON for scripting]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':command -- The command text to un-bookmark:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_suv__bookmark__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-bookmark-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(alias)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_suv__alias_commands" \
"*::: :->alias" \
&& ret=0

    case $state in
    (alias)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-alias-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name -- Alias name (alphanumeric, hyphens, underscores):_default' \
':command -- The command the alias expands to:_default' \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':name -- Alias name to remove:_default' \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
'--json[Output as JSON for scripting]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(apply)
_arguments "${_arguments_options[@]}" : \
'--stdout[Print alias lines to stdout instead of writing to file]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(add-suggested)
_arguments "${_arguments_options[@]}" : \
'-c+[Minimum times a command must appear (default\: 10)]:MIN_COUNT:_default' \
'--min-count=[Minimum times a command must appear (default\: 10)]:MIN_COUNT:_default' \
'-l+[Minimum character length of command (default\: 12)]:MIN_LENGTH:_default' \
'--min-length=[Minimum character length of command (default\: 12)]:MIN_LENGTH:_default' \
'-d+[Only analyze last N days]:DAYS:_default' \
'--days=[Only analyze last N days]:DAYS:_default' \
'-n+[Max suggestions to show (default\: 20)]:TOP:_default' \
'--top=[Max suggestions to show (default\: 20)]:TOP:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(suggest)
_arguments "${_arguments_options[@]}" : \
'-c+[Minimum times a command must appear (default\: 10)]:MIN_COUNT:_default' \
'--min-count=[Minimum times a command must appear (default\: 10)]:MIN_COUNT:_default' \
'-l+[Minimum character length of command (default\: 12)]:MIN_LENGTH:_default' \
'--min-length=[Minimum character length of command (default\: 12)]:MIN_LENGTH:_default' \
'-d+[Only analyze last N days]:DAYS:_default' \
'--days=[Only analyze last N days]:DAYS:_default' \
'-n+[Max suggestions to show (default\: 20)]:TOP:_default' \
'--top=[Max suggestions to show (default\: 20)]:TOP:_default' \
'--text[Skip TUI, print suggestions to stdout]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_suv__alias__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-alias-help-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(apply)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-suggested)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(suggest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(session)
_arguments "${_arguments_options[@]}" : \
'--after=[Only show sessions after this date]:AFTER:_default' \
'--tag=[Filter by tag name]:TAG:_default' \
'-n+[Max sessions to show (default\: 50)]:LIMIT:_default' \
'--limit=[Max sessions to show (default\: 50)]:LIMIT:_default' \
'--list[List sessions and exit (no TUI)]' \
'-h[Print help]' \
'--help[Print help]' \
'::session_id -- Session ID or prefix (omit for interactive picker):_default' \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
':shell -- Shell to generate completions for (zsh, bash, fish):(bash elvish fish powershell zsh)' \
&& ret=0
;;
(man)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
'--format=[Output format\: json, jsonl (default), or csv]:FORMAT:(json jsonl csv)' \
'--after=[Only export entries after this date (YYYY-MM-DD)]:AFTER:_default' \
'--before=[Only export entries before this date (YYYY-MM-DD)]:BEFORE:_default' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
'--from=[Source format\: jsonl (default) or zsh-history]:FROM:(jsonl zsh-history)' \
'--dry-run[Preview import without writing to database]' \
'-h[Print help]' \
'--help[Print help]' \
':file -- Path to the file to import:_default' \
&& ret=0
;;
(agent)
_arguments "${_arguments_options[@]}" : \
'-h[Print help]' \
'--help[Print help]' \
":: :_suv__agent_commands" \
"*::: :->agent" \
&& ret=0

    case $state in
    (agent)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-agent-command-$line[1]:"
        case $line[1] in
            (report)
_arguments "${_arguments_options[@]}" : \
'--after=[Start date (default\: today)]:AFTER:_default' \
'--before=[End date]:BEFORE:_default' \
'--executor=[Filter to a specific agent (e.g. claude-code, cursor)]:EXECUTOR:_default' \
'--format=[Output format\: text, markdown, or json]:FORMAT:(text markdown json)' \
'--here[Filter to commands run in the current directory]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(dashboard)
_arguments "${_arguments_options[@]}" : \
'--after=[Start date (default\: today)]:AFTER:_default' \
'--executor=[Filter to a specific agent (e.g. claude-code, cursor)]:EXECUTOR:_default' \
'--here[Filter to commands run in the current directory]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(prompts)
_arguments "${_arguments_options[@]}" : \
'--after=[Start date (default\: 7 days ago)]:AFTER:_default' \
'--executor=[Filter to a specific agent (e.g. claude-code, cursor)]:EXECUTOR:_default' \
'--here[Filter to commands run in the current directory]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(stats)
_arguments "${_arguments_options[@]}" : \
'-d+[Number of days to analyze (default\: 30)]:DAYS:_default' \
'--days=[Number of days to analyze (default\: 30)]:DAYS:_default' \
'--executor=[Filter to a specific agent]:EXECUTOR:_default' \
'--text[Output plain text instead of interactive TUI]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_suv__agent__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-agent-help-command-$line[1]:"
        case $line[1] in
            (report)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dashboard)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prompts)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stats)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
;;
(gc)
_arguments "${_arguments_options[@]}" : \
'--dry-run[Preview what would be deleted without deleting]' \
'--vacuum[Run VACUUM after cleanup to compact the database file]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
;;
(wrap)
_arguments "${_arguments_options[@]}" : \
'--executor-type=[Executor type (e.g., "agent", "bot", "ci")]:EXECUTOR_TYPE:_default' \
'--executor=[Executor name (e.g., "claude-code", "codex")]:EXECUTOR:_default' \
'-h[Print help]' \
'--help[Print help]' \
'*::command -- The command to execute:_default' \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
":: :_suv__help_commands" \
"*::: :->help" \
&& ret=0

    case $state in
    (help)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-help-command-$line[1]:"
        case $line[1] in
            (enable)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(disable)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(pause)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(init)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hook-claude-code)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hook-claude-code-failure)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hook-cursor)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(mcp-serve)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hook-cursor-prompt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(hook-claude-prompt)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(get)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(settings)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(search)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stats)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(replay)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(status)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(delete)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(tag)
_arguments "${_arguments_options[@]}" : \
":: :_suv__help__tag_commands" \
"*::: :->tag" \
&& ret=0

    case $state in
    (tag)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-help-tag-command-$line[1]:"
        case $line[1] in
            (create)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(associate)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(note)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(bookmark)
_arguments "${_arguments_options[@]}" : \
":: :_suv__help__bookmark_commands" \
"*::: :->bookmark" \
&& ret=0

    case $state in
    (bookmark)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-help-bookmark-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(alias)
_arguments "${_arguments_options[@]}" : \
":: :_suv__help__alias_commands" \
"*::: :->alias" \
&& ret=0

    case $state in
    (alias)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-help-alias-command-$line[1]:"
        case $line[1] in
            (add)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(remove)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(list)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(apply)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(add-suggested)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(suggest)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(session)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(uninstall)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(version)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(completions)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(man)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(update)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(export)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(import)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(agent)
_arguments "${_arguments_options[@]}" : \
":: :_suv__help__agent_commands" \
"*::: :->agent" \
&& ret=0

    case $state in
    (agent)
        words=($line[1] "${words[@]}")
        (( CURRENT += 1 ))
        curcontext="${curcontext%:*:*}:suv-help-agent-command-$line[1]:"
        case $line[1] in
            (report)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(dashboard)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(prompts)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(stats)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
(gc)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(wrap)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
(help)
_arguments "${_arguments_options[@]}" : \
&& ret=0
;;
        esac
    ;;
esac
;;
        esac
    ;;
esac
}

(( $+functions[_suv_commands] )) ||
_suv_commands() {
    local commands; commands=(
'enable:Enable history recording globally (persistent)' \
'disable:Disable history recording globally (persistent)' \
'pause:Pause history recording for current shell session Usage\: eval \$(suv pause)' \
'add:Add a command to history' \
'init:Set up shell hooks or AI tool integrations' \
'hook-claude-code:Process a Claude Code \`PostToolUse\` hook event (reads JSON from stdin)' \
'hook-claude-code-failure:Process a Claude Code \`PostToolUseFailure\` hook event (reads JSON from stdin)' \
'hook-cursor:Process a Cursor \`afterShellExecution\` hook event (reads JSON from stdin)' \
'mcp-serve:Start the MCP server (reads JSON-RPC from stdin, writes to stdout)' \
'hook-cursor-prompt:Process a Cursor \`beforeSubmitPrompt\` hook event (reads JSON from stdin)' \
'hook-claude-prompt:Process a Claude Code \`UserPromptSubmit\` hook event (reads JSON from stdin)' \
'get:' \
'settings:Configure Suvadu (interactive UI)' \
'search:Interactive search through history (Ctrl+R replacement)' \
'stats:Show usage analytics and trends' \
'replay:Replay commands chronologically (session timeline or time range)' \
'status:Check current recording status' \
'delete:Bulk delete commands matching a pattern' \
'tag:Manage tags' \
'note:Annotate a history entry with a note' \
'bookmark:Manage bookmarked commands' \
'alias:Manage shell aliases' \
'session:Interactive session timeline view' \
'uninstall:Uninstall Suvadu (remove binaries from system)' \
'version:Show version and build info' \
'completions:Generate shell completions' \
'man:Generate man page to stdout' \
'update:Update to the latest version' \
'export:Export history to a file (JSON, JSONL, or CSV format)' \
'import:Import history from a file (JSONL or Zsh history format)' \
'agent:Monitor and audit AI agent command activity' \
'gc:Remove orphaned data and compact the database' \
'wrap:Execute a command and record it in Suvadu history Useful for AI agents and scripts that don'\''t load shell hooks' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv commands' commands "$@"
}
(( $+functions[_suv__add_commands] )) ||
_suv__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv add commands' commands "$@"
}
(( $+functions[_suv__agent_commands] )) ||
_suv__agent_commands() {
    local commands; commands=(
'report:Generate a risk-assessed activity report for AI agent commands' \
'dashboard:Interactive agent activity dashboard' \
'prompts:Browse agent prompts and the commands they triggered' \
'stats:Show agent-specific usage analytics' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv agent commands' commands "$@"
}
(( $+functions[_suv__agent__dashboard_commands] )) ||
_suv__agent__dashboard_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent dashboard commands' commands "$@"
}
(( $+functions[_suv__agent__help_commands] )) ||
_suv__agent__help_commands() {
    local commands; commands=(
'report:Generate a risk-assessed activity report for AI agent commands' \
'dashboard:Interactive agent activity dashboard' \
'prompts:Browse agent prompts and the commands they triggered' \
'stats:Show agent-specific usage analytics' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv agent help commands' commands "$@"
}
(( $+functions[_suv__agent__help__dashboard_commands] )) ||
_suv__agent__help__dashboard_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent help dashboard commands' commands "$@"
}
(( $+functions[_suv__agent__help__help_commands] )) ||
_suv__agent__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent help help commands' commands "$@"
}
(( $+functions[_suv__agent__help__prompts_commands] )) ||
_suv__agent__help__prompts_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent help prompts commands' commands "$@"
}
(( $+functions[_suv__agent__help__report_commands] )) ||
_suv__agent__help__report_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent help report commands' commands "$@"
}
(( $+functions[_suv__agent__help__stats_commands] )) ||
_suv__agent__help__stats_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent help stats commands' commands "$@"
}
(( $+functions[_suv__agent__prompts_commands] )) ||
_suv__agent__prompts_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent prompts commands' commands "$@"
}
(( $+functions[_suv__agent__report_commands] )) ||
_suv__agent__report_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent report commands' commands "$@"
}
(( $+functions[_suv__agent__stats_commands] )) ||
_suv__agent__stats_commands() {
    local commands; commands=()
    _describe -t commands 'suv agent stats commands' commands "$@"
}
(( $+functions[_suv__alias_commands] )) ||
_suv__alias_commands() {
    local commands; commands=(
'add:Register a shell alias' \
'remove:Remove a managed alias' \
'list:List all managed aliases' \
'apply:Write aliases to a sourceable shell file (or stdout)' \
'add-suggested:Interactively pick from suggestions and store to DB' \
'suggest:Suggest aliases for frequently-typed long commands' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv alias commands' commands "$@"
}
(( $+functions[_suv__alias__add_commands] )) ||
_suv__alias__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias add commands' commands "$@"
}
(( $+functions[_suv__alias__add-suggested_commands] )) ||
_suv__alias__add-suggested_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias add-suggested commands' commands "$@"
}
(( $+functions[_suv__alias__apply_commands] )) ||
_suv__alias__apply_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias apply commands' commands "$@"
}
(( $+functions[_suv__alias__help_commands] )) ||
_suv__alias__help_commands() {
    local commands; commands=(
'add:Register a shell alias' \
'remove:Remove a managed alias' \
'list:List all managed aliases' \
'apply:Write aliases to a sourceable shell file (or stdout)' \
'add-suggested:Interactively pick from suggestions and store to DB' \
'suggest:Suggest aliases for frequently-typed long commands' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv alias help commands' commands "$@"
}
(( $+functions[_suv__alias__help__add_commands] )) ||
_suv__alias__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help add commands' commands "$@"
}
(( $+functions[_suv__alias__help__add-suggested_commands] )) ||
_suv__alias__help__add-suggested_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help add-suggested commands' commands "$@"
}
(( $+functions[_suv__alias__help__apply_commands] )) ||
_suv__alias__help__apply_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help apply commands' commands "$@"
}
(( $+functions[_suv__alias__help__help_commands] )) ||
_suv__alias__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help help commands' commands "$@"
}
(( $+functions[_suv__alias__help__list_commands] )) ||
_suv__alias__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help list commands' commands "$@"
}
(( $+functions[_suv__alias__help__remove_commands] )) ||
_suv__alias__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help remove commands' commands "$@"
}
(( $+functions[_suv__alias__help__suggest_commands] )) ||
_suv__alias__help__suggest_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias help suggest commands' commands "$@"
}
(( $+functions[_suv__alias__list_commands] )) ||
_suv__alias__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias list commands' commands "$@"
}
(( $+functions[_suv__alias__remove_commands] )) ||
_suv__alias__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias remove commands' commands "$@"
}
(( $+functions[_suv__alias__suggest_commands] )) ||
_suv__alias__suggest_commands() {
    local commands; commands=()
    _describe -t commands 'suv alias suggest commands' commands "$@"
}
(( $+functions[_suv__bookmark_commands] )) ||
_suv__bookmark_commands() {
    local commands; commands=(
'add:Bookmark a command for quick recall' \
'list:List all bookmarked commands' \
'remove:Remove a bookmark' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv bookmark commands' commands "$@"
}
(( $+functions[_suv__bookmark__add_commands] )) ||
_suv__bookmark__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark add commands' commands "$@"
}
(( $+functions[_suv__bookmark__help_commands] )) ||
_suv__bookmark__help_commands() {
    local commands; commands=(
'add:Bookmark a command for quick recall' \
'list:List all bookmarked commands' \
'remove:Remove a bookmark' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv bookmark help commands' commands "$@"
}
(( $+functions[_suv__bookmark__help__add_commands] )) ||
_suv__bookmark__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark help add commands' commands "$@"
}
(( $+functions[_suv__bookmark__help__help_commands] )) ||
_suv__bookmark__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark help help commands' commands "$@"
}
(( $+functions[_suv__bookmark__help__list_commands] )) ||
_suv__bookmark__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark help list commands' commands "$@"
}
(( $+functions[_suv__bookmark__help__remove_commands] )) ||
_suv__bookmark__help__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark help remove commands' commands "$@"
}
(( $+functions[_suv__bookmark__list_commands] )) ||
_suv__bookmark__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark list commands' commands "$@"
}
(( $+functions[_suv__bookmark__remove_commands] )) ||
_suv__bookmark__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv bookmark remove commands' commands "$@"
}
(( $+functions[_suv__completions_commands] )) ||
_suv__completions_commands() {
    local commands; commands=()
    _describe -t commands 'suv completions commands' commands "$@"
}
(( $+functions[_suv__delete_commands] )) ||
_suv__delete_commands() {
    local commands; commands=()
    _describe -t commands 'suv delete commands' commands "$@"
}
(( $+functions[_suv__disable_commands] )) ||
_suv__disable_commands() {
    local commands; commands=()
    _describe -t commands 'suv disable commands' commands "$@"
}
(( $+functions[_suv__enable_commands] )) ||
_suv__enable_commands() {
    local commands; commands=()
    _describe -t commands 'suv enable commands' commands "$@"
}
(( $+functions[_suv__export_commands] )) ||
_suv__export_commands() {
    local commands; commands=()
    _describe -t commands 'suv export commands' commands "$@"
}
(( $+functions[_suv__gc_commands] )) ||
_suv__gc_commands() {
    local commands; commands=()
    _describe -t commands 'suv gc commands' commands "$@"
}
(( $+functions[_suv__get_commands] )) ||
_suv__get_commands() {
    local commands; commands=()
    _describe -t commands 'suv get commands' commands "$@"
}
(( $+functions[_suv__help_commands] )) ||
_suv__help_commands() {
    local commands; commands=(
'enable:Enable history recording globally (persistent)' \
'disable:Disable history recording globally (persistent)' \
'pause:Pause history recording for current shell session Usage\: eval \$(suv pause)' \
'add:Add a command to history' \
'init:Set up shell hooks or AI tool integrations' \
'hook-claude-code:Process a Claude Code \`PostToolUse\` hook event (reads JSON from stdin)' \
'hook-claude-code-failure:Process a Claude Code \`PostToolUseFailure\` hook event (reads JSON from stdin)' \
'hook-cursor:Process a Cursor \`afterShellExecution\` hook event (reads JSON from stdin)' \
'mcp-serve:Start the MCP server (reads JSON-RPC from stdin, writes to stdout)' \
'hook-cursor-prompt:Process a Cursor \`beforeSubmitPrompt\` hook event (reads JSON from stdin)' \
'hook-claude-prompt:Process a Claude Code \`UserPromptSubmit\` hook event (reads JSON from stdin)' \
'get:' \
'settings:Configure Suvadu (interactive UI)' \
'search:Interactive search through history (Ctrl+R replacement)' \
'stats:Show usage analytics and trends' \
'replay:Replay commands chronologically (session timeline or time range)' \
'status:Check current recording status' \
'delete:Bulk delete commands matching a pattern' \
'tag:Manage tags' \
'note:Annotate a history entry with a note' \
'bookmark:Manage bookmarked commands' \
'alias:Manage shell aliases' \
'session:Interactive session timeline view' \
'uninstall:Uninstall Suvadu (remove binaries from system)' \
'version:Show version and build info' \
'completions:Generate shell completions' \
'man:Generate man page to stdout' \
'update:Update to the latest version' \
'export:Export history to a file (JSON, JSONL, or CSV format)' \
'import:Import history from a file (JSONL or Zsh history format)' \
'agent:Monitor and audit AI agent command activity' \
'gc:Remove orphaned data and compact the database' \
'wrap:Execute a command and record it in Suvadu history Useful for AI agents and scripts that don'\''t load shell hooks' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv help commands' commands "$@"
}
(( $+functions[_suv__help__add_commands] )) ||
_suv__help__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv help add commands' commands "$@"
}
(( $+functions[_suv__help__agent_commands] )) ||
_suv__help__agent_commands() {
    local commands; commands=(
'report:Generate a risk-assessed activity report for AI agent commands' \
'dashboard:Interactive agent activity dashboard' \
'prompts:Browse agent prompts and the commands they triggered' \
'stats:Show agent-specific usage analytics' \
    )
    _describe -t commands 'suv help agent commands' commands "$@"
}
(( $+functions[_suv__help__agent__dashboard_commands] )) ||
_suv__help__agent__dashboard_commands() {
    local commands; commands=()
    _describe -t commands 'suv help agent dashboard commands' commands "$@"
}
(( $+functions[_suv__help__agent__prompts_commands] )) ||
_suv__help__agent__prompts_commands() {
    local commands; commands=()
    _describe -t commands 'suv help agent prompts commands' commands "$@"
}
(( $+functions[_suv__help__agent__report_commands] )) ||
_suv__help__agent__report_commands() {
    local commands; commands=()
    _describe -t commands 'suv help agent report commands' commands "$@"
}
(( $+functions[_suv__help__agent__stats_commands] )) ||
_suv__help__agent__stats_commands() {
    local commands; commands=()
    _describe -t commands 'suv help agent stats commands' commands "$@"
}
(( $+functions[_suv__help__alias_commands] )) ||
_suv__help__alias_commands() {
    local commands; commands=(
'add:Register a shell alias' \
'remove:Remove a managed alias' \
'list:List all managed aliases' \
'apply:Write aliases to a sourceable shell file (or stdout)' \
'add-suggested:Interactively pick from suggestions and store to DB' \
'suggest:Suggest aliases for frequently-typed long commands' \
    )
    _describe -t commands 'suv help alias commands' commands "$@"
}
(( $+functions[_suv__help__alias__add_commands] )) ||
_suv__help__alias__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias add commands' commands "$@"
}
(( $+functions[_suv__help__alias__add-suggested_commands] )) ||
_suv__help__alias__add-suggested_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias add-suggested commands' commands "$@"
}
(( $+functions[_suv__help__alias__apply_commands] )) ||
_suv__help__alias__apply_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias apply commands' commands "$@"
}
(( $+functions[_suv__help__alias__list_commands] )) ||
_suv__help__alias__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias list commands' commands "$@"
}
(( $+functions[_suv__help__alias__remove_commands] )) ||
_suv__help__alias__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias remove commands' commands "$@"
}
(( $+functions[_suv__help__alias__suggest_commands] )) ||
_suv__help__alias__suggest_commands() {
    local commands; commands=()
    _describe -t commands 'suv help alias suggest commands' commands "$@"
}
(( $+functions[_suv__help__bookmark_commands] )) ||
_suv__help__bookmark_commands() {
    local commands; commands=(
'add:Bookmark a command for quick recall' \
'list:List all bookmarked commands' \
'remove:Remove a bookmark' \
    )
    _describe -t commands 'suv help bookmark commands' commands "$@"
}
(( $+functions[_suv__help__bookmark__add_commands] )) ||
_suv__help__bookmark__add_commands() {
    local commands; commands=()
    _describe -t commands 'suv help bookmark add commands' commands "$@"
}
(( $+functions[_suv__help__bookmark__list_commands] )) ||
_suv__help__bookmark__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv help bookmark list commands' commands "$@"
}
(( $+functions[_suv__help__bookmark__remove_commands] )) ||
_suv__help__bookmark__remove_commands() {
    local commands; commands=()
    _describe -t commands 'suv help bookmark remove commands' commands "$@"
}
(( $+functions[_suv__help__completions_commands] )) ||
_suv__help__completions_commands() {
    local commands; commands=()
    _describe -t commands 'suv help completions commands' commands "$@"
}
(( $+functions[_suv__help__delete_commands] )) ||
_suv__help__delete_commands() {
    local commands; commands=()
    _describe -t commands 'suv help delete commands' commands "$@"
}
(( $+functions[_suv__help__disable_commands] )) ||
_suv__help__disable_commands() {
    local commands; commands=()
    _describe -t commands 'suv help disable commands' commands "$@"
}
(( $+functions[_suv__help__enable_commands] )) ||
_suv__help__enable_commands() {
    local commands; commands=()
    _describe -t commands 'suv help enable commands' commands "$@"
}
(( $+functions[_suv__help__export_commands] )) ||
_suv__help__export_commands() {
    local commands; commands=()
    _describe -t commands 'suv help export commands' commands "$@"
}
(( $+functions[_suv__help__gc_commands] )) ||
_suv__help__gc_commands() {
    local commands; commands=()
    _describe -t commands 'suv help gc commands' commands "$@"
}
(( $+functions[_suv__help__get_commands] )) ||
_suv__help__get_commands() {
    local commands; commands=()
    _describe -t commands 'suv help get commands' commands "$@"
}
(( $+functions[_suv__help__help_commands] )) ||
_suv__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'suv help help commands' commands "$@"
}
(( $+functions[_suv__help__hook-claude-code_commands] )) ||
_suv__help__hook-claude-code_commands() {
    local commands; commands=()
    _describe -t commands 'suv help hook-claude-code commands' commands "$@"
}
(( $+functions[_suv__help__hook-claude-code-failure_commands] )) ||
_suv__help__hook-claude-code-failure_commands() {
    local commands; commands=()
    _describe -t commands 'suv help hook-claude-code-failure commands' commands "$@"
}
(( $+functions[_suv__help__hook-claude-prompt_commands] )) ||
_suv__help__hook-claude-prompt_commands() {
    local commands; commands=()
    _describe -t commands 'suv help hook-claude-prompt commands' commands "$@"
}
(( $+functions[_suv__help__hook-cursor_commands] )) ||
_suv__help__hook-cursor_commands() {
    local commands; commands=()
    _describe -t commands 'suv help hook-cursor commands' commands "$@"
}
(( $+functions[_suv__help__hook-cursor-prompt_commands] )) ||
_suv__help__hook-cursor-prompt_commands() {
    local commands; commands=()
    _describe -t commands 'suv help hook-cursor-prompt commands' commands "$@"
}
(( $+functions[_suv__help__import_commands] )) ||
_suv__help__import_commands() {
    local commands; commands=()
    _describe -t commands 'suv help import commands' commands "$@"
}
(( $+functions[_suv__help__init_commands] )) ||
_suv__help__init_commands() {
    local commands; commands=()
    _describe -t commands 'suv help init commands' commands "$@"
}
(( $+functions[_suv__help__man_commands] )) ||
_suv__help__man_commands() {
    local commands; commands=()
    _describe -t commands 'suv help man commands' commands "$@"
}
(( $+functions[_suv__help__mcp-serve_commands] )) ||
_suv__help__mcp-serve_commands() {
    local commands; commands=()
    _describe -t commands 'suv help mcp-serve commands' commands "$@"
}
(( $+functions[_suv__help__note_commands] )) ||
_suv__help__note_commands() {
    local commands; commands=()
    _describe -t commands 'suv help note commands' commands "$@"
}
(( $+functions[_suv__help__pause_commands] )) ||
_suv__help__pause_commands() {
    local commands; commands=()
    _describe -t commands 'suv help pause commands' commands "$@"
}
(( $+functions[_suv__help__replay_commands] )) ||
_suv__help__replay_commands() {
    local commands; commands=()
    _describe -t commands 'suv help replay commands' commands "$@"
}
(( $+functions[_suv__help__search_commands] )) ||
_suv__help__search_commands() {
    local commands; commands=()
    _describe -t commands 'suv help search commands' commands "$@"
}
(( $+functions[_suv__help__session_commands] )) ||
_suv__help__session_commands() {
    local commands; commands=()
    _describe -t commands 'suv help session commands' commands "$@"
}
(( $+functions[_suv__help__settings_commands] )) ||
_suv__help__settings_commands() {
    local commands; commands=()
    _describe -t commands 'suv help settings commands' commands "$@"
}
(( $+functions[_suv__help__stats_commands] )) ||
_suv__help__stats_commands() {
    local commands; commands=()
    _describe -t commands 'suv help stats commands' commands "$@"
}
(( $+functions[_suv__help__status_commands] )) ||
_suv__help__status_commands() {
    local commands; commands=()
    _describe -t commands 'suv help status commands' commands "$@"
}
(( $+functions[_suv__help__tag_commands] )) ||
_suv__help__tag_commands() {
    local commands; commands=(
'create:Create a new tag' \
'list:List all tags' \
'associate:Associate a tag with the current session (or specific session)' \
'update:Update an existing tag' \
    )
    _describe -t commands 'suv help tag commands' commands "$@"
}
(( $+functions[_suv__help__tag__associate_commands] )) ||
_suv__help__tag__associate_commands() {
    local commands; commands=()
    _describe -t commands 'suv help tag associate commands' commands "$@"
}
(( $+functions[_suv__help__tag__create_commands] )) ||
_suv__help__tag__create_commands() {
    local commands; commands=()
    _describe -t commands 'suv help tag create commands' commands "$@"
}
(( $+functions[_suv__help__tag__list_commands] )) ||
_suv__help__tag__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv help tag list commands' commands "$@"
}
(( $+functions[_suv__help__tag__update_commands] )) ||
_suv__help__tag__update_commands() {
    local commands; commands=()
    _describe -t commands 'suv help tag update commands' commands "$@"
}
(( $+functions[_suv__help__uninstall_commands] )) ||
_suv__help__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'suv help uninstall commands' commands "$@"
}
(( $+functions[_suv__help__update_commands] )) ||
_suv__help__update_commands() {
    local commands; commands=()
    _describe -t commands 'suv help update commands' commands "$@"
}
(( $+functions[_suv__help__version_commands] )) ||
_suv__help__version_commands() {
    local commands; commands=()
    _describe -t commands 'suv help version commands' commands "$@"
}
(( $+functions[_suv__help__wrap_commands] )) ||
_suv__help__wrap_commands() {
    local commands; commands=()
    _describe -t commands 'suv help wrap commands' commands "$@"
}
(( $+functions[_suv__hook-claude-code_commands] )) ||
_suv__hook-claude-code_commands() {
    local commands; commands=()
    _describe -t commands 'suv hook-claude-code commands' commands "$@"
}
(( $+functions[_suv__hook-claude-code-failure_commands] )) ||
_suv__hook-claude-code-failure_commands() {
    local commands; commands=()
    _describe -t commands 'suv hook-claude-code-failure commands' commands "$@"
}
(( $+functions[_suv__hook-claude-prompt_commands] )) ||
_suv__hook-claude-prompt_commands() {
    local commands; commands=()
    _describe -t commands 'suv hook-claude-prompt commands' commands "$@"
}
(( $+functions[_suv__hook-cursor_commands] )) ||
_suv__hook-cursor_commands() {
    local commands; commands=()
    _describe -t commands 'suv hook-cursor commands' commands "$@"
}
(( $+functions[_suv__hook-cursor-prompt_commands] )) ||
_suv__hook-cursor-prompt_commands() {
    local commands; commands=()
    _describe -t commands 'suv hook-cursor-prompt commands' commands "$@"
}
(( $+functions[_suv__import_commands] )) ||
_suv__import_commands() {
    local commands; commands=()
    _describe -t commands 'suv import commands' commands "$@"
}
(( $+functions[_suv__init_commands] )) ||
_suv__init_commands() {
    local commands; commands=()
    _describe -t commands 'suv init commands' commands "$@"
}
(( $+functions[_suv__man_commands] )) ||
_suv__man_commands() {
    local commands; commands=()
    _describe -t commands 'suv man commands' commands "$@"
}
(( $+functions[_suv__mcp-serve_commands] )) ||
_suv__mcp-serve_commands() {
    local commands; commands=()
    _describe -t commands 'suv mcp-serve commands' commands "$@"
}
(( $+functions[_suv__note_commands] )) ||
_suv__note_commands() {
    local commands; commands=()
    _describe -t commands 'suv note commands' commands "$@"
}
(( $+functions[_suv__pause_commands] )) ||
_suv__pause_commands() {
    local commands; commands=()
    _describe -t commands 'suv pause commands' commands "$@"
}
(( $+functions[_suv__replay_commands] )) ||
_suv__replay_commands() {
    local commands; commands=()
    _describe -t commands 'suv replay commands' commands "$@"
}
(( $+functions[_suv__search_commands] )) ||
_suv__search_commands() {
    local commands; commands=()
    _describe -t commands 'suv search commands' commands "$@"
}
(( $+functions[_suv__session_commands] )) ||
_suv__session_commands() {
    local commands; commands=()
    _describe -t commands 'suv session commands' commands "$@"
}
(( $+functions[_suv__settings_commands] )) ||
_suv__settings_commands() {
    local commands; commands=()
    _describe -t commands 'suv settings commands' commands "$@"
}
(( $+functions[_suv__stats_commands] )) ||
_suv__stats_commands() {
    local commands; commands=()
    _describe -t commands 'suv stats commands' commands "$@"
}
(( $+functions[_suv__status_commands] )) ||
_suv__status_commands() {
    local commands; commands=()
    _describe -t commands 'suv status commands' commands "$@"
}
(( $+functions[_suv__tag_commands] )) ||
_suv__tag_commands() {
    local commands; commands=(
'create:Create a new tag' \
'list:List all tags' \
'associate:Associate a tag with the current session (or specific session)' \
'update:Update an existing tag' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv tag commands' commands "$@"
}
(( $+functions[_suv__tag__associate_commands] )) ||
_suv__tag__associate_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag associate commands' commands "$@"
}
(( $+functions[_suv__tag__create_commands] )) ||
_suv__tag__create_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag create commands' commands "$@"
}
(( $+functions[_suv__tag__help_commands] )) ||
_suv__tag__help_commands() {
    local commands; commands=(
'create:Create a new tag' \
'list:List all tags' \
'associate:Associate a tag with the current session (or specific session)' \
'update:Update an existing tag' \
'help:Print this message or the help of the given subcommand(s)' \
    )
    _describe -t commands 'suv tag help commands' commands "$@"
}
(( $+functions[_suv__tag__help__associate_commands] )) ||
_suv__tag__help__associate_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag help associate commands' commands "$@"
}
(( $+functions[_suv__tag__help__create_commands] )) ||
_suv__tag__help__create_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag help create commands' commands "$@"
}
(( $+functions[_suv__tag__help__help_commands] )) ||
_suv__tag__help__help_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag help help commands' commands "$@"
}
(( $+functions[_suv__tag__help__list_commands] )) ||
_suv__tag__help__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag help list commands' commands "$@"
}
(( $+functions[_suv__tag__help__update_commands] )) ||
_suv__tag__help__update_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag help update commands' commands "$@"
}
(( $+functions[_suv__tag__list_commands] )) ||
_suv__tag__list_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag list commands' commands "$@"
}
(( $+functions[_suv__tag__update_commands] )) ||
_suv__tag__update_commands() {
    local commands; commands=()
    _describe -t commands 'suv tag update commands' commands "$@"
}
(( $+functions[_suv__uninstall_commands] )) ||
_suv__uninstall_commands() {
    local commands; commands=()
    _describe -t commands 'suv uninstall commands' commands "$@"
}
(( $+functions[_suv__update_commands] )) ||
_suv__update_commands() {
    local commands; commands=()
    _describe -t commands 'suv update commands' commands "$@"
}
(( $+functions[_suv__version_commands] )) ||
_suv__version_commands() {
    local commands; commands=()
    _describe -t commands 'suv version commands' commands "$@"
}
(( $+functions[_suv__wrap_commands] )) ||
_suv__wrap_commands() {
    local commands; commands=()
    _describe -t commands 'suv wrap commands' commands "$@"
}

if [ "$funcstack[1]" = "_suv" ]; then
    _suv "$@"
else
    compdef _suv suv
fi
