@johpaz/hive 1.7.15 → 1.7.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -114,7 +114,7 @@ docker run -d \
114
114
  -v hive-data:/root/.hive \
115
115
  --name hive \
116
116
  --restart unless-stopped \
117
- johpaz/hive:1.7.15
117
+ johpaz/hive:1.7.17
118
118
  ```
119
119
 
120
120
  **Variables de entorno disponibles:**
@@ -145,30 +145,24 @@ docker compose logs -f hive
145
145
 
146
146
  #### Acceso a archivos del sistema desde Docker
147
147
 
148
- Por defecto, el contenedor solo puede acceder al directorio `./workspace`. Para que el agente pueda leer, editar y eliminar archivos de tu sistema:
148
+ El `docker-compose.yml` monta automáticamente tu home completo dentro del contenedor sin configuración adicional ni variables de entorno:
149
149
 
150
- **Paso 1 El script crea `.env` automáticamente**
151
-
152
- Al ejecutar `./hive-docker.sh`, el script detecta tu sistema operativo y crea un archivo `.env` con el path correcto:
153
-
154
- | Sistema | Path montado | Path dentro del contenedor |
150
+ | Sistema | Path del host | Path dentro del contenedor |
155
151
  |---------|--------------|---------------------------|
156
152
  | **Linux** | `/home/tu_usuario` | `/host/home` |
157
153
  | **macOS** | `/Users/tu_usuario` | `/host/home` |
158
- | **Windows** | `C:/Users/tu_usuario` | `/host/home` |
154
+ | **Windows** | `C:\Users\tu_usuario` | `/host/home` |
155
+
156
+ La variable `${HOME}` la detecta el shell automáticamente al hacer `docker compose up`.
159
157
 
160
- **Paso 2 — Configurar el workspace en la UI**
158
+ **Configurar el workspace en la UI**
161
159
 
162
160
  1. Abre la UI: `http://localhost:18790`
163
161
  2. Ve a **Configuración del Agente** (o crea tu agente si es la primera vez)
164
- 3. En el campo **Workspace**, configura: `/host/home`
165
-
166
- También puedes usar subdirectorios:
167
- - `/host/home/Documentos` — solo carpeta Documentos
168
- - `/host/home/Proyectos` — solo carpeta Proyectos
169
- - `/host/home` — todo tu home
170
-
171
- **Paso 3 — El agente guarda la configuración**
162
+ 3. En el campo **Workspace**, configura el subdirectorio que quieres:
163
+ - `/host/home` — todo tu home
164
+ - `/host/home/Documentos` solo carpeta Documentos
165
+ - `/host/home/Proyectos` — solo carpeta Proyectos
172
166
 
173
167
  El path se guarda en la base de datos SQLite (`agents.workspace`). A partir de ese momento, todas las operaciones de filesystem del agente están restringidas a ese directorio por seguridad.
174
168
 
@@ -177,28 +171,7 @@ El path se guarda en la base de datos SQLite (`agents.workspace`). A partir de e
177
171
  ```
178
172
  Usuario: "Crea un archivo README.md en mi carpeta Proyectos"
179
173
  Agente: → Escribe en: /host/home/Proyectos/README.md
180
- → Que se traduce a: /home/johnpaez/Proyectos/README.md (en tu host)
181
- ```
182
-
183
- **Personalizar el path montado:**
184
-
185
- Si quieres montar un directorio diferente, edita el archivo `.env`:
186
-
187
- ```bash
188
- # Linux — montar solo Documentos
189
- HIVE_HOME_PATH=/home/$USER/Documentos
190
-
191
- # macOS — montar un directorio personalizado
192
- HIVE_HOME_PATH=/Users/$USER/Desarrollo
193
-
194
- # Windows — montar otro drive
195
- HIVE_HOME_PATH=D:/Proyectos
196
- ```
197
-
198
- Luego reinicia el contenedor:
199
- ```bash
200
- docker compose down
201
- docker compose up -d
174
+ → Que se traduce a: ~/Proyectos/README.md (en tu host)
202
175
  ```
203
176
 
204
177
  > **Nota de seguridad:** El agente solo puede acceder al path que configures como workspace. Si configuras `/host/home/Documentos`, no podrá leer `/host/home/Proyectos`.
@@ -215,10 +188,10 @@ En el equipo donde tienes conexión a internet:
215
188
 
216
189
  ```bash
217
190
  # Descargar la imagen si no la tienes
218
- docker pull johpaz/hive:1.7.15
191
+ docker pull johpaz/hive:1.7.17
219
192
 
220
193
  # Exportar a archivo tar (cabe en cualquier USB de 512 MB+)
221
- docker save johpaz/hive:1.7.15 -o /media/usb/hive-image.tar
194
+ docker save johpaz/hive:1.7.17 -o /media/usb/hive-image.tar
222
195
  ```
223
196
 
224
197
  **Paso 2 — Crear la estructura en la USB**
