@remnic/core 1.1.17 → 1.1.18
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 +16 -16
- package/dist/access-http.d.ts +2 -1
- package/dist/access-http.js +10 -10
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-mcp.js +9 -9
- package/dist/access-schema.d.ts +23 -3
- package/dist/access-schema.js +6 -1
- package/dist/{access-service-DZXc7qwR.d.ts → access-service-DT9L2DW4.d.ts} +14 -2
- package/dist/access-service.d.ts +1 -1
- package/dist/access-service.js +7 -7
- package/dist/briefing.js +4 -4
- package/dist/causal-consolidation.js +5 -5
- package/dist/{chunk-NOHC2L57.js → chunk-2IRT26RZ.js} +2 -2
- package/dist/{chunk-CDQNR7SV.js → chunk-2XX25T6U.js} +15 -15
- package/dist/{chunk-66H2DZYB.js → chunk-4J3BTQRB.js} +13 -1
- package/dist/chunk-4J3BTQRB.js.map +1 -0
- package/dist/{chunk-MS3ULOZF.js → chunk-5IQC4OG6.js} +2 -2
- package/dist/{chunk-ZPXYWTN5.js → chunk-5ML4TH3E.js} +4 -4
- package/dist/{chunk-V7WH7DEM.js → chunk-6ORWKANA.js} +2 -2
- package/dist/{chunk-IOAY54RF.js → chunk-7Q2P774N.js} +11 -11
- package/dist/{chunk-JFEH2LZM.js → chunk-CN4P6SVA.js} +2 -2
- package/dist/{chunk-OGROP7ZN.js → chunk-FFU4GMST.js} +5 -5
- package/dist/{chunk-C7DGCHJE.js → chunk-FSODDMR2.js} +2 -2
- package/dist/{chunk-AAX3SUM3.js → chunk-GGCJ253V.js} +11 -11
- package/dist/{chunk-HMZYQPT5.js → chunk-J4VRI4BH.js} +97 -4
- package/dist/chunk-J4VRI4BH.js.map +1 -0
- package/dist/{chunk-IG5VGHYB.js → chunk-KSFBM6TV.js} +2 -2
- package/dist/{chunk-M3AA636B.js → chunk-NOQ74SJN.js} +2 -2
- package/dist/{chunk-GCR4JFKK.js → chunk-P7FRFY6S.js} +38 -4
- package/dist/chunk-P7FRFY6S.js.map +1 -0
- package/dist/{chunk-QLKBF3TI.js → chunk-QOHBYVZG.js} +2 -2
- package/dist/{chunk-OJRKZLZ4.js → chunk-SGIXDVSF.js} +2 -2
- package/dist/{chunk-BYACCC5C.js → chunk-SPEVF47M.js} +4 -4
- package/dist/{chunk-YCVWX2NF.js → chunk-SZKCBLS5.js} +2 -2
- package/dist/{chunk-BEB4GUU5.js → chunk-TLM762GT.js} +2 -2
- package/dist/{chunk-65HQPW6O.js → chunk-TOFUTKQN.js} +2 -2
- package/dist/{chunk-VLQWOGYM.js → chunk-TUQXQOGR.js} +34 -9
- package/dist/chunk-TUQXQOGR.js.map +1 -0
- package/dist/{chunk-G7JBLD65.js → chunk-YO3AZEE5.js} +3 -3
- package/dist/{cli-kVwab1_L.d.ts → cli-BN0CkYzI.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +19 -19
- package/dist/compounding/engine.js +4 -4
- package/dist/connectors/codex-materialize-runner.js +4 -4
- package/dist/connectors/index.js +4 -4
- package/dist/entity-retrieval.js +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +50 -46
- package/dist/index.js.map +1 -1
- package/dist/maintenance/memory-governance.js +4 -4
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +4 -4
- package/dist/maintenance/rebuild-memory-projection.js +5 -5
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/namespaces/migrate.js +5 -5
- package/dist/namespaces/storage.js +4 -4
- package/dist/offline-sync.d.ts +16 -1
- package/dist/offline-sync.js +8 -2
- package/dist/operator-toolkit.js +7 -7
- package/dist/orchestrator.js +12 -12
- package/dist/secure-store/index.js +17 -17
- package/dist/semantic-consolidation.js +5 -5
- package/dist/semantic-rule-promotion.js +4 -4
- package/dist/semantic-rule-verifier.js +4 -4
- package/dist/storage.js +3 -3
- package/dist/verified-recall.js +4 -4
- package/package.json +1 -1
- package/src/access-http.test.ts +90 -0
- package/src/access-http.ts +47 -0
- package/src/access-schema.ts +13 -0
- package/src/access-service.ts +48 -0
- package/src/index.ts +3 -0
- package/src/offline-sync.test.ts +32 -0
- package/src/offline-sync.ts +114 -0
- package/dist/chunk-66H2DZYB.js.map +0 -1
- package/dist/chunk-GCR4JFKK.js.map +0 -1
- package/dist/chunk-HMZYQPT5.js.map +0 -1
- package/dist/chunk-VLQWOGYM.js.map +0 -1
- /package/dist/{chunk-NOHC2L57.js.map → chunk-2IRT26RZ.js.map} +0 -0
- /package/dist/{chunk-CDQNR7SV.js.map → chunk-2XX25T6U.js.map} +0 -0
- /package/dist/{chunk-MS3ULOZF.js.map → chunk-5IQC4OG6.js.map} +0 -0
- /package/dist/{chunk-ZPXYWTN5.js.map → chunk-5ML4TH3E.js.map} +0 -0
- /package/dist/{chunk-V7WH7DEM.js.map → chunk-6ORWKANA.js.map} +0 -0
- /package/dist/{chunk-IOAY54RF.js.map → chunk-7Q2P774N.js.map} +0 -0
- /package/dist/{chunk-JFEH2LZM.js.map → chunk-CN4P6SVA.js.map} +0 -0
- /package/dist/{chunk-OGROP7ZN.js.map → chunk-FFU4GMST.js.map} +0 -0
- /package/dist/{chunk-C7DGCHJE.js.map → chunk-FSODDMR2.js.map} +0 -0
- /package/dist/{chunk-AAX3SUM3.js.map → chunk-GGCJ253V.js.map} +0 -0
- /package/dist/{chunk-IG5VGHYB.js.map → chunk-KSFBM6TV.js.map} +0 -0
- /package/dist/{chunk-M3AA636B.js.map → chunk-NOQ74SJN.js.map} +0 -0
- /package/dist/{chunk-QLKBF3TI.js.map → chunk-QOHBYVZG.js.map} +0 -0
- /package/dist/{chunk-OJRKZLZ4.js.map → chunk-SGIXDVSF.js.map} +0 -0
- /package/dist/{chunk-BYACCC5C.js.map → chunk-SPEVF47M.js.map} +0 -0
- /package/dist/{chunk-YCVWX2NF.js.map → chunk-SZKCBLS5.js.map} +0 -0
- /package/dist/{chunk-BEB4GUU5.js.map → chunk-TLM762GT.js.map} +0 -0
- /package/dist/{chunk-65HQPW6O.js.map → chunk-TOFUTKQN.js.map} +0 -0
- /package/dist/{chunk-G7JBLD65.js.map → chunk-YO3AZEE5.js.map} +0 -0
|
@@ -11,10 +11,10 @@ import {
|
|
|
11
11
|
} from "./chunk-IQT3XTKW.js";
|
|
12
12
|
import {
|
|
13
13
|
EngramAccessInputError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TUQXQOGR.js";
|
|
15
15
|
import {
|
|
16
16
|
validateBriefingFormat
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6ORWKANA.js";
|
|
18
18
|
import {
|
|
19
19
|
expandTildePath
|
|
20
20
|
} from "./chunk-QRNI5JBH.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-XIG5PDM7.js";
|
|
24
24
|
import {
|
|
25
25
|
validateRequest
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4J3BTQRB.js";
|
|
27
27
|
|
|
28
28
|
// src/access-mcp.ts
|
|
29
29
|
import { readFile } from "fs/promises";
|
|
@@ -2797,4 +2797,4 @@ ${body}`;
|
|
|
2797
2797
|
export {
|
|
2798
2798
|
EngramMcpServer
|
|
2799
2799
|
};
|
|
2800
|
-
//# sourceMappingURL=chunk-
|
|
2800
|
+
//# sourceMappingURL=chunk-SPEVF47M.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runPostConsolidationMaterialize
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KSFBM6TV.js";
|
|
4
4
|
import {
|
|
5
5
|
discoverMemoryExtensions,
|
|
6
6
|
renderExtensionsBlock,
|
|
@@ -216,4 +216,4 @@ export {
|
|
|
216
216
|
buildExtensionsBlockForConsolidation,
|
|
217
217
|
materializeAfterSemanticConsolidation
|
|
218
218
|
};
|
|
219
|
-
//# sourceMappingURL=chunk-
|
|
219
|
+
//# sourceMappingURL=chunk-SZKCBLS5.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-U3PN77QT.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7Q2P774N.js";
|
|
7
7
|
|
|
8
8
|
// src/namespaces/storage.ts
|
|
9
9
|
import path from "path";
|
|
@@ -60,4 +60,4 @@ var NamespaceStorageRouter = class {
|
|
|
60
60
|
export {
|
|
61
61
|
NamespaceStorageRouter
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-TLM762GT.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7Q2P774N.js";
|
|
4
4
|
import {
|
|
5
5
|
decideLifecycleTransition
|
|
6
6
|
} from "./chunk-TBBDFYXW.js";
|
|
@@ -718,4 +718,4 @@ export {
|
|
|
718
718
|
listMemoryGovernanceRuns,
|
|
719
719
|
readMemoryGovernanceRunArtifact
|
|
720
720
|
};
|
|
721
|
-
//# sourceMappingURL=chunk-
|
|
721
|
+
//# sourceMappingURL=chunk-TOFUTKQN.js.map
|
|
@@ -42,11 +42,6 @@ import {
|
|
|
42
42
|
import {
|
|
43
43
|
objectiveStateStoreOverrideForNamespace
|
|
44
44
|
} from "./chunk-5UM2VJ6D.js";
|
|
45
|
-
import {
|
|
46
|
-
applyOfflineSyncChangeset,
|
|
47
|
-
buildOfflineSyncSnapshot,
|
|
48
|
-
buildOfflineSyncSnapshotForPaths
|
|
49
|
-
} from "./chunk-HMZYQPT5.js";
|
|
50
45
|
import {
|
|
51
46
|
buildProposedActions,
|
|
52
47
|
buildQualityScore,
|
|
@@ -54,7 +49,7 @@ import {
|
|
|
54
49
|
listMemoryGovernanceRuns,
|
|
55
50
|
readMemoryGovernanceRunArtifact,
|
|
56
51
|
runMemoryGovernance
|
|
57
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-TOFUTKQN.js";
|
|
58
53
|
import {
|
|
59
54
|
recordMemoryOutcome
|
|
60
55
|
} from "./chunk-EIR5VLIH.js";
|
|
@@ -84,10 +79,10 @@ import {
|
|
|
84
79
|
buildBriefing,
|
|
85
80
|
parseBriefingFocus,
|
|
86
81
|
parseBriefingWindow
|
|
87
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-6ORWKANA.js";
|
|
88
83
|
import {
|
|
89
84
|
parseEntityFile
|
|
90
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-7Q2P774N.js";
|
|
91
86
|
import {
|
|
92
87
|
DEFAULT_RECALL_DISCLOSURE,
|
|
93
88
|
isRecallDisclosure
|
|
@@ -130,6 +125,12 @@ import {
|
|
|
130
125
|
import {
|
|
131
126
|
exportCapsule
|
|
132
127
|
} from "./chunk-QA2ZAPBU.js";
|
|
128
|
+
import {
|
|
129
|
+
applyOfflineSyncChangeset,
|
|
130
|
+
buildOfflineSyncSnapshot,
|
|
131
|
+
buildOfflineSyncSnapshotForPaths,
|
|
132
|
+
readOfflineSyncFileContentChunk
|
|
133
|
+
} from "./chunk-J4VRI4BH.js";
|
|
133
134
|
import {
|
|
134
135
|
evaluateActionConfidence
|
|
135
136
|
} from "./chunk-AH2JUU6X.js";
|
|
@@ -3911,6 +3912,30 @@ ${next}`);
|
|
|
3911
3912
|
throw error;
|
|
3912
3913
|
}
|
|
3913
3914
|
}
|
|
3915
|
+
async offlineSyncFileContent(options) {
|
|
3916
|
+
const resolvedNamespace = this.resolveReadableNamespace(options.namespace, options.principal);
|
|
3917
|
+
const storage = await this.orchestrator.getStorage(resolvedNamespace);
|
|
3918
|
+
try {
|
|
3919
|
+
const chunk = await readOfflineSyncFileContentChunk({
|
|
3920
|
+
root: storage.dir,
|
|
3921
|
+
path: options.path,
|
|
3922
|
+
offset: options.offset,
|
|
3923
|
+
length: options.length,
|
|
3924
|
+
includeTranscripts: options.includeTranscripts !== false,
|
|
3925
|
+
readFile: async ({ filePath }) => storage.readOfflineSyncFile(filePath)
|
|
3926
|
+
});
|
|
3927
|
+
return {
|
|
3928
|
+
namespace: resolvedNamespace,
|
|
3929
|
+
...chunk
|
|
3930
|
+
};
|
|
3931
|
+
} catch (error) {
|
|
3932
|
+
const message = error instanceof Error ? error.message : String(error);
|
|
3933
|
+
if (message.startsWith("path:") || message.startsWith("offset ") || message.startsWith("offset must ") || message.startsWith("length ") || message.startsWith("offline sync file content ")) {
|
|
3934
|
+
throw new EngramAccessInputError(message);
|
|
3935
|
+
}
|
|
3936
|
+
throw error;
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3914
3939
|
async offlineSyncApply(options) {
|
|
3915
3940
|
const resolvedNamespace = this.resolveWritableNamespace(
|
|
3916
3941
|
options.namespace,
|
|
@@ -4033,4 +4058,4 @@ export {
|
|
|
4033
4058
|
shapeMemorySummary,
|
|
4034
4059
|
EngramAccessService
|
|
4035
4060
|
};
|
|
4036
|
-
//# sourceMappingURL=chunk-
|
|
4061
|
+
//# sourceMappingURL=chunk-TUQXQOGR.js.map
|