From af9b7c18d9dcd53f70eb5f85bcec813140f16810 Mon Sep 17 00:00:00 2001 From: "Rodrigo Rodriguez (Pragmatismo)" Date: Tue, 28 Oct 2025 12:44:28 -0300 Subject: [PATCH] refactor: update directory inclusion in add-req.sh and fix-errors.sh for clarity --- add-req.sh | 4 +-- docs/src/chapter-06/building.md | 53 ++++++++++++++++++++++++++++++++- fix-errors.sh | 41 +++++++++++++------------ 3 files changed, 76 insertions(+), 22 deletions(-) diff --git a/add-req.sh b/add-req.sh index 142dc930..7b50bef5 100755 --- a/add-req.sh +++ b/add-req.sh @@ -37,8 +37,8 @@ dirs=( # "session" "file" "kb" - # "shared" - # "tests" + "shared" + "tests" # "tools" # "web_automation" # "whatsapp" diff --git a/docs/src/chapter-06/building.md b/docs/src/chapter-06/building.md index f195be32..7a9f40d8 100644 --- a/docs/src/chapter-06/building.md +++ b/docs/src/chapter-06/building.md @@ -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. +- \ No newline at end of file diff --git a/fix-errors.sh b/fix-errors.sh index e3c276f7..52e53ef4 100755 --- a/fix-errors.sh +++ b/fix-errors.sh @@ -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