@@ -236,7 +209,7 @@ Crea el `docker-compose.yml` en la USB con el volumen apuntando a la USB:
236
209
  ```yaml
237
210
  services:
238
211
  hive:
239
- image: johpaz/hive:1.7.15
212
+ image: johpaz/hive:1.7.17
240
213
  ports:
241
214
  - "18790:18790"
242
215
  volumes:
@@ -315,11 +288,11 @@ Descarga manual de cualquier plataforma o versión específica.
315
288
 
316
289
  | Plataforma | Archivo | Descarga directa |
317
290
  |------------|---------|------------------|
318
- | Linux x64 | `hive-v1.7.15-linux-x64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-linux-x64) |
319
- | Linux ARM64 (Raspberry Pi, etc.) | `hive-v1.7.15-linux-arm64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-linux-arm64) |
320
- | macOS Apple Silicon (M1/M2/M3/M4) | `hive-v1.7.15-macos-arm64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-macos-arm64) |
321
- | macOS Intel | `hive-v1.7.15-macos-x64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-macos-x64) |
322
- | Windows x64 | `hive-v1.7.15-windows-x64.exe` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-windows-x64.exe) |
291
+ | Linux x64 | `hive-v1.7.17-linux-x64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-linux-x64) |
292
+ | Linux ARM64 (Raspberry Pi, etc.) | `hive-v1.7.17-linux-arm64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-linux-arm64) |
293
+ | macOS Apple Silicon (M1/M2/M3/M4) | `hive-v1.7.17-macos-arm64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-macos-arm64) |
294
+ | macOS Intel | `hive-v1.7.17-macos-x64` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-macos-x64) |
295
+ | Windows x64 | `hive-v1.7.17-windows-x64.exe` | [Descargar](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-windows-x64.exe) |
323
296
 
324
297
  > Los links anteriores siempre apuntan a la última versión publicada. Si necesitas una versión específica, visita la [página de releases](https://github.com/johpaz/hive/releases).
325
298
 
@@ -329,7 +302,7 @@ Descarga manual de cualquier plataforma o versión específica.
329
302
 
330
303
  ```bash
331
304
  # 1. Descargar el binario (reemplaza "linux-x64" por "linux-arm64" si es ARM)
332
- curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-linux-x64
305
+ curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-linux-x64
333
306
 
334
307
  # 2. Dar permisos de ejecución
335
308
  chmod +x hive
@@ -361,7 +334,7 @@ hive start
361
334
 
362
335
  ```bash
363
336
  # 1. Descargar
364
- curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-macos-arm64
337
+ curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-macos-arm64
365
338
 
366
339
  # 2. Dar permisos de ejecución
367
340
  chmod +x hive
@@ -396,7 +369,7 @@ hive start
396
369
  Igual que Apple Silicon pero descarga `macos-x64`:
397
370
 
398
371
  ```bash
399
- curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-macos-x64
372
+ curl -L -o hive https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-macos-x64
400
373
  chmod +x hive
401
374
  xattr -d com.apple.quarantine hive
402
375
  curl -L https://github.com/johpaz/hive/releases/latest/download/ui-dist.tar.gz \
@@ -411,7 +384,7 @@ mkdir -p ~/.hive/ui && cp -r ui-dist/* ~/.hive/ui/
411
384
 
412
385
  **Paso 1 — Descargar el binario**
413
386
 
414
- Descarga [`hive-v1.7.15-windows-x64.exe`](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.15-windows-x64.exe) desde GitHub o desde [hiveagents.io](https://www.hiveagents.io/#installation).
387
+ Descarga [`hive-v1.7.17-windows-x64.exe`](https://github.com/johpaz/hive/releases/latest/download/hive-v1.7.17-windows-x64.exe) desde GitHub o desde [hiveagents.io](https://www.hiveagents.io/#installation).
415
388
 
416
389
  **Paso 2 — Windows SmartScreen**
417
390
 
@@ -441,7 +414,7 @@ tar -xzf ui-dist.tar.gz -C "$env:USERPROFILE\.hive\ui"
441
414
  **Paso 4 — Ejecutar**
442
415
 
443
416
  ```powershell
444
- .\hive-v1.7.15-windows-x64.exe start
417
+ .\hive-v1.7.17-windows-x64.exe start
445
418
  ```
446
419
 
447
420
  El navegador se abre automáticamente en `http://localhost:18790`.
@@ -450,7 +423,7 @@ El navegador se abre automáticamente en `http://localhost:18790`.
450
423
 
451
424
  ```powershell
452
425
  # Mover a una carpeta ya en el PATH, por ejemplo:
453
- Move-Item .\hive-v1.7.15-windows-x64.exe C:\Windows\System32\hive.exe
426
+ Move-Item .\hive-v1.7.17-windows-x64.exe C:\Windows\System32\hive.exe
454
427
 
455
428
  # Luego ejecutar desde cualquier lugar:
456
429
  hive start
@@ -501,7 +474,7 @@ El binario standalone es ideal para llevarlo en una USB. Tu agente viaja contigo
501
474
  **Preparar la USB:**
502
475
 
503
476
  ```bash
504
- cp hive-v1.7.15-linux-x64 /media/usb/hive
477
+ cp hive-v1.7.17-linux-x64 /media/usb/hive
505
478
  chmod +x /media/usb/hive
506
479
  cp -r ui-dist/* /media/usb/ui/
507
480