mirror of
https://github.com/CyberSecurityUP/NeuroSploit.git
synced 2026-08-14 21:50:21 +02:00
Add two new model providers, both usable via API key or --subscription (local CLI login, no key): - opencode: OpenCode Zen gateway (OPENCODE_API_KEY, opencode.ai/zen/v1). Subscription mode drives the `opencode` CLI (`opencode run --auto`). Supports the Playwright MCP (--mcp): our .mcp.json is converted to OpenCode's own config schema and injected via OPENCODE_CONFIG. - nous: Nous Research / Hermes models (NOUS_API_KEY, inference-api.nousresearch.com/v1). Subscription mode drives the `hermes` CLI (NousResearch/hermes-agent) on the user's Nous Portal OAuth login (`hermes setup --portal`), via `hermes chat -q`. No CLI-level MCP hook — falls back to Hermes's own built-in toolsets (web/terminal/computer-use). Both wired into cli_binary_for, installed_cli_backends, cli_login_status (prompt passed as argv, not stdin — neither CLI reads stdin for this). Bump version 3.6.8 -> 3.6.9 across Cargo.toml, README, TUTORIAL, setup.sh, install.ps1, and in-binary version strings. README/.env.example updated with the new provider rows and subscription-login table. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HHFAVCHMvRkTy9Wgw7SayG
71 lines
2.4 KiB
Bash
Executable File
71 lines
2.4 KiB
Bash
Executable File
# NeuroSploit v3.5.1 — environment / API keys (optional)
|
|
# ------------------------------------------------------------------
|
|
# You only need this for the API-key auth path. If you log in with a
|
|
# local subscription CLI instead (--subscription with Claude / Codex /
|
|
# Gemini / Grok), you don't need any key here.
|
|
#
|
|
# Set the key(s) for the providers you use, then load and run:
|
|
# set -a; . ./.env; set +a
|
|
# neurosploit run http://target --model anthropic:claude-opus-4-8 -v
|
|
#
|
|
# Provider prefix -> env var (use as `--model <prefix>:<model>`).
|
|
|
|
# anthropic: https://console.anthropic.com/
|
|
ANTHROPIC_API_KEY=
|
|
|
|
# openai: https://platform.openai.com/api-keys
|
|
OPENAI_API_KEY=
|
|
|
|
# gemini: https://aistudio.google.com/app/apikey
|
|
# (GOOGLE_API_KEY is also accepted as an alias if GEMINI_API_KEY is unset)
|
|
GEMINI_API_KEY=
|
|
#GOOGLE_API_KEY=
|
|
|
|
# azure: Azure OpenAI (OpenAI-compatible). Use `--model azure:<deployment>`
|
|
# (the model name is your Azure *deployment* name).
|
|
#AZURE_OPENAI_API_KEY=
|
|
#AZURE_OPENAI_ENDPOINT=https://your-resource.openai.azure.com
|
|
#AZURE_OPENAI_API_VERSION=2024-10-21
|
|
|
|
# xai: https://console.x.ai/
|
|
XAI_API_KEY=
|
|
|
|
# nvidia_nim: https://build.nvidia.com/ (keys look like nvapi-...)
|
|
NVIDIA_NIM_API_KEY=
|
|
|
|
# deepseek: https://platform.deepseek.com/
|
|
DEEPSEEK_API_KEY=
|
|
|
|
# mistral: https://console.mistral.ai/
|
|
MISTRAL_API_KEY=
|
|
|
|
# qwen: https://dashscope-intl.aliyuncs.com/ (Alibaba DashScope)
|
|
DASHSCOPE_API_KEY=
|
|
|
|
# groq: https://console.groq.com/keys
|
|
GROQ_API_KEY=
|
|
|
|
# together: https://api.together.xyz/settings/api-keys
|
|
TOGETHER_API_KEY=
|
|
|
|
# openrouter: https://openrouter.ai/keys
|
|
OPENROUTER_API_KEY=
|
|
|
|
# opencode: https://opencode.ai/auth (OpenCode Zen gateway)
|
|
# Or skip the key entirely and use --subscription with the
|
|
# `opencode` CLI logged into your own Zen/plan account.
|
|
OPENCODE_API_KEY=
|
|
|
|
# nous: Nous Portal (https://portal.nousresearch.com) — Hermes models.
|
|
# Or skip the key entirely and use --subscription with the
|
|
# `hermes` CLI (`hermes setup --portal` for OAuth login).
|
|
NOUS_API_KEY=
|
|
|
|
# ollama: local, no key needed. Override the endpoint if not default:
|
|
#OLLAMA_BASE_URL=http://localhost:11434/v1
|
|
|
|
# litellm: point at your LiteLLM proxy (OpenAI-compatible). Route any
|
|
# model through it as `--model litellm:<model>`.
|
|
#LITELLM_BASE_URL=http://localhost:4000/v1
|
|
LITELLM_API_KEY=
|