@remnic/core 9.3.550 → 9.3.552
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 +3 -3
- package/dist/access-http.d.ts +2 -2
- package/dist/access-http.js +4 -4
- package/dist/access-mcp.d.ts +2 -2
- package/dist/access-mcp.js +3 -3
- package/dist/access-schema.d.ts +34 -34
- package/dist/{access-service-CZfksQuS.d.ts → access-service-D2J9dh_9.d.ts} +3 -1
- package/dist/access-service.d.ts +2 -2
- package/dist/access-service.js +2 -2
- package/dist/active-memory-bridge.d.ts +1 -1
- package/dist/active-memory-bridge.js +2 -2
- package/dist/bootstrap.d.ts +1 -1
- package/dist/{chunk-GSFFWOWU.js → chunk-65OLPXBU.js} +5 -4
- package/dist/chunk-65OLPXBU.js.map +1 -0
- package/dist/{chunk-DEGH5BUP.js → chunk-BUUYY2H2.js} +4 -3
- package/dist/chunk-BUUYY2H2.js.map +1 -0
- package/dist/{chunk-2R6MP5C6.js → chunk-GEL3F3RV.js} +4 -4
- package/dist/{chunk-YN3WHXBG.js → chunk-KS7WO6EQ.js} +36 -9
- package/dist/chunk-KS7WO6EQ.js.map +1 -0
- package/dist/{chunk-IC4GELZE.js → chunk-NINRTFSV.js} +5 -2
- package/dist/chunk-NINRTFSV.js.map +1 -0
- package/dist/{chunk-XDMLTNIG.js → chunk-NYV435HC.js} +9 -2
- package/dist/chunk-NYV435HC.js.map +1 -0
- package/dist/{chunk-HWVTS5NO.js → chunk-UZYLX7M6.js} +7 -3
- package/dist/chunk-UZYLX7M6.js.map +1 -0
- package/dist/{cli-9pwA_PXm.d.ts → cli-OrfKXNU4.d.ts} +2 -2
- package/dist/cli.d.ts +3 -3
- package/dist/cli.js +5 -5
- package/dist/explicit-capture.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +7 -7
- package/dist/mcp-memory-inspector-app.d.ts +2 -2
- package/dist/namespaces/principal.d.ts +5 -5
- package/dist/namespaces/principal.js +1 -1
- package/dist/{orchestrator-Co9nxRLF.d.ts → orchestrator-DTRQG75J.d.ts} +1 -1
- package/dist/orchestrator.d.ts +1 -1
- package/dist/orchestrator.js +2 -2
- package/dist/schemas.d.ts +64 -64
- package/dist/shared-context/manager.d.ts +2 -2
- package/dist/transfer/types.d.ts +12 -12
- package/package.json +1 -1
- package/src/access-http.ts +1 -0
- package/src/access-mcp.ts +1 -0
- package/src/access-service.ts +46 -8
- package/src/active-memory-bridge.test.ts +28 -0
- package/src/active-memory-bridge.ts +5 -2
- package/src/namespaces/principal.test.ts +20 -0
- package/src/namespaces/principal.ts +13 -7
- package/src/orchestrator.ts +13 -1
- package/dist/chunk-DEGH5BUP.js.map +0 -1
- package/dist/chunk-GSFFWOWU.js.map +0 -1
- package/dist/chunk-HWVTS5NO.js.map +0 -1
- package/dist/chunk-IC4GELZE.js.map +0 -1
- package/dist/chunk-XDMLTNIG.js.map +0 -1
- package/dist/chunk-YN3WHXBG.js.map +0 -1
- /package/dist/{chunk-2R6MP5C6.js.map → chunk-GEL3F3RV.js.map} +0 -0
package/dist/access-cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Orchestrator
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NYV435HC.js";
|
|
4
4
|
import "./chunk-5RIRL3XL.js";
|
|
5
5
|
import "./chunk-BFBF3XEF.js";
|
|
6
6
|
import "./chunk-KVEVLBKC.js";
|
|
@@ -138,7 +138,7 @@ import "./chunk-PVGDJXVK.js";
|
|
|
138
138
|
import "./chunk-OADWQ5CR.js";
|
|
139
139
|
import {
|
|
140
140
|
EngramAccessService
|
|
141
|
-
} from "./chunk-
|
|
141
|
+
} from "./chunk-KS7WO6EQ.js";
|
|
142
142
|
import "./chunk-ETUPBUHB.js";
|
|
143
143
|
import "./chunk-L227SKTB.js";
|
|
144
144
|
import "./chunk-DHGSZ3UD.js";
|
|
@@ -182,7 +182,7 @@ import "./chunk-ALEPI75L.js";
|
|
|
182
182
|
import "./chunk-ZY2MNJR6.js";
|
|
183
183
|
import "./chunk-LMPHTYJC.js";
|
|
184
184
|
import "./chunk-DT5TVLJE.js";
|
|
185
|
-
import "./chunk-
|
|
185
|
+
import "./chunk-UZYLX7M6.js";
|
|
186
186
|
import "./chunk-U3PN77QT.js";
|
|
187
187
|
import "./chunk-4DJQYKMN.js";
|
|
188
188
|
import {
|
package/dist/access-http.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IncomingMessage } from 'node:http';
|
|
2
|
-
import { E as EngramAccessService } from './access-service-
|
|
2
|
+
import { E as EngramAccessService } from './access-service-D2J9dh_9.js';
|
|
3
3
|
import { ResolvedIdentity } from './adapters/types.js';
|
|
4
4
|
import { AdapterRegistry } from './adapters/registry.js';
|
|
5
5
|
import './storage.js';
|
|
@@ -21,7 +21,7 @@ import './user-model.js';
|
|
|
21
21
|
import './recall-audit-anomaly.js';
|
|
22
22
|
import './recall-audit.js';
|
|
23
23
|
import './explicit-capture.js';
|
|
24
|
-
import './orchestrator-
|
|
24
|
+
import './orchestrator-DTRQG75J.js';
|
|
25
25
|
import './buffer.js';
|
|
26
26
|
import './search/port.js';
|
|
27
27
|
import './transcript.js';
|
package/dist/access-http.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramAccessHttpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-65OLPXBU.js";
|
|
4
4
|
import "./chunk-SEDEKFYQ.js";
|
|
5
5
|
import "./chunk-JBPKEARU.js";
|
|
6
6
|
import "./chunk-TMSXWOBZ.js";
|
|
@@ -8,10 +8,10 @@ import "./chunk-J64TK33U.js";
|
|
|
8
8
|
import "./chunk-RSUYKGGZ.js";
|
|
9
9
|
import "./chunk-42NQ7AVG.js";
|
|
10
10
|
import "./chunk-7RXCMVFQ.js";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-BUUYY2H2.js";
|
|
12
12
|
import "./chunk-EAZGEEG2.js";
|
|
13
13
|
import "./chunk-D24OXEPB.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-KS7WO6EQ.js";
|
|
15
15
|
import "./chunk-ETUPBUHB.js";
|
|
16
16
|
import "./chunk-L227SKTB.js";
|
|
17
17
|
import "./chunk-DHGSZ3UD.js";
|
|
@@ -55,7 +55,7 @@ import "./chunk-ALEPI75L.js";
|
|
|
55
55
|
import "./chunk-ZY2MNJR6.js";
|
|
56
56
|
import "./chunk-LMPHTYJC.js";
|
|
57
57
|
import "./chunk-DT5TVLJE.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-UZYLX7M6.js";
|
|
59
59
|
import "./chunk-U3PN77QT.js";
|
|
60
60
|
import "./chunk-4DJQYKMN.js";
|
|
61
61
|
import "./chunk-EYIEWJNI.js";
|
package/dist/access-mcp.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Readable, Writable } from 'node:stream';
|
|
2
|
-
import { E as EngramAccessService } from './access-service-
|
|
2
|
+
import { E as EngramAccessService } from './access-service-D2J9dh_9.js';
|
|
3
3
|
import './storage.js';
|
|
4
4
|
import './page-versioning.js';
|
|
5
5
|
import './consolidation-operator.js';
|
|
@@ -19,7 +19,7 @@ import './user-model.js';
|
|
|
19
19
|
import './recall-audit-anomaly.js';
|
|
20
20
|
import './recall-audit.js';
|
|
21
21
|
import './explicit-capture.js';
|
|
22
|
-
import './orchestrator-
|
|
22
|
+
import './orchestrator-DTRQG75J.js';
|
|
23
23
|
import './buffer.js';
|
|
24
24
|
import './search/port.js';
|
|
25
25
|
import './transcript.js';
|
package/dist/access-mcp.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
EngramMcpServer
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BUUYY2H2.js";
|
|
4
4
|
import "./chunk-EAZGEEG2.js";
|
|
5
5
|
import "./chunk-D24OXEPB.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-KS7WO6EQ.js";
|
|
7
7
|
import "./chunk-ETUPBUHB.js";
|
|
8
8
|
import "./chunk-L227SKTB.js";
|
|
9
9
|
import "./chunk-DHGSZ3UD.js";
|
|
@@ -47,7 +47,7 @@ import "./chunk-ALEPI75L.js";
|
|
|
47
47
|
import "./chunk-ZY2MNJR6.js";
|
|
48
48
|
import "./chunk-LMPHTYJC.js";
|
|
49
49
|
import "./chunk-DT5TVLJE.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-UZYLX7M6.js";
|
|
51
51
|
import "./chunk-U3PN77QT.js";
|
|
52
52
|
import "./chunk-4DJQYKMN.js";
|
|
53
53
|
import "./chunk-EYIEWJNI.js";
|
package/dist/access-schema.d.ts
CHANGED
|
@@ -104,9 +104,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
104
104
|
includeLowConfidence: z.ZodOptional<z.ZodBoolean>;
|
|
105
105
|
}, "strip", z.ZodTypeAny, {
|
|
106
106
|
query: string;
|
|
107
|
-
namespace?: string | undefined;
|
|
108
107
|
sessionKey?: string | undefined;
|
|
109
108
|
tags?: string[] | undefined;
|
|
109
|
+
namespace?: string | undefined;
|
|
110
110
|
topK?: number | undefined;
|
|
111
111
|
mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
|
|
112
112
|
cwd?: string | undefined;
|
|
@@ -125,9 +125,9 @@ declare const recallRequestSchema: z.ZodObject<{
|
|
|
125
125
|
tagMatch?: "all" | "any" | undefined;
|
|
126
126
|
}, {
|
|
127
127
|
query: string;
|
|
128
|
-
namespace?: string | undefined;
|
|
129
128
|
sessionKey?: string | undefined;
|
|
130
129
|
tags?: string[] | undefined;
|
|
130
|
+
namespace?: string | undefined;
|
|
131
131
|
topK?: number | undefined;
|
|
132
132
|
mode?: "no_recall" | "minimal" | "full" | "graph_mode" | "auto" | undefined;
|
|
133
133
|
cwd?: string | undefined;
|
|
@@ -149,11 +149,11 @@ declare const recallExplainRequestSchema: z.ZodObject<{
|
|
|
149
149
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
150
150
|
namespace: z.ZodOptional<z.ZodString>;
|
|
151
151
|
}, "strip", z.ZodTypeAny, {
|
|
152
|
-
namespace?: string | undefined;
|
|
153
152
|
sessionKey?: string | undefined;
|
|
154
|
-
}, {
|
|
155
153
|
namespace?: string | undefined;
|
|
154
|
+
}, {
|
|
156
155
|
sessionKey?: string | undefined;
|
|
156
|
+
namespace?: string | undefined;
|
|
157
157
|
}>;
|
|
158
158
|
/**
|
|
159
159
|
* Standalone "set coding context" request. Used by the HTTP endpoint
|
|
@@ -363,28 +363,28 @@ declare const memoryStoreRequestSchema: z.ZodObject<{
|
|
|
363
363
|
sourceReason: z.ZodOptional<z.ZodString>;
|
|
364
364
|
}, "strip", z.ZodTypeAny, {
|
|
365
365
|
content: string;
|
|
366
|
-
namespace?: string | undefined;
|
|
367
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
368
|
-
confidence?: number | undefined;
|
|
369
|
-
ttl?: string | undefined;
|
|
370
366
|
schemaVersion?: number | undefined;
|
|
371
367
|
sessionKey?: string | undefined;
|
|
372
368
|
tags?: string[] | undefined;
|
|
373
369
|
dryRun?: boolean | undefined;
|
|
370
|
+
namespace?: string | undefined;
|
|
371
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
372
|
+
confidence?: number | undefined;
|
|
374
373
|
entityRef?: string | undefined;
|
|
374
|
+
ttl?: string | undefined;
|
|
375
375
|
sourceReason?: string | undefined;
|
|
376
376
|
idempotencyKey?: string | undefined;
|
|
377
377
|
}, {
|
|
378
378
|
content: string;
|
|
379
|
-
namespace?: string | undefined;
|
|
380
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
381
|
-
confidence?: number | undefined;
|
|
382
|
-
ttl?: string | undefined;
|
|
383
379
|
schemaVersion?: number | undefined;
|
|
384
380
|
sessionKey?: string | undefined;
|
|
385
381
|
tags?: string[] | undefined;
|
|
386
382
|
dryRun?: boolean | undefined;
|
|
383
|
+
namespace?: string | undefined;
|
|
384
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
385
|
+
confidence?: number | undefined;
|
|
387
386
|
entityRef?: string | undefined;
|
|
387
|
+
ttl?: string | undefined;
|
|
388
388
|
sourceReason?: string | undefined;
|
|
389
389
|
idempotencyKey?: string | undefined;
|
|
390
390
|
}>;
|
|
@@ -403,28 +403,28 @@ declare const suggestionSubmitRequestSchema: z.ZodObject<{
|
|
|
403
403
|
sourceReason: z.ZodOptional<z.ZodString>;
|
|
404
404
|
}, "strip", z.ZodTypeAny, {
|
|
405
405
|
content: string;
|
|
406
|
-
namespace?: string | undefined;
|
|
407
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
408
|
-
confidence?: number | undefined;
|
|
409
|
-
ttl?: string | undefined;
|
|
410
406
|
schemaVersion?: number | undefined;
|
|
411
407
|
sessionKey?: string | undefined;
|
|
412
408
|
tags?: string[] | undefined;
|
|
413
409
|
dryRun?: boolean | undefined;
|
|
410
|
+
namespace?: string | undefined;
|
|
411
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
412
|
+
confidence?: number | undefined;
|
|
414
413
|
entityRef?: string | undefined;
|
|
414
|
+
ttl?: string | undefined;
|
|
415
415
|
sourceReason?: string | undefined;
|
|
416
416
|
idempotencyKey?: string | undefined;
|
|
417
417
|
}, {
|
|
418
418
|
content: string;
|
|
419
|
-
namespace?: string | undefined;
|
|
420
|
-
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
421
|
-
confidence?: number | undefined;
|
|
422
|
-
ttl?: string | undefined;
|
|
423
419
|
schemaVersion?: number | undefined;
|
|
424
420
|
sessionKey?: string | undefined;
|
|
425
421
|
tags?: string[] | undefined;
|
|
426
422
|
dryRun?: boolean | undefined;
|
|
423
|
+
namespace?: string | undefined;
|
|
424
|
+
category?: "fact" | "preference" | "correction" | "entity" | "decision" | "relationship" | "principle" | "commitment" | "moment" | "skill" | "rule" | "procedure" | "reasoning_trace" | undefined;
|
|
425
|
+
confidence?: number | undefined;
|
|
427
426
|
entityRef?: string | undefined;
|
|
427
|
+
ttl?: string | undefined;
|
|
428
428
|
sourceReason?: string | undefined;
|
|
429
429
|
idempotencyKey?: string | undefined;
|
|
430
430
|
}>;
|
|
@@ -456,18 +456,18 @@ declare const trustZonePromoteRequestSchema: z.ZodObject<{
|
|
|
456
456
|
recordId: string;
|
|
457
457
|
targetZone: "working" | "trusted";
|
|
458
458
|
promotionReason: string;
|
|
459
|
-
namespace?: string | undefined;
|
|
460
459
|
recordedAt?: string | undefined;
|
|
461
460
|
summary?: string | undefined;
|
|
462
461
|
dryRun?: boolean | undefined;
|
|
462
|
+
namespace?: string | undefined;
|
|
463
463
|
}, {
|
|
464
464
|
recordId: string;
|
|
465
465
|
targetZone: "working" | "trusted";
|
|
466
466
|
promotionReason: string;
|
|
467
|
-
namespace?: string | undefined;
|
|
468
467
|
recordedAt?: string | undefined;
|
|
469
468
|
summary?: string | undefined;
|
|
470
469
|
dryRun?: boolean | undefined;
|
|
470
|
+
namespace?: string | undefined;
|
|
471
471
|
}>;
|
|
472
472
|
declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
473
473
|
scenario: z.ZodOptional<z.ZodString>;
|
|
@@ -475,14 +475,14 @@ declare const trustZoneDemoSeedRequestSchema: z.ZodObject<{
|
|
|
475
475
|
dryRun: z.ZodOptional<z.ZodBoolean>;
|
|
476
476
|
namespace: z.ZodOptional<z.ZodString>;
|
|
477
477
|
}, "strip", z.ZodTypeAny, {
|
|
478
|
-
namespace?: string | undefined;
|
|
479
478
|
recordedAt?: string | undefined;
|
|
480
479
|
dryRun?: boolean | undefined;
|
|
480
|
+
namespace?: string | undefined;
|
|
481
481
|
scenario?: string | undefined;
|
|
482
482
|
}, {
|
|
483
|
-
namespace?: string | undefined;
|
|
484
483
|
recordedAt?: string | undefined;
|
|
485
484
|
dryRun?: boolean | undefined;
|
|
485
|
+
namespace?: string | undefined;
|
|
486
486
|
scenario?: string | undefined;
|
|
487
487
|
}>;
|
|
488
488
|
declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
@@ -493,15 +493,15 @@ declare const lcmSearchRequestSchema: z.ZodObject<{
|
|
|
493
493
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
494
494
|
}, "strip", z.ZodTypeAny, {
|
|
495
495
|
query: string;
|
|
496
|
+
sessionKey?: string | undefined;
|
|
496
497
|
namespace?: string | undefined;
|
|
497
498
|
limit?: number | undefined;
|
|
498
|
-
sessionKey?: string | undefined;
|
|
499
499
|
sessionPrefix?: string | undefined;
|
|
500
500
|
}, {
|
|
501
501
|
query: string;
|
|
502
|
+
sessionKey?: string | undefined;
|
|
502
503
|
namespace?: string | undefined;
|
|
503
504
|
limit?: number | undefined;
|
|
504
|
-
sessionKey?: string | undefined;
|
|
505
505
|
sessionPrefix?: string | undefined;
|
|
506
506
|
}>;
|
|
507
507
|
declare const lcmCompactionFlushRequestSchema: z.ZodObject<{
|
|
@@ -535,12 +535,12 @@ declare const daySummaryRequestSchema: z.ZodObject<{
|
|
|
535
535
|
sessionKey: z.ZodOptional<z.ZodString>;
|
|
536
536
|
namespace: z.ZodOptional<z.ZodString>;
|
|
537
537
|
}, "strip", z.ZodTypeAny, {
|
|
538
|
-
namespace?: string | undefined;
|
|
539
538
|
sessionKey?: string | undefined;
|
|
539
|
+
namespace?: string | undefined;
|
|
540
540
|
memories?: string | undefined;
|
|
541
541
|
}, {
|
|
542
|
-
namespace?: string | undefined;
|
|
543
542
|
sessionKey?: string | undefined;
|
|
543
|
+
namespace?: string | undefined;
|
|
544
544
|
memories?: string | undefined;
|
|
545
545
|
}>;
|
|
546
546
|
declare const capsuleExportRequestSchema: z.ZodObject<{
|
|
@@ -730,11 +730,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
730
730
|
safety: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodEnum<["safe", "requires-review", "blocked"]>>>, NonNullable<"safe" | "requires-review" | "blocked"> | undefined, "safe" | "requires-review" | "blocked" | null | undefined>;
|
|
731
731
|
safetyReasons: z.ZodEffects<z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>, string[] | undefined, string[] | null | undefined>;
|
|
732
732
|
}, "strict", z.ZodTypeAny, {
|
|
733
|
-
confidence?: number | undefined;
|
|
734
733
|
source?: string | undefined;
|
|
735
734
|
stale?: boolean | undefined;
|
|
736
735
|
created?: string | undefined;
|
|
737
736
|
updated?: string | undefined;
|
|
737
|
+
confidence?: number | undefined;
|
|
738
738
|
scope?: string | undefined;
|
|
739
739
|
retrievalReason?: string | undefined;
|
|
740
740
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
@@ -744,11 +744,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
744
744
|
safetyReasons?: string[] | undefined;
|
|
745
745
|
userContextScopes?: string[] | undefined;
|
|
746
746
|
}, {
|
|
747
|
-
confidence?: number | null | undefined;
|
|
748
747
|
source?: string | null | undefined;
|
|
749
748
|
stale?: boolean | null | undefined;
|
|
750
749
|
created?: string | null | undefined;
|
|
751
750
|
updated?: string | null | undefined;
|
|
751
|
+
confidence?: number | null | undefined;
|
|
752
752
|
scope?: string | null | undefined;
|
|
753
753
|
retrievalReason?: string | null | undefined;
|
|
754
754
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
@@ -758,11 +758,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
758
758
|
safetyReasons?: string[] | null | undefined;
|
|
759
759
|
userContextScopes?: string[] | null | undefined;
|
|
760
760
|
}>, "many">>>, {
|
|
761
|
-
confidence?: number | undefined;
|
|
762
761
|
source?: string | undefined;
|
|
763
762
|
stale?: boolean | undefined;
|
|
764
763
|
created?: string | undefined;
|
|
765
764
|
updated?: string | undefined;
|
|
765
|
+
confidence?: number | undefined;
|
|
766
766
|
scope?: string | undefined;
|
|
767
767
|
retrievalReason?: string | undefined;
|
|
768
768
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
@@ -772,11 +772,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
772
772
|
safetyReasons?: string[] | undefined;
|
|
773
773
|
userContextScopes?: string[] | undefined;
|
|
774
774
|
}[] | undefined, {
|
|
775
|
-
confidence?: number | null | undefined;
|
|
776
775
|
source?: string | null | undefined;
|
|
777
776
|
stale?: boolean | null | undefined;
|
|
778
777
|
created?: string | null | undefined;
|
|
779
778
|
updated?: string | null | undefined;
|
|
779
|
+
confidence?: number | null | undefined;
|
|
780
780
|
scope?: string | null | undefined;
|
|
781
781
|
retrievalReason?: string | null | undefined;
|
|
782
782
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
@@ -798,11 +798,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
798
798
|
matched?: boolean | undefined;
|
|
799
799
|
}[] | undefined;
|
|
800
800
|
retrievedMemories?: {
|
|
801
|
-
confidence?: number | undefined;
|
|
802
801
|
source?: string | undefined;
|
|
803
802
|
stale?: boolean | undefined;
|
|
804
803
|
created?: string | undefined;
|
|
805
804
|
updated?: string | undefined;
|
|
805
|
+
confidence?: number | undefined;
|
|
806
806
|
scope?: string | undefined;
|
|
807
807
|
retrievalReason?: string | undefined;
|
|
808
808
|
safety?: NonNullable<"safe" | "requires-review" | "blocked"> | undefined;
|
|
@@ -824,11 +824,11 @@ declare const actionConfidenceRequestSchema: z.ZodObject<{
|
|
|
824
824
|
matched?: boolean | null | undefined;
|
|
825
825
|
}[] | null | undefined;
|
|
826
826
|
retrievedMemories?: {
|
|
827
|
-
confidence?: number | null | undefined;
|
|
828
827
|
source?: string | null | undefined;
|
|
829
828
|
stale?: boolean | null | undefined;
|
|
830
829
|
created?: string | null | undefined;
|
|
831
830
|
updated?: string | null | undefined;
|
|
831
|
+
confidence?: number | null | undefined;
|
|
832
832
|
scope?: string | null | undefined;
|
|
833
833
|
retrievalReason?: string | null | undefined;
|
|
834
834
|
safety?: "safe" | "requires-review" | "blocked" | null | undefined;
|
|
@@ -6,7 +6,7 @@ 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
8
|
import { readMemoryGovernanceRunArtifact } from './maintenance/memory-governance.js';
|
|
9
|
-
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult } from './orchestrator-
|
|
9
|
+
import { O as Orchestrator, I as IntentDebugSnapshot, G as GraphRecallSnapshot, P as PatternReinforcementResult } from './orchestrator-DTRQG75J.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';
|
|
@@ -307,6 +307,8 @@ interface EngramAccessRecallResponse {
|
|
|
307
307
|
interface EngramAccessRecallExplainRequest {
|
|
308
308
|
sessionKey?: string;
|
|
309
309
|
namespace?: string;
|
|
310
|
+
/** Caller principal for namespace access checks. Transport-bound; never from untrusted payloads. */
|
|
311
|
+
authenticatedPrincipal?: string;
|
|
310
312
|
}
|
|
311
313
|
interface EngramAccessRecallExplainResponse {
|
|
312
314
|
found: boolean;
|
package/dist/access-service.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import './storage.js';
|
|
2
2
|
import './types-B1VHaf2w.js';
|
|
3
|
-
export { h as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, i as EngramAccessActionConfidenceRequest, j as EngramAccessActionConfidenceResponse, k as EngramAccessBriefingRequest, l as EngramAccessBriefingResponse, m as EngramAccessCapsuleListResponse, n as EngramAccessDaySummaryRequest, o as EngramAccessEntityListResponse, p as EngramAccessEntityResponse, q as EngramAccessEntitySummary, r as EngramAccessHealthResponse, b as EngramAccessInputError, s as EngramAccessLcmCompactionFlushRequest, t as EngramAccessLcmCompactionFlushResponse, u as EngramAccessLcmCompactionRecordRequest, v as EngramAccessLcmCompactionRecordResponse, w as EngramAccessLcmSearchRequest, x as EngramAccessLcmSearchResponse, y as EngramAccessLcmStatusResponse, z as EngramAccessMaintenanceResponse, A as EngramAccessMemoryBrowseRequest, B as EngramAccessMemoryBrowseResponse, C as EngramAccessMemoryRecord, D as EngramAccessMemoryResponse, F as EngramAccessMemoryStoreRequest, G as EngramAccessMemorySummary, H as EngramAccessObserveMessage, I as EngramAccessObserveRequest, J as EngramAccessObserveResponse, K as EngramAccessOfflineSyncApplyFileContentRequest, L as EngramAccessOfflineSyncApplyFileContentResponse, M as EngramAccessOfflineSyncApplyRequest, N as EngramAccessOfflineSyncApplyResponse, O as EngramAccessOfflineSyncFileContentRequest, Q as EngramAccessOfflineSyncFileContentResponse, R as EngramAccessOfflineSyncFilesRequest, S as EngramAccessOfflineSyncFilesResponse, T as EngramAccessOfflineSyncSnapshotRequest, U as EngramAccessOfflineSyncSnapshotResponse, V as EngramAccessOfflineSyncSnapshotStreamResponse, W as EngramAccessQualityResponse, X as EngramAccessRecallExplainRequest, Y as EngramAccessRecallExplainResponse, Z as EngramAccessRecallRequest, a as EngramAccessRecallResponse, _ as EngramAccessReviewDispositionRequest, $ as EngramAccessReviewDispositionResponse, a0 as EngramAccessReviewQueueResponse, E as EngramAccessService, a1 as EngramAccessSetCodingContextRequest, a2 as EngramAccessSuggestionSubmitRequest, a3 as EngramAccessTimelineResponse, a4 as EngramAccessTrustZoneBrowseRequest, a5 as EngramAccessTrustZoneBrowseResponse, a6 as EngramAccessTrustZoneDemoSeedRequest, a7 as EngramAccessTrustZoneDemoSeedResponse, a8 as EngramAccessTrustZonePromoteRequest, a9 as EngramAccessTrustZonePromoteResponse, aa as EngramAccessTrustZoneRecordSummary, ab as EngramAccessTrustZoneStatusResponse, ac as EngramAccessWriteEnvelope, ad as EngramAccessWriteResponse, ae as shapeMemorySummary } from './access-service-
|
|
3
|
+
export { h as ENGRAM_ACCESS_WRITE_SCHEMA_VERSION, i as EngramAccessActionConfidenceRequest, j as EngramAccessActionConfidenceResponse, k as EngramAccessBriefingRequest, l as EngramAccessBriefingResponse, m as EngramAccessCapsuleListResponse, n as EngramAccessDaySummaryRequest, o as EngramAccessEntityListResponse, p as EngramAccessEntityResponse, q as EngramAccessEntitySummary, r as EngramAccessHealthResponse, b as EngramAccessInputError, s as EngramAccessLcmCompactionFlushRequest, t as EngramAccessLcmCompactionFlushResponse, u as EngramAccessLcmCompactionRecordRequest, v as EngramAccessLcmCompactionRecordResponse, w as EngramAccessLcmSearchRequest, x as EngramAccessLcmSearchResponse, y as EngramAccessLcmStatusResponse, z as EngramAccessMaintenanceResponse, A as EngramAccessMemoryBrowseRequest, B as EngramAccessMemoryBrowseResponse, C as EngramAccessMemoryRecord, D as EngramAccessMemoryResponse, F as EngramAccessMemoryStoreRequest, G as EngramAccessMemorySummary, H as EngramAccessObserveMessage, I as EngramAccessObserveRequest, J as EngramAccessObserveResponse, K as EngramAccessOfflineSyncApplyFileContentRequest, L as EngramAccessOfflineSyncApplyFileContentResponse, M as EngramAccessOfflineSyncApplyRequest, N as EngramAccessOfflineSyncApplyResponse, O as EngramAccessOfflineSyncFileContentRequest, Q as EngramAccessOfflineSyncFileContentResponse, R as EngramAccessOfflineSyncFilesRequest, S as EngramAccessOfflineSyncFilesResponse, T as EngramAccessOfflineSyncSnapshotRequest, U as EngramAccessOfflineSyncSnapshotResponse, V as EngramAccessOfflineSyncSnapshotStreamResponse, W as EngramAccessQualityResponse, X as EngramAccessRecallExplainRequest, Y as EngramAccessRecallExplainResponse, Z as EngramAccessRecallRequest, a as EngramAccessRecallResponse, _ as EngramAccessReviewDispositionRequest, $ as EngramAccessReviewDispositionResponse, a0 as EngramAccessReviewQueueResponse, E as EngramAccessService, a1 as EngramAccessSetCodingContextRequest, a2 as EngramAccessSuggestionSubmitRequest, a3 as EngramAccessTimelineResponse, a4 as EngramAccessTrustZoneBrowseRequest, a5 as EngramAccessTrustZoneBrowseResponse, a6 as EngramAccessTrustZoneDemoSeedRequest, a7 as EngramAccessTrustZoneDemoSeedResponse, a8 as EngramAccessTrustZonePromoteRequest, a9 as EngramAccessTrustZonePromoteResponse, aa as EngramAccessTrustZoneRecordSummary, ab as EngramAccessTrustZoneStatusResponse, ac as EngramAccessWriteEnvelope, ad as EngramAccessWriteResponse, ae as shapeMemorySummary } from './access-service-D2J9dh_9.js';
|
|
4
4
|
import './recall-explain-renderer.js';
|
|
5
5
|
import './types.js';
|
|
6
6
|
import './recall-audit-anomaly.js';
|
|
7
7
|
import './explicit-capture.js';
|
|
8
8
|
import './cross-namespace-budget.js';
|
|
9
9
|
import './maintenance/memory-governance.js';
|
|
10
|
-
import './orchestrator-
|
|
10
|
+
import './orchestrator-DTRQG75J.js';
|
|
11
11
|
import './live-connectors-runner.js';
|
|
12
12
|
import './recall-state.js';
|
|
13
13
|
import './graph-snapshot.js';
|
package/dist/access-service.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
EngramAccessInputError,
|
|
4
4
|
EngramAccessService,
|
|
5
5
|
shapeMemorySummary
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KS7WO6EQ.js";
|
|
7
7
|
import "./chunk-ETUPBUHB.js";
|
|
8
8
|
import "./chunk-L227SKTB.js";
|
|
9
9
|
import "./chunk-DHGSZ3UD.js";
|
|
@@ -47,7 +47,7 @@ import "./chunk-ALEPI75L.js";
|
|
|
47
47
|
import "./chunk-ZY2MNJR6.js";
|
|
48
48
|
import "./chunk-LMPHTYJC.js";
|
|
49
49
|
import "./chunk-DT5TVLJE.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-UZYLX7M6.js";
|
|
51
51
|
import "./chunk-U3PN77QT.js";
|
|
52
52
|
import "./chunk-4DJQYKMN.js";
|
|
53
53
|
import "./chunk-EYIEWJNI.js";
|
|
@@ -41,7 +41,7 @@ type ActiveMemorySearchCandidate = {
|
|
|
41
41
|
};
|
|
42
42
|
declare function recallForActiveMemory(orchestrator: {
|
|
43
43
|
config?: PluginConfig;
|
|
44
|
-
resolvePrincipal?: (sessionKey?: string) => string;
|
|
44
|
+
resolvePrincipal?: (sessionKey?: string) => string | undefined;
|
|
45
45
|
resolveSelfNamespace?: (sessionKey?: string) => string;
|
|
46
46
|
searchAcrossNamespaces: (params: {
|
|
47
47
|
query: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getMemoryForActiveMemory,
|
|
3
3
|
recallForActiveMemory
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-NINRTFSV.js";
|
|
5
5
|
import "./chunk-6MKAMLQL.js";
|
|
6
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-UZYLX7M6.js";
|
|
7
7
|
import "./chunk-U3PN77QT.js";
|
|
8
8
|
import "./chunk-PZ5AY32C.js";
|
|
9
9
|
export {
|
package/dist/bootstrap.d.ts
CHANGED
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-JBPKEARU.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramMcpServer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-BUUYY2H2.js";
|
|
7
7
|
import {
|
|
8
8
|
EngramAccessInputError
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KS7WO6EQ.js";
|
|
10
10
|
import {
|
|
11
11
|
projectTagProjectId
|
|
12
12
|
} from "./chunk-EDQVAMQI.js";
|
|
@@ -658,7 +658,8 @@ var EngramAccessHttpServer = class {
|
|
|
658
658
|
const body = await this.readValidatedBody(req, "recallExplain");
|
|
659
659
|
const response = await this.service.recallExplain({
|
|
660
660
|
sessionKey: body.sessionKey,
|
|
661
|
-
namespace: this.resolveNamespace(req, body.namespace)
|
|
661
|
+
namespace: this.resolveNamespace(req, body.namespace),
|
|
662
|
+
authenticatedPrincipal: this.resolveRequestPrincipal(req)
|
|
662
663
|
});
|
|
663
664
|
this.respondJson(res, 200, response);
|
|
664
665
|
return;
|
|
@@ -1845,4 +1846,4 @@ var EngramAccessHttpServer = class {
|
|
|
1845
1846
|
export {
|
|
1846
1847
|
EngramAccessHttpServer
|
|
1847
1848
|
};
|
|
1848
|
-
//# sourceMappingURL=chunk-
|
|
1849
|
+
//# sourceMappingURL=chunk-65OLPXBU.js.map
|