@deeplake/hivemind 0.7.50 → 0.7.52

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.
Files changed (38) hide show
  1. package/.claude-plugin/marketplace.json +3 -3
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/README.md +17 -35
  4. package/bundle/cli.js +10120 -21928
  5. package/codex/bundle/capture.js +3 -74
  6. package/codex/bundle/commands/auth-login.js +3 -74
  7. package/codex/bundle/graph-pull-worker.js +3 -74
  8. package/codex/bundle/pre-tool-use.js +3 -74
  9. package/codex/bundle/session-start-setup.js +3 -74
  10. package/codex/bundle/session-start.js +3 -74
  11. package/codex/bundle/shell/deeplake-shell.js +3 -74
  12. package/codex/bundle/skillify-worker.js +0 -28
  13. package/codex/bundle/stop.js +3 -74
  14. package/codex/skills/hivemind-goals/SKILL.md +2 -2
  15. package/cursor/bundle/capture.js +3 -74
  16. package/cursor/bundle/commands/auth-login.js +3 -74
  17. package/cursor/bundle/graph-pull-worker.js +3 -74
  18. package/cursor/bundle/pre-tool-use.js +3 -74
  19. package/cursor/bundle/session-end.js +3 -6
  20. package/cursor/bundle/session-start.js +68 -338
  21. package/cursor/bundle/shell/deeplake-shell.js +3 -74
  22. package/cursor/bundle/skillify-worker.js +0 -28
  23. package/hermes/bundle/capture.js +3 -74
  24. package/hermes/bundle/commands/auth-login.js +3 -74
  25. package/hermes/bundle/graph-pull-worker.js +3 -74
  26. package/hermes/bundle/pre-tool-use.js +3 -74
  27. package/hermes/bundle/session-end.js +3 -6
  28. package/hermes/bundle/session-start.js +68 -338
  29. package/hermes/bundle/shell/deeplake-shell.js +3 -74
  30. package/hermes/bundle/skillify-worker.js +0 -28
  31. package/mcp/bundle/server.js +3 -74
  32. package/openclaw/dist/chunks/{config-FH6JYSJW.js → config-3D3X7JQH.js} +3 -6
  33. package/openclaw/dist/index.js +2 -68
  34. package/openclaw/dist/skillify-worker.js +0 -28
  35. package/openclaw/openclaw.plugin.json +1 -1
  36. package/openclaw/package.json +1 -1
  37. package/openclaw/skills/hivemind-goals/SKILL.md +1 -1
  38. package/package.json +1 -1
@@ -6,18 +6,18 @@
6
6
  },
7
7
  "metadata": {
8
8
  "description": "Cloud-backed persistent shared memory for AI agents powered by Deeplake",
9
- "version": "0.7.50"
9
+ "version": "0.7.52"
10
10
  },
