abmind 0.1.7 → 0.1.8-alpha.10

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 (100) hide show
  1. package/dist/cli/abmind-doctor.d.ts +4 -2
  2. package/dist/cli/abmind-doctor.d.ts.map +1 -1
  3. package/dist/cli/abmind-doctor.js +231 -18
  4. package/dist/cli/abmind-doctor.js.map +1 -1
  5. package/dist/cli/abmind-hook-wakeup.js +16 -7
  6. package/dist/cli/abmind-hook-wakeup.js.map +1 -1
  7. package/dist/cli/abmind-install.d.ts +1 -1
  8. package/dist/cli/abmind-install.js +40 -77
  9. package/dist/cli/abmind-install.js.map +1 -1
  10. package/dist/cli/abmind-passwd.d.ts +6 -0
  11. package/dist/cli/abmind-passwd.d.ts.map +1 -0
  12. package/dist/cli/abmind-passwd.js +163 -0
  13. package/dist/cli/abmind-passwd.js.map +1 -0
  14. package/dist/cli/abmind-recall.js +17 -9
  15. package/dist/cli/abmind-recall.js.map +1 -1
  16. package/dist/cli/abmind-restore.js +27 -11
  17. package/dist/cli/abmind-restore.js.map +1 -1
  18. package/dist/cli/abmind-sleep.js +16 -1
  19. package/dist/cli/abmind-sleep.js.map +1 -1
  20. package/dist/cli/abmind-store.js +7 -7
  21. package/dist/cli/abmind-store.js.map +1 -1
  22. package/dist/cli/abmind.js +14 -1
  23. package/dist/cli/abmind.js.map +1 -1
  24. package/dist/src/backup.d.ts +1 -1
  25. package/dist/src/backup.d.ts.map +1 -1
  26. package/dist/src/backup.js +58 -15
  27. package/dist/src/backup.js.map +1 -1
  28. package/dist/src/citation-detector.d.ts +14 -0
  29. package/dist/src/citation-detector.d.ts.map +1 -0
  30. package/dist/src/citation-detector.js +64 -0
  31. package/dist/src/citation-detector.js.map +1 -0
  32. package/dist/src/deploy-lib/manifest.d.ts +2 -0
  33. package/dist/src/deploy-lib/manifest.d.ts.map +1 -1
  34. package/dist/src/deploy-lib/manifest.js.map +1 -1
  35. package/dist/src/emotion-arc.d.ts +1 -1
  36. package/dist/src/emotion-arc.d.ts.map +1 -1
  37. package/dist/src/emotion-utils.d.ts +2 -0
  38. package/dist/src/emotion-utils.d.ts.map +1 -1
  39. package/dist/src/emotion-utils.js.map +1 -1
  40. package/dist/src/ensure-initialized.d.ts.map +1 -1
  41. package/dist/src/ensure-initialized.js +11 -3
  42. package/dist/src/ensure-initialized.js.map +1 -1
  43. package/dist/src/imemory-system.d.ts +1 -1
  44. package/dist/src/imemory-system.d.ts.map +1 -1
  45. package/dist/src/index.d.ts +2 -0
  46. package/dist/src/index.d.ts.map +1 -1
  47. package/dist/src/index.js +1 -0
  48. package/dist/src/index.js.map +1 -1
  49. package/dist/src/mem-types.d.ts +5 -0
  50. package/dist/src/mem-types.d.ts.map +1 -1
  51. package/dist/src/memory-db.d.ts.map +1 -1
  52. package/dist/src/memory-db.js +2 -29
  53. package/dist/src/memory-db.js.map +1 -1
  54. package/dist/src/memory-editor.d.ts.map +1 -1
  55. package/dist/src/memory-editor.js +20 -4
  56. package/dist/src/memory-editor.js.map +1 -1
  57. package/dist/src/memory-index.d.ts +4 -0
  58. package/dist/src/memory-index.d.ts.map +1 -1
  59. package/dist/src/memory-index.js +26 -0
  60. package/dist/src/memory-index.js.map +1 -1
  61. package/dist/src/memory-ipc-client.d.ts +2 -0
  62. package/dist/src/memory-ipc-client.d.ts.map +1 -1
  63. package/dist/src/memory-ipc-client.js +12 -2
  64. package/dist/src/memory-ipc-client.js.map +1 -1
  65. package/dist/src/memory-ipc-server.d.ts +3 -0
  66. package/dist/src/memory-ipc-server.d.ts.map +1 -1
  67. package/dist/src/memory-ipc-server.js +9 -1
  68. package/dist/src/memory-ipc-server.js.map +1 -1
  69. package/dist/src/memory-manager.d.ts +9 -1
  70. package/dist/src/memory-manager.d.ts.map +1 -1
  71. package/dist/src/memory-manager.js +15 -3
  72. package/dist/src/memory-manager.js.map +1 -1
  73. package/dist/src/message-store.d.ts +9 -2
  74. package/dist/src/message-store.d.ts.map +1 -1
  75. package/dist/src/message-store.js +13 -2
  76. package/dist/src/message-store.js.map +1 -1
  77. package/dist/src/recall-engine.d.ts.map +1 -1
  78. package/dist/src/recall-engine.js +38 -1
  79. package/dist/src/recall-engine.js.map +1 -1
  80. package/dist/src/session-context.d.ts +10 -1
  81. package/dist/src/session-context.d.ts.map +1 -1
  82. package/dist/src/session-context.js +4 -3
  83. package/dist/src/session-context.js.map +1 -1
  84. package/dist/src/sleep/orchestrator.d.ts.map +1 -1
  85. package/dist/src/sleep/orchestrator.js +9 -0
  86. package/dist/src/sleep/orchestrator.js.map +1 -1
  87. package/dist/src/sleep/skill-dedup.d.ts +22 -0
  88. package/dist/src/sleep/skill-dedup.d.ts.map +1 -0
  89. package/dist/src/sleep/skill-dedup.js +86 -0
  90. package/dist/src/sleep/skill-dedup.js.map +1 -0
  91. package/dist/src/status-block.d.ts.map +1 -1
  92. package/dist/src/status-block.js +16 -0
  93. package/dist/src/status-block.js.map +1 -1
  94. package/package.json +1 -1
  95. package/prompts/sleep/05-contradiction-and-graph.md +2 -0
  96. package/prompts/sleep/10-skill-review.md +18 -1
  97. package/prompts/sleep/SOUL-Dreamy.md +1 -0
  98. package/templates/core/SOUL.md +1 -1
  99. package/templates/core/memory-tools.md +30 -4
  100. package/CHANGELOG.md +0 -88
