refactor: update directory inclusion in add-req.sh and fix-errors.sh for clarity

This commit is contained in:
Rodrigo Rodriguez (Pragmatismo) 2025-10-28 12:44:28 -03:00
parent 0cb16552b3
commit af9b7c18d9
3 changed files with 76 additions and 22 deletions

View file

@ -37,8 +37,8 @@ dirs=(
# "session"
"file"
"kb"
# "shared"
# "tests"
"shared"
"tests"
# "tools"
# "web_automation"
# "whatsapp"

View file

@ -1 +1,52 @@
# Building from Source
# Brave
sudo apt install brave-browser-beta
# Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
source "$HOME/.cargo/env"
git clone https://alm.pragmatismo.com.br/generalbots/gbserver
apt install -y build-essential \
pkg-config \
libssl-dev \
gcc-multilib \
g++-multilib \
clang \
lld \
binutils-dev \
libudev-dev \
libdbus-1-dev
# LLM
ZED for Windows: https://zed.dev/windows
Zed Assistant: Groq + GPT OSS 120B |
FIX Manual: DeepSeek | ChatGPT 120B | Claude 4.5 Thinking | Mistral
ADD Manual: Claude/DeepSeek -> DeepSeek
# Install
cargo install cargo-audit
cargo install cargo-edit
apt install -y libpq-dev
apt install -y valkey-cli
# Util
cargo upgrade
cargo audit
valkey-cli -p 6379 monitor
# Prompt add-ons
- Prompt add-ons: Fill the file with info!, trace! and debug! macros.
-

View file

@ -18,26 +18,29 @@ for file in "${prompts[@]}"; do
done
dirs=(
#"auth"
#"automation"
#"basic"
#"bot"
"bootstrap"
#"channels"
"config"
#"context"
#"email"
#"file"
#"llm"
#"llm_legacy"
#"org"
"package_manager"
#"session"
# "auth"
"automation"
"basic"
# "bot"
"bootstrap"
# "package_manager"
# "channels"
# "config"
# "context"
# "email"
# "file"
# "llm"
"drive_monitor"
# "llm_legacy"
# "org"
# "session"
"file"
"kb"
"shared"
#"tests"
#"tools"
#"web_automation"
#"whatsapp"
"tests"
# "tools"
# "web_automation"
# "whatsapp"
)
for dir in "${dirs[@]}"; do
find "$PROJECT_ROOT/src/$dir" -name "*.rs" | while read file; do