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