package/CHANGELOG.md DELETED
@@ -1,88 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to abmind. Follows [Keep a Changelog](https://keepachangelog.com/).
4
-
5
- ## [0.1.5] — 2026-06-01
6
-
7
- ### Added
8
- - **abmind install** — full onboard: native deps, ollama check, encryption passphrase, memory DB init, user_profile.md seeding, install log
9
- - **Agent name** — install asks agent name, writes to SOUL.md template (`<agentName>` placeholder)
10
- - **`--agent-name`** flag for non-interactive installs
11
- - **`rebuildFtsIndexes()`** on MemoryBackend interface
12
- - **Block system/agent** from storing memories + 24h TTL cleanup (#701)
13
-
14
- ### Changed
15
- - SOUL template: "I am <agentName>, an autonomous agent. abtars is my runtime — it gives me voice and hands."
16
- - `seedCoreFiles` reads from `templates/core/SOUL.md` (was `core/SOUL.md`)
17
- - Sleep budget raised to 18 + reset llmCalls on resume (#684)
18
-
19
- ### Fixed
20
- - `abmind bundle --help` exits with usage instead of running bundle
21
- - Scope sleep message query to primary user_id (#696)
22
- - Lazy-load better-sqlite3 — no top-level require (#713)
23
-
24
- ## [0.1.4] — 2026-05-31
25
-
26
- ### Added
27
- - **Backup** — `abmind backup --database` flag + auto key-file fallback (#707)
28
- - **FTS self-heal** — `rebuildFtsIndexes()` exposed on MemoryBackend interface (#706)
29
- - **Session context** — `skipDailies` + `maxAgeMs` options (#658)
30
- - **SESSION_HISTORY_CAP** — cap history budget at 25000 chars (#656)
31
- - **buildStatusBlock** — compact system status for session-start (#646)
32
- - **Curation counter** — skip candidates after 3 failures with same model (#639)
33
- - **Wiki** — 13 pages (recall, classification, configuration, backup, troubleshooting + rewrites)
34
-
35
- ### Changed
36
- - Sleep pipeline: merge core-promotion into retro-derive (two-stage knowledge funnel, #630)
37
- - Consolidation writes to `weekly/` not `daily/` (#640)
38
- - Exclude non-numbered files from sleep step loader (#637)
39
- - [RECENT] shows newest messages, not oldest (#654)
40
- - README rewrite: selling points, badges, agglutinating language examples
41
-
42
- ### Fixed
43
- - `[NO-REPLY]` renamed to `[NO_REPLY]` (underscore) matching bridge filter
44
-
45
- ## [0.1.3] — 2026-05-20
46
-
47
- ### Added
48
- - Dreaming pipeline — multi-step sleep with per-step retry
49
- - CI/CD — GitHub Actions build + test
50
- - Community templates — SOUL.md, user_profile.md, agent_notes.md
51
-
52
- ## [0.1.2] — 2026-05-07
53
-
54
- ### Added
55
- - **Context Orchestrator** — moved from abtars into abmind (memory logic owns context)
56
- - **Lazy runtime init** — `ensureInitialized()` seeds core files + runs schema migrations on first use
57
- - **SOUL-Dreamy.md** — sleep identity prompt (context injection, not separate LLM call)
58
- - **abmind doctor** — CLI health check (permissions, DB integrity, ollama, sqlite-vec)
59
- - **Emotion boost** — `applyEmotionBoost` in recall engine (linear |e|×0.02, tie-breaker only)
60
- - **Tool result pruner** — truncates oversized tool outputs before context injection
61
- - **Native loader** — loads sqlite-vec from `~/.abmind/lib/` via createRequire
62
- - **Bundled core templates** — SOUL.md, user_profile.md, agent_notes.md, core_facts.md, memory-tools.md
63
- - **File logging** — standalone mode writes to `~/.abmind/logs/`
64
-
65
- ### Changed
66
- - Public API shrunk from ~120 to ~36 exports (#432)
67
- - Sleep orchestrator: identity step is context injection (prepended to first real step)
68
- - Recall: `applySpacingBoost` pipeline stage
69
-
70
- ### Fixed
71
- - Sleep audit regex matched 6-digit time but files use 4-digit (#444)
72
- - Crypto: `decryptWithKey` uses provided key correctly
73
-
74
- ## [0.1.0] — 2026-04-15
75
-
76
- ### Added
77
- - Memory engine — SQLite + FTS5 + trigram + vector search (sqlite-vec)
78
- - 4-layer recall: full-text, trigram, semantic embeddings, consolidated summaries
79
- - Ingest pipeline — entity extraction, emotion tagging, classification
80
- - Sleep system — 17-step overnight maintenance (gc-noise, daily summary, extract, retrospective, consolidate, prune)
81
- - OpenClaw plugin — memory tools for OpenClaw gateway
82
- - CLI hooks — `hook-wakeup`, `hook-recall`, `hook-store` for external integrations
83
- - Credential vault — encrypted secret storage (AES-256-GCM)
84
- - Injection scanner — detects prompt injection in stored content
85
- - NATO Admiralty Code classification (0-3 clearance levels)
86
- - Session context builder — wake-up context for new sessions
87
- - Embedding provider — Ollama nomic-embed-text (local, no API key)
88
- - Backup/restore — `abmind backup`, `abmind restore`