@remnic/core 1.1.3 → 1.1.5
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/access-cli.js +19 -19
- package/dist/access-http.d.ts +7 -7
- package/dist/access-http.js +12 -11
- package/dist/access-mcp.d.ts +7 -7
- package/dist/access-mcp.js +11 -10
- package/dist/access-schema.d.ts +89 -4
- package/dist/access-schema.js +1 -1
- package/dist/{access-service-_AEUMVyX.d.ts → access-service-CWYIkMwY.d.ts} +74 -18
- package/dist/access-service.d.ts +7 -7
- package/dist/access-service.js +9 -8
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-recall.d.ts +1 -1
- package/dist/behavior-learner.d.ts +1 -1
- package/dist/behavior-signals.d.ts +1 -1
- package/dist/bootstrap.d.ts +6 -6
- package/dist/briefing.d.ts +2 -2
- package/dist/briefing.js +4 -4
- package/dist/buffer-surprise-report.d.ts +1 -1
- package/dist/buffer.d.ts +2 -2
- package/dist/calibration.d.ts +1 -1
- package/dist/causal-behavior.d.ts +1 -1
- package/dist/causal-consolidation.d.ts +2 -2
- package/dist/causal-consolidation.js +4 -4
- package/dist/{chunk-LZRYQK6L.js → chunk-3YBRSJ52.js} +2 -2
- package/dist/{chunk-DCE6SQLA.js → chunk-46AIFPQM.js} +3 -3
- package/dist/{chunk-AKUCB2OG.js → chunk-4CVIF7UZ.js} +14 -7
- package/dist/chunk-4CVIF7UZ.js.map +1 -0
- package/dist/{chunk-34F3PLWZ.js → chunk-57SNKQNS.js} +2 -2
- package/dist/{chunk-DHRQHX36.js → chunk-5XVDDCMH.js} +2 -2
- package/dist/{chunk-BOUYNNYD.js → chunk-67YLUWLG.js} +32 -13
- package/dist/{chunk-BOUYNNYD.js.map → chunk-67YLUWLG.js.map} +1 -1
- package/dist/{chunk-IM3JSE73.js → chunk-7NFZWXAY.js} +722 -27
- package/dist/chunk-7NFZWXAY.js.map +1 -0
- package/dist/{chunk-4PLGJRBV.js → chunk-DKVEJTLC.js} +188 -18
- package/dist/chunk-DKVEJTLC.js.map +1 -0
- package/dist/{chunk-DR7MCMPS.js → chunk-DTDB6YS2.js} +219 -9
- package/dist/chunk-DTDB6YS2.js.map +1 -0
- package/dist/{chunk-55FXRRSJ.js → chunk-ERWKQVCX.js} +2 -2
- package/dist/{chunk-7GCMLT7J.js → chunk-FG5R5AQF.js} +5 -5
- package/dist/{chunk-Y3WQ4ZWK.js → chunk-FLHPNR5W.js} +2 -2
- package/dist/{chunk-JWSENLQI.js → chunk-H62HCANJ.js} +3 -1
- package/dist/{chunk-JWSENLQI.js.map → chunk-H62HCANJ.js.map} +1 -1
- package/dist/{chunk-L5IIGA5V.js → chunk-HPJPGIGN.js} +2 -2
- package/dist/{chunk-SS253RXF.js → chunk-KCZZLFW5.js} +2 -2
- package/dist/{chunk-47WOM4YW.js → chunk-MJPNOMY4.js} +2 -2
- package/dist/{chunk-ZGXSCMQN.js → chunk-OAIXBFAH.js} +18 -18
- package/dist/{chunk-ZGXSCMQN.js.map → chunk-OAIXBFAH.js.map} +1 -1
- package/dist/{chunk-RILIVK4O.js → chunk-RICG4UNC.js} +28 -2
- package/dist/chunk-RICG4UNC.js.map +1 -0
- package/dist/{chunk-SMA4IMHV.js → chunk-SGTA3HJC.js} +3 -3
- package/dist/{chunk-VTJVUHRK.js → chunk-SRBJUAMP.js} +1 -1
- package/dist/chunk-SRBJUAMP.js.map +1 -0
- package/dist/{chunk-R2L7SUX2.js → chunk-TMPLRVHD.js} +2 -2
- package/dist/{chunk-43EKP2UK.js → chunk-TOC3VOOF.js} +1 -1
- package/dist/{chunk-43EKP2UK.js.map → chunk-TOC3VOOF.js.map} +1 -1
- package/dist/{chunk-USFPPRAF.js → chunk-WMK6YP7C.js} +5 -3
- package/dist/chunk-WMK6YP7C.js.map +1 -0
- package/dist/{chunk-N7X62G74.js → chunk-X6VBWOVZ.js} +4 -4
- package/dist/{chunk-LW2NMHDW.js → chunk-Y6EPN6XF.js} +2 -2
- package/dist/{chunk-LVYGDT5V.js → chunk-Z665HFAD.js} +10 -12
- package/dist/chunk-Z665HFAD.js.map +1 -0
- package/dist/{cli-x2APT9a6.d.ts → cli-CWLyGroU.d.ts} +4 -4
- package/dist/cli.d.ts +8 -8
- package/dist/cli.js +22 -21
- package/dist/{codex-materialize-CQlLTzke.d.ts → codex-materialize-XRen3WAz.d.ts} +1 -1
- package/dist/compression-optimizer.d.ts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +1 -1
- package/dist/consolidation-provenance-check.d.ts +2 -2
- package/dist/consolidation-undo.d.ts +2 -2
- package/dist/day-summary.d.ts +1 -1
- package/dist/delinearize.d.ts +1 -1
- package/dist/direct-answer-wiring.d.ts +1 -1
- package/dist/direct-answer.d.ts +1 -1
- package/dist/embedding-fallback.d.ts +1 -1
- package/dist/{engine-ICC2DSQF.js → engine-WJ7K6AZ2.js} +7 -5
- package/dist/entity-retrieval.d.ts +2 -2
- package/dist/entity-retrieval.js +4 -4
- package/dist/entity-schema.d.ts +1 -1
- package/dist/explicit-capture.d.ts +6 -6
- package/dist/extraction-judge-telemetry.d.ts +1 -1
- package/dist/extraction-judge-training.d.ts +1 -1
- package/dist/extraction-judge.d.ts +1 -1
- package/dist/extraction.d.ts +1 -1
- package/dist/extraction.js +2 -2
- package/dist/fallback-llm.d.ts +1 -1
- package/dist/identity-continuity.d.ts +1 -1
- package/dist/importance.d.ts +1 -1
- package/dist/index.d.ts +26 -14
- package/dist/index.js +47 -27
- package/dist/index.js.map +1 -1
- package/dist/intent.d.ts +1 -1
- package/dist/lifecycle.d.ts +1 -1
- package/dist/live-connectors-runner.d.ts +1 -1
- package/dist/local-llm.d.ts +1 -1
- package/dist/memory-action-policy.d.ts +1 -1
- package/dist/memory-cache.d.ts +1 -1
- package/dist/{memory-governance-KG52RITE.js → memory-governance-KXMAURFF.js} +5 -5
- package/dist/memory-lifecycle-ledger-utils.d.ts +1 -1
- package/dist/{memory-projection-store-D3vBHS4J.d.ts → memory-projection-store-ConH7gNj.d.ts} +2 -2
- package/dist/memory-projection-store.d.ts +2 -2
- package/dist/memory-projection-store.js +1 -1
- package/dist/memory-worth-outcomes.d.ts +2 -2
- package/dist/models-json.d.ts +1 -1
- package/dist/native-knowledge.d.ts +1 -1
- package/dist/operator-toolkit.d.ts +2 -2
- package/dist/operator-toolkit.js +7 -7
- package/dist/{orchestrator-ChkesB8U.d.ts → orchestrator-BHkiEBbd.d.ts} +36 -11
- package/dist/orchestrator.d.ts +6 -6
- package/dist/orchestrator.js +14 -14
- package/dist/patterns-cli.d.ts +1 -1
- package/dist/policy-runtime.d.ts +1 -1
- package/dist/{port-hqGnoStS.d.ts → port-DZHdlUId.d.ts} +1 -1
- package/dist/qmd-recall-cache.d.ts +2 -2
- package/dist/qmd.d.ts +2 -2
- package/dist/recall-disclosure-escalation.d.ts +1 -1
- package/dist/recall-explain-renderer.d.ts +1 -1
- package/dist/recall-explain-renderer.js +3 -3
- package/dist/recall-state.d.ts +1 -1
- package/dist/recall-tag-filter.d.ts +1 -1
- package/dist/recall-xray-cli.d.ts +1 -1
- package/dist/recall-xray-cli.js +4 -4
- package/dist/recall-xray-renderer.d.ts +1 -1
- package/dist/recall-xray-renderer.js +3 -3
- package/dist/recall-xray.d.ts +2 -2
- package/dist/recall-xray.js +2 -2
- package/dist/resolve-auth-token.d.ts +1 -1
- package/dist/resume-bundles.js +2 -2
- package/dist/retrieval-agents.d.ts +2 -2
- package/dist/retrieval-tiers.d.ts +1 -1
- package/dist/schemas.d.ts +54 -54
- package/dist/{semantic-consolidation-ByBXb-sf.d.ts → semantic-consolidation-Cxj-inGC.d.ts} +2 -2
- package/dist/semantic-consolidation.d.ts +3 -3
- package/dist/semantic-consolidation.js +4 -4
- package/dist/semantic-rule-promotion.js +4 -4
- package/dist/semantic-rule-verifier.d.ts +1 -1
- package/dist/semantic-rule-verifier.js +4 -4
- package/dist/session-observer-bands.d.ts +1 -1
- package/dist/session-observer-state.d.ts +1 -1
- package/dist/signal.d.ts +1 -1
- package/dist/storage.d.ts +2 -2
- package/dist/storage.js +3 -3
- package/dist/summarizer.d.ts +1 -1
- package/dist/summary-snapshot.d.ts +1 -1
- package/dist/temporal-supersession.d.ts +2 -2
- package/dist/temporal-validity.d.ts +1 -1
- package/dist/threading.d.ts +1 -1
- package/dist/tier-migration.d.ts +3 -3
- package/dist/tier-routing.d.ts +1 -1
- package/dist/topics.d.ts +1 -1
- package/dist/transcript.d.ts +1 -1
- package/dist/types-B49NzJ5q.d.ts +2707 -0
- package/dist/types.d.ts +1 -2668
- package/dist/types.js +1 -1
- package/dist/utility-runtime.d.ts +1 -1
- package/dist/verified-recall.js +4 -4
- package/package.json +6 -3
- package/scripts/ensure-better-sqlite3.mjs +124 -0
- package/dist/chunk-4PLGJRBV.js.map +0 -1
- package/dist/chunk-AKUCB2OG.js.map +0 -1
- package/dist/chunk-DR7MCMPS.js.map +0 -1
- package/dist/chunk-IM3JSE73.js.map +0 -1
- package/dist/chunk-LVYGDT5V.js.map +0 -1
- package/dist/chunk-RILIVK4O.js.map +0 -1
- package/dist/chunk-USFPPRAF.js.map +0 -1
- package/dist/chunk-VTJVUHRK.js.map +0 -1
- /package/dist/{chunk-LZRYQK6L.js.map → chunk-3YBRSJ52.js.map} +0 -0
- /package/dist/{chunk-DCE6SQLA.js.map → chunk-46AIFPQM.js.map} +0 -0
- /package/dist/{chunk-34F3PLWZ.js.map → chunk-57SNKQNS.js.map} +0 -0
- /package/dist/{chunk-DHRQHX36.js.map → chunk-5XVDDCMH.js.map} +0 -0
- /package/dist/{chunk-55FXRRSJ.js.map → chunk-ERWKQVCX.js.map} +0 -0
- /package/dist/{chunk-7GCMLT7J.js.map → chunk-FG5R5AQF.js.map} +0 -0
- /package/dist/{chunk-Y3WQ4ZWK.js.map → chunk-FLHPNR5W.js.map} +0 -0
- /package/dist/{chunk-L5IIGA5V.js.map → chunk-HPJPGIGN.js.map} +0 -0
- /package/dist/{chunk-SS253RXF.js.map → chunk-KCZZLFW5.js.map} +0 -0
- /package/dist/{chunk-47WOM4YW.js.map → chunk-MJPNOMY4.js.map} +0 -0
- /package/dist/{chunk-SMA4IMHV.js.map → chunk-SGTA3HJC.js.map} +0 -0
- /package/dist/{chunk-R2L7SUX2.js.map → chunk-TMPLRVHD.js.map} +0 -0
- /package/dist/{chunk-N7X62G74.js.map → chunk-X6VBWOVZ.js.map} +0 -0
- /package/dist/{chunk-LW2NMHDW.js.map → chunk-Y6EPN6XF.js.map} +0 -0
- /package/dist/{engine-ICC2DSQF.js.map → engine-WJ7K6AZ2.js.map} +0 -0
- /package/dist/{memory-governance-KG52RITE.js.map → memory-governance-KXMAURFF.js.map} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
2
|
import { RecallXraySnapshot } from './recall-xray.js';
|
|
3
3
|
import { RecallExplainJsonPayload } from './recall-explain-renderer.js';
|
|
4
|
-
import { PluginConfig, DaySummaryResult, RecallPlanMode, RecallDisclosure, MemoryFile, MemoryLifecycleEvent, EntityFile, MemoryStatus, DreamsStatusResult, DreamsPhase, DreamsRunResult } from './types.js';
|
|
4
|
+
import { P as PluginConfig, D as DaySummaryResult, R as RecallPlanMode, g as RecallDisclosure, f as MemoryFile, h as MemoryLifecycleEvent, E as EntityFile, i as MemoryStatus, L as LcmMessagePartInput, j as MessagePartSourceFormat, k as DreamsStatusResult, l as DreamsPhase, m as DreamsRunResult } from './types-B49NzJ5q.js';
|
|
5
5
|
import { AnomalyDetectorResult } from './recall-audit-anomaly.js';
|
|
6
6
|
import { ExplicitCaptureInput } from './explicit-capture.js';
|
|
7
7
|
import { BudgetDecision } from './cross-namespace-budget.js';
|
|
8
|
-
import { r as readMemoryGovernanceRunArtifact } from './memory-projection-store-
|
|
9
|
-
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as SemanticDedupLookup } from './orchestrator-
|
|
8
|
+
import { r as readMemoryGovernanceRunArtifact } from './memory-projection-store-ConH7gNj.js';
|
|
9
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult, S as SemanticDedupLookup } from './orchestrator-BHkiEBbd.js';
|
|
10
10
|
import { LiveConnectorsRunSummary } from './live-connectors-runner.js';
|
|
11
11
|
import { LastRecallSnapshot } from './recall-state.js';
|
|
12
12
|
import { GraphSnapshotRequest, GraphSnapshotResponse } from './graph-snapshot.js';
|
|
@@ -394,13 +394,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
394
394
|
peerProfiles: boolean;
|
|
395
395
|
}>;
|
|
396
396
|
}, "strip", z.ZodTypeAny, {
|
|
397
|
+
schemaVersion: string;
|
|
397
398
|
includes: {
|
|
398
399
|
procedural: boolean;
|
|
399
400
|
taxonomy: boolean;
|
|
400
401
|
identityAnchors: boolean;
|
|
401
402
|
peerProfiles: boolean;
|
|
402
403
|
};
|
|
403
|
-
schemaVersion: string;
|
|
404
404
|
id: string;
|
|
405
405
|
description: string;
|
|
406
406
|
version: string;
|
|
@@ -415,13 +415,13 @@ declare const CapsuleBlockSchema: z.ZodObject<{
|
|
|
415
415
|
directAnswerEnabled: boolean;
|
|
416
416
|
};
|
|
417
417
|
}, {
|
|
418
|
+
schemaVersion: string;
|
|
418
419
|
includes: {
|
|
419
420
|
procedural: boolean;
|
|
420
421
|
taxonomy: boolean;
|
|
421
422
|
identityAnchors: boolean;
|
|
422
423
|
peerProfiles: boolean;
|
|
423
424
|
};
|
|
424
|
-
schemaVersion: string;
|
|
425
425
|
id: string;
|
|
426
426
|
description: string;
|
|
427
427
|
version: string;
|
|
@@ -448,12 +448,12 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
448
448
|
sha256: z.ZodString;
|
|
449
449
|
bytes: z.ZodNumber;
|
|
450
450
|
}, "strip", z.ZodTypeAny, {
|
|
451
|
-
sha256: string;
|
|
452
451
|
path: string;
|
|
452
|
+
sha256: string;
|
|
453
453
|
bytes: number;
|
|
454
454
|
}, {
|
|
455
|
-
sha256: string;
|
|
456
455
|
path: string;
|
|
456
|
+
sha256: string;
|
|
457
457
|
bytes: number;
|
|
458
458
|
}>, "many">;
|
|
459
459
|
capsule: z.ZodObject<{
|
|
@@ -545,13 +545,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
545
545
|
peerProfiles: boolean;
|
|
546
546
|
}>;
|
|
547
547
|
}, "strip", z.ZodTypeAny, {
|
|
548
|
+
schemaVersion: string;
|
|
548
549
|
includes: {
|
|
549
550
|
procedural: boolean;
|
|
550
551
|
taxonomy: boolean;
|
|
551
552
|
identityAnchors: boolean;
|
|
552
553
|
peerProfiles: boolean;
|
|
553
554
|
};
|
|
554
|
-
schemaVersion: string;
|
|
555
555
|
id: string;
|
|
556
556
|
description: string;
|
|
557
557
|
version: string;
|
|
@@ -566,13 +566,13 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
566
566
|
directAnswerEnabled: boolean;
|
|
567
567
|
};
|
|
568
568
|
}, {
|
|
569
|
+
schemaVersion: string;
|
|
569
570
|
includes: {
|
|
570
571
|
procedural: boolean;
|
|
571
572
|
taxonomy: boolean;
|
|
572
573
|
identityAnchors: boolean;
|
|
573
574
|
peerProfiles: boolean;
|
|
574
575
|
};
|
|
575
|
-
schemaVersion: string;
|
|
576
576
|
id: string;
|
|
577
577
|
description: string;
|
|
578
578
|
version: string;
|
|
@@ -591,21 +591,21 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
591
591
|
schemaVersion: 2;
|
|
592
592
|
createdAt: string;
|
|
593
593
|
files: {
|
|
594
|
-
sha256: string;
|
|
595
594
|
path: string;
|
|
595
|
+
sha256: string;
|
|
596
596
|
bytes: number;
|
|
597
597
|
}[];
|
|
598
598
|
format: "openclaw-engram-export";
|
|
599
599
|
pluginVersion: string;
|
|
600
600
|
includesTranscripts: boolean;
|
|
601
601
|
capsule: {
|
|
602
|
+
schemaVersion: string;
|
|
602
603
|
includes: {
|
|
603
604
|
procedural: boolean;
|
|
604
605
|
taxonomy: boolean;
|
|
605
606
|
identityAnchors: boolean;
|
|
606
607
|
peerProfiles: boolean;
|
|
607
608
|
};
|
|
608
|
-
schemaVersion: string;
|
|
609
609
|
id: string;
|
|
610
610
|
description: string;
|
|
611
611
|
version: string;
|
|
@@ -624,21 +624,21 @@ declare const ExportManifestV2Schema: z.ZodObject<{
|
|
|
624
624
|
schemaVersion: 2;
|
|
625
625
|
createdAt: string;
|
|
626
626
|
files: {
|
|
627
|
-
sha256: string;
|
|
628
627
|
path: string;
|
|
628
|
+
sha256: string;
|
|
629
629
|
bytes: number;
|
|
630
630
|
}[];
|
|
631
631
|
format: "openclaw-engram-export";
|
|
632
632
|
pluginVersion: string;
|
|
633
633
|
includesTranscripts: boolean;
|
|
634
634
|
capsule: {
|
|
635
|
+
schemaVersion: string;
|
|
635
636
|
includes: {
|
|
636
637
|
procedural: boolean;
|
|
637
638
|
taxonomy: boolean;
|
|
638
639
|
identityAnchors: boolean;
|
|
639
640
|
peerProfiles: boolean;
|
|
640
641
|
};
|
|
641
|
-
schemaVersion: string;
|
|
642
642
|
id: string;
|
|
643
643
|
description: string;
|
|
644
644
|
version: string;
|
|
@@ -838,6 +838,20 @@ interface ExportCapsuleResult {
|
|
|
838
838
|
|
|
839
839
|
declare class EngramAccessInputError extends Error {
|
|
840
840
|
}
|
|
841
|
+
type AccessProfilingReportRequest = {
|
|
842
|
+
format?: string;
|
|
843
|
+
limit?: number;
|
|
844
|
+
};
|
|
845
|
+
type AccessProfilingReportResponse = {
|
|
846
|
+
enabled: boolean;
|
|
847
|
+
format?: "ascii" | "json";
|
|
848
|
+
report?: string;
|
|
849
|
+
traces?: unknown[];
|
|
850
|
+
stats?: unknown;
|
|
851
|
+
bottleneck?: string | null;
|
|
852
|
+
reason?: string;
|
|
853
|
+
message?: string;
|
|
854
|
+
};
|
|
841
855
|
declare const ENGRAM_ACCESS_WRITE_SCHEMA_VERSION = 1;
|
|
842
856
|
interface EngramAccessHealthResponse {
|
|
843
857
|
ok: true;
|
|
@@ -1261,12 +1275,16 @@ interface EngramAccessWriteResponse {
|
|
|
1261
1275
|
idempotencyKey?: string;
|
|
1262
1276
|
idempotencyReplay?: boolean;
|
|
1263
1277
|
}
|
|
1278
|
+
interface EngramAccessObserveMessage {
|
|
1279
|
+
role: "user" | "assistant";
|
|
1280
|
+
content: string;
|
|
1281
|
+
parts?: LcmMessagePartInput[];
|
|
1282
|
+
rawContent?: unknown;
|
|
1283
|
+
sourceFormat?: MessagePartSourceFormat;
|
|
1284
|
+
}
|
|
1264
1285
|
interface EngramAccessObserveRequest {
|
|
1265
1286
|
sessionKey: string;
|
|
1266
|
-
messages:
|
|
1267
|
-
role: "user" | "assistant";
|
|
1268
|
-
content: string;
|
|
1269
|
-
}>;
|
|
1287
|
+
messages: EngramAccessObserveMessage[];
|
|
1270
1288
|
namespace?: string;
|
|
1271
1289
|
authenticatedPrincipal?: string;
|
|
1272
1290
|
skipExtraction?: boolean;
|
|
@@ -1528,6 +1546,26 @@ declare class EngramAccessService {
|
|
|
1528
1546
|
}, principal?: string): Promise<ProcedureStatsReport & {
|
|
1529
1547
|
namespace: string;
|
|
1530
1548
|
}>;
|
|
1549
|
+
memorySummarizeHourly(): Promise<{
|
|
1550
|
+
ok: true;
|
|
1551
|
+
message: string;
|
|
1552
|
+
}>;
|
|
1553
|
+
conversationIndexUpdate(request?: {
|
|
1554
|
+
sessionKey?: string;
|
|
1555
|
+
hours?: number;
|
|
1556
|
+
embed?: boolean;
|
|
1557
|
+
}): Promise<{
|
|
1558
|
+
enabled: boolean;
|
|
1559
|
+
sessionKey?: string;
|
|
1560
|
+
sessions: number;
|
|
1561
|
+
chunks: number;
|
|
1562
|
+
skipped: number;
|
|
1563
|
+
skippedSessionKeys: string[];
|
|
1564
|
+
embeddedRuns: number;
|
|
1565
|
+
reason?: string;
|
|
1566
|
+
retryAfterMs?: number;
|
|
1567
|
+
}>;
|
|
1568
|
+
profilingReport(request?: AccessProfilingReportRequest): Promise<AccessProfilingReportResponse>;
|
|
1531
1569
|
trustZoneStatus(namespace?: string, principal?: string): Promise<EngramAccessTrustZoneStatusResponse>;
|
|
1532
1570
|
trustZoneBrowse(request: EngramAccessTrustZoneBrowseRequest, principal?: string): Promise<EngramAccessTrustZoneBrowseResponse>;
|
|
1533
1571
|
trustZonePromote(request: EngramAccessTrustZonePromoteRequest): Promise<EngramAccessTrustZonePromoteResponse>;
|
|
@@ -1770,6 +1808,24 @@ declare class EngramAccessService {
|
|
|
1770
1808
|
principal?: string;
|
|
1771
1809
|
sessionKey?: string;
|
|
1772
1810
|
}): Promise<unknown>;
|
|
1811
|
+
memoryActionApply(request: {
|
|
1812
|
+
action: string;
|
|
1813
|
+
outcome?: string;
|
|
1814
|
+
reason?: string;
|
|
1815
|
+
memoryId?: string;
|
|
1816
|
+
namespace?: string;
|
|
1817
|
+
principal?: string;
|
|
1818
|
+
sessionKey?: string;
|
|
1819
|
+
content?: string;
|
|
1820
|
+
category?: string;
|
|
1821
|
+
linkTargetId?: string;
|
|
1822
|
+
linkType?: string;
|
|
1823
|
+
linkStrength?: number;
|
|
1824
|
+
artifactType?: string;
|
|
1825
|
+
execute?: boolean;
|
|
1826
|
+
sourcePrompt?: string;
|
|
1827
|
+
dryRun?: boolean;
|
|
1828
|
+
}): Promise<unknown>;
|
|
1773
1829
|
contextCheckpoint(request: {
|
|
1774
1830
|
sessionKey: string;
|
|
1775
1831
|
context: string;
|
|
@@ -1978,4 +2034,4 @@ declare class EngramAccessService {
|
|
|
1978
2034
|
}): Promise<DreamsRunResult>;
|
|
1979
2035
|
}
|
|
1980
2036
|
|
|
1981
|
-
export { type
|
|
2037
|
+
export { type EngramAccessTrustZoneDemoSeedRequest as $, type EngramAccessMaintenanceResponse as A, type EngramAccessMemoryBrowseRequest as B, type CapsuleParent as C, type EngramAccessMemoryBrowseResponse as D, EngramAccessService as E, type EngramAccessMemoryRecord as F, type EngramAccessMemoryResponse as G, type EngramAccessMemoryStoreRequest as H, type ImportCapsuleResult as I, type EngramAccessMemorySummary as J, type EngramAccessObserveMessage as K, type EngramAccessObserveRequest as L, type EngramAccessObserveResponse as M, type EngramAccessQualityResponse as N, type EngramAccessRecallExplainRequest as O, type PeerInteractionLogEntry as P, type EngramAccessRecallExplainResponse as Q, type EngramAccessRecallRequest as R, type EngramAccessRecallResponse as S, type EngramAccessReviewDispositionRequest as T, type EngramAccessReviewDispositionResponse as U, type EngramAccessReviewQueueResponse as V, type EngramAccessSetCodingContextRequest as W, type EngramAccessSuggestionSubmitRequest as X, type EngramAccessTimelineResponse as Y, type EngramAccessTrustZoneBrowseRequest as Z, type EngramAccessTrustZoneBrowseResponse as _, type Peer as a, type EngramAccessTrustZoneDemoSeedResponse as a0, type EngramAccessTrustZonePromoteRequest as a1, type EngramAccessTrustZonePromoteResponse as a2, type EngramAccessTrustZoneRecordSummary as a3, type EngramAccessTrustZoneStatusResponse as a4, type EngramAccessWriteEnvelope as a5, type EngramAccessWriteResponse as a6, shapeMemorySummary as a7, type PeerProfile as b, type ExportManifestV2 as c, EngramAccessInputError as d, PEER_ID_MAX_LENGTH as e, PEER_ID_PATTERN as f, type PeerKind as g, type PeerProfileFieldProvenance as h, type ProcedureStatsConfigSnapshot as i, type ProcedureStatsRecent as j, type ProcedureStatsReport as k, type ProcedureStatusCounts as l, computeProcedureStats as m, formatProcedureStatsText as n, ENGRAM_ACCESS_WRITE_SCHEMA_VERSION as o, type EngramAccessBriefingRequest as p, type EngramAccessBriefingResponse as q, type EngramAccessCapsuleListResponse as r, type EngramAccessDaySummaryRequest as s, type EngramAccessEntityListResponse as t, type EngramAccessEntityResponse as u, type EngramAccessEntitySummary as v, type EngramAccessHealthResponse as w, type EngramAccessLcmSearchRequest as x, type EngramAccessLcmSearchResponse as y, type EngramAccessLcmStatusResponse as z };
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './storage.js';
|
|
2
|
-
export { o as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, p as EngramAccessBriefingRequest, q as EngramAccessBriefingResponse, r as EngramAccessCapsuleListResponse, s as EngramAccessDaySummaryRequest, t as EngramAccessEntityListResponse, u as EngramAccessEntityResponse, v as EngramAccessEntitySummary, w as EngramAccessHealthResponse, d as EngramAccessInputError, x as EngramAccessLcmSearchRequest, y as EngramAccessLcmSearchResponse, z as EngramAccessLcmStatusResponse, A as EngramAccessMaintenanceResponse, B as EngramAccessMemoryBrowseRequest, D as EngramAccessMemoryBrowseResponse, F as EngramAccessMemoryRecord, G as EngramAccessMemoryResponse, H as EngramAccessMemoryStoreRequest, J as EngramAccessMemorySummary, K as
|
|
2
|
+
export { o as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, p as EngramAccessBriefingRequest, q as EngramAccessBriefingResponse, r as EngramAccessCapsuleListResponse, s as EngramAccessDaySummaryRequest, t as EngramAccessEntityListResponse, u as EngramAccessEntityResponse, v as EngramAccessEntitySummary, w as EngramAccessHealthResponse, d as EngramAccessInputError, x as EngramAccessLcmSearchRequest, y as EngramAccessLcmSearchResponse, z as EngramAccessLcmStatusResponse, A as EngramAccessMaintenanceResponse, B as EngramAccessMemoryBrowseRequest, D as EngramAccessMemoryBrowseResponse, F as EngramAccessMemoryRecord, G as EngramAccessMemoryResponse, H as EngramAccessMemoryStoreRequest, J as EngramAccessMemorySummary, K as EngramAccessObserveMessage, L as EngramAccessObserveRequest, M as EngramAccessObserveResponse, N as EngramAccessQualityResponse, O as EngramAccessRecallExplainRequest, Q as EngramAccessRecallExplainResponse, R as EngramAccessRecallRequest, S as EngramAccessRecallResponse, T as EngramAccessReviewDispositionRequest, U as EngramAccessReviewDispositionResponse, V as EngramAccessReviewQueueResponse, E as EngramAccessService, W as EngramAccessSetCodingContextRequest, X as EngramAccessSuggestionSubmitRequest, Y as EngramAccessTimelineResponse, Z as EngramAccessTrustZoneBrowseRequest, _ as EngramAccessTrustZoneBrowseResponse, $ as EngramAccessTrustZoneDemoSeedRequest, a0 as EngramAccessTrustZoneDemoSeedResponse, a1 as EngramAccessTrustZonePromoteRequest, a2 as EngramAccessTrustZonePromoteResponse, a3 as EngramAccessTrustZoneRecordSummary, a4 as EngramAccessTrustZoneStatusResponse, a5 as EngramAccessWriteEnvelope, a6 as EngramAccessWriteResponse, a7 as shapeMemorySummary } from './access-service-CWYIkMwY.js';
|
|
3
3
|
import './recall-xray.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
|
-
import './types.js';
|
|
5
|
+
import './types-B49NzJ5q.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
7
|
import './explicit-capture.js';
|
|
8
8
|
import './cross-namespace-budget.js';
|
|
9
|
-
import './memory-projection-store-
|
|
10
|
-
import './orchestrator-
|
|
9
|
+
import './memory-projection-store-ConH7gNj.js';
|
|
10
|
+
import './orchestrator-BHkiEBbd.js';
|
|
11
11
|
import './live-connectors-runner.js';
|
|
12
12
|
import './recall-state.js';
|
|
13
13
|
import './graph-snapshot.js';
|
|
@@ -22,7 +22,7 @@ import 'better-sqlite3';
|
|
|
22
22
|
import 'zod';
|
|
23
23
|
import './recall-audit.js';
|
|
24
24
|
import './buffer.js';
|
|
25
|
-
import './port-
|
|
25
|
+
import './port-DZHdlUId.js';
|
|
26
26
|
import './transcript.js';
|
|
27
27
|
import './session-integrity.js';
|
|
28
28
|
import './summarizer.js';
|
|
@@ -32,8 +32,8 @@ import './relevance.js';
|
|
|
32
32
|
import './negative.js';
|
|
33
33
|
import './session-observer-state.js';
|
|
34
34
|
import './embedding-fallback.js';
|
|
35
|
-
import './semantic-consolidation-
|
|
36
|
-
import './codex-materialize-
|
|
35
|
+
import './semantic-consolidation-Cxj-inGC.js';
|
|
36
|
+
import './codex-materialize-XRen3WAz.js';
|
|
37
37
|
import './logger.js';
|
|
38
38
|
import './policy-runtime.js';
|
|
39
39
|
import './profiling.js';
|
package/dist/access-service.js
CHANGED
|
@@ -3,22 +3,23 @@ import {
|
|
|
3
3
|
EngramAccessInputError,
|
|
4
4
|
EngramAccessService,
|
|
5
5
|
shapeMemorySummary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DTDB6YS2.js";
|
|
7
7
|
import "./chunk-3KIS4VGT.js";
|
|
8
8
|
import "./chunk-BT7NVCML.js";
|
|
9
9
|
import "./chunk-H7XKCNR6.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-Y6EPN6XF.js";
|
|
11
11
|
import "./chunk-SOBJ6NEY.js";
|
|
12
12
|
import "./chunk-NN3TS5BM.js";
|
|
13
13
|
import "./chunk-EQINRHYR.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-WMK6YP7C.js";
|
|
15
|
+
import "./chunk-3YBRSJ52.js";
|
|
16
16
|
import "./chunk-EIR5VLIH.js";
|
|
17
17
|
import "./chunk-IXEJRKCZ.js";
|
|
18
18
|
import "./chunk-PCUKNJAZ.js";
|
|
19
19
|
import "./chunk-3FPTCC3Z.js";
|
|
20
20
|
import "./chunk-2LGMW3DJ.js";
|
|
21
21
|
import "./chunk-EEQLFRUM.js";
|
|
22
|
+
import "./chunk-NBNN5GOB.js";
|
|
22
23
|
import "./chunk-OR64ZGRZ.js";
|
|
23
24
|
import "./chunk-QDW3E4RD.js";
|
|
24
25
|
import "./chunk-GDFS42HT.js";
|
|
@@ -30,15 +31,15 @@ import "./chunk-74EMIVE4.js";
|
|
|
30
31
|
import "./chunk-DT5TVLJE.js";
|
|
31
32
|
import "./chunk-N5AKDXAI.js";
|
|
32
33
|
import "./chunk-TBBDFYXW.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-KCZZLFW5.js";
|
|
35
|
+
import "./chunk-46AIFPQM.js";
|
|
35
36
|
import "./chunk-YNJHCGDT.js";
|
|
36
37
|
import "./chunk-4KAN3GZ3.js";
|
|
37
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-TOC3VOOF.js";
|
|
38
39
|
import "./chunk-PFV5C235.js";
|
|
39
40
|
import "./chunk-RULE4VG5.js";
|
|
40
41
|
import "./chunk-SCU65EZI.js";
|
|
41
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-67YLUWLG.js";
|
|
42
43
|
import "./chunk-DM2T26WE.js";
|
|
43
44
|
import "./chunk-QSVPYQPG.js";
|
|
44
45
|
import "./chunk-M62O4P4T.js";
|
package/dist/active-recall.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ActiveRecallChatType, ActiveRecallQueryMode, ActiveRecallPromptStyle, ActiveRecallThinking, ActiveRecallModelFallbackPolicy } from './types.js';
|
|
1
|
+
import { A as ActiveRecallChatType, a as ActiveRecallQueryMode, b as ActiveRecallPromptStyle, c as ActiveRecallThinking, d as ActiveRecallModelFallbackPolicy } from './types-B49NzJ5q.js';
|
|
2
2
|
|
|
3
3
|
interface ActiveRecallTurn {
|
|
4
4
|
role: "user" | "assistant";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BehaviorSignalEvent, PluginConfig, BehaviorLoopPolicyState } from './types.js';
|
|
1
|
+
import { B as BehaviorSignalEvent, P as PluginConfig, e as BehaviorLoopPolicyState } from './types-B49NzJ5q.js';
|
|
2
2
|
|
|
3
3
|
declare const TUNABLE_BEHAVIOR_PARAMETERS: readonly ["recencyWeight", "lifecyclePromoteHeatThreshold", "lifecycleStaleDecayThreshold", "cronRecallInstructionHeavyTokenCap"];
|
|
4
4
|
type TunableBehaviorParameter = (typeof TUNABLE_BEHAVIOR_PARAMETERS)[number];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { MemoryCategory, BehaviorSignalEvent } from './types.js';
|
|
1
|
+
import { M as MemoryCategory, B as BehaviorSignalEvent } from './types-B49NzJ5q.js';
|
|
2
2
|
|
|
3
3
|
declare function buildBehaviorSignalHash(category: MemoryCategory, content: string): string;
|
|
4
4
|
declare function buildBehaviorSignalsForMemory(input: {
|
package/dist/bootstrap.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { PluginConfig } from './types.js';
|
|
2
|
-
import { O as Orchestrator } from './orchestrator-
|
|
1
|
+
import { P as PluginConfig } from './types-B49NzJ5q.js';
|
|
2
|
+
import { O as Orchestrator } from './orchestrator-BHkiEBbd.js';
|
|
3
3
|
import './buffer.js';
|
|
4
4
|
import './storage.js';
|
|
5
5
|
import './page-versioning.js';
|
|
6
6
|
import './consolidation-operator.js';
|
|
7
|
-
import './memory-projection-store-
|
|
7
|
+
import './memory-projection-store-ConH7gNj.js';
|
|
8
8
|
import 'better-sqlite3';
|
|
9
|
-
import './port-
|
|
9
|
+
import './port-DZHdlUId.js';
|
|
10
10
|
import './transcript.js';
|
|
11
11
|
import './session-integrity.js';
|
|
12
12
|
import './summarizer.js';
|
|
@@ -21,8 +21,8 @@ import './recall-state.js';
|
|
|
21
21
|
import './recall-xray.js';
|
|
22
22
|
import './session-observer-state.js';
|
|
23
23
|
import './embedding-fallback.js';
|
|
24
|
-
import './semantic-consolidation-
|
|
25
|
-
import './codex-materialize-
|
|
24
|
+
import './semantic-consolidation-Cxj-inGC.js';
|
|
25
|
+
import './codex-materialize-XRen3WAz.js';
|
|
26
26
|
import './logger.js';
|
|
27
27
|
import 'zod';
|
|
28
28
|
import './policy-runtime.js';
|
package/dist/briefing.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
|
-
import { BriefingSections, BriefingFollowup, BriefingFocus, CalendarSource, CalendarEvent, MemoryFile, BriefingActiveThread, BriefingResult, EntityFile, BriefingRecentEntity } from './types.js';
|
|
2
|
+
import { a6 as BriefingSections, a7 as BriefingFollowup, a8 as BriefingFocus, a9 as CalendarSource, aa as CalendarEvent, f as MemoryFile, ab as BriefingActiveThread, ac as BriefingResult, E as EntityFile, ad as BriefingRecentEntity } from './types-B49NzJ5q.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
|
-
import './memory-projection-store-
|
|
5
|
+
import './memory-projection-store-ConH7gNj.js';
|
|
6
6
|
import 'better-sqlite3';
|
|
7
7
|
|
|
8
8
|
/**
|
package/dist/briefing.js
CHANGED
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
renderBriefingMarkdown,
|
|
17
17
|
resolveBriefingSaveDir,
|
|
18
18
|
validateBriefingFormat
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-KCZZLFW5.js";
|
|
20
|
+
import "./chunk-46AIFPQM.js";
|
|
21
21
|
import "./chunk-YNJHCGDT.js";
|
|
22
22
|
import "./chunk-4KAN3GZ3.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-TOC3VOOF.js";
|
|
24
24
|
import "./chunk-PFV5C235.js";
|
|
25
25
|
import "./chunk-RULE4VG5.js";
|
|
26
26
|
import "./chunk-SCU65EZI.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-67YLUWLG.js";
|
|
28
28
|
import "./chunk-DM2T26WE.js";
|
|
29
29
|
import "./chunk-QSVPYQPG.js";
|
|
30
30
|
import "./chunk-M62O4P4T.js";
|
package/dist/buffer.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { StorageManager } from './storage.js';
|
|
2
|
-
import { PluginConfig, BufferTurn } from './types.js';
|
|
2
|
+
import { P as PluginConfig, a1 as BufferTurn } from './types-B49NzJ5q.js';
|
|
3
3
|
import './page-versioning.js';
|
|
4
4
|
import './consolidation-operator.js';
|
|
5
|
-
import './memory-projection-store-
|
|
5
|
+
import './memory-projection-store-ConH7gNj.js';
|
|
6
6
|
import 'better-sqlite3';
|
|
7
7
|
|
|
8
8
|
type TriggerDecision = "extract_now" | "extract_batch" | "keep_buffering";
|
package/dist/calibration.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GatewayConfig, PluginConfig, MemoryFile } from './types.js';
|
|
2
|
-
import { R as RolloutSummaryInput, M as MaterializeResult } from './codex-materialize-
|
|
1
|
+
import { G as GatewayConfig, P as PluginConfig, f as MemoryFile } from './types-B49NzJ5q.js';
|
|
2
|
+
import { R as RolloutSummaryInput, M as MaterializeResult } from './codex-materialize-XRen3WAz.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* causal-consolidation.ts — CMC Phase 2: LLM-Assisted Causal Consolidation
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
buildExtensionsBlockForConsolidation,
|
|
7
7
|
runPostConsolidationMaterialize
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ERWKQVCX.js";
|
|
9
9
|
import "./chunk-EJI5XIBB.js";
|
|
10
10
|
import {
|
|
11
11
|
FallbackLlmClient
|
|
@@ -16,14 +16,14 @@ import "./chunk-Y27UJK6V.js";
|
|
|
16
16
|
import "./chunk-UZB5KHKX.js";
|
|
17
17
|
import "./chunk-URB2WSKZ.js";
|
|
18
18
|
import "./chunk-DT5TVLJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-46AIFPQM.js";
|
|
20
20
|
import "./chunk-YNJHCGDT.js";
|
|
21
21
|
import "./chunk-4KAN3GZ3.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-TOC3VOOF.js";
|
|
23
23
|
import "./chunk-PFV5C235.js";
|
|
24
24
|
import "./chunk-RULE4VG5.js";
|
|
25
25
|
import "./chunk-SCU65EZI.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-67YLUWLG.js";
|
|
27
27
|
import "./chunk-DM2T26WE.js";
|
|
28
28
|
import "./chunk-QSVPYQPG.js";
|
|
29
29
|
import "./chunk-M62O4P4T.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-TBBDFYXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-46AIFPQM.js";
|
|
7
7
|
|
|
8
8
|
// src/maintenance/memory-governance.ts
|
|
9
9
|
import path from "path";
|
|
@@ -718,4 +718,4 @@ export {
|
|
|
718
718
|
listMemoryGovernanceRuns,
|
|
719
719
|
readMemoryGovernanceRunArtifact
|
|
720
720
|
};
|
|
721
|
-
//# sourceMappingURL=chunk-
|
|
721
|
+
//# sourceMappingURL=chunk-3YBRSJ52.js.map
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
SPECULATIVE_TTL_DAYS,
|
|
14
14
|
confidenceTier
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-TOC3VOOF.js";
|
|
16
16
|
import {
|
|
17
17
|
getCachedEntities,
|
|
18
18
|
invalidateCachedEntities,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
readProjectedMemoryBrowse,
|
|
34
34
|
readProjectedMemoryState,
|
|
35
35
|
readProjectedMemoryTimeline
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-67YLUWLG.js";
|
|
37
37
|
import {
|
|
38
38
|
rotateMarkdownFileToArchive
|
|
39
39
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -5092,4 +5092,4 @@ export {
|
|
|
5092
5092
|
serializeEntityFile,
|
|
5093
5093
|
StorageManager
|
|
5094
5094
|
};
|
|
5095
|
-
//# sourceMappingURL=chunk-
|
|
5095
|
+
//# sourceMappingURL=chunk-46AIFPQM.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DKVEJTLC.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DTDB6YS2.js";
|
|
7
7
|
import {
|
|
8
8
|
isTrustZoneName
|
|
9
9
|
} from "./chunk-EQINRHYR.js";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk-WIICJPET.js";
|
|
16
16
|
import {
|
|
17
17
|
isRecallDisclosure
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TOC3VOOF.js";
|
|
19
19
|
import {
|
|
20
20
|
log
|
|
21
21
|
} from "./chunk-2ODBA7MQ.js";
|
|
22
22
|
import {
|
|
23
23
|
validateRequest
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-RICG4UNC.js";
|
|
25
25
|
|
|
26
26
|
// src/access-http.ts
|
|
27
27
|
import { createServer } from "http";
|
|
@@ -679,7 +679,13 @@ var EngramAccessHttpServer = class {
|
|
|
679
679
|
this.ensureWriteRateLimitAvailable();
|
|
680
680
|
const response = await this.service.observe({
|
|
681
681
|
sessionKey: body.sessionKey,
|
|
682
|
-
messages: body.messages
|
|
682
|
+
messages: body.messages.map((message) => ({
|
|
683
|
+
role: message.role,
|
|
684
|
+
content: message.content,
|
|
685
|
+
sourceFormat: message.sourceFormat ?? void 0,
|
|
686
|
+
rawContent: message.rawContent ?? void 0,
|
|
687
|
+
parts: message.parts ?? void 0
|
|
688
|
+
})),
|
|
683
689
|
namespace: this.resolveNamespace(req, body.namespace),
|
|
684
690
|
authenticatedPrincipal: this.resolveRequestPrincipal(req),
|
|
685
691
|
skipExtraction: body.skipExtraction === true,
|
|
@@ -1363,7 +1369,8 @@ var EngramAccessHttpServer = class {
|
|
|
1363
1369
|
const toolName = typeof request.params?.name === "string" ? request.params.name : "";
|
|
1364
1370
|
const toolArgs = request.params?.arguments;
|
|
1365
1371
|
const dreamsRunDryRun = (toolName === "engram.dreams_run" || toolName === "remnic.dreams_run") && toolArgs !== null && typeof toolArgs === "object" && !Array.isArray(toolArgs) && toolArgs.dryRun === true;
|
|
1366
|
-
const
|
|
1372
|
+
const memoryActionApplyDryRun = (toolName === "engram.memory_action_apply" || toolName === "remnic.memory_action_apply") && toolArgs !== null && typeof toolArgs === "object" && !Array.isArray(toolArgs) && toolArgs.dryRun === true;
|
|
1373
|
+
const isMcpWrite = request.method === "tools/call" && (toolName === "engram.memory_store" || toolName === "remnic.memory_store" || toolName === "engram.suggestion_submit" || toolName === "remnic.suggestion_submit" || toolName === "engram.observe" || toolName === "remnic.observe" || toolName === "engram.capsule_export" || toolName === "remnic.capsule_export" || toolName === "engram.capsule_import" || toolName === "remnic.capsule_import" || !dreamsRunDryRun && (toolName === "engram.dreams_run" || toolName === "remnic.dreams_run") || !memoryActionApplyDryRun && (toolName === "engram.memory_action_apply" || toolName === "remnic.memory_action_apply"));
|
|
1367
1374
|
if (isMcpWrite) {
|
|
1368
1375
|
this.ensureWriteRateLimitAvailable();
|
|
1369
1376
|
}
|
|
@@ -1544,4 +1551,4 @@ var EngramAccessHttpServer = class {
|
|
|
1544
1551
|
export {
|
|
1545
1552
|
EngramAccessHttpServer
|
|
1546
1553
|
};
|
|
1547
|
-
//# sourceMappingURL=chunk-
|
|
1554
|
+
//# sourceMappingURL=chunk-4CVIF7UZ.js.map
|