clawfast 2.0.1 → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +12 -12
  2. package/dist/clawfast.cjs +2455 -1015
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # HackerAI - CLI local
1
+ # clawfast - CLI local
2
2
 
3
- Versao de terminal do HackerAI. Ela reaproveita o prompt e as ferramentas do
3
+ Versao de terminal do clawfast. Ela reaproveita o prompt e as ferramentas do
4
4
  projeto, roda na sua maquina, sem login e sem limites de uso do app web, usando
5
5
  suas proprias chaves de modelo.
6
6
 
@@ -17,11 +17,11 @@ pnpm cli
17
17
  No Windows tambem da para usar o atalho:
18
18
 
19
19
  ```bat
20
- cli\hackerai.bat
20
+ cli\clawfast.bat
21
21
  ```
22
22
 
23
23
  Esse atalho inicia em modo local aberto: ele define `CLI_SHELL=cmd.exe`,
24
- `CLI_SHELL_FLAG=/C` e `HACKERAI_CLI_GUARDRAILS=off` apenas para essa sessao.
24
+ `CLI_SHELL_FLAG=/C` e `clawfast_CLI_GUARDRAILS=off` apenas para essa sessao.
25
25
 
26
26
  Digite seu pedido e o agente executa comandos no host local. Saia com `/exit`.
27
27
 
@@ -44,7 +44,7 @@ pnpm cli
44
44
  Ou apontar para Git Bash:
45
45
 
46
46
  ```powershell
47
- $env:HACKERAI_BASH_PATH="C:\Program Files\Git\bin\bash.exe"
47
+ $env:clawfast_BASH_PATH="C:\Program Files\Git\bin\bash.exe"
48
48
  pnpm cli
49
49
  ```
50
50
 
@@ -56,7 +56,7 @@ sessao local explicitamente aberta via PowerShell:
56
56
  ```powershell
57
57
  $env:CLI_SHELL="cmd.exe"
58
58
  $env:CLI_SHELL_FLAG="/C"
59
- $env:HACKERAI_CLI_GUARDRAILS="off"
59
+ $env:clawfast_CLI_GUARDRAILS="off"
60
60
  pnpm cli
61
61
  ```
62
62
 
@@ -93,8 +93,8 @@ wsl -d kali-linux -- bash -lc "zaproxy -h >/dev/null || owasp-zap -h >/dev/null;
93
93
  Exemplos de execucao a partir do Windows `cmd.exe`:
94
94
 
95
95
  ```bat
96
- wsl -d kali-linux -- bash -lc "cd /mnt/c/Users/Usuario/OneDrive/Documentos/Corel/hackerai/SPRIT && nikto -host https://example.com -nointeractive -maxtime 10m -Format htm -output nikto.html"
97
- wsl -d kali-linux -- bash -lc "cd /mnt/c/Users/Usuario/OneDrive/Documentos/Corel/hackerai/SPRIT && nuclei -u https://example.com -s low,medium,high,critical -jle nuclei.jsonl -me nuclei_markdown -timeout 10 -retries 1"
96
+ wsl -d kali-linux -- bash -lc "cd /mnt/c/Users/Usuario/OneDrive/Documentos/Corel/clawfast/SPRIT && nikto -host https://example.com -nointeractive -maxtime 10m -Format htm -output nikto.html"
97
+ wsl -d kali-linux -- bash -lc "cd /mnt/c/Users/Usuario/OneDrive/Documentos/Corel/clawfast/SPRIT && nuclei -u https://example.com -s low,medium,high,critical -jle nuclei.jsonl -me nuclei_markdown -timeout 10 -retries 1"
98
98
  ```
99
99
 
100
100
  Para OWASP ZAP via Docker no Windows `cmd.exe`:
@@ -155,10 +155,10 @@ Variaveis opcionais:
155
155
  - `CLI_SHELL`: shell usado para executar comandos.
156
156
  - `CLI_SHELL_FLAG`: flag de execucao do shell (`-c`, `/C`, `-Command`).
157
157
  - `CLI_WORKDIR`: diretorio de trabalho do agente. Padrao: `./SPRIT`.
158
- - `HACKERAI_BASH_PATH`: caminho para `bash.exe` no Windows.
159
- - `HACKERAI_CLI_GUARDRAILS`: use `off` para desligar guardrails no CLI.
160
- - `HACKERAI_CLI_GUARDRAILS_CONFIG`: configuracao manual no formato `id:true`.
161
- - `HACKERAI_CLI_DUMP_SYSTEM_PROMPT`: use `1` para salvar o prompt completo em
158
+ - `clawfast_BASH_PATH`: caminho para `bash.exe` no Windows.
159
+ - `clawfast_CLI_GUARDRAILS`: use `off` para desligar guardrails no CLI.
160
+ - `clawfast_CLI_GUARDRAILS_CONFIG`: configuracao manual no formato `id:true`.
161
+ - `clawfast_CLI_DUMP_SYSTEM_PROMPT`: use `1` para salvar o prompt completo em
162
162
  `SPRIT/system-prompt.txt` ao iniciar o CLI.
163
163
 
164
164
  O CLI carrega o prompt por `import { systemPrompt } from "@/lib/system-prompt"`