Some checks are pending
Python Code Quality / lock_file (push) Waiting to run
Python Code Quality / linting (push) Blocked by required conditions
Python Code Quality / formatting (push) Blocked by required conditions
Python Code Quality / type_consistency (push) Blocked by required conditions
Python Code Quality / tests (push) Blocked by required conditions
Python Code Quality / build (push) Blocked by required conditions
86 lines
2.4 KiB
Markdown
86 lines
2.4 KiB
Markdown
## ⚙️ Requerimentos
|
|
|
|
Antes de começar, certifique-se de ter instaladas as dependências principais:
|
|
|
|
### 🧱 Sistema e Build
|
|
```bash
|
|
sudo apt update
|
|
sudo apt install -y \
|
|
autoconf automake libtool \
|
|
build-essential pkg-config \
|
|
git python3 python3-venv python3-pip \
|
|
make
|
|
```
|
|
|
|
## Passos
|
|
|
|
1. Execute `aclocal` para criar **aclocal.m4** e o diretório **autom4te.cache/**.
|
|
2. Execute `autoconf` para gerar o script **configure**.
|
|
3. Execute `automake --add-missing` para criar os ficheiros **Makefile.in**.
|
|
4. Execute `./configure` para gerar os ficheiros **Makefile**.
|
|
5. Execute `make` para compilar e criar o executável.
|
|
6. Execute `src/myhomelab` para correr o executável.
|
|
|
|
## Alvos Extras
|
|
|
|
```
|
|
make git # commit + push automático
|
|
make tarball # gera dist/myhomelab-src.tar.gz
|
|
make release # publica release e cria tag automática
|
|
```
|
|
|
|
## Checkpoint (self-log)
|
|
ok, ajustei a estrutura dos agentes:
|
|
```
|
|
tree src/neuro/tools
|
|
src/neuro/tools
|
|
├── ai_agent
|
|
│ ├── bench.py
|
|
│ └── export_vocab.py
|
|
├── doc_agent
|
|
│ ├── analyzer.py
|
|
│ ├── emit_json.py
|
|
│ ├── emit_md.py
|
|
│ ├── evaluator.py
|
|
│ ├── ir_schema.py
|
|
│ ├── main.py
|
|
│ ├── prompts
|
|
│ └── scanner.py
|
|
├── host_agent # o teu novo nome
|
|
│ └── main.py
|
|
├── human_agent
|
|
│ ├── env.py
|
|
│ └── env.py.temp
|
|
├── infra_agent
|
|
│ ├── custom_ubuntu_agent
|
|
│ ├── django_agent
|
|
│ ├── docker_agent
|
|
│ ├── flask_agent
|
|
│ ├── neuronio_agent
|
|
│ ├── nfdos_agent
|
|
│ ├── packer_agent
|
|
│ ├── terraform_agent
|
|
│ ├── vagrant_agent
|
|
│ └── wordpress_agent
|
|
└── llm_agent
|
|
└── main.py
|
|
|
|
18 directories, 13 files
|
|
```
|
|
tu estas a preocupar-te (e bem) com a seguranca, eu com a parte financeira 😂
|
|
runtime ok:
|
|
```
|
|
src/myhomelab
|
|
🚀 Iniciando o myhomelab 51b9a23-dirty...
|
|
[myhomelab] uv encontrado no PATH.
|
|
[myhomelab] Ambiente .venv já existente.
|
|
[myhomelab] Sincronizando dependências via uv.lock (uv sync)...
|
|
[myhomelab] uv sync
|
|
Resolved 12 packages in 1ms
|
|
Audited 11 packages in 0.34ms
|
|
[myhomelab] Iniciando neuro via uv run...
|
|
[myhomelab] uv run python -m neuro
|
|
🧠 Neuro runtime starting...
|
|
[runtime] run(): ok (stub)
|
|
```
|
|
quando tiver descansado iniciamos o "REPL" (Textual App com um input, um output, barra de status, botões: Run/Stop) |