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;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,CAqER,CAAA,CAAA,cAAA;ADJA","file":"/home/mkabumattar/work/withrawi/rawi/dist/chunk-WWDFLDG4.cjs","sourcesContent":[null,"export const TEMPLATES = {\n  bash: `# bash completion for rawi\n# Save as rawi.bash and source it in ~/.bashrc or /etc/bash_completion.d/\n\n_rawi_get_profiles() {\n  local config_file=\"$HOME/.rawi/credentials\"\n  if [[ -f \"$config_file\" ]]; then\n    if command -v jq >/dev/null 2>&1; then\n      jq -r 'keys[]' \"$config_file\" 2>/dev/null\n    else\n      grep -o '^[[:space:]]*\"[a-zA-Z0-9_-]\\\\+\"' \"$config_file\" 2>/dev/null | \\\\\n        sed 's/[[:space:]]*\"\\\\([^\"]*\\\\)\".*/\\\\1/' | head -20\n    fi\n  else\n    echo \"default\"\n  fi\n}\n\n_rawi()\n{\n  local cur prev opts cmds\n  COMPREPLY=()\n  cur=\"\\${COMP_WORDS[COMP_CWORD]}\"\n  prev=\"\\${COMP_WORDS[COMP_CWORD-1]}\"\n\n  cmds=\"ask chat exec act configure provider history info completion\"\n  global_opts=\"-h --help -v --version\"\n\n  # if completing the first arg after \"rawi\"\n  if [[ $COMP_CWORD -eq 1 ]]; then\n    COMPREPLY=( $(compgen -W \"$cmds $global_opts\" -- \"$cur\") )\n    return 0\n  fi\n\n  # dispatch based on subcommand\n  case \"\\${COMP_WORDS[1]}\" in\n    ask)\n      opts=\"--profile -p --session -s --new-session --act -a --file -f --files \\\\\n            --batch -b --parallel --max-concurrency --continue-on-error \\\\\n            --file-type --verbose --filter-sensitive --filter-types \\\\\n            --show-filtered --highlight-filtered --save-filter-config \\\\\n            --reset-filter-config -h --help -v --version\"\n      case \"$prev\" in\n        -p|--profile)\n          COMPREPLY=( $(compgen -W \"$(_rawi_get_profiles)\" -- \"$cur\") )\n          return 0\n          ;;\n        -a|--act)\n          COMPREPLY=( $(compgen -W \"code-reviewer translator debugger optimizer consultant teacher\" -- \"$cur\") )\n          return 0\n          ;;\n        --file-type)\n          COMPREPLY=( $(compgen -W \"js ts jsx tsx py java go rs cpp c h hpp cs php rb swift kt dart\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    chat)\n      opts=\"--profile -p --session -s --new-session --act -a --file -f --files \\\\\n            --verbose --filter-sensitive --filter-types --show-filtered \\\\\n            --highlight-filtered --save-filter-config --reset-filter-config \\\\\n            -h --help -v --version\"\n      case \"$prev\" in\n        -p|--profile)\n          COMPREPLY=( $(compgen -W \"$(_rawi_get_profiles)\" -- \"$cur\") )\n          return 0\n          ;;\n        -a|--act)\n          COMPREPLY=( $(compgen -W \"code-reviewer translator debugger optimizer consultant teacher\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    exec)\n      opts=\"--profile -p --session -s --new-session --execute -e --confirm \\\\\n            --explain --shell --dangerous --file -f --files --verbose \\\\\n            -h --help -v --version\"\n      case \"$prev\" in\n        -p|--profile)\n          COMPREPLY=( $(compgen -W \"$(_rawi_get_profiles)\" -- \"$cur\") )\n          return 0\n          ;;\n        --shell)\n          COMPREPLY=( $(compgen -W \"bash zsh fish\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    act)\n      opts=\"--list -l --search -s --category -c --show --export --validate \\\\\n            -h --help -v --version\"\n      case \"$prev\" in\n        --show|--export|--validate)\n          COMPREPLY=( $(compgen -W \"code-reviewer translator debugger optimizer consultant teacher\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    configure)\n      opts=\"--profile -p --provider --model --api-key --base-url --temperature \\\\\n            --max-tokens --top-p --frequency-penalty --presence-penalty \\\\\n            --stop --system-prompt --language --interactive --list --show \\\\\n            --delete --export --import --validate -h --help -v --version\"\n      case \"$prev\" in\n        -p|--profile|--show|--delete)\n          COMPREPLY=( $(compgen -W \"$(_rawi_get_profiles)\" -- \"$cur\") )\n          return 0\n          ;;\n        --provider)\n          COMPREPLY=( $(compgen -W \"openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio\" -- \"$cur\") )\n          return 0\n          ;;\n        --language)\n          COMPREPLY=( $(compgen -W \"en es fr de it pt ru zh ja ko ar\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    provider)\n      opts=\"--list --show --models --validate -h --help -v --version\"\n      case \"$prev\" in\n        --show|--models|--validate)\n          COMPREPLY=( $(compgen -W \"openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    history)\n      opts=\"--list --show --delete --clear --export --import --search \\\\\n            --limit --since --before --profile -p --verbose \\\\\n            -h --help -v --version\"\n      case \"$prev\" in\n        -p|--profile)\n          COMPREPLY=( $(compgen -W \"$(_rawi_get_profiles)\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    info)\n      opts=\"--system --config --providers --profiles --debug --json \\\\\n            -h --help -v --version\"\n      ;;\n    completion)\n      opts=\"--shell -s --install --advanced -h --help -v --version\"\n      case \"$prev\" in\n        -s|--shell)\n          COMPREPLY=( $(compgen -W \"bash zsh auto\" -- \"$cur\") )\n          return 0\n          ;;\n      esac\n      ;;\n    *)\n      opts=\"$global_opts\"\n      ;;\n  esac\n\n  COMPREPLY=( $(compgen -W \"$opts\" -- \"$cur\") )\n  return 0\n}\n\ncomplete -F _rawi rawi\n`,\n\n  zsh: `#compdef rawi\n\n# Enhanced Zsh completion script for rawi\n# Provides dynamic completion based on actual configuration and CLI context\n\n_rawi_get_profiles() {\n  local config_file=\"$HOME/.rawi/credentials\"\n  if [[ -f \"$config_file\" ]]; then\n    if command -v jq >/dev/null 2>&1; then\n      # Extract top-level keys (profile names)\n      jq -r 'keys[]' \"$config_file\" 2>/dev/null\n    else\n      # Fallback: grep profile names (keys before the colon at top level)\n      grep -o '^[[:space:]]*\"[a-zA-Z0-9_-]\\\\+\"' \"$config_file\" 2>/dev/null | \\\\\n        sed 's/[[:space:]]*\"\\\\([^\"]*\\\\)\".*/\\\\1/' | head -20\n    fi\n  else\n    echo \"default\"\n  fi\n}\n\n_rawi() {\n  local curcontext=\"$curcontext\" state\n  typeset -A opt_args\n  local -a commands\n\n  commands=(\n    'ask:Ask AI a question and get a response'\n    'chat:Start an interactive chat session with AI'\n    'exec:Convert natural language to executable CLI commands'\n    'act:List and explore act templates'\n    'configure:Configure AI provider settings and profiles'\n    'provider:Show supported AI providers and models'\n    'history:Manage chat history and sessions'\n    'info:Display system and configuration information'\n    'completion:Generate shell completion scripts'\n  )\n\n  _arguments -C \\\\\n    '(-h --help)'{-h,--help}'[Show help]' \\\\\n    '(-v --version)'{-v,--version}'[Show version]' \\\\\n    '1:command:->command' \\\\\n    '*::args:->args'\n\n  case $state in\n    command)\n      _describe -t commands 'rawi commands' commands\n      ;;\n    args)\n      case $words[1] in\n        ask)\n          _arguments \\\\\n            '(-p --profile)'{-p,--profile}'[Profile name]:profile:($(_rawi_get_profiles))' \\\\\n            '(-s --session)'{-s,--session}'[Session name]:session:' \\\\\n            '--new-session[Start a new session]' \\\\\n            '(-a --act)'{-a,--act}'[Act template]:template:(code-reviewer translator debugger optimizer consultant teacher)' \\\\\n            '(-f --file)'{-f,--file}'[Input file]:file:_files' \\\\\n            '--files[Multiple input files]:files:_files' \\\\\n            '(-b --batch)'{-b,--batch}'[Batch processing]' \\\\\n            '--parallel[Parallel processing]' \\\\\n            '--max-concurrency[Max concurrency]:number:' \\\\\n            '--continue-on-error[Continue on error]' \\\\\n            '--file-type[File type filter]:type:(js ts jsx tsx py java go rs cpp c h hpp cs php rb swift kt dart)' \\\\\n            '--verbose[Verbose output]' \\\\\n            '--filter-sensitive[Filter sensitive content]' \\\\\n            '--filter-types[Filter types]:types:' \\\\\n            '--show-filtered[Show filtered content]' \\\\\n            '--highlight-filtered[Highlight filtered content]' \\\\\n            '--save-filter-config[Save filter configuration]' \\\\\n            '--reset-filter-config[Reset filter configuration]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        chat)\n          _arguments \\\\\n            '(-p --profile)'{-p,--profile}'[Profile name]:profile:($(_rawi_get_profiles))' \\\\\n            '(-s --session)'{-s,--session}'[Session name]:session:' \\\\\n            '--new-session[Start a new session]' \\\\\n            '(-a --act)'{-a,--act}'[Act template]:template:(code-reviewer translator debugger optimizer consultant teacher)' \\\\\n            '(-f --file)'{-f,--file}'[Input file]:file:_files' \\\\\n            '--files[Multiple input files]:files:_files' \\\\\n            '--verbose[Verbose output]' \\\\\n            '--filter-sensitive[Filter sensitive content]' \\\\\n            '--filter-types[Filter types]:types:' \\\\\n            '--show-filtered[Show filtered content]' \\\\\n            '--highlight-filtered[Highlight filtered content]' \\\\\n            '--save-filter-config[Save filter configuration]' \\\\\n            '--reset-filter-config[Reset filter configuration]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        exec)\n          _arguments \\\\\n            '(-p --profile)'{-p,--profile}'[Profile name]:profile:($(_rawi_get_profiles))' \\\\\n            '(-s --session)'{-s,--session}'[Session name]:session:' \\\\\n            '--new-session[Start a new session]' \\\\\n            '(-e --execute)'{-e,--execute}'[Execute commands]' \\\\\n            '--confirm[Confirm before execution]' \\\\\n            '--explain[Explain commands]' \\\\\n            '--shell[Target shell]:shell:(bash zsh fish)' \\\\\n            '--dangerous[Allow dangerous commands]' \\\\\n            '(-f --file)'{-f,--file}'[Input file]:file:_files' \\\\\n            '--files[Multiple input files]:files:_files' \\\\\n            '--verbose[Verbose output]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        act)\n          _arguments \\\\\n            '(-l --list)'{-l,--list}'[List templates]' \\\\\n            '(-s --search)'{-s,--search}'[Search templates]:query:' \\\\\n            '(-c --category)'{-c,--category}'[Filter by category]:category:' \\\\\n            '--show[Show template]:template:(code-reviewer translator debugger optimizer consultant teacher)' \\\\\n            '--export[Export template]:template:(code-reviewer translator debugger optimizer consultant teacher)' \\\\\n            '--validate[Validate template]:template:(code-reviewer translator debugger optimizer consultant teacher)' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        configure)\n          _arguments \\\\\n            '(-p --profile)'{-p,--profile}'[Profile name]:profile:($(_rawi_get_profiles))' \\\\\n            '--provider[AI provider]:provider:(openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio)' \\\\\n            '--model[AI model]:model:' \\\\\n            '--api-key[API key]:key:' \\\\\n            '--base-url[Base URL]:url:' \\\\\n            '--temperature[Temperature]:temp:' \\\\\n            '--max-tokens[Max tokens]:tokens:' \\\\\n            '--top-p[Top P]:top_p:' \\\\\n            '--frequency-penalty[Frequency penalty]:penalty:' \\\\\n            '--presence-penalty[Presence penalty]:penalty:' \\\\\n            '--stop[Stop sequences]:stop:' \\\\\n            '--system-prompt[System prompt]:prompt:' \\\\\n            '--language[Language]:lang:(en es fr de it pt ru zh ja ko ar)' \\\\\n            '--interactive[Interactive mode]' \\\\\n            '--list[List profiles]' \\\\\n            '--show[Show profile]:profile:($(_rawi_get_profiles))' \\\\\n            '--delete[Delete profile]:profile:($(_rawi_get_profiles))' \\\\\n            '--export[Export configuration]' \\\\\n            '--import[Import configuration]:file:_files' \\\\\n            '--validate[Validate configuration]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        provider)\n          _arguments \\\\\n            '--list[List providers]' \\\\\n            '--show[Show provider]:provider:(openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio)' \\\\\n            '--models[Show models]:provider:(openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio)' \\\\\n            '--validate[Validate provider]:provider:(openai anthropic google ollama xai azure bedrock deepseek mistral cerebras lmstudio)' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        history)\n          _arguments \\\\\n            '--list[List sessions]' \\\\\n            '--show[Show session]:session:' \\\\\n            '--delete[Delete session]:session:' \\\\\n            '--clear[Clear history]' \\\\\n            '--export[Export history]:file:_files' \\\\\n            '--import[Import history]:file:_files' \\\\\n            '--search[Search history]:query:' \\\\\n            '--limit[Limit results]:limit:' \\\\\n            '--since[Since date]:date:' \\\\\n            '--before[Before date]:date:' \\\\\n            '(-p --profile)'{-p,--profile}'[Profile name]:profile:($(_rawi_get_profiles))' \\\\\n            '--verbose[Verbose output]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        info)\n          _arguments \\\\\n            '--system[System information]' \\\\\n            '--config[Configuration information]' \\\\\n            '--providers[Provider information]' \\\\\n            '--profiles[Profile information]' \\\\\n            '--debug[Debug information]' \\\\\n            '--json[JSON output]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        completion)\n          _arguments \\\\\n            '(-s --shell)'{-s,--shell}'[Shell type]:shell:(bash zsh auto)' \\\\\n            '--install[Install completion script]' \\\\\n            '--advanced[Generate advanced completion script]' \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n        *)\n          _arguments \\\\\n            '(-h --help)'{-h,--help}'[Show help]' \\\\\n            '(-v --version)'{-v,--version}'[Show version]'\n          ;;\n      esac\n      ;;\n  esac\n}\n\n# Load and initialize completion\nautoload -Uz compinit\ncompinit\ncompdef _rawi rawi\n`,\n\n  fish: `# fish completion for rawi\n# Save as rawi.fish and source it in ~/.config/fish/completions/rawi.fish\n\nfunction _rawi_get_profiles\n    set config_file $HOME/.rawi/credentials\n    if test -f $config_file\n        if type -q jq\n            jq -r 'keys[]' $config_file 2>/dev/null\n        else\n            grep -o '^[[:space:]]*\"[a-zA-Z0-9_-]\\\\+\"' $config_file 2>/dev/null | sed 's/^[[:space:]]*\"\\\\([^\"]*\\\\)\".*/\\\\1/'\n        end\n    else\n        echo \"default\"\n    end\nend\n\n# Global options\nset -l global_opts -h --help -v --version\n\n# Subcommands\nset -l commands ask chat exec act configure provider history info completion\n\n# Complete subcommands\nfor cmd in $commands\n    complete -c rawi -n \"__fish_use_subcommand\" -f -a $cmd -d (string replace ':' ' ' (string join ' ' $cmd))\nend\n\n# Complete global flags at top-level\nfor opt in $global_opts\n    complete -c rawi -n \"not __fish_seen_subcommand_from $commands\" -f -a $opt\nend\n\n# ask subcommand options\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l profile -s p -a \"(_rawi_get_profiles)\" -d \"Profile name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l session -s s -d \"Session name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l new-session -d \"Start a new session\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l act -s a -a \"code-reviewer translator debugger optimizer consultant teacher\" -d \"Act template\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l file -s f -a \"(ls)\" -d \"Input file\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l files -d \"Multiple input files\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l verbose -d \"Verbose output\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l help -s h -d \"Show help\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from ask\" -l version -s v -d \"Show version\"\n\n# chat subcommand options\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l profile -s p -a \"(_rawi_get_profiles)\" -d \"Profile name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l session -s s -d \"Session name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l new-session -d \"Start a new session\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l act -s a -a \"code-reviewer translator debugger optimizer consultant teacher\" -d \"Act template\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l file -s f -a \"(ls)\" -d \"Input file\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l files -d \"Multiple input files\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l verbose -d \"Verbose output\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l help -s h -d \"Show help\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from chat\" -l version -s v -d \"Show version\"\n\n# exec subcommand options\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l profile -s p -a \"(_rawi_get_profiles)\" -d \"Profile name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l session -s s -d \"Session name\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l new-session -d \"Start a new session\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l execute -s e -d \"Execute commands\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l confirm -d \"Confirm before execution\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l explain -d \"Explain commands\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l shell -d \"Target shell\" -a \"bash zsh fish\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l dangerous -d \"Allow dangerous commands\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l file -s f -a \"(ls)\" -d \"Input file\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l files -d \"Multiple input files\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l verbose -d \"Verbose output\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l help -s h -d \"Show help\"\ncomplete -c rawi -n \"__fish_seen_subcommand_from exec\" -l version -s v -d \"Show version\"\n`,\n};\n"]}