@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
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
chatgptReplayNormalizer
|
|
3
|
+
} from "./chunk-MMACM5G2.js";
|
|
1
4
|
import {
|
|
2
5
|
claudeReplayNormalizer
|
|
3
6
|
} from "./chunk-54BGIBCR.js";
|
|
@@ -5,21 +8,21 @@ import {
|
|
|
5
8
|
openclawReplayNormalizer
|
|
6
9
|
} from "./chunk-H4CKS5B2.js";
|
|
7
10
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./chunk-
|
|
11
|
+
importSqlite
|
|
12
|
+
} from "./chunk-PYHOAXTI.js";
|
|
13
|
+
import {
|
|
14
|
+
exportJsonBundle
|
|
15
|
+
} from "./chunk-UP6MOYCB.js";
|
|
10
16
|
import {
|
|
11
17
|
exportOkfBundle,
|
|
12
18
|
parseIncludeStatus
|
|
13
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6H7JWYTC.js";
|
|
14
20
|
import {
|
|
15
21
|
exportSqlite
|
|
16
22
|
} from "./chunk-BV2TIZ4F.js";
|
|
17
23
|
import {
|
|
18
24
|
importMarkdownBundle
|
|
19
25
|
} from "./chunk-HDDRVXX4.js";
|
|
20
|
-
import {
|
|
21
|
-
importSqlite
|
|
22
|
-
} from "./chunk-PYHOAXTI.js";
|
|
23
26
|
import {
|
|
24
27
|
detectImportFormat
|
|
25
28
|
} from "./chunk-OZKVVUJB.js";
|
|
@@ -32,9 +35,6 @@ import {
|
|
|
32
35
|
import {
|
|
33
36
|
exportMarkdownBundle
|
|
34
37
|
} from "./chunk-765K3SAT.js";
|
|
35
|
-
import {
|
|
36
|
-
exportJsonBundle
|
|
37
|
-
} from "./chunk-UP6MOYCB.js";
|
|
38
38
|
import {
|
|
39
39
|
buildReplayNormalizerRegistry,
|
|
40
40
|
clampBatchSize,
|
|
@@ -53,9 +53,12 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
WebDavServer
|
|
55
55
|
} from "./chunk-PYIFUBRK.js";
|
|
56
|
+
import {
|
|
57
|
+
migrateObservations
|
|
58
|
+
} from "./chunk-IIFFC3RL.js";
|
|
56
59
|
import {
|
|
57
60
|
rebuildMemoryLifecycleLedger
|
|
58
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-WD424KYT.js";
|
|
59
62
|
import {
|
|
60
63
|
rebuildObservations
|
|
61
64
|
} from "./chunk-DQTCGVFK.js";
|
|
@@ -63,8 +66,8 @@ import {
|
|
|
63
66
|
archiveObservations
|
|
64
67
|
} from "./chunk-YLBE6PLR.js";
|
|
65
68
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
69
|
+
runCompatChecks
|
|
70
|
+
} from "./chunk-CDKHKZL5.js";
|
|
68
71
|
import {
|
|
69
72
|
getBulkImportSource,
|
|
70
73
|
listBulkImportSources,
|
|
@@ -73,13 +76,7 @@ import {
|
|
|
73
76
|
} from "./chunk-HSSERO3E.js";
|
|
74
77
|
import {
|
|
75
78
|
lintOkfDir
|
|
76
|
-
} from "./chunk-
|
|
77
|
-
import {
|
|
78
|
-
runCompatChecks
|
|
79
|
-
} from "./chunk-CDKHKZL5.js";
|
|
80
|
-
import {
|
|
81
|
-
searchVerifiedEpisodes
|
|
82
|
-
} from "./chunk-SOQLXIQX.js";
|
|
79
|
+
} from "./chunk-PVV42HM4.js";
|
|
83
80
|
import {
|
|
84
81
|
getUtilityLearningStatus,
|
|
85
82
|
learnUtilityPromotionWeights
|
|
@@ -88,15 +85,18 @@ import {
|
|
|
88
85
|
getUtilityTelemetryStatus,
|
|
89
86
|
recordUtilityTelemetryEvent
|
|
90
87
|
} from "./chunk-6FC3IZ26.js";
|
|
88
|
+
import {
|
|
89
|
+
searchVerifiedEpisodes
|
|
90
|
+
} from "./chunk-KWLDB64F.js";
|
|
91
91
|
import {
|
|
92
92
|
ThreadingManager
|
|
93
93
|
} from "./chunk-OJP3N7UK.js";
|
|
94
94
|
import {
|
|
95
95
|
promoteSemanticRuleFromMemory
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-SQEIPTDV.js";
|
|
97
97
|
import {
|
|
98
98
|
searchVerifiedSemanticRules
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-EMAEDM2J.js";
|
|
100
100
|
import {
|
|
101
101
|
buildResumeBundleFromState,
|
|
102
102
|
getResumeBundleStatus,
|
|
@@ -125,7 +125,7 @@ import {
|
|
|
125
125
|
runOperatorInventory,
|
|
126
126
|
runOperatorRepair,
|
|
127
127
|
runOperatorSetup
|
|
128
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-Y2ECPAJI.js";
|
|
129
129
|
import {
|
|
130
130
|
analyzeSessionIntegrity,
|
|
131
131
|
applySessionRepair,
|
|
@@ -162,7 +162,7 @@ import {
|
|
|
162
162
|
} from "./chunk-UOBPK2OS.js";
|
|
163
163
|
import {
|
|
164
164
|
searchHarmonicRetrieval
|
|
165
|
-
} from "./chunk-
|
|
165
|
+
} from "./chunk-5E7KXID5.js";
|
|
166
166
|
import {
|
|
167
167
|
createEvalBaselineSnapshot,
|
|
168
168
|
getEvalHarnessStatus,
|
|
@@ -176,13 +176,13 @@ import {
|
|
|
176
176
|
rebuildMemoryProjection,
|
|
177
177
|
repairMemoryProjection,
|
|
178
178
|
verifyMemoryProjection
|
|
179
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-ZIGSNLYI.js";
|
|
180
180
|
import {
|
|
181
181
|
getCueAnchorStoreStatus
|
|
182
182
|
} from "./chunk-ACPCA4NO.js";
|
|
183
183
|
import {
|
|
184
184
|
GraphDashboardServer
|
|
185
|
-
} from "./chunk-
|
|
185
|
+
} from "./chunk-YNDLCWXS.js";
|
|
186
186
|
import {
|
|
187
187
|
buildConnectorRowsFromDefinitions,
|
|
188
188
|
parseConnectorsListOptions,
|
|
@@ -207,7 +207,7 @@ import {
|
|
|
207
207
|
import {
|
|
208
208
|
EngramAccessHttpServer,
|
|
209
209
|
MeetingsInputError
|
|
210
|
-
} from "./chunk-
|
|
210
|
+
} from "./chunk-4QKWBVEE.js";
|
|
211
211
|
import {
|
|
212
212
|
WearablesInputError
|
|
213
213
|
} from "./chunk-V7IZKJI3.js";
|
|
@@ -217,13 +217,13 @@ import {
|
|
|
217
217
|
loadChatSession,
|
|
218
218
|
processChatMessage,
|
|
219
219
|
sessionBelongsToPrincipal
|
|
220
|
-
} from "./chunk-
|
|
220
|
+
} from "./chunk-C6TMLF3A.js";
|
|
221
221
|
import {
|
|
222
222
|
getAbstractionNodeStoreStatus
|
|
223
223
|
} from "./chunk-DJUKBGAD.js";
|
|
224
224
|
import {
|
|
225
225
|
EngramAccessService
|
|
226
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-G3B3LP6A.js";
|
|
227
227
|
import {
|
|
228
228
|
WorkStorage
|
|
229
229
|
} from "./chunk-GDB4J2H3.js";
|
|
@@ -243,7 +243,7 @@ import {
|
|
|
243
243
|
} from "./chunk-H6RSANGQ.js";
|
|
244
244
|
import {
|
|
245
245
|
readAggregateExtractionWatermark
|
|
246
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-TGKLVAML.js";
|
|
247
247
|
import {
|
|
248
248
|
getObjectiveStateStoreStatus
|
|
249
249
|
} from "./chunk-HTP6XRUI.js";
|
|
@@ -252,15 +252,15 @@ import {
|
|
|
252
252
|
readMemoryGovernanceRunArtifact,
|
|
253
253
|
restoreMemoryGovernanceRun,
|
|
254
254
|
runMemoryGovernance
|
|
255
|
-
} from "./chunk-
|
|
255
|
+
} from "./chunk-7FLINMUE.js";
|
|
256
256
|
import {
|
|
257
257
|
listNamespaces,
|
|
258
258
|
runNamespaceMigration,
|
|
259
259
|
verifyNamespaces
|
|
260
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-7MOYAT4Y.js";
|
|
261
261
|
import {
|
|
262
262
|
resolveNamespaceChildRoot
|
|
263
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-3UXOZBHV.js";
|
|
264
264
|
import {
|
|
265
265
|
analyzeGraphHealth
|
|
266
266
|
} from "./chunk-YMOPYG3K.js";
|
|
@@ -268,7 +268,7 @@ import {
|
|
|
268
268
|
OKF_RESERVED_BASENAMES,
|
|
269
269
|
meetingIdDate,
|
|
270
270
|
okfTypeForCategory
|
|
271
|
-
} from "./chunk-
|
|
271
|
+
} from "./chunk-4PHT7KE2.js";
|
|
272
272
|
import {
|
|
273
273
|
isValidTranscriptDate
|
|
274
274
|
} from "./chunk-UHVXE24Y.js";
|
|
@@ -379,7 +379,7 @@ import {
|
|
|
379
379
|
} from "./chunk-3WCASNQZ.js";
|
|
380
380
|
|
|
381
381
|
// src/cli.ts
|
|
382
|
-
import
|
|
382
|
+
import path6 from "path";
|
|
383
383
|
import { access, lstat as lstat3, readFile as readFile2, readdir as readdir3, realpath as realpath3, unlink } from "fs/promises";
|
|
384
384
|
import { createHash } from "crypto";
|
|
385
385
|
|
|
@@ -1177,9 +1177,6 @@ function registerMeetingsCommands(cmd, orchestrator) {
|
|
|
1177
1177
|
});
|
|
1178
1178
|
}
|
|
1179
1179
|
|
|
1180
|
-
// src/cli/okf-commands.ts
|
|
1181
|
-
import path3 from "path";
|
|
1182
|
-
|
|
1183
1180
|
// src/okf/sweep.ts
|
|
1184
1181
|
import fs from "fs";
|
|
1185
1182
|
import path from "path";
|
|
@@ -1401,9 +1398,9 @@ function registerExportOkfCommand(exportCmd, orchestrator) {
|
|
|
1401
1398
|
if (!out) throw new Error("Missing --out");
|
|
1402
1399
|
const includeStatus = parseIncludeStatus(options.includeStatus);
|
|
1403
1400
|
const namespace = options.namespace ? String(options.namespace) : "";
|
|
1404
|
-
const memoryDir = namespace ? path3.join(orchestrator.config.memoryDir, "namespaces", namespace) : orchestrator.config.memoryDir;
|
|
1405
1401
|
const result = await exportOkfBundle({
|
|
1406
|
-
memoryDir,
|
|
1402
|
+
memoryDir: orchestrator.config.memoryDir,
|
|
1403
|
+
namespace,
|
|
1407
1404
|
outDir: out,
|
|
1408
1405
|
includeStatus,
|
|
1409
1406
|
includeCategories: options.includeCategories ? String(options.includeCategories).split(",") : void 0,
|
|
@@ -1424,13 +1421,13 @@ function registerExportOkfCommand(exportCmd, orchestrator) {
|
|
|
1424
1421
|
|
|
1425
1422
|
// src/procedural/skill-io.ts
|
|
1426
1423
|
import { lstat, mkdir, readdir, readFile, realpath, writeFile } from "fs/promises";
|
|
1427
|
-
import
|
|
1424
|
+
import path3 from "path";
|
|
1428
1425
|
async function exportSkillBundles(options) {
|
|
1429
|
-
const outDir =
|
|
1426
|
+
const outDir = path3.resolve(options.outDir);
|
|
1430
1427
|
await mkdir(outDir, { recursive: true });
|
|
1431
1428
|
const slugs = [];
|
|
1432
1429
|
for (const bundle of options.bundles) {
|
|
1433
|
-
const dir =
|
|
1430
|
+
const dir = path3.join(outDir, bundle.slug);
|
|
1434
1431
|
if (!pathIsInside(outDir, dir)) {
|
|
1435
1432
|
throw new Error(`skill export: refusing to write outside ${outDir} (slug ${bundle.slug})`);
|
|
1436
1433
|
}
|
|
@@ -1443,7 +1440,7 @@ async function exportSkillBundles(options) {
|
|
|
1443
1440
|
if (err.code !== "ENOENT") throw err;
|
|
1444
1441
|
}
|
|
1445
1442
|
await mkdir(dir, { recursive: true });
|
|
1446
|
-
const skillPath =
|
|
1443
|
+
const skillPath = path3.join(dir, SKILL_FILE_NAME);
|
|
1447
1444
|
try {
|
|
1448
1445
|
const existingSkill = await lstat(skillPath);
|
|
1449
1446
|
if (existingSkill.isSymbolicLink()) {
|
|
@@ -1458,7 +1455,7 @@ async function exportSkillBundles(options) {
|
|
|
1458
1455
|
return { outDir, slugs };
|
|
1459
1456
|
}
|
|
1460
1457
|
async function readSkillBundlesFromDir(dir) {
|
|
1461
|
-
const root =
|
|
1458
|
+
const root = path3.resolve(dir);
|
|
1462
1459
|
const rootStat = await lstat(root);
|
|
1463
1460
|
if (rootStat.isSymbolicLink()) {
|
|
1464
1461
|
throw new Error(`skill import: refusing to walk symlinked directory ${root}`);
|
|
@@ -1478,13 +1475,13 @@ async function readSkillBundlesFromDir(dir) {
|
|
|
1478
1475
|
continue;
|
|
1479
1476
|
}
|
|
1480
1477
|
if (!entry.isDirectory()) continue;
|
|
1481
|
-
const bundleDir =
|
|
1478
|
+
const bundleDir = path3.join(root, entry.name);
|
|
1482
1479
|
const bundleReal = await realpath(bundleDir);
|
|
1483
1480
|
if (!pathIsInside(rootReal, bundleReal)) {
|
|
1484
1481
|
skipped.push({ entry: entry.name, reason: "resolves outside the import root" });
|
|
1485
1482
|
continue;
|
|
1486
1483
|
}
|
|
1487
|
-
const skillPath =
|
|
1484
|
+
const skillPath = path3.join(bundleDir, SKILL_FILE_NAME);
|
|
1488
1485
|
let skillStat;
|
|
1489
1486
|
try {
|
|
1490
1487
|
skillStat = await lstat(skillPath);
|
|
@@ -2021,10 +2018,10 @@ function registerCreationLedgerCommands(cmd, orchestrator) {
|
|
|
2021
2018
|
}
|
|
2022
2019
|
|
|
2023
2020
|
// src/maintenance/rebuild-memory-lifecycle-ledger-cli.ts
|
|
2024
|
-
import
|
|
2021
|
+
import path4 from "path";
|
|
2025
2022
|
async function runRebuildMemoryLifecycleLedgerCliCommand(options) {
|
|
2026
2023
|
const storage = options.storage;
|
|
2027
|
-
const ledgerPath =
|
|
2024
|
+
const ledgerPath = path4.join(options.memoryDir, "state", "memory-lifecycle-ledger.jsonl");
|
|
2028
2025
|
const encrypted = await probeEncryptedRegularFileHeader(ledgerPath);
|
|
2029
2026
|
if (encrypted && !(storage?.isSecureStoreUnlocked() ?? false)) {
|
|
2030
2027
|
throw new Error(
|
|
@@ -2522,7 +2519,7 @@ assistant> ${result.reply}
|
|
|
2522
2519
|
// src/training-export/converter.ts
|
|
2523
2520
|
import { constants } from "fs";
|
|
2524
2521
|
import { lstat as lstat2, open, readdir as readdir2, realpath as realpath2 } from "fs/promises";
|
|
2525
|
-
import
|
|
2522
|
+
import path5 from "path";
|
|
2526
2523
|
function parseFrontmatter(raw) {
|
|
2527
2524
|
const match = raw.match(/^---\n([\s\S]*?)\n---\n?([\s\S]*)$/);
|
|
2528
2525
|
if (!match) return null;
|
|
@@ -2562,7 +2559,7 @@ async function safeRealpath(p) {
|
|
|
2562
2559
|
}
|
|
2563
2560
|
}
|
|
2564
2561
|
function isContainedPath(real, containmentRoot) {
|
|
2565
|
-
return real === containmentRoot || real.startsWith(containmentRoot +
|
|
2562
|
+
return real === containmentRoot || real.startsWith(containmentRoot + path5.sep);
|
|
2566
2563
|
}
|
|
2567
2564
|
async function collectMarkdownFiles(dir, containmentRoot) {
|
|
2568
2565
|
const files = [];
|
|
@@ -2582,7 +2579,7 @@ async function collectMarkdownFiles(dir, containmentRoot) {
|
|
|
2582
2579
|
}
|
|
2583
2580
|
const sorted = [...entries].sort((a, b) => a.name.localeCompare(b.name));
|
|
2584
2581
|
for (const entry of sorted) {
|
|
2585
|
-
const full =
|
|
2582
|
+
const full = path5.join(d, entry.name);
|
|
2586
2583
|
if (entry.isSymbolicLink()) continue;
|
|
2587
2584
|
if (entry.isDirectory()) {
|
|
2588
2585
|
await walk(full);
|
|
@@ -2664,9 +2661,9 @@ async function convertMemoriesToRecords(options) {
|
|
|
2664
2661
|
const { memoryDir } = options;
|
|
2665
2662
|
const containmentRoot = await safeRealpath(memoryDir);
|
|
2666
2663
|
if (!containmentRoot) return [];
|
|
2667
|
-
const dirs = RECALL_FALLBACK_DIRS.map((dir) =>
|
|
2664
|
+
const dirs = RECALL_FALLBACK_DIRS.map((dir) => path5.join(memoryDir, dir));
|
|
2668
2665
|
if (options.includeEntities) {
|
|
2669
|
-
dirs.push(
|
|
2666
|
+
dirs.push(path5.join(memoryDir, "entities"));
|
|
2670
2667
|
}
|
|
2671
2668
|
const allFiles = [];
|
|
2672
2669
|
for (const dir of dirs) {
|
|
@@ -3674,7 +3671,7 @@ function policyVersionForValues(values, config) {
|
|
|
3674
3671
|
return createHash("sha256").update(JSON.stringify(normalized)).digest("hex").slice(0, 12);
|
|
3675
3672
|
}
|
|
3676
3673
|
async function readRuntimePolicySnapshot2(config, fileName) {
|
|
3677
|
-
const filePath =
|
|
3674
|
+
const filePath = path6.join(config.memoryDir, "state", fileName);
|
|
3678
3675
|
const snapshot = await readRuntimePolicySnapshot(filePath, {
|
|
3679
3676
|
maxStaleDecayThreshold: config.lifecycleArchiveDecayThreshold
|
|
3680
3677
|
});
|
|
@@ -4451,7 +4448,7 @@ async function exists(p) {
|
|
|
4451
4448
|
}
|
|
4452
4449
|
}
|
|
4453
4450
|
function assertSafeNamespaceSegment(namespace) {
|
|
4454
|
-
if (namespace.length === 0 || namespace === "." || namespace === ".." || namespace.includes("/") || namespace.includes("\\") ||
|
|
4451
|
+
if (namespace.length === 0 || namespace === "." || namespace === ".." || namespace.includes("/") || namespace.includes("\\") || path6.isAbsolute(namespace) || path6.win32.isAbsolute(namespace)) {
|
|
4455
4452
|
throw new Error(`invalid namespace: ${namespace}`);
|
|
4456
4453
|
}
|
|
4457
4454
|
}
|
|
@@ -4501,7 +4498,7 @@ async function walkMemoryMarkdownFiles(memoryDir, visit) {
|
|
|
4501
4498
|
for (const entry of entries) {
|
|
4502
4499
|
if (entry.isSymbolicLink()) continue;
|
|
4503
4500
|
const entryName = typeof entry.name === "string" ? entry.name : entry.name.toString("utf-8");
|
|
4504
|
-
const fullPath =
|
|
4501
|
+
const fullPath = path6.join(dir, entryName);
|
|
4505
4502
|
try {
|
|
4506
4503
|
assertPathInsideRoot(memoryRootReal, await realpath3(fullPath), fullPath);
|
|
4507
4504
|
} catch (err) {
|
|
@@ -4516,7 +4513,7 @@ async function walkMemoryMarkdownFiles(memoryDir, visit) {
|
|
|
4516
4513
|
await visit(fullPath);
|
|
4517
4514
|
}
|
|
4518
4515
|
};
|
|
4519
|
-
for (const root of RECALL_FALLBACK_DIRS.map((dir) =>
|
|
4516
|
+
for (const root of RECALL_FALLBACK_DIRS.map((dir) => path6.join(memoryDir, dir))) {
|
|
4520
4517
|
await walk(root);
|
|
4521
4518
|
}
|
|
4522
4519
|
}
|
|
@@ -5126,7 +5123,7 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5126
5123
|
if (plan.moved.length > 0) {
|
|
5127
5124
|
console.log("\nEntries:");
|
|
5128
5125
|
for (const move of plan.moved) {
|
|
5129
|
-
console.log(`- ${
|
|
5126
|
+
console.log(`- ${path6.basename(move.from)}`);
|
|
5130
5127
|
}
|
|
5131
5128
|
}
|
|
5132
5129
|
if (dryRun) {
|
|
@@ -5427,15 +5424,15 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5427
5424
|
const capsulesDir = defaultCapsulesDir(memoryDir);
|
|
5428
5425
|
const { stat: statMerge } = await import("fs/promises");
|
|
5429
5426
|
let sourceArchive = expandTildePath(parsed.archive);
|
|
5430
|
-
const looksLikePath = sourceArchive.startsWith("/") || sourceArchive.startsWith("./") || sourceArchive.startsWith("../") || sourceArchive.includes(
|
|
5427
|
+
const looksLikePath = sourceArchive.startsWith("/") || sourceArchive.startsWith("./") || sourceArchive.startsWith("../") || sourceArchive.includes(path6.sep);
|
|
5431
5428
|
if (!looksLikePath) {
|
|
5432
|
-
const cwdResolved =
|
|
5429
|
+
const cwdResolved = path6.resolve(sourceArchive);
|
|
5433
5430
|
const cwdSt = await statMerge(cwdResolved).catch(() => null);
|
|
5434
5431
|
if (cwdSt && cwdSt.isFile()) {
|
|
5435
5432
|
sourceArchive = cwdResolved;
|
|
5436
5433
|
} else {
|
|
5437
|
-
const byId =
|
|
5438
|
-
const byIdEnc =
|
|
5434
|
+
const byId = path6.join(capsulesDir, `${sourceArchive}.capsule.json.gz`);
|
|
5435
|
+
const byIdEnc = path6.join(capsulesDir, `${sourceArchive}.capsule.json.gz.enc`);
|
|
5439
5436
|
const stId = await statMerge(byId).catch(() => null);
|
|
5440
5437
|
if (stId && stId.isFile()) {
|
|
5441
5438
|
sourceArchive = byId;
|
|
@@ -5516,10 +5513,10 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5516
5513
|
).sort();
|
|
5517
5514
|
const entries = [];
|
|
5518
5515
|
for (const archiveName of archives) {
|
|
5519
|
-
const archivePath =
|
|
5516
|
+
const archivePath = path6.join(capsulesDir, archiveName);
|
|
5520
5517
|
const id = archiveName.replace(/\.capsule\.json\.gz\.enc$/, "").replace(/\.capsule\.json\.gz$/, "");
|
|
5521
5518
|
const manifestName = `${id}.manifest.json`;
|
|
5522
|
-
const manifestPath =
|
|
5519
|
+
const manifestPath = path6.join(capsulesDir, manifestName);
|
|
5523
5520
|
let createdAt = null;
|
|
5524
5521
|
let pluginVersion = null;
|
|
5525
5522
|
let fileCount = null;
|
|
@@ -5574,15 +5571,15 @@ function registerCli(api, orchestrator, registerOptions = {}) {
|
|
|
5574
5571
|
const parsed = parseCapsuleInspectOptions(archiveArg, opts);
|
|
5575
5572
|
const { stat } = await import("fs/promises");
|
|
5576
5573
|
let archivePath = expandTildePath(parsed.archive);
|
|
5577
|
-
const looksLikePath = archivePath.startsWith("/") || archivePath.startsWith("./") || archivePath.startsWith("../") || archivePath.includes(
|
|
5574
|
+
const looksLikePath = archivePath.startsWith("/") || archivePath.startsWith("./") || archivePath.startsWith("../") || archivePath.includes(path6.sep);
|
|
5578
5575
|
if (!looksLikePath) {
|
|
5579
|
-
const cwdResolved =
|
|
5576
|
+
const cwdResolved = path6.resolve(archivePath);
|
|
5580
5577
|
const cwdSt = await stat(cwdResolved).catch(() => null);
|
|
5581
5578
|
if (cwdSt && cwdSt.isFile()) {
|
|
5582
5579
|
archivePath = cwdResolved;
|
|
5583
5580
|
} else {
|
|
5584
|
-
const byId =
|
|
5585
|
-
const byIdEnc =
|
|
5581
|
+
const byId = path6.join(capsulesDir, `${archivePath}.capsule.json.gz`);
|
|
5582
|
+
const byIdEnc = path6.join(capsulesDir, `${archivePath}.capsule.json.gz.enc`);
|
|
5586
5583
|
const st = await stat(byId).catch(() => null);
|
|
5587
5584
|
if (st && st.isFile()) {
|
|
5588
5585
|
archivePath = byId;
|
|
@@ -7573,7 +7570,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7573
7570
|
return;
|
|
7574
7571
|
}
|
|
7575
7572
|
const expandedTarget = expandTildePath(rawTarget);
|
|
7576
|
-
const targetPath =
|
|
7573
|
+
const targetPath = path6.isAbsolute(expandedTarget) ? expandedTarget : path6.join(orchestrator.config.memoryDir, expandedTarget);
|
|
7577
7574
|
const { runConsolidationUndo, formatConsolidationUndoResult } = await import("./consolidation-undo.js");
|
|
7578
7575
|
const result = await runConsolidationUndo({
|
|
7579
7576
|
storage: orchestrator.storage,
|
|
@@ -7611,7 +7608,7 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7611
7608
|
}
|
|
7612
7609
|
});
|
|
7613
7610
|
cmd.command("identity").description("Show agent identity reflections").action(async () => {
|
|
7614
|
-
const workspaceDir =
|
|
7611
|
+
const workspaceDir = path6.join(resolveHomeDir(), ".openclaw", "workspace");
|
|
7615
7612
|
const identity = await orchestrator.storage.readIdentity(workspaceDir);
|
|
7616
7613
|
if (!identity) {
|
|
7617
7614
|
console.log("No identity file found.");
|
|
@@ -7834,8 +7831,8 @@ Semantic consolidation complete. clusters=${result.clustersFound}, consolidated=
|
|
|
7834
7831
|
const options = args[0] ?? {};
|
|
7835
7832
|
const threadId = options.thread;
|
|
7836
7833
|
const top = parseInt(options.top ?? "10", 10);
|
|
7837
|
-
const memoryDir =
|
|
7838
|
-
const threading = new ThreadingManager(
|
|
7834
|
+
const memoryDir = path6.join(resolveHomeDir(), ".openclaw", "workspace", "memory", "local");
|
|
7835
|
+
const threading = new ThreadingManager(path6.join(memoryDir, "threads"));
|
|
7839
7836
|
if (threadId) {
|
|
7840
7837
|
const thread = await threading.loadThread(threadId);
|
|
7841
7838
|
if (!thread) {
|
|
@@ -8865,4 +8862,4 @@ export {
|
|
|
8865
8862
|
listMemoryMarkdownFilePaths,
|
|
8866
8863
|
registerCli
|
|
8867
8864
|
};
|
|
8868
|
-
//# sourceMappingURL=chunk-
|
|
8865
|
+
//# sourceMappingURL=chunk-UWOA5L6N.js.map
|