mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:30:42 +00:00
fix(memory-host): preserve core resolver exports in sdk shims
This commit is contained in:
@@ -1,24 +1,56 @@
|
||||
export * from "../../packages/memory-host-sdk/src/engine-foundation.js";
|
||||
export {
|
||||
CHARS_PER_TOKEN_ESTIMATE,
|
||||
HEARTBEAT_PROMPT,
|
||||
HEARTBEAT_TOKEN,
|
||||
SILENT_REPLY_TOKEN,
|
||||
getMemoryHostServices,
|
||||
setMemoryHostServices,
|
||||
withMemoryHostServices,
|
||||
type MemoryHostServices,
|
||||
} from "../../packages/memory-host-sdk/src/engine-foundation.js";
|
||||
export {
|
||||
resolveAgentContextLimits,
|
||||
resolveAgentDir,
|
||||
resolveAgentWorkspaceDir,
|
||||
resolveDefaultAgentId,
|
||||
resolveSessionAgentId,
|
||||
} from "../agents/agent-scope.js";
|
||||
export {
|
||||
resolveMemorySearchConfig,
|
||||
resolveMemorySearchSyncConfig,
|
||||
type ResolvedMemorySearchConfig,
|
||||
type ResolvedMemorySearchSyncConfig,
|
||||
} from "../agents/memory-search.js";
|
||||
export { parseDurationMs } from "../cli/parse-duration.js";
|
||||
export { loadConfig } from "../config/config.js";
|
||||
export type { OpenClawConfig } from "../config/config.js";
|
||||
export { resolveStateDir } from "../config/paths.js";
|
||||
export { resolveSessionTranscriptsDirForAgent } from "../config/sessions/paths.js";
|
||||
export {
|
||||
hasConfiguredSecretInput,
|
||||
normalizeResolvedSecretInputString,
|
||||
type SecretInput,
|
||||
} from "../config/types.secrets.js";
|
||||
export type { SessionSendPolicyConfig } from "../config/types.base.js";
|
||||
export type {
|
||||
MemoryBackend,
|
||||
MemoryCitationsMode,
|
||||
MemoryQmdConfig,
|
||||
MemoryQmdIndexPath,
|
||||
MemoryQmdMcporterConfig,
|
||||
MemoryQmdSearchMode,
|
||||
} from "../config/types.memory.js";
|
||||
export type { MemorySearchConfig } from "../config/types.tools.js";
|
||||
export { writeFileWithinRoot } from "../infra/fs-safe.js";
|
||||
export { createSubsystemLogger } from "../logging/subsystem.js";
|
||||
export { detectMime } from "../media/mime.js";
|
||||
export { onSessionTranscriptUpdate } from "../sessions/transcript-events.js";
|
||||
export { resolveGlobalSingleton } from "../shared/global-singleton.js";
|
||||
export { runTasksWithConcurrency } from "../utils/run-with-concurrency.js";
|
||||
export { shortenHomeInString, shortenHomePath, truncateUtf16Safe } from "../utils.js";
|
||||
export { splitShellArgs } from "../utils/shell-argv.js";
|
||||
export {
|
||||
resolveUserPath,
|
||||
shortenHomeInString,
|
||||
shortenHomePath,
|
||||
truncateUtf16Safe,
|
||||
} from "../utils.js";
|
||||
|
||||
@@ -1,4 +1,10 @@
|
||||
export * from "../../packages/memory-host-sdk/src/runtime-core.js";
|
||||
export {
|
||||
SILENT_REPLY_TOKEN,
|
||||
getMemoryHostServices,
|
||||
setMemoryHostServices,
|
||||
withMemoryHostServices,
|
||||
type MemoryHostServices,
|
||||
} from "../../packages/memory-host-sdk/src/runtime-core.js";
|
||||
export { DEFAULT_PI_COMPACTION_RESERVE_TOKENS_FLOOR } from "../agents/pi-settings.js";
|
||||
export {
|
||||
asToolParamsRecord,
|
||||
@@ -9,13 +15,13 @@ export {
|
||||
} from "../agents/tools/common.js";
|
||||
export { resolveCronStyleNow } from "../agents/current-time.js";
|
||||
export { resolveDefaultAgentId, resolveSessionAgentId } from "../agents/agent-scope.js";
|
||||
export { resolveMemorySearchConfig } from "../agents/memory-search.js";
|
||||
export { parseNonNegativeByteSize } from "../config/byte-size.js";
|
||||
export {
|
||||
getRuntimeConfig,
|
||||
/** @deprecated Use getRuntimeConfig(), or pass the already loaded config through the call path. */
|
||||
loadConfig,
|
||||
} from "../config/config.js";
|
||||
export { getRuntimeConfig, loadConfig } from "../config/config.js";
|
||||
export type { OpenClawConfig } from "../config/config.js";
|
||||
export { resolveStateDir } from "../config/paths.js";
|
||||
export { resolveSessionTranscriptsDirForAgent } from "../config/sessions/paths.js";
|
||||
export type { MemoryCitationsMode } from "../config/types.memory.js";
|
||||
export { emptyPluginConfigSchema } from "../plugins/config-schema.js";
|
||||
export type {
|
||||
MemoryCorpusGetResult,
|
||||
|
||||
Reference in New Issue
Block a user