hippo-memory 1.11.2 → 1.11.4
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/dist/api.d.ts +155 -5
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +421 -11
- package/dist/api.js.map +1 -1
- package/dist/cli.js +160 -369
- package/dist/cli.js.map +1 -1
- package/dist/dedupe.d.ts +34 -0
- package/dist/dedupe.d.ts.map +1 -0
- package/dist/dedupe.js +61 -0
- package/dist/dedupe.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +122 -1
- package/dist/server.js.map +1 -1
- package/dist/src/api.js +421 -11
- package/dist/src/api.js.map +1 -1
- package/dist/src/cli.js +160 -369
- package/dist/src/cli.js.map +1 -1
- package/dist/src/dedupe.js +61 -0
- package/dist/src/dedupe.js.map +1 -0
- package/dist/src/server.js +122 -1
- package/dist/src/server.js.map +1 -1
- package/dist/src/version.js +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/extensions/openclaw-plugin/openclaw.plugin.json +1 -1
- package/extensions/openclaw-plugin/package.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -9,9 +9,10 @@
|
|
|
9
9
|
import { type DatabaseSyncLike } from './db.js';
|
|
10
10
|
import { type TaskSnapshot, type SessionEvent } from './store.js';
|
|
11
11
|
import type { SessionHandoff } from './handoff.js';
|
|
12
|
-
import { type MemoryKind } from './memory.js';
|
|
12
|
+
import { type MemoryKind, type MemoryEntry } from './memory.js';
|
|
13
13
|
import { type AuditEvent, type AuditOp } from './audit.js';
|
|
14
14
|
import { type ApiKeyListItem } from './auth.js';
|
|
15
|
+
import { type AmbientState } from './ambient.js';
|
|
15
16
|
export interface Context {
|
|
16
17
|
hippoRoot: string;
|
|
17
18
|
tenantId: string;
|
|
@@ -399,13 +400,23 @@ export type DrillDownOutcome = DrillDownResult | DrillDownFailure;
|
|
|
399
400
|
export declare function drillDown(ctx: Context, summaryId: string, opts?: DrillDownOpts): DrillDownOutcome;
|
|
400
401
|
/**
|
|
401
402
|
* Apply a positive/negative outcome to a list of recently-recalled memory ids.
|
|
402
|
-
* Used by the MCP `hippo_outcome` tool
|
|
403
|
-
* to ctx.tenantId are silently skipped
|
|
404
|
-
* a stale id from another tenant doesn't
|
|
405
|
-
* outcome emits one audit_log row with
|
|
403
|
+
* Used by the MCP `hippo_outcome` tool and the HTTP `POST /v1/outcome` route.
|
|
404
|
+
* Tenant-scoped: ids that don't belong to ctx.tenantId are silently skipped
|
|
405
|
+
* (matches the prior MCP semantics — a stale id from another tenant doesn't
|
|
406
|
+
* crash the call). Each successful outcome emits one audit_log row with
|
|
407
|
+
* op='outcome' tagged with ctx.actor.
|
|
408
|
+
*
|
|
409
|
+
* Returns `{applied, appliedIds}`. `appliedIds` is the tenant-filtered subset
|
|
410
|
+
* of input ids that actually had `applyOutcome` run on them (i.e. ids whose
|
|
411
|
+
* `readEntry(..., ctx.tenantId)` resolved). Callers that surface the id list
|
|
412
|
+
* over a multi-tenant boundary (HTTP /v1/outcome last-recall path, Python SDK)
|
|
413
|
+
* MUST return `appliedIds` instead of the raw input list — otherwise the
|
|
414
|
+
* non-applied (cross-tenant) ids leak to the caller. Added in v1.11.4 to
|
|
415
|
+
* close that disclosure path on POST /v1/outcome.
|
|
406
416
|
*/
|
|
407
417
|
export declare function outcome(ctx: Context, ids: ReadonlyArray<string>, good: boolean): {
|
|
408
418
|
applied: number;
|
|
419
|
+
appliedIds: string[];
|
|
409
420
|
};
|
|
410
421
|
/**
|
|
411
422
|
* Delete a memory by id. `deleteEntry` threads ctx.actor into its internal
|
|
@@ -527,4 +538,143 @@ export interface AuditListOpts {
|
|
|
527
538
|
* A5: cmdAuditList does not record a 'recall'-style read event).
|
|
528
539
|
*/
|
|
529
540
|
export declare function auditList(ctx: Context, opts: AuditListOpts): AuditEvent[];
|
|
541
|
+
/**
|
|
542
|
+
* Options for `getContext` — assemble a budget-bounded context bundle
|
|
543
|
+
* (recalled memories + active task snapshot + handoff + recent events).
|
|
544
|
+
* Extracted from `cmdContext` in `cli.ts` in Episode A of the api.ts refactor.
|
|
545
|
+
*
|
|
546
|
+
* Named `getContext` (not `context`) to avoid collision with the `Context`
|
|
547
|
+
* interface above and the ubiquitous `ctx: Context` convention. Follows the
|
|
548
|
+
* existing `getEntry` naming pattern in store.ts.
|
|
549
|
+
*
|
|
550
|
+
* Scope narrow (T5 execute decision): rendering opts (`format`, `framing`,
|
|
551
|
+
* `rendered`) and host-side opts (`auto`) are NOT included here. The print
|
|
552
|
+
* helpers (`printContextMarkdown`, `printActiveTaskSnapshot`, `printHandoff`,
|
|
553
|
+
* `printSessionEvents`) are shared with `cmdRecall` / `cmdSnapshot` /
|
|
554
|
+
* `cmdHandoffShow` — moving them into api.ts would expand T5 to also rewire
|
|
555
|
+
* those commands. CLI handles rendering + auto-resolution. Episode B can add
|
|
556
|
+
* `api.renderContext` once a shared rendering need actually materializes.
|
|
557
|
+
*/
|
|
558
|
+
export interface ContextOpts {
|
|
559
|
+
q?: string;
|
|
560
|
+
/** Default 1500 tokens. */
|
|
561
|
+
budget?: number;
|
|
562
|
+
limit?: number;
|
|
563
|
+
pinnedOnly?: boolean;
|
|
564
|
+
scope?: string;
|
|
565
|
+
includeRecent?: number;
|
|
566
|
+
}
|
|
567
|
+
export interface ContextResultEntry {
|
|
568
|
+
entry: MemoryEntry;
|
|
569
|
+
score: number;
|
|
570
|
+
tokens: number;
|
|
571
|
+
isGlobal?: boolean;
|
|
572
|
+
isFreshTail?: boolean;
|
|
573
|
+
}
|
|
574
|
+
export interface ContextResult {
|
|
575
|
+
entries: ContextResultEntry[];
|
|
576
|
+
tokens: number;
|
|
577
|
+
activeSnapshot?: TaskSnapshot | null;
|
|
578
|
+
sessionHandoff?: SessionHandoff | null;
|
|
579
|
+
recentEvents?: SessionEvent[];
|
|
580
|
+
}
|
|
581
|
+
/**
|
|
582
|
+
* Assemble a context bundle: recalled memories (pinned-only / strength-sorted
|
|
583
|
+
* fallback / hybrid search) + active task snapshot + session handoff + recent
|
|
584
|
+
* session events. Budget-bounded, tenant-scoped. Mutates `last_retrieval_ids`
|
|
585
|
+
* + emits a 'recall' audit row for non-pinned, non-'*' queries.
|
|
586
|
+
*
|
|
587
|
+
* Behaves like the pre-extraction `cmdContext` data-loading + selection
|
|
588
|
+
* pipeline. CLI presentation (markdown / json / additional-context rendering)
|
|
589
|
+
* stays in `cli.ts`.
|
|
590
|
+
*
|
|
591
|
+
* Tenant scope: all `loadAllEntries` / snapshot / handoff / events reads use
|
|
592
|
+
* `ctx.tenantId`. Cross-tenant rows are filtered out.
|
|
593
|
+
*
|
|
594
|
+
* Returns an empty result (`entries: []`, snapshot/handoff/events undefined)
|
|
595
|
+
* when there's nothing to surface (no memories AND no snapshot AND no handoff
|
|
596
|
+
* AND no recent events).
|
|
597
|
+
*/
|
|
598
|
+
export declare function getContext(ctx: Context, opts?: ContextOpts): Promise<ContextResult>;
|
|
599
|
+
/**
|
|
600
|
+
* Options for `sleep` — run the pure-storage consolidation pipeline
|
|
601
|
+
* (consolidate + dedup + audit + share + ambient) and return structured counts.
|
|
602
|
+
*
|
|
603
|
+
* Extracted from `cmdSleepCore` Phase 2-6 in Episode A. NOT covered by api.sleep:
|
|
604
|
+
* the cli-only auto-learn phase (Phase 1: learnFromRepo + learnFromMemoryMd),
|
|
605
|
+
* which is intrinsically host-bound (uses `process.cwd()` / `os.homedir()`).
|
|
606
|
+
* Auto-learn stays in cli.ts cmdSleepCore as a pre-api block.
|
|
607
|
+
*
|
|
608
|
+
* The CLI `cmdSleep` wrapper continues to own the log-file tee + console
|
|
609
|
+
* rendering + `process.exit`; `api.sleep` is pure (no console.log, no IO
|
|
610
|
+
* beyond the store).
|
|
611
|
+
*/
|
|
612
|
+
export interface SleepOpts {
|
|
613
|
+
dryRun?: boolean;
|
|
614
|
+
noShare?: boolean;
|
|
615
|
+
}
|
|
616
|
+
export interface SleepResult {
|
|
617
|
+
active: number;
|
|
618
|
+
removed: number;
|
|
619
|
+
mergedEpisodic: number;
|
|
620
|
+
newSemantic: number;
|
|
621
|
+
dryRun: boolean;
|
|
622
|
+
deduped?: {
|
|
623
|
+
removed: number;
|
|
624
|
+
semDups: number;
|
|
625
|
+
epiDups: number;
|
|
626
|
+
crossDups: number;
|
|
627
|
+
};
|
|
628
|
+
audit?: {
|
|
629
|
+
errorsRemoved: number;
|
|
630
|
+
warningCount: number;
|
|
631
|
+
};
|
|
632
|
+
shared?: number;
|
|
633
|
+
ambient?: AmbientState | null;
|
|
634
|
+
details?: string[];
|
|
635
|
+
}
|
|
636
|
+
/**
|
|
637
|
+
* Run the pure-storage consolidation pipeline.
|
|
638
|
+
*
|
|
639
|
+
* Tenant scope note: sleep operates on the WHOLE hippoRoot (all tenants in
|
|
640
|
+
* it), matching the pre-refactor cmdSleepCore behavior. Correct for a CLI
|
|
641
|
+
* maintenance op invoked by the operator. Episode B (v1.11.4) exposed this
|
|
642
|
+
* over HTTP `/v1/sleep` with loopback-only enforcement (per-request guard
|
|
643
|
+
* in the handler plus serve()'s boot-time host check). The TODOS.md
|
|
644
|
+
* per-tenant scoping follow-up remains open for the day non-loopback
|
|
645
|
+
* serving lands — at that point the route will need an admin-role gate OR
|
|
646
|
+
* api.sleep itself will need to scope dedup / audit / delete by ctx.tenantId.
|
|
647
|
+
*
|
|
648
|
+
* Audit emission gap: the consolidation phases (dedup, audit-delete) do
|
|
649
|
+
* NOT emit audit_log rows today, matching pre-refactor cmdSleepCore. Same
|
|
650
|
+
* CLI/MCP parity gap that T6 fixed for cmdOutcome, now visible at the api
|
|
651
|
+
* surface. Tracked in TODOS.md "Episode A follow-ups" for a future minor.
|
|
652
|
+
*/
|
|
653
|
+
export declare function sleep(ctx: Context, opts?: SleepOpts): Promise<SleepResult>;
|
|
654
|
+
/**
|
|
655
|
+
* Apply an outcome to the ids most recently returned by `recall()`.
|
|
656
|
+
*
|
|
657
|
+
* Reads `loadIndex(ctx.hippoRoot).last_retrieval_ids` (per-hippoRoot local
|
|
658
|
+
* state; not tenant-scoped at the index layer) and forwards to `outcome()`,
|
|
659
|
+
* which DOES tenant-filter via `readEntry(..., ctx.tenantId)`. Cross-tenant
|
|
660
|
+
* ids in `last_retrieval_ids` are silently skipped, matching the MCP
|
|
661
|
+
* `hippo_outcome` semantics.
|
|
662
|
+
*
|
|
663
|
+
* **Tenant-safe response shape (v1.11.4 security fix):** the returned `ids`
|
|
664
|
+
* field contains ONLY the tenant-filtered subset that actually had outcomes
|
|
665
|
+
* applied (i.e. `appliedIds` from the inner `outcome()` call). Earlier
|
|
666
|
+
* versions returned the raw `last_retrieval_ids` regardless of tenant, which
|
|
667
|
+
* leaked cross-tenant memory IDs to the caller via POST /v1/outcome's
|
|
668
|
+
* no-body last-recall response. The fix is at this helper so all callers
|
|
669
|
+
* (CLI cmdOutcome, HTTP /v1/outcome, MCP `hippo_outcome` if added later)
|
|
670
|
+
* inherit the tenant-safe contract.
|
|
671
|
+
*
|
|
672
|
+
* Do NOT tighten `loadIndex` with `tenantId` inside this helper — doing so
|
|
673
|
+
* would break the (correct) cross-tenant-silent-skip behavior covered by
|
|
674
|
+
* the test in `tests/api-outcome-for-last-recall.test.ts`.
|
|
675
|
+
*/
|
|
676
|
+
export declare function outcomeForLastRecall(ctx: Context, good: boolean): {
|
|
677
|
+
applied: number;
|
|
678
|
+
ids: string[];
|
|
679
|
+
};
|
|
530
680
|
//# sourceMappingURL=api.d.ts.map
|
package/dist/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EAA6B,KAAK,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAC3E,OAAO,
|
|
1
|
+
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAG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