Linux, WSL e Windows usam o mesmo run --all, e plugins, cache e logs ficam em .pitiupi na raiz do projeto. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
901 B
Markdown
25 lines
901 B
Markdown
# Plugins instalados (runtime)
|
|
|
|
O núcleo carrega **todos os arquivos `.jar`** de `PITIUPI_HOME/plugins`. O script de execução usa **`.pitiupi/plugins`** na raiz do clone. Variável de ambiente opcional: `PITIUPI_HOME`.
|
|
|
|
## Instalação automática (recomendado)
|
|
|
|
Na raiz do repositório, o catálogo [`plugins.registry.json`](../../plugins.registry.json) lista módulos buildáveis:
|
|
|
|
```bash
|
|
./scripts/pitiupi.sh build --all
|
|
./scripts/pitiupi.sh link --all
|
|
```
|
|
|
|
Symlinks: `{raiz-do-clone}/.pitiupi/plugins/{id}.jar` → JAR buildado em `plugins/{módulo}/dist/` no clone.
|
|
|
|
## Manual
|
|
|
|
```bash
|
|
ln -sf /caminho/ao/clone/plugins/chat/dist/pitiupi.chat.jar /caminho/ao/clone/.pitiupi/plugins/chat.jar
|
|
```
|
|
|
|
Não commite `.jar` binários no Git — apenas este README.
|
|
|
|
Novo módulo: registrar no catálogo e ver [docs/documentation/10_tutorial_plugin.md](../../docs/documentation/10_tutorial_plugin.md).
|