@remnic/core 9.3.679 → 9.3.681
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-boundary.d.ts +178 -0
- package/dist/access-boundary.js +121 -0
- package/dist/access-boundary.js.map +1 -0
- package/dist/access-cli.js +114 -100
- package/dist/access-cli.js.map +1 -1
- package/dist/access-http.d.ts +1 -1
- package/dist/access-http.js +47 -45
- package/dist/access-mcp.d.ts +1 -1
- package/dist/access-mcp.js +43 -41
- package/dist/access-operations.d.ts +127 -0
- package/dist/access-operations.js +115 -0
- package/dist/access-operations.js.map +1 -0
- package/dist/access-schema.d.ts +34 -34
- package/dist/access-schema.js +3 -3
- package/dist/{access-service-S9oGKPZc.d.ts → access-service-DvA6jyHL.d.ts} +1 -1
- package/dist/access-service.d.ts +1 -1
- package/dist/access-service.js +39 -39
- package/dist/access-surface-catalog.d.ts +125 -0
- package/dist/access-surface-catalog.js +162 -0
- package/dist/access-surface-catalog.js.map +1 -0
- package/dist/adapters/index.js +7 -7
- package/dist/adapters/registry.js +3 -3
- package/dist/auto-sync-5CJBJMPZ.js +1 -1
- package/dist/briefing.js +8 -8
- package/dist/causal-behavior.js +5 -5
- package/dist/causal-chain.js +3 -3
- package/dist/causal-consolidation.js +16 -16
- package/dist/causal-retrieval.js +3 -3
- package/dist/causal-trajectory.js +1 -1
- package/dist/{chunk-JBPKEARU.js → chunk-2QSZNTDO.js} +7 -7
- package/dist/{chunk-3OKWZT7F.js → chunk-3IND7N4X.js} +2 -2
- package/dist/{chunk-GYSYLGNE.js → chunk-7MOTEVAA.js} +2 -2
- package/dist/{chunk-6T4LTI2F.js → chunk-7XH7VJN4.js} +4 -4
- package/dist/{chunk-AGNBY3VG.js → chunk-APJQ6UEA.js} +4 -4
- package/dist/{chunk-LZSMQHXC.js → chunk-ARLRTZZZ.js} +5 -5
- package/dist/{chunk-Q2H5U37U.js → chunk-B2B2IHUH.js} +2 -2
- package/dist/{chunk-SECQS4G4.js → chunk-BTVX7ZXZ.js} +5 -5
- package/dist/{chunk-DGEZKYVI.js → chunk-DOCTITOP.js} +4 -4
- package/dist/{chunk-EQYP3HA6.js → chunk-EG4TCVMU.js} +2 -2
- package/dist/{chunk-SLTKP5WJ.js → chunk-EW5KFXHL.js} +4 -4
- package/dist/{chunk-K2JYO6QV.js → chunk-FDSOMA6M.js} +28 -41
- package/dist/chunk-FDSOMA6M.js.map +1 -0
- package/dist/{chunk-CTCPB57O.js → chunk-G7Z3C2X6.js} +2 -2
- package/dist/{chunk-4PPMUNV5.js → chunk-H4BDNIKQ.js} +52 -52
- package/dist/{chunk-MTJ2LFAJ.js → chunk-H6PMGMNP.js} +2 -2
- package/dist/{chunk-7AAKSHDG.js → chunk-I3HSKQT7.js} +136 -136
- package/dist/{chunk-NXBXM7Q6.js → chunk-I75DF4FZ.js} +2 -2
- package/dist/{chunk-RC3AFF6Z.js → chunk-JD4SCARD.js} +1 -1
- package/dist/{chunk-LVTTO3VC.js → chunk-KACIOX42.js} +2 -2
- package/dist/{chunk-ATRB6Q25.js → chunk-KV6CX4ON.js} +2 -2
- package/dist/{chunk-VL5JJOOY.js → chunk-L5MUA6Q7.js} +5 -5
- package/dist/{chunk-PCGCQTU6.js → chunk-M4I3TREG.js} +75 -75
- package/dist/chunk-NHFXF4ZO.js +107 -0
- package/dist/chunk-NHFXF4ZO.js.map +1 -0
- package/dist/{chunk-MNUPGYIV.js → chunk-NQMBSSWW.js} +2 -2
- package/dist/{chunk-V4ZHKCGA.js → chunk-O2WELT5C.js} +5 -5
- package/dist/{chunk-Z6SEG36L.js → chunk-OUWAQVDJ.js} +4 -4
- package/dist/{chunk-57ME5VSI.js → chunk-Q5ZU3RNY.js} +4 -4
- package/dist/{chunk-ACYX37IM.js → chunk-QUA2JPH2.js} +6 -6
- package/dist/{chunk-UNZLU2MX.js → chunk-QVWM4C24.js} +37 -32
- package/dist/chunk-QVWM4C24.js.map +1 -0
- package/dist/{chunk-2AP4QJX5.js → chunk-TOQEZ63C.js} +8 -8
- package/dist/{chunk-EUM7CZFM.js → chunk-TY5NT3T3.js} +17 -17
- package/dist/{chunk-ZCVPFDHB.js → chunk-UAODC6GJ.js} +14 -14
- package/dist/{chunk-YJ4J2JJ2.js → chunk-UJDV2NLT.js} +9 -9
- package/dist/chunk-V254FAT5.js +85 -0
- package/dist/chunk-V254FAT5.js.map +1 -0
- package/dist/{chunk-3IE22DJ2.js → chunk-WEPMT6SC.js} +10 -10
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{cli-B2Ve7R22.d.ts → cli-feUe-x3I.d.ts} +1 -1
- package/dist/cli.d.ts +2 -2
- package/dist/cli.js +74 -72
- package/dist/compounding/engine.js +9 -9
- package/dist/connectors/codex-materialize-runner.js +9 -9
- package/dist/connectors/index.js +9 -9
- package/dist/consolidation-provenance-check.js +2 -2
- package/dist/contradiction/index.js +4 -4
- package/dist/dashboard-runtime.js +2 -2
- package/dist/entity-retrieval.js +7 -7
- package/dist/extraction.js +2 -2
- package/dist/{first-start-migration-PG5HBC3K.js → first-start-migration-FF7YFGRP.js} +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js +209 -207
- package/dist/index.js.map +1 -1
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.js +12 -12
- package/dist/maintenance/memory-governance.js +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +7 -7
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/mcp-memory-inspector-app.d.ts +1 -1
- package/dist/namespaces/migrate.js +17 -17
- package/dist/namespaces/search.js +8 -8
- package/dist/namespaces/storage.js +8 -8
- package/dist/operator-toolkit.js +22 -22
- package/dist/orchestrator.js +70 -70
- package/dist/resume-bundles.js +1 -1
- package/dist/schemas.d.ts +50 -50
- package/dist/search/factory.js +7 -7
- package/dist/search/index.js +11 -11
- package/dist/search/lancedb-backend.js +3 -3
- package/dist/search/meilisearch-backend.js +3 -3
- package/dist/search/orama-backend.js +3 -3
- package/dist/semantic-consolidation.js +11 -11
- package/dist/semantic-rule-promotion.js +7 -7
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/storage.js +6 -6
- package/dist/transfer/backup.js +2 -2
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/capsule-import.js +1 -1
- package/dist/transfer/import-sqlite.js +2 -2
- package/dist/transfer/types.d.ts +38 -38
- package/dist/utils/serialize-mutations.d.ts +122 -0
- package/dist/utils/serialize-mutations.js +287 -0
- package/dist/utils/serialize-mutations.js.map +1 -0
- package/dist/verified-recall.js +8 -8
- package/package.json +12 -2
- package/src/access-boundary.test.ts +212 -0
- package/src/access-boundary.ts +235 -0
- package/src/access-cli.ts +32 -15
- package/src/access-http.ts +38 -28
- package/src/access-mcp.ts +41 -35
- package/src/access-operations.ts +157 -0
- package/src/access-surface-catalog.test.ts +772 -0
- package/src/access-surface-catalog.ts +218 -0
- package/src/utils/serialize-mutations.test.ts +1047 -0
- package/src/utils/serialize-mutations.ts +679 -0
- package/dist/chunk-K2JYO6QV.js.map +0 -1
- package/dist/chunk-UNZLU2MX.js.map +0 -1
- /package/dist/{chunk-JBPKEARU.js.map → chunk-2QSZNTDO.js.map} +0 -0
- /package/dist/{chunk-3OKWZT7F.js.map → chunk-3IND7N4X.js.map} +0 -0
- /package/dist/{chunk-GYSYLGNE.js.map → chunk-7MOTEVAA.js.map} +0 -0
- /package/dist/{chunk-6T4LTI2F.js.map → chunk-7XH7VJN4.js.map} +0 -0
- /package/dist/{chunk-AGNBY3VG.js.map → chunk-APJQ6UEA.js.map} +0 -0
- /package/dist/{chunk-LZSMQHXC.js.map → chunk-ARLRTZZZ.js.map} +0 -0
- /package/dist/{chunk-Q2H5U37U.js.map → chunk-B2B2IHUH.js.map} +0 -0
- /package/dist/{chunk-SECQS4G4.js.map → chunk-BTVX7ZXZ.js.map} +0 -0
- /package/dist/{chunk-DGEZKYVI.js.map → chunk-DOCTITOP.js.map} +0 -0
- /package/dist/{chunk-EQYP3HA6.js.map → chunk-EG4TCVMU.js.map} +0 -0
- /package/dist/{chunk-SLTKP5WJ.js.map → chunk-EW5KFXHL.js.map} +0 -0
- /package/dist/{chunk-CTCPB57O.js.map → chunk-G7Z3C2X6.js.map} +0 -0
- /package/dist/{chunk-4PPMUNV5.js.map → chunk-H4BDNIKQ.js.map} +0 -0
- /package/dist/{chunk-MTJ2LFAJ.js.map → chunk-H6PMGMNP.js.map} +0 -0
- /package/dist/{chunk-7AAKSHDG.js.map → chunk-I3HSKQT7.js.map} +0 -0
- /package/dist/{chunk-NXBXM7Q6.js.map → chunk-I75DF4FZ.js.map} +0 -0
- /package/dist/{chunk-RC3AFF6Z.js.map → chunk-JD4SCARD.js.map} +0 -0
- /package/dist/{chunk-LVTTO3VC.js.map → chunk-KACIOX42.js.map} +0 -0
- /package/dist/{chunk-ATRB6Q25.js.map → chunk-KV6CX4ON.js.map} +0 -0
- /package/dist/{chunk-VL5JJOOY.js.map → chunk-L5MUA6Q7.js.map} +0 -0
- /package/dist/{chunk-PCGCQTU6.js.map → chunk-M4I3TREG.js.map} +0 -0
- /package/dist/{chunk-MNUPGYIV.js.map → chunk-NQMBSSWW.js.map} +0 -0
- /package/dist/{chunk-V4ZHKCGA.js.map → chunk-O2WELT5C.js.map} +0 -0
- /package/dist/{chunk-Z6SEG36L.js.map → chunk-OUWAQVDJ.js.map} +0 -0
- /package/dist/{chunk-57ME5VSI.js.map → chunk-Q5ZU3RNY.js.map} +0 -0
- /package/dist/{chunk-ACYX37IM.js.map → chunk-QUA2JPH2.js.map} +0 -0
- /package/dist/{chunk-2AP4QJX5.js.map → chunk-TOQEZ63C.js.map} +0 -0
- /package/dist/{chunk-EUM7CZFM.js.map → chunk-TY5NT3T3.js.map} +0 -0
- /package/dist/{chunk-ZCVPFDHB.js.map → chunk-UAODC6GJ.js.map} +0 -0
- /package/dist/{chunk-YJ4J2JJ2.js.map → chunk-UJDV2NLT.js.map} +0 -0
- /package/dist/{chunk-3IE22DJ2.js.map → chunk-WEPMT6SC.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{first-start-migration-PG5HBC3K.js.map → first-start-migration-FF7YFGRP.js.map} +0 -0
|
@@ -17,6 +17,12 @@ import {
|
|
|
17
17
|
SPECULATIVE_TTL_DAYS,
|
|
18
18
|
confidenceTier
|
|
19
19
|
} from "./chunk-FMSDA2D3.js";
|
|
20
|
+
import {
|
|
21
|
+
readProjectedGovernanceRecord,
|
|
22
|
+
readProjectedMemoryBrowse,
|
|
23
|
+
readProjectedMemoryState,
|
|
24
|
+
readProjectedMemoryTimeline
|
|
25
|
+
} from "./chunk-MB5RSUW6.js";
|
|
20
26
|
import {
|
|
21
27
|
getCachedEntities,
|
|
22
28
|
invalidateAllForDir,
|
|
@@ -32,12 +38,6 @@ import {
|
|
|
32
38
|
normalizeProjectionPreview,
|
|
33
39
|
normalizeProjectionTags
|
|
34
40
|
} from "./chunk-SCU65EZI.js";
|
|
35
|
-
import {
|
|
36
|
-
readProjectedGovernanceRecord,
|
|
37
|
-
readProjectedMemoryBrowse,
|
|
38
|
-
readProjectedMemoryState,
|
|
39
|
-
readProjectedMemoryTimeline
|
|
40
|
-
} from "./chunk-MB5RSUW6.js";
|
|
41
41
|
import {
|
|
42
42
|
rotateMarkdownFileToArchive
|
|
43
43
|
} from "./chunk-DM2T26WE.js";
|
|
@@ -53,21 +53,13 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
sanitizeMemoryContent
|
|
55
55
|
} from "./chunk-FVQJYWH7.js";
|
|
56
|
-
import {
|
|
57
|
-
createVersion
|
|
58
|
-
} from "./chunk-VF4XKTX3.js";
|
|
59
56
|
import {
|
|
60
57
|
isConsolidationOperator,
|
|
61
58
|
isValidDerivedFromEntry
|
|
62
59
|
} from "./chunk-G7D6GZ5J.js";
|
|
63
60
|
import {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
sortStructuredSectionsBySchema
|
|
67
|
-
} from "./chunk-4DJQYKMN.js";
|
|
68
|
-
import {
|
|
69
|
-
log
|
|
70
|
-
} from "./chunk-2ODBA7MQ.js";
|
|
61
|
+
createVersion
|
|
62
|
+
} from "./chunk-VF4XKTX3.js";
|
|
71
63
|
import {
|
|
72
64
|
MAGIC_HEADER_SIZE,
|
|
73
65
|
SecureStoreLockedError,
|
|
@@ -85,6 +77,14 @@ import {
|
|
|
85
77
|
categoryDirName,
|
|
86
78
|
getCategoryDir
|
|
87
79
|
} from "./chunk-VS2IYZRU.js";
|
|
80
|
+
import {
|
|
81
|
+
matchEntitySchemaSection,
|
|
82
|
+
normalizeEntityStructuredSection,
|
|
83
|
+
sortStructuredSectionsBySchema
|
|
84
|
+
} from "./chunk-4DJQYKMN.js";
|
|
85
|
+
import {
|
|
86
|
+
log
|
|
87
|
+
} from "./chunk-2ODBA7MQ.js";
|
|
88
88
|
|
|
89
89
|
// src/storage.ts
|
|
90
90
|
import { access, lstat, readdir, readFile, realpath, stat, writeFile, mkdir, unlink, appendFile, open } from "fs/promises";
|
|
@@ -5580,4 +5580,4 @@ export {
|
|
|
5580
5580
|
serializeEntityFile,
|
|
5581
5581
|
StorageManager
|
|
5582
5582
|
};
|
|
5583
|
-
//# sourceMappingURL=chunk-
|
|
5583
|
+
//# sourceMappingURL=chunk-TY5NT3T3.js.map
|
|
@@ -10,21 +10,10 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
listMemoryGovernanceRuns,
|
|
12
12
|
readMemoryGovernanceRunArtifact
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-L5MUA6Q7.js";
|
|
14
14
|
import {
|
|
15
15
|
StorageManager
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
MEMORY_LIFECYCLE_EVENT_SORT_ORDER,
|
|
19
|
-
buildLifecycleEventsForMemory,
|
|
20
|
-
inferMemoryStatus,
|
|
21
|
-
sortMemoryLifecycleEvents,
|
|
22
|
-
toMemoryPathRel
|
|
23
|
-
} from "./chunk-RULE4VG5.js";
|
|
24
|
-
import {
|
|
25
|
-
normalizeProjectionPreview,
|
|
26
|
-
normalizeProjectionTags
|
|
27
|
-
} from "./chunk-SCU65EZI.js";
|
|
16
|
+
} from "./chunk-TY5NT3T3.js";
|
|
28
17
|
import {
|
|
29
18
|
MEMORY_PROJECTION_SCHEMA_VERSION,
|
|
30
19
|
getMemoryProjectionPath,
|
|
@@ -39,6 +28,17 @@ import {
|
|
|
39
28
|
import {
|
|
40
29
|
openBetterSqlite3
|
|
41
30
|
} from "./chunk-6KYMPV2O.js";
|
|
31
|
+
import {
|
|
32
|
+
MEMORY_LIFECYCLE_EVENT_SORT_ORDER,
|
|
33
|
+
buildLifecycleEventsForMemory,
|
|
34
|
+
inferMemoryStatus,
|
|
35
|
+
sortMemoryLifecycleEvents,
|
|
36
|
+
toMemoryPathRel
|
|
37
|
+
} from "./chunk-RULE4VG5.js";
|
|
38
|
+
import {
|
|
39
|
+
normalizeProjectionPreview,
|
|
40
|
+
normalizeProjectionTags
|
|
41
|
+
} from "./chunk-SCU65EZI.js";
|
|
42
42
|
|
|
43
43
|
// src/maintenance/rebuild-memory-projection.ts
|
|
44
44
|
import path from "path";
|
|
@@ -929,4 +929,4 @@ export {
|
|
|
929
929
|
verifyMemoryProjection,
|
|
930
930
|
repairMemoryProjection
|
|
931
931
|
};
|
|
932
|
-
//# sourceMappingURL=chunk-
|
|
932
|
+
//# sourceMappingURL=chunk-UAODC6GJ.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
NoopSearchBackend
|
|
3
|
+
} from "./chunk-CYEPCZN5.js";
|
|
4
|
+
import {
|
|
5
|
+
OramaBackend
|
|
6
|
+
} from "./chunk-Q5ZU3RNY.js";
|
|
1
7
|
import {
|
|
2
8
|
RemoteSearchBackend
|
|
3
9
|
} from "./chunk-JOASJWQR.js";
|
|
@@ -6,16 +12,10 @@ import {
|
|
|
6
12
|
} from "./chunk-RN7MUWON.js";
|
|
7
13
|
import {
|
|
8
14
|
LanceDbBackend
|
|
9
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-OUWAQVDJ.js";
|
|
10
16
|
import {
|
|
11
17
|
MeilisearchBackend
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import {
|
|
14
|
-
NoopSearchBackend
|
|
15
|
-
} from "./chunk-CYEPCZN5.js";
|
|
16
|
-
import {
|
|
17
|
-
OramaBackend
|
|
18
|
-
} from "./chunk-57ME5VSI.js";
|
|
18
|
+
} from "./chunk-DOCTITOP.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
21
|
} from "./chunk-7OGJQP7T.js";
|
|
@@ -170,4 +170,4 @@ export {
|
|
|
170
170
|
createConversationSearchBackend,
|
|
171
171
|
createConversationIndexRuntime
|
|
172
172
|
};
|
|
173
|
-
//# sourceMappingURL=chunk-
|
|
173
|
+
//# sourceMappingURL=chunk-UJDV2NLT.js.map
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import {
|
|
2
|
+
memoryStoreRequestSchema
|
|
3
|
+
} from "./chunk-UDJLF3BO.js";
|
|
4
|
+
import {
|
|
5
|
+
defineOperation
|
|
6
|
+
} from "./chunk-NHFXF4ZO.js";
|
|
7
|
+
|
|
8
|
+
// src/access-operations.ts
|
|
9
|
+
import { z } from "zod";
|
|
10
|
+
var memoryGetSchema = z.object({
|
|
11
|
+
memoryId: z.string().trim().min(1, "memoryId is required").max(512),
|
|
12
|
+
namespace: z.string().trim().max(256).nullable().optional()
|
|
13
|
+
});
|
|
14
|
+
var memoryGetOperation = defineOperation({
|
|
15
|
+
name: "memory_get",
|
|
16
|
+
description: "Fetch one memory by id.",
|
|
17
|
+
schema: memoryGetSchema,
|
|
18
|
+
handler: async (input, ctx) => {
|
|
19
|
+
const result = await ctx.service.memoryGet(
|
|
20
|
+
input.memoryId,
|
|
21
|
+
input.namespace ?? void 0,
|
|
22
|
+
ctx.authenticatedPrincipal
|
|
23
|
+
);
|
|
24
|
+
return { result };
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
var memorySearchSchema = z.object({
|
|
28
|
+
query: z.string().trim().min(1, "query is required").max(2048),
|
|
29
|
+
namespace: z.string().trim().max(256).nullable().optional(),
|
|
30
|
+
// No upper cap: the pre-boundary MCP handler forwarded any finite number to
|
|
31
|
+
// memorySearch, and the QMD/search backends honor large limits. Capping at
|
|
32
|
+
// 100 would reject existing clients that request larger result sets.
|
|
33
|
+
maxResults: z.number().int().min(1).nullable().optional(),
|
|
34
|
+
collection: z.string().trim().min(1).max(256).nullable().optional()
|
|
35
|
+
});
|
|
36
|
+
var memorySearchOperation = defineOperation({
|
|
37
|
+
name: "memory_search",
|
|
38
|
+
description: "Search memories across readable namespaces.",
|
|
39
|
+
schema: memorySearchSchema,
|
|
40
|
+
handler: async (input, ctx) => {
|
|
41
|
+
const result = await ctx.service.memorySearch({
|
|
42
|
+
query: input.query,
|
|
43
|
+
namespace: input.namespace ?? void 0,
|
|
44
|
+
maxResults: input.maxResults ?? void 0,
|
|
45
|
+
collection: input.collection ?? void 0,
|
|
46
|
+
principal: ctx.authenticatedPrincipal
|
|
47
|
+
});
|
|
48
|
+
return { result };
|
|
49
|
+
}
|
|
50
|
+
});
|
|
51
|
+
var memoryStoreOperation = defineOperation({
|
|
52
|
+
name: "memory_store",
|
|
53
|
+
description: "Store an explicit memory through the access layer.",
|
|
54
|
+
// Reuse the existing schema verbatim — the migration is behavior-preserving;
|
|
55
|
+
// the schema's external contract is NOT changing in this PR (per the issue's
|
|
56
|
+
// pitfall note).
|
|
57
|
+
schema: memoryStoreRequestSchema,
|
|
58
|
+
handler: async (input, ctx) => {
|
|
59
|
+
const result = await ctx.service.memoryStore(
|
|
60
|
+
{
|
|
61
|
+
...input,
|
|
62
|
+
authenticatedPrincipal: ctx.authenticatedPrincipal
|
|
63
|
+
},
|
|
64
|
+
// Forward transport-level hooks (e.g. HTTP's atomic write-quota gate)
|
|
65
|
+
// so the hook still fires inside the service's idempotent-write lock —
|
|
66
|
+
// never before, never on a replay (#1434 invariant preserved by the
|
|
67
|
+
// boundary migration).
|
|
68
|
+
ctx.hooks
|
|
69
|
+
);
|
|
70
|
+
return { result };
|
|
71
|
+
}
|
|
72
|
+
});
|
|
73
|
+
var REGISTERED_OPERATIONS = [
|
|
74
|
+
memoryGetOperation.spec.name,
|
|
75
|
+
memorySearchOperation.spec.name,
|
|
76
|
+
memoryStoreOperation.spec.name
|
|
77
|
+
];
|
|
78
|
+
|
|
79
|
+
export {
|
|
80
|
+
memoryGetOperation,
|
|
81
|
+
memorySearchOperation,
|
|
82
|
+
memoryStoreOperation,
|
|
83
|
+
REGISTERED_OPERATIONS
|
|
84
|
+
};
|
|
85
|
+
//# sourceMappingURL=chunk-V254FAT5.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/access-operations.ts"],"sourcesContent":["/**\n * Pilot operation definitions for the access boundary (issue #1525).\n *\n * Three operations migrate through the registry in this PR — `memory_get`,\n * `memory_search`, and the `memory_store` write op — so the boundary's\n * normalization matrix (rules 17/28/36/48/51) and shared error mapping reach\n * MCP, HTTP, and CLI from one place. Domain-group migrations (memory ops →\n * connectors → namespaces …) land as follow-up PRs that add `defineOperation`\n * calls here and delete the surface-local validation they replace.\n *\n * Importing this module for its side effects registers the pilot operations;\n * surfaces then dispatch via {@link getOperation} from `./access-boundary.js`.\n */\n\nimport { z } from \"zod\";\n\nimport { defineOperation } from \"./access-boundary.js\";\nimport { memoryStoreRequestSchema, type MemoryStoreRequest } from \"./access-schema.js\";\nimport type {\n EngramAccessMemoryResponse,\n EngramAccessWriteResponse,\n} from \"./access-service.js\";\n\n// ---------------------------------------------------------------------------\n// memory_get — fetch one memory by id\n// ---------------------------------------------------------------------------\n\n/**\n * `memoryId` is required and non-empty (rule 51: the MCP dispatcher previously\n * fell back to `typeof args.memoryId === \"string\" ? args.memoryId : \"\"`,\n * silently passing an empty id into the service). `namespace` is\n * `.nullable().optional()` because MCP clients send `null` (gotcha #2).\n * `namespace` has no `.min(1)` because the pre-boundary handlers forwarded\n * empty/whitespace strings, and `resolveNamespace` treats empty identically\n * to absent (both trim to falsy → default namespace). Rejecting empty would\n * break HTTP callers that send a bare `?namespace=` (Cursor review).\n */\nconst memoryGetSchema = z.object({\n memoryId: z.string().trim().min(1, \"memoryId is required\").max(512),\n namespace: z.string().trim().max(256).nullable().optional(),\n});\n\nexport interface MemoryGetInput {\n readonly memoryId: string;\n readonly namespace?: string | null;\n}\n\nexport interface MemoryGetOutput {\n readonly result: EngramAccessMemoryResponse;\n}\n\nexport const memoryGetOperation = defineOperation<MemoryGetInput, MemoryGetOutput>({\n name: \"memory_get\",\n description: \"Fetch one memory by id.\",\n schema: memoryGetSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memoryGet(\n input.memoryId,\n input.namespace ?? undefined,\n ctx.authenticatedPrincipal,\n );\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// memory_search — semantic search across memories\n// ---------------------------------------------------------------------------\n\nconst memorySearchSchema = z.object({\n query: z.string().trim().min(1, \"query is required\").max(2048),\n namespace: z.string().trim().max(256).nullable().optional(),\n // No upper cap: the pre-boundary MCP handler forwarded any finite number to\n // memorySearch, and the QMD/search backends honor large limits. Capping at\n // 100 would reject existing clients that request larger result sets.\n maxResults: z.number().int().min(1).nullable().optional(),\n collection: z.string().trim().min(1).max(256).nullable().optional(),\n});\n\nexport interface MemorySearchInput {\n readonly query: string;\n readonly namespace?: string | null;\n readonly maxResults?: number | null;\n readonly collection?: string | null;\n}\n\nexport interface MemorySearchOutput {\n readonly result: {\n readonly query: string;\n readonly results: ReadonlyArray<{ path: string; score: number; snippet: string }>;\n readonly count: number;\n };\n}\n\nexport const memorySearchOperation = defineOperation<MemorySearchInput, MemorySearchOutput>({\n name: \"memory_search\",\n description: \"Search memories across readable namespaces.\",\n schema: memorySearchSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memorySearch({\n query: input.query,\n namespace: input.namespace ?? undefined,\n maxResults: input.maxResults ?? undefined,\n collection: input.collection ?? undefined,\n principal: ctx.authenticatedPrincipal,\n });\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// memory_store — the pilot WRITE op\n// ---------------------------------------------------------------------------\n\nexport type MemoryStoreInput = MemoryStoreRequest;\n\nexport interface MemoryStoreOutput {\n readonly result: EngramAccessWriteResponse;\n}\n\nexport const memoryStoreOperation = defineOperation<MemoryStoreInput, MemoryStoreOutput>({\n name: \"memory_store\",\n description: \"Store an explicit memory through the access layer.\",\n // Reuse the existing schema verbatim — the migration is behavior-preserving;\n // the schema's external contract is NOT changing in this PR (per the issue's\n // pitfall note).\n schema: memoryStoreRequestSchema,\n handler: async (input, ctx) => {\n const result = await ctx.service.memoryStore(\n {\n ...input,\n authenticatedPrincipal: ctx.authenticatedPrincipal,\n },\n // Forward transport-level hooks (e.g. HTTP's atomic write-quota gate)\n // so the hook still fires inside the service's idempotent-write lock —\n // never before, never on a replay (#1434 invariant preserved by the\n // boundary migration).\n ctx.hooks,\n );\n return { result };\n },\n});\n\n// ---------------------------------------------------------------------------\n// Surface registration map — what each transport calls the pilot ops\n// ---------------------------------------------------------------------------\n\n/**\n * The canonical short names (no `engram.`/`remnic.` prefix) of the operations\n * the boundary owns today. The fitness test treats this set as the migrated\n * set; everything else on a surface is unmigrated and counted by the ratchet.\n */\nexport const REGISTERED_OPERATIONS = [\n memoryGetOperation.spec.name,\n memorySearchOperation.spec.name,\n memoryStoreOperation.spec.name,\n] as const;\n"],"mappings":";;;;;;;;AAcA,SAAS,SAAS;AAuBlB,IAAM,kBAAkB,EAAE,OAAO;AAAA,EAC/B,UAAU,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,sBAAsB,EAAE,IAAI,GAAG;AAAA,EAClE,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,SAAS;AAC5D,CAAC;AAWM,IAAM,qBAAqB,gBAAiD;AAAA,EACjF,MAAM;AAAA,EACN,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,SAAS,OAAO,OAAO,QAAQ;AAC7B,UAAM,SAAS,MAAM,IAAI,QAAQ;AAAA,MAC/B,MAAM;AAAA,MACN,MAAM,aAAa;AAAA,MACnB,IAAI;AAAA,IACN;AACA,WAAO,EAAE,OAAO;AAAA,EAClB;AACF,CAAC;AAMD,IAAM,qBAAqB,EAAE,OAAO;AAAA,EAClC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,mBAAmB,EAAE,IAAI,IAAI;AAAA,EAC7D,WAAW,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,SAAS;AAAA;AAAA;AAAA;AAAA,EAI1D,YAAY,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,CAAC,EAAE,SAAS,EAAE,SAAS;AAAA,EACxD,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,IAAI,CAAC,EAAE,IAAI,GAAG,EAAE,SAAS,EAAE,SAAS;AACpE,CAAC;AAiBM,IAAM,wBAAwB,gBAAuD;AAAA,EAC1F,MAAM;AAAA,EACN,aAAa;AAAA,EACb,QAAQ;AAAA,EACR,SAAS,OAAO,OAAO,QAAQ;AAC7B,UAAM,SAAS,MAAM,IAAI,QAAQ,aAAa;AAAA,MAC5C,OAAO,MAAM;AAAA,MACb,WAAW,MAAM,aAAa;AAAA,MAC9B,YAAY,MAAM,cAAc;AAAA,MAChC,YAAY,MAAM,cAAc;AAAA,MAChC,WAAW,IAAI;AAAA,IACjB,CAAC;AACD,WAAO,EAAE,OAAO;AAAA,EAClB;AACF,CAAC;AAYM,IAAM,uBAAuB,gBAAqD;AAAA,EACvF,MAAM;AAAA,EACN,aAAa;AAAA;AAAA;AAAA;AAAA,EAIb,QAAQ;AAAA,EACR,SAAS,OAAO,OAAO,QAAQ;AAC7B,UAAM,SAAS,MAAM,IAAI,QAAQ;AAAA,MAC/B;AAAA,QACE,GAAG;AAAA,QACH,wBAAwB,IAAI;AAAA,MAC9B;AAAA;AAAA;AAAA;AAAA;AAAA,MAKA,IAAI;AAAA,IACN;AACA,WAAO,EAAE,OAAO;AAAA,EAClB;AACF,CAAC;AAWM,IAAM,wBAAwB;AAAA,EACnC,mBAAmB,KAAK;AAAA,EACxB,sBAAsB,KAAK;AAAA,EAC3B,qBAAqB,KAAK;AAC5B;","names":[]}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LcmSummarizer
|
|
3
|
+
} from "./chunk-5VDJMYTF.js";
|
|
4
|
+
import {
|
|
5
|
+
LcmArchive
|
|
6
|
+
} from "./chunk-HP5FMB6L.js";
|
|
7
|
+
import {
|
|
8
|
+
LcmDag
|
|
9
|
+
} from "./chunk-7N4KAIGN.js";
|
|
1
10
|
import {
|
|
2
11
|
LcmWorkQueue
|
|
3
12
|
} from "./chunk-TPDBFYEG.js";
|
|
@@ -8,15 +17,6 @@ import {
|
|
|
8
17
|
ensureLcmStateDir,
|
|
9
18
|
openLcmDatabase
|
|
10
19
|
} from "./chunk-MAV46GWQ.js";
|
|
11
|
-
import {
|
|
12
|
-
LcmSummarizer
|
|
13
|
-
} from "./chunk-5VDJMYTF.js";
|
|
14
|
-
import {
|
|
15
|
-
LcmArchive
|
|
16
|
-
} from "./chunk-HP5FMB6L.js";
|
|
17
|
-
import {
|
|
18
|
-
LcmDag
|
|
19
|
-
} from "./chunk-7N4KAIGN.js";
|
|
20
20
|
import {
|
|
21
21
|
log
|
|
22
22
|
} from "./chunk-2ODBA7MQ.js";
|
|
@@ -513,4 +513,4 @@ export {
|
|
|
513
513
|
extractLcmConfig,
|
|
514
514
|
LcmEngine
|
|
515
515
|
};
|
|
516
|
-
//# sourceMappingURL=chunk-
|
|
516
|
+
//# sourceMappingURL=chunk-WEPMT6SC.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
graphSnapshotFromMemoryDir
|
|
3
|
-
} from "./chunk-44442YCH.js";
|
|
4
1
|
import {
|
|
5
2
|
diffGraphSnapshots
|
|
6
3
|
} from "./chunk-AUDJPF4N.js";
|
|
4
|
+
import {
|
|
5
|
+
graphSnapshotFromMemoryDir
|
|
6
|
+
} from "./chunk-44442YCH.js";
|
|
7
7
|
|
|
8
8
|
// src/dashboard-runtime.ts
|
|
9
9
|
import { createHash, timingSafeEqual } from "crypto";
|
|
@@ -370,4 +370,4 @@ var GraphDashboardServer = class {
|
|
|
370
370
|
export {
|
|
371
371
|
GraphDashboardServer
|
|
372
372
|
};
|
|
373
|
-
//# sourceMappingURL=chunk-
|
|
373
|
+
//# sourceMappingURL=chunk-YNDLCWXS.js.map
|
|
@@ -16,7 +16,7 @@ import { WorkProjectStatus, WorkTaskStatus, WorkTaskPriority } from './work/type
|
|
|
16
16
|
import { RoutePatternType } from './routing/engine.js';
|
|
17
17
|
import { TailscaleSyncOptions } from './network/tailscale.js';
|
|
18
18
|
import { DashboardStatus } from './dashboard-runtime.js';
|
|
19
|
-
import {
|
|
19
|
+
import { b as EngramAccessService } from './access-service-DvA6jyHL.js';
|
|
20
20
|
import { ResolveSecretRefFn } from './resolve-auth-token.js';
|
|
21
21
|
import { CompatRunner, CompatReport } from './compat/types.js';
|
|
22
22
|
import { EvalBaselineDeltaReport, EvalBaselineSnapshot, EvalCiGateReport, EvalBenchmarkPackSummary, EvalHarnessStatus, EvalStoredBaselineCiGateReport } from './evals.js';
|
package/dist/cli.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import './work/types.js';
|
|
|
16
16
|
import './routing/engine.js';
|
|
17
17
|
import './network/tailscale.js';
|
|
18
18
|
import './dashboard-runtime.js';
|
|
19
|
-
import './access-service-
|
|
19
|
+
import './access-service-DvA6jyHL.js';
|
|
20
20
|
import './resolve-auth-token.js';
|
|
21
21
|
import './compat/types.js';
|
|
22
22
|
import './evals.js';
|
|
@@ -38,7 +38,7 @@ import './trust-zones.js';
|
|
|
38
38
|
import './session-integrity.js';
|
|
39
39
|
import './recall-state.js';
|
|
40
40
|
import './policy-runtime.js';
|
|
41
|
-
export { A as AccessHttpServeCliCommandOptions, a as ArchiveObservationsCliCommandOptions, B as BulkImportCliCommandOptions, C as CompatCliCommandOptions, b as ConnectorsRunCliOutputOptions, c as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, d as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, e as MemoryActionAuditCliNamespaceSummary, f as MemoryActionAuditCliReport, g as MemoryGovernanceCliCommandOptions, h as MemoryGovernanceReportCliCommandOptions, i as MemoryGovernanceRestoreCliCommandOptions, j as MemoryReviewDispositionCliCommandOptions, k as MemoryTimelineCliCommandOptions, l as MigrateCliOrchestrator, m as MigrateCliReport, n as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, o as PolicyDiffEntry, q as PolicyRollbackCliReport, s as PolicyStatusCliReport, t as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, u as RebuildMemoryProjectionCliCommandOptions, v as RebuildObservationsCliCommandOptions, w as RepairMemoryProjectionCliCommandOptions, x as ReplayCliCommandOptions, y as ReplayCliOrchestrator, z as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, F as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, H as TailscaleSyncCliCommandOptions, I as TierMigrationCliOrchestrator, J as TrainingExportCliCommandOptions, V as VerifyMemoryProjectionCliCommandOptions, W as WebDavServeCliCommandOptions, K as WorkProjectCliCommandOptions, L as WorkTaskCliCommandOptions, N as emitConnectorsRunCliResult, O as filterNormalMemorySearchResults, Q as hasDestructivePurgeFailures, U as isNormalRetrievalVisibleMemory, X as listMemoryMarkdownFilePaths, Y as parseDurationToMs, Z as parseStrictCliDate, _ as planAggressiveDuplicateDeletions, $ as planExactDuplicateDeletions, a0 as registerCli, a1 as resolveAccessPrincipalOverride, a2 as resolveMemoryDirForNamespace, a3 as runAbstractionNodeStatusCliCommand, a4 as runAccessHttpServeCliCommand, a5 as runAccessHttpStatusCliCommand, a6 as runAccessHttpStopCliCommand, a7 as runAccessMcpServeCliCommand, a8 as runArchiveObservationsCliCommand, a9 as runBenchmarkBaselineReportCliCommand, aa as runBenchmarkBaselineSnapshotCliCommand, ab as runBenchmarkCiGateCliCommand, ac as runBenchmarkImportCliCommand, ad as runBenchmarkStatusCliCommand, ae as runBenchmarkStoredBaselineCiGateCliCommand, af as runBenchmarkValidateCliCommand, r as runBulkImportCliCommand, ag as runCausalTrajectoryStatusCliCommand, ah as runCommitmentLifecycleCliCommand, ai as runCommitmentRecordCliCommand, aj as runCommitmentSetStateCliCommand, ak as runCommitmentStatusCliCommand, al as runCompatCliCommand, am as runCompoundingPromoteCliCommand, an as runConversationIndexHealthCliCommand, ao as runConversationIndexInspectCliCommand, ap as runConversationIndexRebuildCliCommand, aq as runCueAnchorStatusCliCommand, ar as runDashboardStartCliCommand, as as runDashboardStatusCliCommand, at as runDashboardStopCliCommand, au as runGraphHealthCliCommand, av as runHarmonicSearchCliCommand, aw as runMemoryActionAuditCliCommand, ax as runMemoryGovernanceCliCommand, ay as runMemoryGovernanceReportCliCommand, az as runMemoryGovernanceRestoreCliCommand, aA as runMemoryReviewDispositionCliCommand, aB as runMemoryTimelineCliCommand, aC as runMigrateNormalizeFrontmatterCliCommand, aD as runMigrateObservationsCliCommand, aE as runMigrateRechunkCliCommand, aF as runMigrateReextractCliCommand, aG as runMigrateRescoreImportanceCliCommand, aH as runObjectiveStateStatusCliCommand, aI as runPolicyDiffCliCommand, aJ as runPolicyRollbackCliCommand, aK as runPolicyStatusCliCommand, aL as runRebuildMemoryLifecycleLedgerCliCommand, aM as runRebuildMemoryProjectionCliCommand, aN as runRebuildObservationsCliCommand, aO as runRepairMemoryProjectionCliCommand, aP as runReplayCliCommand, aQ as runResumeBundleBuildCliCommand, aR as runResumeBundleRecordCliCommand, aS as runResumeBundleStatusCliCommand, aT as runRouteCliCommand, aU as runSemanticRulePromoteCliCommand, aV as runSemanticRuleVerifyCliCommand, aW as runSessionCheckCliCommand, aX as runSessionRepairCliCommand, aY as runTailscaleStatusCliCommand, aZ as runTailscaleSyncCliCommand, a_ as runTierMigrateCliCommand, a$ as runTierStatusCliCommand, b0 as runTrainingExportCliCommand, b1 as runTrustZoneDemoSeedCliCommand, b2 as runTrustZonePromoteCliCommand, b3 as runTrustZoneStatusCliCommand, b4 as runUtilityLearningCliCommand, b5 as runUtilityLearningStatusCliCommand, b6 as runUtilityTelemetryRecordCliCommand, b7 as runUtilityTelemetryStatusCliCommand, b8 as runVerifiedRecallSearchCliCommand, b9 as runVerifyMemoryProjectionCliCommand, ba as runWebDavServeCliCommand, bb as runWebDavStopCliCommand, bc as runWorkProductRecallSearchCliCommand, bd as runWorkProductRecordCliCommand, be as runWorkProductStatusCliCommand, bf as runWorkProjectCliCommand, bg as runWorkTaskCliCommand } from './cli-
|
|
41
|
+
export { A as AccessHttpServeCliCommandOptions, a as ArchiveObservationsCliCommandOptions, B as BulkImportCliCommandOptions, C as CompatCliCommandOptions, b as ConnectorsRunCliOutputOptions, c as ConversationIndexHealthCliOrchestrator, D as DashboardStartCliCommandOptions, d as DedupeCandidate, E as ExactDedupePlan, G as GraphHealthCliCommandOptions, M as MemoryActionAuditCliCommandOptions, e as MemoryActionAuditCliNamespaceSummary, f as MemoryActionAuditCliReport, g as MemoryGovernanceCliCommandOptions, h as MemoryGovernanceReportCliCommandOptions, i as MemoryGovernanceRestoreCliCommandOptions, j as MemoryReviewDispositionCliCommandOptions, k as MemoryTimelineCliCommandOptions, l as MigrateCliOrchestrator, m as MigrateCliReport, n as MigrateObservationsCliCommandOptions, P as PolicyDiffCliReport, o as PolicyDiffEntry, q as PolicyRollbackCliReport, s as PolicyStatusCliReport, t as PolicyTuningCliOrchestrator, R as RebuildMemoryLifecycleLedgerCliCommandOptions, u as RebuildMemoryProjectionCliCommandOptions, v as RebuildObservationsCliCommandOptions, w as RepairMemoryProjectionCliCommandOptions, x as ReplayCliCommandOptions, y as ReplayCliOrchestrator, z as RouteCliCommandOptions, S as SessionIntegrityCliCommandOptions, F as SessionRepairCliCommandOptions, T as TailscaleStatusCliCommandOptions, H as TailscaleSyncCliCommandOptions, I as TierMigrationCliOrchestrator, J as TrainingExportCliCommandOptions, V as VerifyMemoryProjectionCliCommandOptions, W as WebDavServeCliCommandOptions, K as WorkProjectCliCommandOptions, L as WorkTaskCliCommandOptions, N as emitConnectorsRunCliResult, O as filterNormalMemorySearchResults, Q as hasDestructivePurgeFailures, U as isNormalRetrievalVisibleMemory, X as listMemoryMarkdownFilePaths, Y as parseDurationToMs, Z as parseStrictCliDate, _ as planAggressiveDuplicateDeletions, $ as planExactDuplicateDeletions, a0 as registerCli, a1 as resolveAccessPrincipalOverride, a2 as resolveMemoryDirForNamespace, a3 as runAbstractionNodeStatusCliCommand, a4 as runAccessHttpServeCliCommand, a5 as runAccessHttpStatusCliCommand, a6 as runAccessHttpStopCliCommand, a7 as runAccessMcpServeCliCommand, a8 as runArchiveObservationsCliCommand, a9 as runBenchmarkBaselineReportCliCommand, aa as runBenchmarkBaselineSnapshotCliCommand, ab as runBenchmarkCiGateCliCommand, ac as runBenchmarkImportCliCommand, ad as runBenchmarkStatusCliCommand, ae as runBenchmarkStoredBaselineCiGateCliCommand, af as runBenchmarkValidateCliCommand, r as runBulkImportCliCommand, ag as runCausalTrajectoryStatusCliCommand, ah as runCommitmentLifecycleCliCommand, ai as runCommitmentRecordCliCommand, aj as runCommitmentSetStateCliCommand, ak as runCommitmentStatusCliCommand, al as runCompatCliCommand, am as runCompoundingPromoteCliCommand, an as runConversationIndexHealthCliCommand, ao as runConversationIndexInspectCliCommand, ap as runConversationIndexRebuildCliCommand, aq as runCueAnchorStatusCliCommand, ar as runDashboardStartCliCommand, as as runDashboardStatusCliCommand, at as runDashboardStopCliCommand, au as runGraphHealthCliCommand, av as runHarmonicSearchCliCommand, aw as runMemoryActionAuditCliCommand, ax as runMemoryGovernanceCliCommand, ay as runMemoryGovernanceReportCliCommand, az as runMemoryGovernanceRestoreCliCommand, aA as runMemoryReviewDispositionCliCommand, aB as runMemoryTimelineCliCommand, aC as runMigrateNormalizeFrontmatterCliCommand, aD as runMigrateObservationsCliCommand, aE as runMigrateRechunkCliCommand, aF as runMigrateReextractCliCommand, aG as runMigrateRescoreImportanceCliCommand, aH as runObjectiveStateStatusCliCommand, aI as runPolicyDiffCliCommand, aJ as runPolicyRollbackCliCommand, aK as runPolicyStatusCliCommand, aL as runRebuildMemoryLifecycleLedgerCliCommand, aM as runRebuildMemoryProjectionCliCommand, aN as runRebuildObservationsCliCommand, aO as runRepairMemoryProjectionCliCommand, aP as runReplayCliCommand, aQ as runResumeBundleBuildCliCommand, aR as runResumeBundleRecordCliCommand, aS as runResumeBundleStatusCliCommand, aT as runRouteCliCommand, aU as runSemanticRulePromoteCliCommand, aV as runSemanticRuleVerifyCliCommand, aW as runSessionCheckCliCommand, aX as runSessionRepairCliCommand, aY as runTailscaleStatusCliCommand, aZ as runTailscaleSyncCliCommand, a_ as runTierMigrateCliCommand, a$ as runTierStatusCliCommand, b0 as runTrainingExportCliCommand, b1 as runTrustZoneDemoSeedCliCommand, b2 as runTrustZonePromoteCliCommand, b3 as runTrustZoneStatusCliCommand, b4 as runUtilityLearningCliCommand, b5 as runUtilityLearningStatusCliCommand, b6 as runUtilityTelemetryRecordCliCommand, b7 as runUtilityTelemetryStatusCliCommand, b8 as runVerifiedRecallSearchCliCommand, b9 as runVerifyMemoryProjectionCliCommand, ba as runWebDavServeCliCommand, bb as runWebDavStopCliCommand, bc as runWorkProductRecallSearchCliCommand, bd as runWorkProductRecordCliCommand, be as runWorkProductStatusCliCommand, bf as runWorkProjectCliCommand, bg as runWorkTaskCliCommand } from './cli-feUe-x3I.js';
|
|
42
42
|
import './connectors-cli-2iaQ5tX2.js';
|
|
43
43
|
import './storage.js';
|
|
44
44
|
import './page-versioning.js';
|
package/dist/cli.js
CHANGED
|
@@ -90,75 +90,76 @@ import {
|
|
|
90
90
|
runWorkProductStatusCliCommand,
|
|
91
91
|
runWorkProjectCliCommand,
|
|
92
92
|
runWorkTaskCliCommand
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-M4I3TREG.js";
|
|
94
|
+
import "./chunk-MC4FJXPA.js";
|
|
94
95
|
import "./chunk-LQHDIS7L.js";
|
|
95
96
|
import "./chunk-7F7Z6MOS.js";
|
|
96
|
-
import "./chunk-AGNBY3VG.js";
|
|
97
|
-
import "./chunk-MC4FJXPA.js";
|
|
98
97
|
import "./chunk-JJEJJ7RK.js";
|
|
99
|
-
import "./chunk-UP6MOYCB.js";
|
|
100
|
-
import "./chunk-7VFZTJ7K.js";
|
|
101
|
-
import "./chunk-Z734BLO3.js";
|
|
102
98
|
import "./chunk-HDDRVXX4.js";
|
|
99
|
+
import "./chunk-APJQ6UEA.js";
|
|
103
100
|
import "./chunk-OZKVVUJB.js";
|
|
104
101
|
import "./chunk-2DL3OFLD.js";
|
|
105
102
|
import "./chunk-G4IAEX6D.js";
|
|
106
103
|
import "./chunk-2NLLXCJG.js";
|
|
104
|
+
import "./chunk-UP6MOYCB.js";
|
|
107
105
|
import "./chunk-765K3SAT.js";
|
|
108
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-7VFZTJ7K.js";
|
|
107
|
+
import "./chunk-Z734BLO3.js";
|
|
109
108
|
import "./chunk-EEC4PCG5.js";
|
|
110
109
|
import "./chunk-PYIFUBRK.js";
|
|
111
|
-
import "./chunk-
|
|
112
|
-
import "./chunk-
|
|
113
|
-
import "./chunk-
|
|
114
|
-
import "./chunk-KJTKLXTH.js";
|
|
110
|
+
import "./chunk-HOJZMQ4J.js";
|
|
111
|
+
import "./chunk-H6PMGMNP.js";
|
|
112
|
+
import "./chunk-UAODC6GJ.js";
|
|
115
113
|
import "./chunk-LZZNTPLR.js";
|
|
116
|
-
import "./chunk-JCK7V6SN.js";
|
|
117
114
|
import "./chunk-WMWVO45V.js";
|
|
115
|
+
import "./chunk-KJTKLXTH.js";
|
|
116
|
+
import "./chunk-D6RIFG4O.js";
|
|
117
|
+
import "./chunk-JCK7V6SN.js";
|
|
118
|
+
import "./chunk-GQL52GQ5.js";
|
|
118
119
|
import "./chunk-CKITWVWJ.js";
|
|
119
120
|
import "./chunk-OUELRE5E.js";
|
|
120
|
-
import "./chunk-GQL52GQ5.js";
|
|
121
121
|
import "./chunk-EVWIEEKZ.js";
|
|
122
|
-
import "./chunk-
|
|
123
|
-
import "./chunk-TGQ2NTWH.js";
|
|
122
|
+
import "./chunk-3IND7N4X.js";
|
|
124
123
|
import "./chunk-ODWI5XU2.js";
|
|
124
|
+
import "./chunk-TGQ2NTWH.js";
|
|
125
125
|
import "./chunk-GSTYVG5L.js";
|
|
126
|
-
import "./chunk-2AP4QJX5.js";
|
|
127
|
-
import "./chunk-ACYX37IM.js";
|
|
128
126
|
import "./chunk-3T74IZB3.js";
|
|
127
|
+
import "./chunk-TOQEZ63C.js";
|
|
128
|
+
import "./chunk-QUA2JPH2.js";
|
|
129
129
|
import "./chunk-HL4DB7TO.js";
|
|
130
|
-
import "./chunk-
|
|
131
|
-
import "./chunk-
|
|
130
|
+
import "./chunk-7XH7VJN4.js";
|
|
131
|
+
import "./chunk-YNDLCWXS.js";
|
|
132
132
|
import "./chunk-AUDJPF4N.js";
|
|
133
|
+
import "./chunk-44442YCH.js";
|
|
133
134
|
import "./chunk-Y4Z4I6WK.js";
|
|
134
|
-
import "./chunk-6T4LTI2F.js";
|
|
135
135
|
import "./chunk-YBPYIAA5.js";
|
|
136
|
-
import "./chunk-CMTINOFS.js";
|
|
137
136
|
import "./chunk-2PRQG7PV.js";
|
|
138
137
|
import "./chunk-X6IRLNOO.js";
|
|
139
|
-
import "./chunk-NXBXM7Q6.js";
|
|
140
138
|
import "./chunk-2F6NP3NT.js";
|
|
141
139
|
import "./chunk-TERNBNJB.js";
|
|
140
|
+
import "./chunk-I75DF4FZ.js";
|
|
142
141
|
import "./chunk-W4RVMTHR.js";
|
|
143
|
-
import "./chunk-
|
|
142
|
+
import "./chunk-KACIOX42.js";
|
|
144
143
|
import "./chunk-ZRWB5D4H.js";
|
|
145
144
|
import "./chunk-AGRPGAKR.js";
|
|
146
145
|
import "./chunk-S4DDLTPX.js";
|
|
147
146
|
import "./chunk-SFQ6QNL7.js";
|
|
148
147
|
import "./chunk-33JBK2XP.js";
|
|
149
|
-
import "./chunk-
|
|
148
|
+
import "./chunk-ARLRTZZZ.js";
|
|
150
149
|
import "./chunk-KFY3SGN7.js";
|
|
150
|
+
import "./chunk-CMTINOFS.js";
|
|
151
151
|
import "./chunk-TQNRI55H.js";
|
|
152
152
|
import "./chunk-6GUG4YNM.js";
|
|
153
|
-
import "./chunk-AV5ZEH4M.js";
|
|
154
153
|
import "./chunk-JXS5PDQ7.js";
|
|
154
|
+
import "./chunk-AV5ZEH4M.js";
|
|
155
155
|
import "./chunk-AJU4PJGY.js";
|
|
156
156
|
import "./chunk-BEUDU7Y4.js";
|
|
157
157
|
import "./chunk-3PY7VHV7.js";
|
|
158
|
+
import "./chunk-OKTXM5H4.js";
|
|
158
159
|
import "./chunk-FZZ2QTJI.js";
|
|
159
160
|
import "./chunk-LMDRGRJ2.js";
|
|
160
|
-
import "./chunk-OKTXM5H4.js";
|
|
161
161
|
import "./chunk-3UXOZBHV.js";
|
|
162
|
+
import "./chunk-HQ6NIBL6.js";
|
|
162
163
|
import "./chunk-UQ7RN5HK.js";
|
|
163
164
|
import "./chunk-IUZWBCJX.js";
|
|
164
165
|
import "./chunk-PHK3HARR.js";
|
|
@@ -167,21 +168,23 @@ import "./chunk-Z5LAYHGJ.js";
|
|
|
167
168
|
import "./chunk-QO3AILZN.js";
|
|
168
169
|
import "./chunk-3BQOQYRB.js";
|
|
169
170
|
import "./chunk-LBJBNWS2.js";
|
|
170
|
-
import "./chunk-HQ6NIBL6.js";
|
|
171
171
|
import "./chunk-OADWQ5CR.js";
|
|
172
|
-
import "./chunk-
|
|
172
|
+
import "./chunk-QVWM4C24.js";
|
|
173
173
|
import "./chunk-SEDEKFYQ.js";
|
|
174
|
-
import "./chunk-
|
|
175
|
-
import "./chunk-TMSXWOBZ.js";
|
|
176
|
-
import "./chunk-J64TK33U.js";
|
|
174
|
+
import "./chunk-2QSZNTDO.js";
|
|
177
175
|
import "./chunk-RSUYKGGZ.js";
|
|
178
176
|
import "./chunk-42NQ7AVG.js";
|
|
177
|
+
import "./chunk-TMSXWOBZ.js";
|
|
178
|
+
import "./chunk-J64TK33U.js";
|
|
179
179
|
import "./chunk-7RXCMVFQ.js";
|
|
180
180
|
import "./chunk-7WV3F5DQ.js";
|
|
181
|
-
import "./chunk-
|
|
181
|
+
import "./chunk-FDSOMA6M.js";
|
|
182
182
|
import "./chunk-T4WDJPEZ.js";
|
|
183
183
|
import "./chunk-D24OXEPB.js";
|
|
184
|
-
import "./chunk-
|
|
184
|
+
import "./chunk-V254FAT5.js";
|
|
185
|
+
import "./chunk-UDJLF3BO.js";
|
|
186
|
+
import "./chunk-NHFXF4ZO.js";
|
|
187
|
+
import "./chunk-H4BDNIKQ.js";
|
|
185
188
|
import "./chunk-GDASG7NC.js";
|
|
186
189
|
import "./chunk-GDB4J2H3.js";
|
|
187
190
|
import "./chunk-ARV3AUOM.js";
|
|
@@ -189,22 +192,25 @@ import "./chunk-BT7NVCML.js";
|
|
|
189
192
|
import "./chunk-H7XKCNR6.js";
|
|
190
193
|
import "./chunk-OHX52AOS.js";
|
|
191
194
|
import "./chunk-SOBJ6NEY.js";
|
|
192
|
-
import "./chunk-
|
|
193
|
-
import "./chunk-GYSYLGNE.js";
|
|
195
|
+
import "./chunk-7MOTEVAA.js";
|
|
194
196
|
import "./chunk-RS25QOKZ.js";
|
|
195
197
|
import "./chunk-JGSKJHF7.js";
|
|
196
198
|
import "./chunk-FF4KLI5W.js";
|
|
197
199
|
import "./chunk-6VP3YUCS.js";
|
|
198
|
-
import "./chunk-
|
|
199
|
-
import "./chunk-
|
|
200
|
+
import "./chunk-BMFZLLNI.js";
|
|
201
|
+
import "./chunk-CI7RKSRE.js";
|
|
202
|
+
import "./chunk-6HMYUWXR.js";
|
|
203
|
+
import "./chunk-L5MUA6Q7.js";
|
|
204
|
+
import "./chunk-EG4TCVMU.js";
|
|
205
|
+
import "./chunk-UJDV2NLT.js";
|
|
206
|
+
import "./chunk-CYEPCZN5.js";
|
|
207
|
+
import "./chunk-Q5ZU3RNY.js";
|
|
200
208
|
import "./chunk-JOASJWQR.js";
|
|
201
209
|
import "./chunk-RN7MUWON.js";
|
|
202
|
-
import "./chunk-
|
|
203
|
-
import "./chunk-
|
|
204
|
-
import "./chunk-CYEPCZN5.js";
|
|
205
|
-
import "./chunk-57ME5VSI.js";
|
|
206
|
-
import "./chunk-CINZGPSJ.js";
|
|
210
|
+
import "./chunk-OUWAQVDJ.js";
|
|
211
|
+
import "./chunk-DOCTITOP.js";
|
|
207
212
|
import "./chunk-AER6MT24.js";
|
|
213
|
+
import "./chunk-CINZGPSJ.js";
|
|
208
214
|
import "./chunk-ZFXCQPNO.js";
|
|
209
215
|
import "./chunk-7OGJQP7T.js";
|
|
210
216
|
import "./chunk-E6ZDCOHM.js";
|
|
@@ -213,67 +219,48 @@ import "./chunk-7DTASS5T.js";
|
|
|
213
219
|
import "./chunk-6RHNCKHG.js";
|
|
214
220
|
import "./chunk-YNQ6DFSV.js";
|
|
215
221
|
import "./chunk-EIR5VLIH.js";
|
|
216
|
-
import "./chunk-BMFZLLNI.js";
|
|
217
|
-
import "./chunk-CI7RKSRE.js";
|
|
218
|
-
import "./chunk-6HMYUWXR.js";
|
|
219
222
|
import "./chunk-YXWAILM4.js";
|
|
223
|
+
import "./chunk-GKKAXVAJ.js";
|
|
220
224
|
import "./chunk-EI6V5UXY.js";
|
|
221
225
|
import "./chunk-QY7YA7OL.js";
|
|
222
226
|
import "./chunk-O75CRYGF.js";
|
|
223
227
|
import "./chunk-QDW3E4RD.js";
|
|
224
228
|
import "./chunk-3ONXXHQO.js";
|
|
225
|
-
import "./chunk-GKKAXVAJ.js";
|
|
226
229
|
import "./chunk-ODPLEWB6.js";
|
|
230
|
+
import "./chunk-ZY2MNJR6.js";
|
|
227
231
|
import "./chunk-2LDBXPLB.js";
|
|
228
232
|
import "./chunk-2LSZVONP.js";
|
|
229
233
|
import "./chunk-DEUNUKTD.js";
|
|
230
|
-
import "./chunk-
|
|
231
|
-
import "./chunk-
|
|
234
|
+
import "./chunk-JD4SCARD.js";
|
|
235
|
+
import "./chunk-KV6CX4ON.js";
|
|
236
|
+
import "./chunk-TY5NT3T3.js";
|
|
232
237
|
import "./chunk-M7XQSUBB.js";
|
|
233
238
|
import "./chunk-5UZXUTVO.js";
|
|
234
239
|
import "./chunk-5GPPACXK.js";
|
|
235
240
|
import "./chunk-J6A3CX5N.js";
|
|
236
241
|
import "./chunk-FMSDA2D3.js";
|
|
242
|
+
import "./chunk-MB5RSUW6.js";
|
|
243
|
+
import "./chunk-6KYMPV2O.js";
|
|
237
244
|
import "./chunk-AWJ2FHCF.js";
|
|
238
245
|
import "./chunk-42JKGUFJ.js";
|
|
239
246
|
import "./chunk-RULE4VG5.js";
|
|
240
247
|
import "./chunk-SCU65EZI.js";
|
|
241
|
-
import "./chunk-MB5RSUW6.js";
|
|
242
|
-
import "./chunk-6KYMPV2O.js";
|
|
243
248
|
import "./chunk-DM2T26WE.js";
|
|
244
249
|
import "./chunk-LDXUBPMO.js";
|
|
245
250
|
import "./chunk-FVQJYWH7.js";
|
|
246
|
-
import "./chunk-VF4XKTX3.js";
|
|
247
251
|
import "./chunk-G7D6GZ5J.js";
|
|
252
|
+
import "./chunk-VF4XKTX3.js";
|
|
248
253
|
import "./chunk-RGMVMVMF.js";
|
|
249
|
-
import "./chunk-ZY2MNJR6.js";
|
|
250
|
-
import "./chunk-RC3AFF6Z.js";
|
|
251
|
-
import "./chunk-UZYLX7M6.js";
|
|
252
|
-
import "./chunk-U3PN77QT.js";
|
|
253
|
-
import "./chunk-4DJQYKMN.js";
|
|
254
|
-
import "./chunk-EYIEWJNI.js";
|
|
255
|
-
import "./chunk-JUC24CTX.js";
|
|
256
|
-
import "./chunk-TBBDFYXW.js";
|
|
257
|
-
import "./chunk-ZBJMUXZH.js";
|
|
258
|
-
import "./chunk-2ODBA7MQ.js";
|
|
259
|
-
import "./chunk-PVGDJXVK.js";
|
|
260
|
-
import "./chunk-A2IYSXDQ.js";
|
|
261
|
-
import "./chunk-LPSF4OQH.js";
|
|
262
|
-
import "./chunk-TVVEYCNW.js";
|
|
263
|
-
import "./chunk-RFYAYKTD.js";
|
|
264
|
-
import "./chunk-LBLXEFWK.js";
|
|
265
|
-
import "./chunk-VFUEZZBS.js";
|
|
266
|
-
import "./chunk-UDJLF3BO.js";
|
|
267
254
|
import "./chunk-KQAFEZQX.js";
|
|
268
255
|
import "./chunk-WEHSQBFR.js";
|
|
269
256
|
import "./chunk-X7Y7WX73.js";
|
|
270
257
|
import "./chunk-J4EB7DNW.js";
|
|
271
|
-
import "./chunk-PWWWLD7D.js";
|
|
272
|
-
import "./chunk-UI3NYK34.js";
|
|
273
|
-
import "./chunk-GCGJW34D.js";
|
|
274
258
|
import "./chunk-BJMBJZ2Y.js";
|
|
275
259
|
import "./chunk-UKJAGEXH.js";
|
|
276
260
|
import "./chunk-FP2373TW.js";
|
|
261
|
+
import "./chunk-PWWWLD7D.js";
|
|
262
|
+
import "./chunk-UI3NYK34.js";
|
|
263
|
+
import "./chunk-GCGJW34D.js";
|
|
277
264
|
import "./chunk-J2HSAU72.js";
|
|
278
265
|
import "./chunk-A6XUJE5D.js";
|
|
279
266
|
import "./chunk-P7FMDTKL.js";
|
|
@@ -281,6 +268,21 @@ import "./chunk-VS2IYZRU.js";
|
|
|
281
268
|
import "./chunk-AH2JUU6X.js";
|
|
282
269
|
import "./chunk-AC5LO7IU.js";
|
|
283
270
|
import "./chunk-SOAU2OE2.js";
|
|
271
|
+
import "./chunk-UZYLX7M6.js";
|
|
272
|
+
import "./chunk-U3PN77QT.js";
|
|
273
|
+
import "./chunk-4DJQYKMN.js";
|
|
274
|
+
import "./chunk-EYIEWJNI.js";
|
|
275
|
+
import "./chunk-JUC24CTX.js";
|
|
276
|
+
import "./chunk-2ODBA7MQ.js";
|
|
277
|
+
import "./chunk-TBBDFYXW.js";
|
|
278
|
+
import "./chunk-ZBJMUXZH.js";
|
|
279
|
+
import "./chunk-PVGDJXVK.js";
|
|
280
|
+
import "./chunk-A2IYSXDQ.js";
|
|
281
|
+
import "./chunk-LPSF4OQH.js";
|
|
282
|
+
import "./chunk-TVVEYCNW.js";
|
|
283
|
+
import "./chunk-RFYAYKTD.js";
|
|
284
|
+
import "./chunk-LBLXEFWK.js";
|
|
285
|
+
import "./chunk-VFUEZZBS.js";
|
|
284
286
|
import "./chunk-PZ5AY32C.js";
|
|
285
287
|
export {
|
|
286
288
|
emitConnectorsRunCliResult,
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompoundingEngine,
|
|
3
3
|
defaultTierMigrationCycleBudget
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-B2B2IHUH.js";
|
|
5
5
|
import "../chunk-DRD2Q7HQ.js";
|
|
6
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TY5NT3T3.js";
|
|
7
7
|
import "../chunk-M7XQSUBB.js";
|
|
8
8
|
import "../chunk-5UZXUTVO.js";
|
|
9
9
|
import "../chunk-5GPPACXK.js";
|
|
10
10
|
import "../chunk-J6A3CX5N.js";
|
|
11
11
|
import "../chunk-FMSDA2D3.js";
|
|
12
|
+
import "../chunk-MB5RSUW6.js";
|
|
13
|
+
import "../chunk-6KYMPV2O.js";
|
|
12
14
|
import "../chunk-AWJ2FHCF.js";
|
|
13
15
|
import "../chunk-42JKGUFJ.js";
|
|
14
16
|
import "../chunk-RULE4VG5.js";
|
|
15
17
|
import "../chunk-SCU65EZI.js";
|
|
16
|
-
import "../chunk-MB5RSUW6.js";
|
|
17
|
-
import "../chunk-6KYMPV2O.js";
|
|
18
18
|
import "../chunk-DM2T26WE.js";
|
|
19
19
|
import "../chunk-LDXUBPMO.js";
|
|
20
20
|
import "../chunk-FVQJYWH7.js";
|
|
21
|
-
import "../chunk-VF4XKTX3.js";
|
|
22
21
|
import "../chunk-G7D6GZ5J.js";
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-EYIEWJNI.js";
|
|
25
|
-
import "../chunk-JUC24CTX.js";
|
|
26
|
-
import "../chunk-2ODBA7MQ.js";
|
|
22
|
+
import "../chunk-VF4XKTX3.js";
|
|
27
23
|
import "../chunk-J2HSAU72.js";
|
|
28
24
|
import "../chunk-A6XUJE5D.js";
|
|
29
25
|
import "../chunk-P7FMDTKL.js";
|
|
30
26
|
import "../chunk-VS2IYZRU.js";
|
|
27
|
+
import "../chunk-4DJQYKMN.js";
|
|
28
|
+
import "../chunk-EYIEWJNI.js";
|
|
29
|
+
import "../chunk-JUC24CTX.js";
|
|
30
|
+
import "../chunk-2ODBA7MQ.js";
|
|
31
31
|
import "../chunk-PZ5AY32C.js";
|
|
32
32
|
export {
|
|
33
33
|
CompoundingEngine,
|