Files
NeuroSploit/neurosploit-rs
21a62c95e5 feat: natural-language REPL — hands-free config in any language (hybrid) (#38)
Type a plain sentence (no slash) and NeuroSploit configures the session
and can launch — no manual flags. Hybrid parser:

- Deterministic fast-path (0 tokens): extracts target/host, model
  shorthands (opus/sonnet/gpt/gemini/grok), run verbs and keyworded
  clauses (focus / objective / out-of-scope / auth) across PT/EN/ES.
- Model fallback: when the phrase is ambiguous, the configured model
  structures it into a JSON intent — works in any language.

Intent maps onto target/repo/models/focus/objective/out_of_scope/auth/
scope; if the request says "run/roda/prueba" it falls through to /run.
Falls back to setting focus when nothing structured is found or offline.
e.g. "testa https://loja.com com opus, foco em SQLi, fora de escopo /admin, roda".

Tests cover PT/EN/ES fast-path, clause parsing, host heuristic, alias
resolution, and the ambiguity gate.


Claude-Session: https://claude.ai/code/session_018BGLy4j5qsqqid6CoovowC

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-01 22:18:12 -03:00
..