@johpaz/hive-sdk 0.0.16 → 0.0.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/CHANGELOG.md +8 -0
- package/README.md +7 -7
- package/docs/API-TOOLS-SKILLS-CHANNELS.md +1 -1
- package/docs/API-WORKERS-EVENTS.md +3 -3
- package/docs/INDEX.md +2 -2
- package/docs/README.md +12 -12
- package/docs/TEMPLATE-HIVE-APP.md +6 -6
- package/package.json +2 -2
- package/packages/cli/src/index.ts +1 -1
- /package/packages/cli/bin/{hive → hives} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.0.17] - 2026-05-28
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **CLI bin renombrado**: `hive` → `hives` para evitar conflicto con `@johpaz/hive-agents` (harness original)
|
|
12
|
+
- Marca actualizada: removidas referencias a "Anomaly Co." — ahora consistente con `johpaz` / `tuprofedeia`
|
|
13
|
+
- `.npmignore` creado para paquete limpio
|
|
14
|
+
- `.github/CODEOWNERS` actualizado
|
|
15
|
+
|
|
8
16
|
## [0.0.16] - 2026-05-28
|
|
9
17
|
|
|
10
18
|
### Added
|
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
**The Hive Agent Harness SDK** — Build, deploy, and scale AI agent applications with multi-channel support, context engineering, and swarm orchestration.
|
|
10
10
|
|
|
11
|
-
> This Hive SDK powers the [Hive Harness](https://github.com/johpaz/hive). Use it to create your own harness instances without building everything from scratch.
|
|
11
|
+
> This Hive SDK powers the [Hive Harness](https://github.com/johpaz/hive-skd). Use it to create your own harness instances without building everything from scratch.
|
|
12
12
|
|
|
13
13
|
---
|
|
14
14
|
|
|
@@ -33,7 +33,7 @@ bun add @johpaz/hive-sdk
|
|
|
33
33
|
### Create a full harness application
|
|
34
34
|
|
|
35
35
|
```bash
|
|
36
|
-
|
|
36
|
+
hives create-app my-hive
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Generates a complete Hive harness with gateway, channels, and agent configuration.
|
|
@@ -41,28 +41,28 @@ Generates a complete Hive harness with gateway, channels, and agent configuratio
|
|
|
41
41
|
### Create a lightweight agent project
|
|
42
42
|
|
|
43
43
|
```bash
|
|
44
|
-
|
|
44
|
+
hives init my-agent
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
### Add a tool to your project
|
|
48
48
|
|
|
49
49
|
```bash
|
|
50
50
|
cd my-hive
|
|
51
|
-
|
|
51
|
+
hives add-tool search-docs
|
|
52
52
|
```
|
|
53
53
|
|
|
54
54
|
### Add a skill to your project
|
|
55
55
|
|
|
56
56
|
```bash
|
|
57
57
|
cd my-hive
|
|
58
|
-
|
|
58
|
+
hives add-skill onboarding
|
|
59
59
|
```
|
|
60
60
|
|
|
61
61
|
### Run your agent
|
|
62
62
|
|
|
63
63
|
```bash
|
|
64
64
|
cd my-agent
|
|
65
|
-
|
|
65
|
+
hives run
|
|
66
66
|
```
|
|
67
67
|
|
|
68
68
|
---
|
|
@@ -277,4 +277,4 @@ LOG_LEVEL=info # debug | info | warn | error
|
|
|
277
277
|
|
|
278
278
|
## Licencia
|
|
279
279
|
|
|
280
|
-
MIT © 2024-2025
|
|
280
|
+
MIT © 2024-2025 johpaz
|
|
@@ -192,13 +192,13 @@ const results = await pool.executeWithConcurrency(tasks, 5);
|
|
|
192
192
|
|
|
193
193
|
---
|
|
194
194
|
|
|
195
|
-
## CLI:
|
|
195
|
+
## CLI: hives add-worker
|
|
196
196
|
|
|
197
197
|
Genera un Bun Worker en tu proyecto:
|
|
198
198
|
|
|
199
199
|
```bash
|
|
200
200
|
cd my-project
|
|
201
|
-
|
|
201
|
+
hives add-worker researcher
|
|
202
202
|
```
|
|
203
203
|
|
|
204
204
|
Crea `src/workers/researcher.worker.ts`:
|
|
@@ -296,4 +296,4 @@ const canvas = new CanvasManager();
|
|
|
296
296
|
|
|
297
297
|
---
|
|
298
298
|
|
|
299
|
-
*Documentación Hive SDK v0.0.
|
|
299
|
+
*Documentación Hive SDK v0.0.17*
|
package/docs/INDEX.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
### 1. Crear una app harness completa
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
|
|
23
|
+
hives create-app my-hive
|
|
24
24
|
cd my-hive
|
|
25
25
|
bun install
|
|
26
26
|
cp .env.example .env
|
|
@@ -187,4 +187,4 @@ bun test --timeout 60000
|
|
|
187
187
|
|
|
188
188
|
---
|
|
189
189
|
|
|
190
|
-
*Documentación Hive SDK v0.0.
|
|
190
|
+
*Documentación Hive SDK v0.0.17*
|
package/docs/README.md
CHANGED
|
@@ -27,14 +27,14 @@ bun add @johpaz/hive-sdk
|
|
|
27
27
|
## CLI Commands
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
30
|
+
hives init <name> # Inicializar proyecto agente
|
|
31
|
+
hives create-app <name> # Crear aplicación harness completa
|
|
32
|
+
hives add-tool <name> # Añadir tool
|
|
33
|
+
hives add-skill <name> # Añadir skill
|
|
34
|
+
hives add-worker <name> # Añadir Bun Worker
|
|
35
|
+
hives run # Ejecutar agente
|
|
36
|
+
hives test # Test tools/skills
|
|
37
|
+
hives trace # Ver logs de ejecución
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Inicio Rápido
|
|
@@ -42,7 +42,7 @@ hive trace # Ver logs de ejecución
|
|
|
42
42
|
### 1. Crear una app harness completa
|
|
43
43
|
|
|
44
44
|
```bash
|
|
45
|
-
|
|
45
|
+
hives create-app my-hive
|
|
46
46
|
cd my-hive
|
|
47
47
|
bun install
|
|
48
48
|
cp .env.example .env
|
|
@@ -142,12 +142,12 @@ bun test --timeout 60000
|
|
|
142
142
|
|
|
143
143
|
## Changelog
|
|
144
144
|
|
|
145
|
-
### v0.0.
|
|
145
|
+
### v0.0.17
|
|
146
146
|
- **Bun Workers individuales**: `createWorker()`, `WorkerPool`, `agent.worker.ts`
|
|
147
147
|
- **Gateway simplificado**: HTTP/WebSocket server con `Bun.serve()`
|
|
148
148
|
- **Channels**: Telegram, Discord, WhatsApp, Slack, Webchat
|
|
149
149
|
- **Tool Runtime**: Ejecución paralela de tools vía Bun Workers
|
|
150
|
-
- **CLI mejorado**: `
|
|
150
|
+
- **CLI mejorado**: `hives create-app`, `hives add-tool`, `hives add-skill`, `hives add-worker`
|
|
151
151
|
- **Template hive-app**: Proyecto harness completo con Docker
|
|
152
152
|
- **39 tests pasando** en 12 archivos
|
|
153
153
|
|
|
@@ -158,4 +158,4 @@ bun test --timeout 60000
|
|
|
158
158
|
|
|
159
159
|
---
|
|
160
160
|
|
|
161
|
-
*Documentación Hive SDK v0.0.
|
|
161
|
+
*Documentación Hive SDK v0.0.17*
|
|
@@ -7,7 +7,7 @@ El template `hive-app` genera una **aplicación harness completa** lista para ej
|
|
|
7
7
|
## Generar una app
|
|
8
8
|
|
|
9
9
|
```bash
|
|
10
|
-
|
|
10
|
+
hives create-app my-hive
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
Esto crea el directorio `my-hive/` con la estructura completa.
|
|
@@ -320,8 +320,8 @@ await channelManager.initialize();
|
|
|
320
320
|
|
|
321
321
|
```bash
|
|
322
322
|
cd my-hive
|
|
323
|
-
|
|
324
|
-
|
|
323
|
+
hives add-worker researcher
|
|
324
|
+
hives add-worker coder
|
|
325
325
|
```
|
|
326
326
|
|
|
327
327
|
Esto genera `src/workers/researcher.worker.ts` y `src/workers/coder.worker.ts`.
|
|
@@ -330,7 +330,7 @@ Esto genera `src/workers/researcher.worker.ts` y `src/workers/coder.worker.ts`.
|
|
|
330
330
|
|
|
331
331
|
```bash
|
|
332
332
|
cd my-hive
|
|
333
|
-
|
|
333
|
+
hives add-tool search-docs
|
|
334
334
|
```
|
|
335
335
|
|
|
336
336
|
Genera `src/tools/search-docs.ts`.
|
|
@@ -339,7 +339,7 @@ Genera `src/tools/search-docs.ts`.
|
|
|
339
339
|
|
|
340
340
|
```bash
|
|
341
341
|
cd my-hive
|
|
342
|
-
|
|
342
|
+
hives add-skill onboarding
|
|
343
343
|
```
|
|
344
344
|
|
|
345
345
|
Genera `src/skills/onboarding.ts`.
|
|
@@ -357,4 +357,4 @@ bun test
|
|
|
357
357
|
|
|
358
358
|
---
|
|
359
359
|
|
|
360
|
-
*Documentación Hive SDK v0.0.
|
|
360
|
+
*Documentación Hive SDK v0.0.17*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@johpaz/hive-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.17",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Hive SDK — The Agent Harness SDK. Build, deploy, and scale AI agent applications with multi-channel support, context engineering, and swarm orchestration.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"main": "./packages/core/src/index.ts",
|
|
30
30
|
"types": "./packages/core/src/index.ts",
|
|
31
31
|
"bin": {
|
|
32
|
-
"
|
|
32
|
+
"hives": "./packages/cli/bin/hives"
|
|
33
33
|
},
|
|
34
34
|
"workspaces": [
|
|
35
35
|
"packages/core",
|
|
File without changes
|