hippo-memory 3.0.0 → 3.1.0

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 (61) hide show
  1. package/README.md +1 -0
  2. package/dist/api/detached.d.ts +6 -0
  3. package/dist/api/detached.js +16 -0
  4. package/dist/api/embeddings.d.ts +4 -3
  5. package/dist/api/embeddings.js +4 -4
  6. package/dist/api/memories/promote.js +2 -1
  7. package/dist/api/memories/remember-local.d.ts +5 -4
  8. package/dist/api/memories/remember-local.js +13 -10
  9. package/dist/api/session-end.js +1 -0
  10. package/dist/api/sharing.js +9 -7
  11. package/dist/api/sleep/auto-sleep.d.ts +1 -1
  12. package/dist/api/sleep/auto-sleep.js +5 -3
  13. package/dist/api/sleep/learn.js +5 -2
  14. package/dist/api/sleep/sleep-run.js +4 -2
  15. package/dist/api/types.d.ts +4 -0
  16. package/dist/base/util/detached-set.d.ts +8 -0
  17. package/dist/base/util/detached-set.js +35 -0
  18. package/dist/base/util/version.d.ts +1 -1
  19. package/dist/base/util/version.js +1 -1
  20. package/dist/db/store-runtime.d.ts +10 -3
  21. package/dist/db/store-runtime.js +19 -3
  22. package/dist/domain/search/detached-work.d.ts +6 -0
  23. package/dist/domain/search/detached-work.js +2 -0
  24. package/dist/domain/search/embed-memories.d.ts +4 -4
  25. package/dist/domain/search/embed-memories.js +4 -5
  26. package/dist/domain/sharing/global-sync.d.ts +8 -2
  27. package/dist/domain/sharing/global-sync.js +5 -5
  28. package/dist/domain/sharing/share.d.ts +4 -0
  29. package/dist/domain/sharing/share.js +2 -2
  30. package/dist/entry/eval-scripts.d.ts +1 -0
  31. package/dist/entry/sleep.d.ts +1 -0
  32. package/dist/index.d.ts +1 -1
  33. package/dist/server.d.ts +1 -0
  34. package/dist/store/sqlite/runtime/server-runtime.d.ts +6 -1
  35. package/dist/store/sqlite/runtime/server-runtime.js +15 -3
  36. package/dist/store/sqlite/runtime/worker-jobs.js +2 -2
  37. package/dist/surface/capture/compact.d.ts +3 -3
  38. package/dist/surface/capture/compact.js +4 -4
  39. package/dist/surface/capture/session-texts.js +4 -6
  40. package/dist/surface/cli/api-context.d.ts +5 -0
  41. package/dist/surface/cli/api-context.js +12 -0
  42. package/dist/surface/cli/goals.js +6 -8
  43. package/dist/surface/cli/hook-runtime.js +2 -2
  44. package/dist/surface/cli/memory-import.js +20 -15
  45. package/dist/surface/mcp/protocol.d.ts +6 -0
  46. package/dist/surface/mcp/protocol.js +1 -0
  47. package/dist/surface/mcp/stdio.js +11 -5
  48. package/dist/surface/open-store.d.ts +2 -2
  49. package/dist/surface/open-store.js +11 -7
  50. package/dist/surface/server/auth.d.ts +1 -1
  51. package/dist/surface/server/auth.js +13 -2
  52. package/dist/surface/server/boot.js +3 -2
  53. package/dist/surface/server/dashboard-listener.js +2 -2
  54. package/dist/surface/server/lifecycle.d.ts +2 -0
  55. package/dist/surface/server/lifecycle.js +4 -2
  56. package/dist/surface/server/mcp-http.js +1 -0
  57. package/dist/surface/server/types.d.ts +3 -0
  58. package/extensions/openclaw-plugin/openclaw.plugin.json +1 -1
  59. package/extensions/openclaw-plugin/package.json +1 -1
  60. package/openclaw.plugin.json +1 -1
  61. package/package.json +1 -1
@@ -75,6 +75,7 @@ function mcpContextFor(ctx, opts, project) {
75
75
  reach: ctx.reach,
76
76
  callers: ctx.callers,
77
77
  infra: ctx.infra,
78
+ detached: ctx.detached,
78
79
  };
79
80
  if (project !== undefined)
80
81
  mcpCtx.project = project;
@@ -14,6 +14,7 @@ import type { ConfigReader } from '../../host/config-file.js';
14
14
  import type { CallerState } from '../../api/callers.js';
15
15
  import type { SleepQueue } from './sleep-offload.js';
16
16
  import type { InfraPorts } from '../../base/ports/infra.js';
17
+ import type { DetachedWork } from '../../domain/search/detached-work.js';
17
18
  import type { ConnectorStore } from '../connectors/ingest.js';
18
19
  export interface ServerHandle {
19
20
  port: number;
@@ -147,6 +148,8 @@ export type ResolvedServeOptions = ServeOptions & {
147
148
  /** This server's outside services: one reranker registry for the server's life, the rest per
148
149
  * Context. */
149
150
  infra: () => InfraPorts;
151
+ /** Keeps the work a request starts and does not wait on; the server's stop settles it. */
152
+ detached: DetachedWork;
150
153
  sleeps: SleepQueue;
151
154
  counts: ServerCounts;
152
155
  };
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Make your agent's memory work like a brain. Hippo is long-term memory for coding agents.",
5
- "version": "3.0.0",
5
+ "version": "3.1.0",
6
6
 
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "type": "module",
5
5
  "description": "Make your agent's memory work like a brain. Hippo is long-term memory for coding agents.",
6
6
  "main": "index.ts",
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Make your agent's memory work like a brain. Hippo is long-term memory for coding agents.",
5
- "version": "3.0.0",
5
+ "version": "3.1.0",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Make your agent's memory work like a brain. Hippo is long-term memory for coding agents.",
5
5
  "mcpName": "io.github.kitfunso/hippo-memory",
6
6
  "type": "module",