@remnic/core 9.66.9 → 9.66.11
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-admin-ops-surface.js +21 -20
- package/dist/access-authorization-probe.js +22 -21
- package/dist/access-boundary.js +21 -20
- package/dist/access-cli.js +87 -86
- package/dist/access-cli.js.map +1 -1
- package/dist/access-extraction-force-flush.js +21 -20
- package/dist/access-http-query.js +23 -22
- package/dist/access-http.js +38 -37
- package/dist/access-identity-continuity-surface.js +21 -20
- package/dist/access-lcm-surface.js +21 -20
- package/dist/access-mcp.js +30 -29
- package/dist/access-namespace-preflight.js +21 -20
- package/dist/access-observe-write-surface.js +21 -20
- package/dist/access-operations-batch.js +24 -23
- package/dist/access-operations.js +29 -28
- package/dist/access-recall-concurrency.js +21 -20
- package/dist/access-recall-response.js +21 -20
- package/dist/access-recall-surface.js +21 -20
- package/dist/access-schema.js +3 -3
- package/dist/access-service.js +21 -20
- package/dist/access-surface-catalog.js +23 -22
- package/dist/access-surface-catalog.js.map +1 -1
- package/dist/adapters/index.js +4 -4
- package/dist/adapters/registry.js +2 -2
- package/dist/briefing.js +8 -8
- package/dist/causal-consolidation.js +10 -9
- package/dist/causal-consolidation.js.map +1 -1
- package/dist/{chunk-5GZ6UWY5.js → chunk-245QROHZ.js} +5 -5
- package/dist/{chunk-A7GQBJP5.js → chunk-2L5FSNPC.js} +10 -10
- package/dist/{chunk-SJ5L4ZZX.js → chunk-2OXBS2LV.js} +2 -2
- package/dist/chunk-3UXOZBHV.js +20 -0
- package/dist/chunk-3UXOZBHV.js.map +1 -0
- package/dist/{chunk-G775FE2E.js → chunk-4PHT7KE2.js} +11 -11
- package/dist/{chunk-TKSBOV7N.js → chunk-4PWANX5V.js} +6 -6
- package/dist/{chunk-TEJKBBWS.js → chunk-4QKWBVEE.js} +11 -11
- package/dist/{chunk-MFI4QPW5.js → chunk-54BRW3BL.js} +2 -2
- package/dist/{chunk-23F7HGBV.js → chunk-5E7KXID5.js} +1 -1
- package/dist/{chunk-VX5YHEGJ.js → chunk-6H7JWYTC.js} +17 -12
- package/dist/chunk-6H7JWYTC.js.map +1 -0
- package/dist/{chunk-5CSKIWEB.js → chunk-7BS5UVXA.js} +3 -3
- package/dist/{chunk-Q5YKVBIV.js → chunk-7FLINMUE.js} +2 -2
- package/dist/{chunk-ZC5L6ME2.js → chunk-7MOYAT4Y.js} +3 -3
- package/dist/{chunk-NABJLNLU.js → chunk-BCM6ZAJ3.js} +190 -52
- package/dist/chunk-BCM6ZAJ3.js.map +1 -0
- package/dist/{chunk-KVXMN33W.js → chunk-C6TMLF3A.js} +4 -4
- package/dist/{chunk-47BX23NA.js → chunk-D3AUQXTJ.js} +2 -2
- package/dist/{chunk-3HHLOKKU.js → chunk-DJLH3XWM.js} +2 -2
- package/dist/{chunk-SRILZVR4.js → chunk-E2PORO7O.js} +2 -2
- package/dist/{chunk-G3TUQJFU.js → chunk-E62M4H4M.js} +2 -2
- package/dist/{chunk-GB4R6B5M.js → chunk-EG4FHU5C.js} +2 -2
- package/dist/{chunk-QU2V4IO3.js → chunk-EMAEDM2J.js} +2 -2
- package/dist/{chunk-FNYVWAIK.js → chunk-G3B3LP6A.js} +18 -18
- package/dist/{chunk-D6Q5EPOV.js → chunk-HCERYDRI.js} +2 -2
- package/dist/{chunk-5NZIRM4Q.js → chunk-HJQZQUPC.js} +7 -7
- package/dist/{chunk-CIWOW2FH.js → chunk-HPGXB56F.js} +2 -2
- package/dist/{chunk-KQAFEZQX.js → chunk-IPLYGWQF.js} +5 -5
- package/dist/{chunk-UAWSKMWQ.js → chunk-ISX7JODR.js} +2 -2
- package/dist/{chunk-RKNJBZ55.js → chunk-JBPKEARU.js} +4 -4
- package/dist/{chunk-HWWGPS2N.js → chunk-JNZSNJ43.js} +2 -2
- package/dist/{chunk-JHU543UU.js → chunk-K6PWPC7O.js} +2 -2
- package/dist/{chunk-JVGBDNXA.js → chunk-KT3ERTF6.js} +2 -2
- package/dist/{chunk-SOQLXIQX.js → chunk-KWLDB64F.js} +2 -2
- package/dist/{chunk-7JPKRZD5.js → chunk-LPSTQR26.js} +2 -2
- package/dist/{chunk-OT7WQ2I3.js → chunk-LTWFU6VJ.js} +2 -2
- package/dist/{chunk-NSP3HFJZ.js → chunk-PVV42HM4.js} +6 -3
- package/dist/chunk-PVV42HM4.js.map +1 -0
- package/dist/{chunk-TWMGWLHD.js → chunk-PWVRMD37.js} +2 -2
- package/dist/{chunk-AAJK3PZ6.js → chunk-QB66LBXA.js} +2 -2
- package/dist/{chunk-XVNDP3RO.js → chunk-QKTGCL6M.js} +2 -2
- package/dist/{chunk-LTDN5WYF.js → chunk-S47XNAWD.js} +2 -2
- package/dist/{chunk-IBHUZEKL.js → chunk-SQEIPTDV.js} +2 -2
- package/dist/{chunk-J67E4JNT.js → chunk-TGKLVAML.js} +2 -2
- package/dist/{chunk-VCYY7XEL.js → chunk-TS37MXC7.js} +2 -2
- package/dist/{chunk-ZJGHOPEO.js → chunk-UWOA5L6N.js} +70 -73
- package/dist/{chunk-ZJGHOPEO.js.map → chunk-UWOA5L6N.js.map} +1 -1
- package/dist/{chunk-ZVUGRXSY.js → chunk-WD424KYT.js} +2 -2
- package/dist/{chunk-B3TZLAO4.js → chunk-X5SDZMO7.js} +2 -2
- package/dist/{chunk-FUPIAP6Q.js → chunk-XN33JLRF.js} +3 -3
- package/dist/{chunk-MBDUNO7J.js → chunk-XZ7QLOTJ.js} +5 -21
- package/dist/chunk-XZ7QLOTJ.js.map +1 -0
- package/dist/{chunk-OJSCH7QT.js → chunk-Y2ECPAJI.js} +7 -7
- package/dist/{chunk-DGKVUPBM.js → chunk-Y6KDJQLK.js} +7 -7
- package/dist/{chunk-EZ25VE3G.js → chunk-YNDLCWXS.js} +4 -4
- package/dist/{chunk-Q3UMNZRK.js → chunk-ZIGSNLYI.js} +3 -3
- package/dist/{chunk-RF3LMSQW.js → chunk-ZRQPX2DW.js} +2 -2
- package/dist/cli.js +61 -60
- package/dist/coding/export-okf-codegraph.js +8 -8
- package/dist/compounding/engine.js +8 -8
- package/dist/connectors/codex-materialize-runner.js +9 -8
- package/dist/connectors/index.js +9 -8
- package/dist/convergence-refresh.js +10 -10
- package/dist/corpus-watermark.js +10 -10
- package/dist/dashboard-runtime.js +2 -2
- package/dist/entity-retrieval.js +8 -8
- package/dist/external-wiki-access.js +22 -21
- package/dist/extraction-span-tokens.d.ts +16 -0
- package/dist/extraction-span-tokens.js +34 -0
- package/dist/extraction-span-tokens.js.map +1 -0
- package/dist/extraction.js +9 -8
- package/dist/{first-start-migration-UG32BSG2.js → first-start-migration-KHIMCBIC.js} +4 -4
- package/dist/harmonic-retrieval.js +1 -1
- package/dist/index.d.ts +102 -1
- package/dist/index.js +126 -117
- package/dist/lcm/engine.js +4 -4
- package/dist/lcm/index.js +9 -9
- package/dist/location/index.js +10 -10
- package/dist/maintenance/memory-governance.js +8 -8
- package/dist/maintenance/rebuild-memory-lifecycle-ledger.js +8 -8
- package/dist/maintenance/rebuild-memory-projection.js +9 -9
- package/dist/namespaces/migrate.js +9 -9
- package/dist/namespaces/search.js +4 -4
- package/dist/namespaces/storage.js +8 -8
- package/dist/operator-doctor-corpus.js +11 -11
- package/dist/operator-toolkit.js +16 -16
- package/dist/orchestration/maintenance.js +16 -16
- package/dist/orchestrator.js +88 -87
- package/dist/recall-deep-frontier.d.ts +15 -0
- package/dist/recall-deep-frontier.js +29 -0
- package/dist/recall-deep-frontier.js.map +1 -0
- package/dist/search/factory.js +3 -3
- package/dist/search/index.js +7 -7
- package/dist/semantic-consolidation.js +10 -9
- package/dist/semantic-rule-promotion.js +8 -8
- package/dist/semantic-rule-verifier.js +8 -8
- package/dist/source-agent-qualifier.js +9 -8
- package/dist/standup/build.js +8 -8
- package/dist/storage.js +7 -7
- package/dist/support-passport/index.js +24 -23
- package/dist/transfer/autodetect.js +1 -1
- package/dist/transfer/backup.js +1 -1
- package/dist/transfer/capsule-export.js +2 -2
- package/dist/transfer/export-okf.d.ts +8 -0
- package/dist/transfer/export-okf.js +10 -9
- package/dist/verified-recall.js +8 -8
- package/dist/who-knows-cli.js +9 -9
- package/dist/who-knows.js +8 -8
- package/package.json +2 -2
- package/src/activity/index.ts +2 -0
- package/src/activity/privacy-status.test.ts +117 -0
- package/src/activity/privacy-status.ts +65 -0
- package/src/activity/timeline/index.ts +1 -0
- package/src/activity/timeline/week-previous.test.ts +119 -0
- package/src/activity/timeline/week-previous.ts +83 -0
- package/src/activity/vault-insert.test.ts +105 -0
- package/src/activity/vault-insert.ts +86 -0
- package/src/cli/okf-commands.ts +2 -5
- package/src/extraction-span-tokens.test.ts +69 -0
- package/src/extraction-span-tokens.ts +44 -0
- package/src/okf/render.ts +11 -2
- package/src/recall-deep-frontier.test.ts +85 -0
- package/src/recall-deep-frontier.ts +39 -0
- package/src/transfer/export-okf.test.ts +77 -1
- package/src/transfer/export-okf.ts +25 -9
- package/dist/chunk-MBDUNO7J.js.map +0 -1
- package/dist/chunk-NABJLNLU.js.map +0 -1
- package/dist/chunk-NSP3HFJZ.js.map +0 -1
- package/dist/chunk-VX5YHEGJ.js.map +0 -1
- /package/dist/{chunk-5GZ6UWY5.js.map → chunk-245QROHZ.js.map} +0 -0
- /package/dist/{chunk-A7GQBJP5.js.map → chunk-2L5FSNPC.js.map} +0 -0
- /package/dist/{chunk-SJ5L4ZZX.js.map → chunk-2OXBS2LV.js.map} +0 -0
- /package/dist/{chunk-G775FE2E.js.map → chunk-4PHT7KE2.js.map} +0 -0
- /package/dist/{chunk-TKSBOV7N.js.map → chunk-4PWANX5V.js.map} +0 -0
- /package/dist/{chunk-TEJKBBWS.js.map → chunk-4QKWBVEE.js.map} +0 -0
- /package/dist/{chunk-MFI4QPW5.js.map → chunk-54BRW3BL.js.map} +0 -0
- /package/dist/{chunk-23F7HGBV.js.map → chunk-5E7KXID5.js.map} +0 -0
- /package/dist/{chunk-5CSKIWEB.js.map → chunk-7BS5UVXA.js.map} +0 -0
- /package/dist/{chunk-Q5YKVBIV.js.map → chunk-7FLINMUE.js.map} +0 -0
- /package/dist/{chunk-ZC5L6ME2.js.map → chunk-7MOYAT4Y.js.map} +0 -0
- /package/dist/{chunk-KVXMN33W.js.map → chunk-C6TMLF3A.js.map} +0 -0
- /package/dist/{chunk-47BX23NA.js.map → chunk-D3AUQXTJ.js.map} +0 -0
- /package/dist/{chunk-3HHLOKKU.js.map → chunk-DJLH3XWM.js.map} +0 -0
- /package/dist/{chunk-SRILZVR4.js.map → chunk-E2PORO7O.js.map} +0 -0
- /package/dist/{chunk-G3TUQJFU.js.map → chunk-E62M4H4M.js.map} +0 -0
- /package/dist/{chunk-GB4R6B5M.js.map → chunk-EG4FHU5C.js.map} +0 -0
- /package/dist/{chunk-QU2V4IO3.js.map → chunk-EMAEDM2J.js.map} +0 -0
- /package/dist/{chunk-FNYVWAIK.js.map → chunk-G3B3LP6A.js.map} +0 -0
- /package/dist/{chunk-D6Q5EPOV.js.map → chunk-HCERYDRI.js.map} +0 -0
- /package/dist/{chunk-5NZIRM4Q.js.map → chunk-HJQZQUPC.js.map} +0 -0
- /package/dist/{chunk-CIWOW2FH.js.map → chunk-HPGXB56F.js.map} +0 -0
- /package/dist/{chunk-KQAFEZQX.js.map → chunk-IPLYGWQF.js.map} +0 -0
- /package/dist/{chunk-UAWSKMWQ.js.map → chunk-ISX7JODR.js.map} +0 -0
- /package/dist/{chunk-RKNJBZ55.js.map → chunk-JBPKEARU.js.map} +0 -0
- /package/dist/{chunk-HWWGPS2N.js.map → chunk-JNZSNJ43.js.map} +0 -0
- /package/dist/{chunk-JHU543UU.js.map → chunk-K6PWPC7O.js.map} +0 -0
- /package/dist/{chunk-JVGBDNXA.js.map → chunk-KT3ERTF6.js.map} +0 -0
- /package/dist/{chunk-SOQLXIQX.js.map → chunk-KWLDB64F.js.map} +0 -0
- /package/dist/{chunk-7JPKRZD5.js.map → chunk-LPSTQR26.js.map} +0 -0
- /package/dist/{chunk-OT7WQ2I3.js.map → chunk-LTWFU6VJ.js.map} +0 -0
- /package/dist/{chunk-TWMGWLHD.js.map → chunk-PWVRMD37.js.map} +0 -0
- /package/dist/{chunk-AAJK3PZ6.js.map → chunk-QB66LBXA.js.map} +0 -0
- /package/dist/{chunk-XVNDP3RO.js.map → chunk-QKTGCL6M.js.map} +0 -0
- /package/dist/{chunk-LTDN5WYF.js.map → chunk-S47XNAWD.js.map} +0 -0
- /package/dist/{chunk-IBHUZEKL.js.map → chunk-SQEIPTDV.js.map} +0 -0
- /package/dist/{chunk-J67E4JNT.js.map → chunk-TGKLVAML.js.map} +0 -0
- /package/dist/{chunk-VCYY7XEL.js.map → chunk-TS37MXC7.js.map} +0 -0
- /package/dist/{chunk-ZVUGRXSY.js.map → chunk-WD424KYT.js.map} +0 -0
- /package/dist/{chunk-B3TZLAO4.js.map → chunk-X5SDZMO7.js.map} +0 -0
- /package/dist/{chunk-FUPIAP6Q.js.map → chunk-XN33JLRF.js.map} +0 -0
- /package/dist/{chunk-OJSCH7QT.js.map → chunk-Y2ECPAJI.js.map} +0 -0
- /package/dist/{chunk-DGKVUPBM.js.map → chunk-Y6KDJQLK.js.map} +0 -0
- /package/dist/{chunk-EZ25VE3G.js.map → chunk-YNDLCWXS.js.map} +0 -0
- /package/dist/{chunk-Q3UMNZRK.js.map → chunk-ZIGSNLYI.js.map} +0 -0
- /package/dist/{chunk-RF3LMSQW.js.map → chunk-ZRQPX2DW.js.map} +0 -0
- /package/dist/{first-start-migration-UG32BSG2.js.map → first-start-migration-KHIMCBIC.js.map} +0 -0
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-E4RMZGRS.js";
|
|
24
24
|
import {
|
|
25
25
|
validateRequest
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HCERYDRI.js";
|
|
27
27
|
import {
|
|
28
28
|
MCP_ADMIN_OPS_MIGRATED_OPERATIONS,
|
|
29
29
|
MCP_ADMIN_OPS_TOOLS,
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
} from "./chunk-K4E3Y3ZX.js";
|
|
35
35
|
import {
|
|
36
36
|
getOperation
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-G3B3LP6A.js";
|
|
38
38
|
import {
|
|
39
39
|
WHO_KNOWS_MCP_TOOLS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QB66LBXA.js";
|
|
41
41
|
import {
|
|
42
42
|
PROMOTION_CANDIDATES_MCP_TOOLS
|
|
43
43
|
} from "./chunk-ME35HVDJ.js";
|
|
@@ -4045,4 +4045,4 @@ export {
|
|
|
4045
4045
|
MCP_MIGRATED_OPERATIONS,
|
|
4046
4046
|
EngramMcpServer
|
|
4047
4047
|
};
|
|
4048
|
-
//# sourceMappingURL=chunk-
|
|
4048
|
+
//# sourceMappingURL=chunk-C6TMLF3A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
listNamespaces
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7MOYAT4Y.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -282,4 +282,4 @@ export {
|
|
|
282
282
|
computeServiceCorpusWatermarks,
|
|
283
283
|
computeServiceCorpusCensus
|
|
284
284
|
};
|
|
285
|
-
//# sourceMappingURL=chunk-
|
|
285
|
+
//# sourceMappingURL=chunk-D3AUQXTJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isNamespaceKind
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-54BRW3BL.js";
|
|
4
4
|
import {
|
|
5
5
|
EngramAccessInputError
|
|
6
6
|
} from "./chunk-2Z24E5W2.js";
|
|
@@ -40,4 +40,4 @@ export {
|
|
|
40
40
|
positiveIntQueryParam,
|
|
41
41
|
optionalNamespaceKindQueryParam
|
|
42
42
|
};
|
|
43
|
-
//# sourceMappingURL=chunk-
|
|
43
|
+
//# sourceMappingURL=chunk-DJLH3XWM.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
SupportPassportError,
|
|
3
3
|
SupportPassportOwnerCreateGrantRequestSchema,
|
|
4
4
|
getOperation
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-G3B3LP6A.js";
|
|
6
6
|
|
|
7
7
|
// src/support-passport/access-http.ts
|
|
8
8
|
var OWNER_ROOT = "/engram/v1/support-passport";
|
|
@@ -137,4 +137,4 @@ export {
|
|
|
137
137
|
SUPPORT_PASSPORT_OWNER_HTTP_ROUTES,
|
|
138
138
|
handleSupportPassportOwnerHttp
|
|
139
139
|
};
|
|
140
|
-
//# sourceMappingURL=chunk-
|
|
140
|
+
//# sourceMappingURL=chunk-E2PORO7O.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
normalizeEntityName
|
|
6
6
|
} from "./chunk-YXZG5TVN.js";
|
|
@@ -957,4 +957,4 @@ export {
|
|
|
957
957
|
resolveBriefingSaveDir,
|
|
958
958
|
briefingFilename
|
|
959
959
|
};
|
|
960
|
-
//# sourceMappingURL=chunk-
|
|
960
|
+
//# sourceMappingURL=chunk-E62M4H4M.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
rebuildMemoryProjection
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZIGSNLYI.js";
|
|
4
4
|
|
|
5
5
|
// src/convergence-refresh.ts
|
|
6
6
|
async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, getStorage, searchEnabled) {
|
|
@@ -32,4 +32,4 @@ async function refreshConvergedNamespaces(namespaces, namespaceSearchRouter, get
|
|
|
32
32
|
export {
|
|
33
33
|
refreshConvergedNamespaces
|
|
34
34
|
};
|
|
35
|
-
//# sourceMappingURL=chunk-
|
|
35
|
+
//# sourceMappingURL=chunk-EG4FHU5C.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
getCachedRuleMemories,
|
|
6
6
|
setCachedRuleMemories
|
|
@@ -119,4 +119,4 @@ export {
|
|
|
119
119
|
compareVerifiedSemanticRuleResults,
|
|
120
120
|
searchVerifiedSemanticRules
|
|
121
121
|
};
|
|
122
|
-
//# sourceMappingURL=chunk-
|
|
122
|
+
//# sourceMappingURL=chunk-EMAEDM2J.js.map
|
|
@@ -35,7 +35,13 @@ import {
|
|
|
35
35
|
computeWhoKnows,
|
|
36
36
|
loadWhoKnowsEntities,
|
|
37
37
|
validateWhoKnowsInput
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QB66LBXA.js";
|
|
39
|
+
import {
|
|
40
|
+
trustResultFor
|
|
41
|
+
} from "./chunk-GNVZQ5JN.js";
|
|
42
|
+
import {
|
|
43
|
+
renderEpistemicHedge
|
|
44
|
+
} from "./chunk-YN2UN7N3.js";
|
|
39
45
|
import {
|
|
40
46
|
getTrustZoneStoreStatus,
|
|
41
47
|
isTrustZoneName,
|
|
@@ -45,12 +51,6 @@ import {
|
|
|
45
51
|
seedTrustZoneDemoDataset,
|
|
46
52
|
summarizeTrustZonePromotionReadiness
|
|
47
53
|
} from "./chunk-5QZR2RA3.js";
|
|
48
|
-
import {
|
|
49
|
-
trustResultFor
|
|
50
|
-
} from "./chunk-GNVZQ5JN.js";
|
|
51
|
-
import {
|
|
52
|
-
renderEpistemicHedge
|
|
53
|
-
} from "./chunk-YN2UN7N3.js";
|
|
54
54
|
import {
|
|
55
55
|
planSessionTranscriptMigration
|
|
56
56
|
} from "./chunk-P5FPO2BR.js";
|
|
@@ -65,16 +65,16 @@ import {
|
|
|
65
65
|
} from "./chunk-LK4TOYPU.js";
|
|
66
66
|
import {
|
|
67
67
|
readAggregateExtractionWatermark
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-TGKLVAML.js";
|
|
69
|
+
import {
|
|
70
|
+
ReplicaDivergenceMonitor
|
|
71
|
+
} from "./chunk-CVILPI77.js";
|
|
69
72
|
import {
|
|
70
73
|
recordObjectiveStateSnapshotsFromObservedMessages
|
|
71
74
|
} from "./chunk-2HIJHXB3.js";
|
|
72
75
|
import {
|
|
73
76
|
objectiveStateStoreOverrideForNamespace
|
|
74
77
|
} from "./chunk-HTP6XRUI.js";
|
|
75
|
-
import {
|
|
76
|
-
ReplicaDivergenceMonitor
|
|
77
|
-
} from "./chunk-CVILPI77.js";
|
|
78
78
|
import {
|
|
79
79
|
recordMemoryOutcome
|
|
80
80
|
} from "./chunk-UD7UNYRD.js";
|
|
@@ -122,11 +122,11 @@ import {
|
|
|
122
122
|
listMemoryGovernanceRuns,
|
|
123
123
|
readMemoryGovernanceRunArtifact,
|
|
124
124
|
runMemoryGovernance
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-7FLINMUE.js";
|
|
126
126
|
import {
|
|
127
127
|
CorpusWatermarkCache,
|
|
128
128
|
computeServiceCorpusCensus
|
|
129
|
-
} from "./chunk-
|
|
129
|
+
} from "./chunk-D3AUQXTJ.js";
|
|
130
130
|
import {
|
|
131
131
|
CrossNamespaceBudget,
|
|
132
132
|
toBudgetWarning
|
|
@@ -137,7 +137,7 @@ import {
|
|
|
137
137
|
enqueuePassiveCorrectionNotification,
|
|
138
138
|
parseBriefingFocus,
|
|
139
139
|
parseBriefingWindow
|
|
140
|
-
} from "./chunk-
|
|
140
|
+
} from "./chunk-E62M4H4M.js";
|
|
141
141
|
import {
|
|
142
142
|
OKF_RESERVED_BASENAMES,
|
|
143
143
|
parseEntityFile,
|
|
@@ -145,10 +145,10 @@ import {
|
|
|
145
145
|
qmdCollectionPathParts,
|
|
146
146
|
qmdResultPathCandidates,
|
|
147
147
|
selfDeps
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
} from "./chunk-4PHT7KE2.js";
|
|
149
149
|
import {
|
|
150
150
|
namespaceCollectionName
|
|
151
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-X5SDZMO7.js";
|
|
152
152
|
import {
|
|
153
153
|
DEFAULT_RECALL_DISCLOSURE,
|
|
154
154
|
isRecallDisclosure
|
|
@@ -239,7 +239,7 @@ import {
|
|
|
239
239
|
} from "./chunk-ME35HVDJ.js";
|
|
240
240
|
import {
|
|
241
241
|
exportCapsule
|
|
242
|
-
} from "./chunk-
|
|
242
|
+
} from "./chunk-IPLYGWQF.js";
|
|
243
243
|
import {
|
|
244
244
|
evaluateActionConfidence
|
|
245
245
|
} from "./chunk-Z2YFLXHU.js";
|
|
@@ -18248,4 +18248,4 @@ export {
|
|
|
18248
18248
|
EngramAccessService,
|
|
18249
18249
|
AccessAdminOpsSurface
|
|
18250
18250
|
};
|
|
18251
|
-
//# sourceMappingURL=chunk-
|
|
18251
|
+
//# sourceMappingURL=chunk-G3B3LP6A.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isValidCapsuleSince
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IPLYGWQF.js";
|
|
4
4
|
import {
|
|
5
5
|
CAPSULE_ID_PATTERN
|
|
6
6
|
} from "./chunk-WEHSQBFR.js";
|
|
@@ -484,4 +484,4 @@ export {
|
|
|
484
484
|
actionConfidenceRequestSchema,
|
|
485
485
|
validateRequest
|
|
486
486
|
};
|
|
487
|
-
//# sourceMappingURL=chunk-
|
|
487
|
+
//# sourceMappingURL=chunk-HCERYDRI.js.map
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MeilisearchBackend
|
|
3
|
+
} from "./chunk-NNBZS3DY.js";
|
|
4
|
+
import {
|
|
5
|
+
NoopSearchBackend
|
|
6
|
+
} from "./chunk-CYEPCZN5.js";
|
|
1
7
|
import {
|
|
2
8
|
OramaBackend
|
|
3
9
|
} from "./chunk-GIC6BASP.js";
|
|
@@ -10,12 +16,6 @@ import {
|
|
|
10
16
|
import {
|
|
11
17
|
LanceDbBackend
|
|
12
18
|
} from "./chunk-N37X5RU7.js";
|
|
13
|
-
import {
|
|
14
|
-
MeilisearchBackend
|
|
15
|
-
} from "./chunk-NNBZS3DY.js";
|
|
16
|
-
import {
|
|
17
|
-
NoopSearchBackend
|
|
18
|
-
} from "./chunk-CYEPCZN5.js";
|
|
19
19
|
import {
|
|
20
20
|
createConversationIndexBackend
|
|
21
21
|
} from "./chunk-227UFSEQ.js";
|
|
@@ -179,4 +179,4 @@ export {
|
|
|
179
179
|
createConversationSearchBackend,
|
|
180
180
|
createConversationIndexRuntime
|
|
181
181
|
};
|
|
182
|
-
//# sourceMappingURL=chunk-
|
|
182
|
+
//# sourceMappingURL=chunk-HJQZQUPC.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
runLocationSync
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7BS5UVXA.js";
|
|
4
4
|
import {
|
|
5
5
|
log
|
|
6
6
|
} from "./chunk-3WCASNQZ.js";
|
|
@@ -58,4 +58,4 @@ export {
|
|
|
58
58
|
LOCATION_SYNC_DEFAULT_INTERVAL_MS,
|
|
59
59
|
startLocationAutoSync
|
|
60
60
|
};
|
|
61
|
-
//# sourceMappingURL=chunk-
|
|
61
|
+
//# sourceMappingURL=chunk-HPGXB56F.js.map
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CAPSULE_SCHEMA_VERSION,
|
|
3
|
+
EXPORT_FORMAT
|
|
4
|
+
} from "./chunk-J4EB7DNW.js";
|
|
1
5
|
import {
|
|
2
6
|
CAPSULE_ID_PATTERN,
|
|
3
7
|
CapsuleBlockSchema,
|
|
@@ -7,10 +11,6 @@ import {
|
|
|
7
11
|
import {
|
|
8
12
|
encryptCapsuleFile
|
|
9
13
|
} from "./chunk-X7Y7WX73.js";
|
|
10
|
-
import {
|
|
11
|
-
CAPSULE_SCHEMA_VERSION,
|
|
12
|
-
EXPORT_FORMAT
|
|
13
|
-
} from "./chunk-J4EB7DNW.js";
|
|
14
14
|
import {
|
|
15
15
|
DEFAULT_TRANSFER_EXCLUDE_DIRS,
|
|
16
16
|
computeTransferOutputRel
|
|
@@ -261,4 +261,4 @@ export {
|
|
|
261
261
|
exportCapsule,
|
|
262
262
|
isValidCapsuleSince
|
|
263
263
|
};
|
|
264
|
-
//# sourceMappingURL=chunk-
|
|
264
|
+
//# sourceMappingURL=chunk-IPLYGWQF.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
getOperation,
|
|
4
4
|
operationRequiresAuthorizedNamespace,
|
|
5
5
|
operationUsesPrincipalNamespace
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G3B3LP6A.js";
|
|
7
7
|
import {
|
|
8
8
|
assertOperationAuthorizationAllowed
|
|
9
9
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -60,4 +60,4 @@ export {
|
|
|
60
60
|
authorizationProbeNamespaces,
|
|
61
61
|
authorizationProbeRequiresPrincipalNamespace
|
|
62
62
|
};
|
|
63
|
-
//# sourceMappingURL=chunk-
|
|
63
|
+
//# sourceMappingURL=chunk-ISX7JODR.js.map
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ReplitAdapter
|
|
3
|
+
} from "./chunk-TMSXWOBZ.js";
|
|
1
4
|
import {
|
|
2
5
|
ClaudeCodeAdapter
|
|
3
6
|
} from "./chunk-J64TK33U.js";
|
|
@@ -7,9 +10,6 @@ import {
|
|
|
7
10
|
import {
|
|
8
11
|
HermesAdapter
|
|
9
12
|
} from "./chunk-42NQ7AVG.js";
|
|
10
|
-
import {
|
|
11
|
-
ReplitAdapter
|
|
12
|
-
} from "./chunk-TMSXWOBZ.js";
|
|
13
13
|
|
|
14
14
|
// src/adapters/registry.ts
|
|
15
15
|
var AdapterRegistry = class {
|
|
@@ -53,4 +53,4 @@ var AdapterRegistry = class {
|
|
|
53
53
|
export {
|
|
54
54
|
AdapterRegistry
|
|
55
55
|
};
|
|
56
|
-
//# sourceMappingURL=chunk-
|
|
56
|
+
//# sourceMappingURL=chunk-JBPKEARU.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SUPPORT_PASSPORT_DRAFT_MAX_CONTENT_CHARACTERS,
|
|
3
3
|
SUPPORT_PASSPORT_DRAFT_MAX_MEMORIES
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3B3LP6A.js";
|
|
5
5
|
import {
|
|
6
6
|
SUPPORT_PASSPORT_SOURCE_MEMORY_ID_MAX_LENGTH
|
|
7
7
|
} from "./chunk-EEOUMG3J.js";
|
|
@@ -343,4 +343,4 @@ export {
|
|
|
343
343
|
parseSupportPassportModelJob,
|
|
344
344
|
SupportPassportModelBridge
|
|
345
345
|
};
|
|
346
|
-
//# sourceMappingURL=chunk-
|
|
346
|
+
//# sourceMappingURL=chunk-JNZSNJ43.js.map
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-5JMAGU26.js";
|
|
6
6
|
import {
|
|
7
7
|
runPostConsolidationMaterialize
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-XZ7QLOTJ.js";
|
|
9
9
|
import {
|
|
10
10
|
isSemanticConsolidationLlmOperator
|
|
11
11
|
} from "./chunk-G7D6GZ5J.js";
|
|
@@ -220,4 +220,4 @@ export {
|
|
|
220
220
|
buildExtensionsBlockForConsolidation,
|
|
221
221
|
materializeAfterSemanticConsolidation
|
|
222
222
|
};
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-K6PWPC7O.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
computeCorpusWatermarks,
|
|
6
6
|
resolveCorpusNamespaceRoots
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-D3AUQXTJ.js";
|
|
8
8
|
|
|
9
9
|
// src/operator-doctor-corpus.ts
|
|
10
10
|
var DIGEST_PREFIX_LENGTH = 12;
|
|
@@ -78,4 +78,4 @@ export {
|
|
|
78
78
|
corpusWatermarksFromCheck,
|
|
79
79
|
summarizeCorpusAndReplica
|
|
80
80
|
};
|
|
81
|
-
//# sourceMappingURL=chunk-
|
|
81
|
+
//# sourceMappingURL=chunk-KT3ERTF6.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-B7RWBZXW.js";
|
|
4
4
|
import {
|
|
5
5
|
StorageManager
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4PHT7KE2.js";
|
|
7
7
|
import {
|
|
8
8
|
getCachedEpisodeMap,
|
|
9
9
|
setCachedEpisodeMap
|
|
@@ -109,4 +109,4 @@ export {
|
|
|
109
109
|
compareVerifiedEpisodeResults,
|
|
110
110
|
searchVerifiedEpisodes
|
|
111
111
|
};
|
|
112
|
-
//# sourceMappingURL=chunk-
|
|
112
|
+
//# sourceMappingURL=chunk-KWLDB64F.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-7ZNJN5WZ.js";
|
|
24
24
|
import {
|
|
25
25
|
compareEntityTimestamps
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4PHT7KE2.js";
|
|
27
27
|
import {
|
|
28
28
|
normalizeEntityName
|
|
29
29
|
} from "./chunk-YXZG5TVN.js";
|
|
@@ -918,4 +918,4 @@ export {
|
|
|
918
918
|
entityIndexVersion,
|
|
919
919
|
entityRecentTranscriptLookbackHours
|
|
920
920
|
};
|
|
921
|
-
//# sourceMappingURL=chunk-
|
|
921
|
+
//# sourceMappingURL=chunk-LPSTQR26.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
keyring_exports,
|
|
6
6
|
secureStoreDir
|
|
@@ -412,4 +412,4 @@ export {
|
|
|
412
412
|
resolveNamespaceStorageRoot,
|
|
413
413
|
NamespaceStorageRouter
|
|
414
414
|
};
|
|
415
|
-
//# sourceMappingURL=chunk-
|
|
415
|
+
//# sourceMappingURL=chunk-LTWFU6VJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OKF_RESERVED_BASENAMES
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
MAGIC_BYTES
|
|
6
6
|
} from "./chunk-ET2CNMLD.js";
|
|
@@ -96,6 +96,7 @@ function lintOkfDir(memoryDir) {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
// src/okf/render.ts
|
|
99
|
+
import { randomUUID } from "crypto";
|
|
99
100
|
import { lstatSync, mkdirSync, readdirSync, renameSync, rmSync, writeFileSync } from "fs";
|
|
100
101
|
import path2 from "path";
|
|
101
102
|
var OKF_EXPORT_VERSION = "0.1";
|
|
@@ -143,6 +144,7 @@ function publishBundle(staging, outDir, force) {
|
|
|
143
144
|
try {
|
|
144
145
|
const stat = lstatSync(outDir);
|
|
145
146
|
if (stat.isSymbolicLink()) throw new Error(`--out must not be a symlink: ${outDir}`);
|
|
147
|
+
if (!stat.isDirectory()) throw new Error(`--out exists and is not a directory: ${outDir}`);
|
|
146
148
|
exists = true;
|
|
147
149
|
const entries = readdirSync(outDir).filter((name) => name !== "." && name !== "..");
|
|
148
150
|
if (entries.length > 0 && !force) {
|
|
@@ -154,7 +156,7 @@ function publishBundle(staging, outDir, force) {
|
|
|
154
156
|
}
|
|
155
157
|
mkdirSync(path2.dirname(outDir), { recursive: true });
|
|
156
158
|
if (exists && force) {
|
|
157
|
-
const backup = `${outDir}.okf-prev`;
|
|
159
|
+
const backup = `${outDir}.okf-prev-${randomUUID().slice(0, 8)}`;
|
|
158
160
|
try {
|
|
159
161
|
renameSync(outDir, backup);
|
|
160
162
|
} catch {
|
|
@@ -167,6 +169,7 @@ function publishBundle(staging, outDir, force) {
|
|
|
167
169
|
} catch (err) {
|
|
168
170
|
try {
|
|
169
171
|
renameSync(backup, outDir);
|
|
172
|
+
rmSync(staging, { recursive: true, force: true });
|
|
170
173
|
} catch {
|
|
171
174
|
}
|
|
172
175
|
throw err;
|
|
@@ -199,4 +202,4 @@ export {
|
|
|
199
202
|
publishBundle,
|
|
200
203
|
rejectSymlinkPath
|
|
201
204
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
205
|
+
//# sourceMappingURL=chunk-PVV42HM4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/okf/lint.ts","../src/okf/render.ts"],"sourcesContent":["import fs from \"node:fs\";\nimport path from \"node:path\";\n\nimport { MAGIC_BYTES } from \"../secure-store/secure-fs.js\";\nimport { OKF_RESERVED_BASENAMES } from \"./type-mapping.js\";\n\nexport interface OkfLintFinding {\n file: string;\n code: \"missing_frontmatter\" | \"missing_type\" | \"empty_type\" | \"reserved_basename\" | \"skipped_encrypted\";\n message: string;\n}\n\nexport interface OkfLintResult {\n ok: boolean;\n scanned: number;\n findings: OkfLintFinding[];\n}\n\nfunction isEncryptedBlob(raw: string): boolean {\n // secure-store writes a binary envelope starting with MAGIC_BYTES at offset\n // 0 — match that fixed position, never a substring anywhere in the file.\n return raw.startsWith(MAGIC_BYTES.toString(\"ascii\"));\n}\n\nfunction hasFrontmatter(raw: string): boolean {\n return raw.startsWith(\"---\\n\") || raw.startsWith(\"---\\r\\n\");\n}\n\nfunction readType(raw: string): string | undefined {\n const close = raw.indexOf(\"\\n---\", 4);\n if (close === -1) return undefined;\n const block = raw.slice(4, close);\n const match = /^type:[ \\t]*(.*)$/m.exec(block);\n if (!match) return undefined;\n const value = match[1]!.trim().replace(/^[\"']|[\"']$/g, \"\");\n return value;\n}\n\nfunction walkMarkdown(root: string, out: string[]): void {\n let entries: fs.Dirent[];\n try {\n entries = fs.readdirSync(root, { withFileTypes: true });\n } catch {\n return;\n }\n for (const entry of entries.sort((a, b) => a.name.localeCompare(b.name))) {\n if (entry.name === \"state\" || entry.name === \".git\") continue;\n const full = path.join(root, entry.name);\n let stat: fs.Stats;\n try {\n stat = fs.lstatSync(full);\n } catch {\n continue;\n }\n if (stat.isSymbolicLink()) continue;\n if (stat.isDirectory()) {\n walkMarkdown(full, out);\n continue;\n }\n if (stat.isFile() && entry.name.endsWith(\".md\")) out.push(full);\n }\n}\n\nexport function lintOkfDir(memoryDir: string): OkfLintResult {\n const files: string[] = [];\n walkMarkdown(memoryDir, files);\n const findings: OkfLintFinding[] = [];\n for (const file of files) {\n const rel = path.relative(memoryDir, file);\n const base = path.basename(file);\n if (OKF_RESERVED_BASENAMES[base] === true) {\n findings.push({\n file: rel,\n code: \"reserved_basename\",\n message: `${base} is reserved by OKF §6/§7`,\n });\n continue;\n }\n let raw: string;\n try {\n raw = fs.readFileSync(file, \"utf8\");\n } catch {\n continue;\n }\n if (isEncryptedBlob(raw)) {\n findings.push({\n file: rel,\n code: \"skipped_encrypted\",\n message: \"skipped (encrypted)\",\n });\n continue;\n }\n if (!hasFrontmatter(raw)) {\n findings.push({\n file: rel,\n code: \"missing_frontmatter\",\n message: \"missing YAML frontmatter\",\n });\n continue;\n }\n const type = readType(raw);\n if (type === undefined) {\n findings.push({ file: rel, code: \"missing_type\", message: \"missing type\" });\n } else if (type.length === 0) {\n findings.push({ file: rel, code: \"empty_type\", message: \"empty type\" });\n }\n }\n const actionable = findings.filter((f) => f.code !== \"skipped_encrypted\");\n return { ok: actionable.length === 0, scanned: files.length, findings };\n}\n","/**\n * Shared OKF bundle-rendering helpers (issues #1948 + #1950).\n *\n * One source of truth for the mechanics every OKF bundle exporter uses:\n * deterministic frontmatter rendering, staging-directory file writes, the\n * symlink-guarded atomic publish, and the bundle version stamp. The memory\n * exporter (transfer/export-okf.ts) and the codegraph exporter\n * (coding/export-okf-codegraph.ts) both consume this module so their\n * bundles are byte-compatible in convention (rule 38 — deterministic\n * rendering discipline; rule 9 — stable seam over shared mechanics).\n */\nimport { randomUUID } from \"node:crypto\";\nimport { lstatSync, mkdirSync, readdirSync, renameSync, rmSync, writeFileSync } from \"node:fs\";\nimport path from \"node:path\";\n\n/** OKF spec version emitted in every bundle root index. */\nexport const OKF_EXPORT_VERSION = \"0.1\";\n\n/**\n * Render a YAML frontmatter block from a flat field map.\n *\n * Key order: the canonical OKF keys first (`type`, `title`, `description`,\n * `tags`, `timestamp`), everything else alphabetical — one deterministic\n * layout so identical inputs always render byte-identical files. A key set\n * to `undefined` is omitted; callers must not pass a key twice.\n */\nexport function renderFrontmatter(fields: Record<string, unknown>): string {\n const keys = Object.keys(fields).sort((a, b) => {\n const order = [\"type\", \"title\", \"description\", \"tags\", \"timestamp\"];\n const ai = order.indexOf(a);\n const bi = order.indexOf(b);\n if (ai >= 0 || bi >= 0) return (ai < 0 ? 99 : ai) - (bi < 0 ? 99 : bi);\n return a.localeCompare(b);\n });\n const lines = keys.flatMap((key) => yamlLine(key, fields[key]));\n return `---\\n${lines.join(\"\\n\")}\\n---\\n\\n`;\n}\n\nfunction yamlLine(key: string, value: unknown): string[] {\n if (value === undefined) return [];\n if (Array.isArray(value)) {\n if (value.length === 0) return [`${key}: []`];\n if (value.every((item) => typeof item !== \"object\" || item === null)) {\n return [`${key}:`, ...value.map((item) => ` - ${yamlScalar(item)}`)];\n }\n return [`${key}: ${JSON.stringify(value)}`];\n }\n if (typeof value === \"object\" && value !== null) return [`${key}: ${JSON.stringify(value)}`];\n return [`${key}: ${yamlScalar(value)}`];\n}\n\nfunction yamlScalar(value: unknown): string {\n if (typeof value === \"string\") {\n if (value === \"\" || /[:#\\n]/.test(value) || value !== value.trim()) return JSON.stringify(value);\n return value;\n }\n return String(value);\n}\n\n/**\n * Write one file into a bundle staging tree. `rel` is a POSIX-style\n * bundle-relative path; parent directories are created as needed.\n */\nexport function writeBundleFile(root: string, rel: string, content: string): void {\n const dest = path.join(root, ...rel.split(\"/\"));\n mkdirSync(path.dirname(dest), { recursive: true });\n writeFileSync(dest, content, \"utf8\");\n}\n\n/**\n * Publish a staged bundle: refuse a non-empty target without `--force`,\n * swap via rename so the target is never observed half-written, and keep a\n * restorable backup when replacing an existing tree.\n */\nexport function publishBundle(staging: string, outDir: string, force: boolean): void {\n let exists = false;\n try {\n const stat = lstatSync(outDir);\n if (stat.isSymbolicLink()) throw new Error(`--out must not be a symlink: ${outDir}`);\n if (!stat.isDirectory()) throw new Error(`--out exists and is not a directory: ${outDir}`);\n exists = true;\n const entries = readdirSync(outDir).filter((name) => name !== \".\" && name !== \"..\");\n if (entries.length > 0 && !force) {\n rmSync(staging, { recursive: true, force: true });\n throw new Error(`--out ${outDir} is not empty; pass --force to replace it`);\n }\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n mkdirSync(path.dirname(outDir), { recursive: true });\n if (exists && force) {\n // A fixed backup name is not reusable: an earlier crash between the two\n // renames, or an unrelated directory a user created, leaves the path\n // occupied and every later --force export fails on the rename. Each\n // attempt takes its own name and removes it on both the success and the\n // rollback path.\n const backup = `${outDir}.okf-prev-${randomUUID().slice(0, 8)}`;\n try {\n renameSync(outDir, backup);\n } catch {\n rmSync(staging, { recursive: true, force: true });\n throw new Error(`cannot replace --out ${outDir}`);\n }\n try {\n renameSync(staging, outDir);\n rmSync(backup, { recursive: true, force: true });\n } catch (err) {\n try {\n renameSync(backup, outDir);\n rmSync(staging, { recursive: true, force: true });\n } catch {\n // Keep the backup when the restore itself fails: it is the only\n // surviving copy of the operator's previous bundle.\n }\n throw err;\n }\n return;\n }\n renameSync(staging, outDir);\n}\n\n/**\n * Reject a --out path with a symlink anywhere in its component chain\n * (pattern 42 + hermes-shim precedent): a symlinked component could aim\n * the atomic rename outside the operator's chosen directory.\n */\nexport function rejectSymlinkPath(target: string): void {\n let current = path.resolve(target);\n while (true) {\n try {\n if (lstatSync(current).isSymbolicLink()) {\n throw new Error(`--out path component is a symlink: ${current}`);\n }\n } catch (err) {\n if ((err as NodeJS.ErrnoException).code !== \"ENOENT\") throw err;\n }\n const parent = path.dirname(current);\n if (parent === current) break;\n current = parent;\n }\n}\n\n"],"mappings":";;;;;;;;AAAA,OAAO,QAAQ;AACf,OAAO,UAAU;AAiBjB,SAAS,gBAAgB,KAAsB;AAG7C,SAAO,IAAI,WAAW,YAAY,SAAS,OAAO,CAAC;AACrD;AAEA,SAAS,eAAe,KAAsB;AAC5C,SAAO,IAAI,WAAW,OAAO,KAAK,IAAI,WAAW,SAAS;AAC5D;AAEA,SAAS,SAAS,KAAiC;AACjD,QAAM,QAAQ,IAAI,QAAQ,SAAS,CAAC;AACpC,MAAI,UAAU,GAAI,QAAO;AACzB,QAAM,QAAQ,IAAI,MAAM,GAAG,KAAK;AAChC,QAAM,QAAQ,qBAAqB,KAAK,KAAK;AAC7C,MAAI,CAAC,MAAO,QAAO;AACnB,QAAM,QAAQ,MAAM,CAAC,EAAG,KAAK,EAAE,QAAQ,gBAAgB,EAAE;AACzD,SAAO;AACT;AAEA,SAAS,aAAa,MAAc,KAAqB;AACvD,MAAI;AACJ,MAAI;AACF,cAAU,GAAG,YAAY,MAAM,EAAE,eAAe,KAAK,CAAC;AAAA,EACxD,QAAQ;AACN;AAAA,EACF;AACA,aAAW,SAAS,QAAQ,KAAK,CAAC,GAAG,MAAM,EAAE,KAAK,cAAc,EAAE,IAAI,CAAC,GAAG;AACxE,QAAI,MAAM,SAAS,WAAW,MAAM,SAAS,OAAQ;AACrD,UAAM,OAAO,KAAK,KAAK,MAAM,MAAM,IAAI;AACvC,QAAI;AACJ,QAAI;AACF,aAAO,GAAG,UAAU,IAAI;AAAA,IAC1B,QAAQ;AACN;AAAA,IACF;AACA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AAQ,MAAM;AAAA,IAC3B,QAAQ;AACN,aAAO,SAAS,EAAE,WAAW,MAAM,OAAO,KAAK,CAAC;AAChD,YAAM,IAAI,MAAM,wBAAwB,MAAM,EAAE;AAAA,IAClD;AACA,QAAI;AACF,iBAAW,SAAS,MAAM;AAC1B,aAAO,QAAQ,EAAE,WAAW,MAAM,OAAO,KAAK,CAAC;AAAA,IACjD,SAAS,KAAK;AACZ,UAAI;AACF,mBAAW,QAAQ,MAAM;AACzB,eAAO,SAAS,EAAE,WAAW,MAAM,OAAO,KAAK,CAAC;AAAA,MAClD,QAAQ;AAAA,MAGR;AACA,YAAM;AAAA,IACR;AACA;AAAA,EACF;AACA,aAAW,SAAS,MAAM;AAC5B;AAOO,SAAS,kBAAkB,QAAsB;AACtD,MAAI,UAAUA,MAAK,QAAQ,MAAM;AACjC,SAAO,MAAM;AACX,QAAI;AACF,UAAI,UAAU,OAAO,EAAE,eAAe,GAAG;AACvC,cAAM,IAAI,MAAM,sCAAsC,OAAO,EAAE;AAAA,MACjE;AAAA,IACF,SAAS,KAAK;AACZ,UAAK,IAA8B,SAAS,SAAU,OAAM;AAAA,IAC9D;AACA,UAAM,SAASA,MAAK,QAAQ,OAAO;AACnC,QAAI,WAAW,QAAS;AACxB,cAAU;AAAA,EACZ;AACF;","names":["path"]}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-N4F7ZSSG.js";
|
|
8
8
|
import {
|
|
9
9
|
StorageManager
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4PHT7KE2.js";
|
|
11
11
|
import {
|
|
12
12
|
parseContinuityImprovementLoops
|
|
13
13
|
} from "./chunk-LDXUBPMO.js";
|
|
@@ -1283,4 +1283,4 @@ export {
|
|
|
1283
1283
|
defaultTierMigrationCycleBudget,
|
|
1284
1284
|
CompoundingEngine
|
|
1285
1285
|
};
|
|
1286
|
-
//# sourceMappingURL=chunk-
|
|
1286
|
+
//# sourceMappingURL=chunk-PWVRMD37.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseEntityFile
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
inferMemoryStatus
|
|
6
6
|
} from "./chunk-7RJUVTVF.js";
|
|
@@ -253,4 +253,4 @@ export {
|
|
|
253
253
|
WHO_KNOWS_MCP_TOOLS,
|
|
254
254
|
handleWhoKnowsHttpQuery
|
|
255
255
|
};
|
|
256
|
-
//# sourceMappingURL=chunk-
|
|
256
|
+
//# sourceMappingURL=chunk-QB66LBXA.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportError,
|
|
3
3
|
getOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3B3LP6A.js";
|
|
5
5
|
import {
|
|
6
6
|
abortError,
|
|
7
7
|
isAbortError
|
|
@@ -499,4 +499,4 @@ export {
|
|
|
499
499
|
buildSupportPassportPublicRequestHandler,
|
|
500
500
|
composeSupportPassportExternalRequestHandlers
|
|
501
501
|
};
|
|
502
|
-
//# sourceMappingURL=chunk-
|
|
502
|
+
//# sourceMappingURL=chunk-QKTGCL6M.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseFrontmatter
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
activityDigestPath,
|
|
6
6
|
isValidActivityDate
|
|
@@ -199,4 +199,4 @@ export {
|
|
|
199
199
|
buildStandup,
|
|
200
200
|
standupHelp
|
|
201
201
|
};
|
|
202
|
-
//# sourceMappingURL=chunk-
|
|
202
|
+
//# sourceMappingURL=chunk-S47XNAWD.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StorageManager
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4PHT7KE2.js";
|
|
4
4
|
import {
|
|
5
5
|
composeMemoryEnvelope
|
|
6
6
|
} from "./chunk-WKAXBXVA.js";
|
|
@@ -546,4 +546,4 @@ export {
|
|
|
546
546
|
setSemanticRulePromotionTestHooks,
|
|
547
547
|
promoteSemanticRuleFromMemory
|
|
548
548
|
};
|
|
549
|
-
//# sourceMappingURL=chunk-
|
|
549
|
+
//# sourceMappingURL=chunk-SQEIPTDV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveCorpusNamespaceRoots
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D3AUQXTJ.js";
|
|
4
4
|
import {
|
|
5
5
|
capabilityAllowsNamespace
|
|
6
6
|
} from "./chunk-MZWSOLMT.js";
|
|
@@ -200,4 +200,4 @@ async function readAggregateExtractionWatermark(options) {
|
|
|
200
200
|
export {
|
|
201
201
|
readAggregateExtractionWatermark
|
|
202
202
|
};
|
|
203
|
-
//# sourceMappingURL=chunk-
|
|
203
|
+
//# sourceMappingURL=chunk-TGKLVAML.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SupportPassportCreateGrantRequestSchema,
|
|
3
3
|
defineOperation
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G3B3LP6A.js";
|
|
5
5
|
import {
|
|
6
6
|
SupportPassportCardCategorySchema,
|
|
7
7
|
SupportPassportMemoryIdSchema,
|
|
@@ -220,4 +220,4 @@ var supportPassportGrantAskOperation = defineOperation({
|
|
|
220
220
|
result: await ctx.service.supportPassportAskGrant(grantId, secret, question, ctx.abortSignal)
|
|
221
221
|
})
|
|
222
222
|
});
|
|
223
|
-
//# sourceMappingURL=chunk-
|
|
223
|
+
//# sourceMappingURL=chunk-TS37MXC7.js.map
|