11
11
  "plugins": [
12
12
  {
13
13
  "name": "hivemind",
14
14
  "description": "Persistent shared memory powered by Deeplake — captures all session activity and provides cross-session, cross-agent memory search",
15
- "version": "0.7.50",
15
+ "version": "0.7.52",
16
16
  "source": {
17
17
  "source": "git-subdir",
18
18
  "url": "https://github.com/activeloopai/hivemind.git",
19
19
  "path": "claude-code",
20
- "sha": "5a1de88c6297e427db26cea4552026b209051e93"
20
+ "sha": "f8a757482c192ad29790eb63a1be9d07c5633f18"
21
21
  },
22
22
  "homepage": "https://github.com/activeloopai/hivemind"
23
23
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hivemind",
3
3
  "description": "Cloud-backed persistent memory powered by Deeplake — read, write, and share memory across Claude Code sessions and agents",
4
- "version": "0.7.50",
4
+ "version": "0.7.52",
5
5
  "author": {
6
6
  "name": "Activeloop",
7
7
  "url": "https://deeplake.ai"
package/README.md CHANGED
@@ -307,26 +307,16 @@ hivemind skillify unpull # remove pulled skills
307
307
 
308
308
  Triggers, generation flow, full `pull` / `unpull` semantics, gate-CLI table per agent, env vars, logs: **[docs/SKILLIFY.md](docs/SKILLIFY.md)**.
309
309
 
310
- ## Rules + tasks (cross-agent KPIs)
310
+ ## Rules (cross-agent team principles)
311
311
 
312
- Hivemind **shares team rules and tasks across every agent in the org**, injected at SessionStart so every claude-code / cursor / hermes session starts knowing them. Tasks come with LLM-generated KPIs; the agent records progress via a CLI; `tasks report` shows current/target.
312
+ Hivemind **shares team rules across every agent in the org**, injected at SessionStart so every claude-code / cursor / hermes session starts knowing them. For personal or team work items with progress tracking, use [Goals + KPIs](#goals--kpis) (VFS-backed) instead.
313
313
 
314
314
  ```bash
315
- # Rules — team-wide principles ("never DROP TABLE on prod")
316
315
  hivemind rules add "no DROP TABLE on prod creds"
317
316
  hivemind rules list # latest 10 active
318
317
  hivemind rules edit <rule-id> "<new text>" # bumps version
319
318
  hivemind rules done <rule-id> # mark closed
320
319
 
321
- # Tasks — personal or team work items, with agent-generated KPIs
322
- hivemind tasks add "ship the search bar" [--scope me|team] [--assign <user>]
323
- hivemind tasks list [--mine|--team|--all] [--status active|done|all]
324
- hivemind tasks edit <task-id> "<new text>"
325
- hivemind tasks done <task-id>
326
- hivemind tasks assign <task-id> <user>
327
- hivemind tasks progress <task-id> <kpi-id> --value N [--note "..."]
328
- hivemind tasks report [<task-id>] # SUM events per KPI
329
-
330
320
  # Cross-agent diagnostic / pi/openclaw fallback
331
321
  hivemind context # print the injection block on demand
332
322
  ```
@@ -340,36 +330,28 @@ fall back to `hivemind context`):
340
330
  - <rule_id>: <text>
341
331
  (X more — run 'hivemind rules list' to see all)
342
332
 
343
- === HIVEMIND TASKS (N active) ===
344
- [team] <task_id>: <text> ★YOU | PRs merged: 3/5 count
345
- [me] <task_id>: <text> | Lines reviewed: 75/200 lines
346
- (X more — run 'hivemind tasks list' to see all)
347
-
348
333
  === HIVEMIND HOW-TO ===
349
334
  - Rules above are team principles. Treat any action that would violate one as a critical error and surface it to the user before proceeding.
350
- - Tasks above are your current work. Use 'hivemind tasks progress <task-id> <kpi-id> --value N' to record progress on a KPI.
351
- - Run 'hivemind rules list' / 'hivemind tasks list' for the full inventories beyond what's shown here.
335
+ - Run 'hivemind rules list' for the full inventory beyond what's shown here.
352
336
  ```
353
337
 
354
- **Auto-extract** — `gh pr merge` from inside an agent's Bash tool
355
- appends an event to `hivemind_task_events` automatically (failed
356
- merges, `--auto` enablement, interrupted commands all skipped). The
357
- event is "orphan" in v1 (no task binding yet); v1.1 ships
358
- `hivemind events attribute` for retroactive binding.
359
-
360
- **KPI generation** — `hivemind tasks add` calls Claude Sonnet to
361
- produce 1-3 KPIs from the task text. Failure modes (no API key,
362
- timeout, parse error) degrade to empty kpis; the task still INSERTs
363
- and the user can record progress manually.
364
-
365
338
  **Env vars:**
366
- - `HIVEMIND_RULES_TABLE`, `HIVEMIND_TASKS_TABLE`, `HIVEMIND_TASK_EVENTS_TABLE` — table names (default `hivemind_rules` / `hivemind_tasks` / `hivemind_task_events`).
367
- - `HIVEMIND_KPI_MODEL` — model id for KPI generation (default `claude-sonnet-4-6`).
368
- - `HIVEMIND_KPI_LLM=disable` — opt out of LLM KPI gen.
369
- - `ANTHROPIC_API_KEY` — required for KPI gen; absence is a silent no-op (kpis = `[]`).
339
+ - `HIVEMIND_RULES_TABLE` — table name (default `hivemind_rules`).
370
340
  - `HIVEMIND_CAPTURE=false` — full read-only mode. Skips placeholder + ensure DDL; renderer still injects.
371
341
 
372
- Full data model, identity contract, per-agent injection status, auto-extract pipeline, KPI LLM details, and known v1 limitations: **[docs/RULES_TASKS_KPIS.md](docs/RULES_TASKS_KPIS.md)**.
342
+ ## Goals + KPIs
343
+
344
+ Personal / team objectives + measurable targets live in the Deeplake virtual filesystem under `~/.deeplake/memory/goal/<owner>/<status>/<uuid>.md` and `~/.deeplake/memory/kpi/<goal_id>/<kpi-slug>.md`. Path encodes structure (owner, status, goal_id); the file body holds the human-readable description.
345
+
346
+ ```bash
347
+ # CLI fallback for runtimes that can't route VFS writes (cursor/hermes/pi)
348
+ hivemind goal add "ship the search bar"
349
+ hivemind goal list [--all|--mine]
350
+ hivemind goal done <goal_id>
351
+ hivemind goal progress <goal_id> opened|in_progress|closed
352
+ ```
353
+
354
+ For VFS-capable runtimes (claude-code/codex) the `hivemind-goals` skill creates and edits goals/KPIs directly via Bash heredoc against the VFS path — `mv` between `opened/`, `in_progress/`, and `closed/` is the canonical status transition. KPIs are manual files; the body format is documented in the skill (`target:`, `current:`, `unit:`).
373
355
 
374
356
  ## Architecture
375
357