Skip to content

Commit 5ce7d36

Browse files
committed
refactor(memory-core): use plugin sdk text runtime
1 parent d882e39 commit 5ce7d36

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/memory-core/src/dreaming-narrative.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { createHash } from "node:crypto";
33
import type { Dirent } from "node:fs";
44
import fs from "node:fs/promises";
55
import path from "node:path";
6-
import { truncateUtf16Safe } from "@openclaw/normalization-core/utf16-slice";
76
import { createAsyncLock } from "openclaw/plugin-sdk/async-lock-runtime";
87
import {
98
extractErrorCode,
@@ -16,6 +15,7 @@ import { resolveGlobalMap } from "openclaw/plugin-sdk/global-singleton";
1615
import { resolveStateDir } from "openclaw/plugin-sdk/memory-core-host-runtime-core";
1716
import { getRuntimeConfig } from "openclaw/plugin-sdk/runtime-config-snapshot";
1817
import { cleanupSessionLifecycleArtifacts } from "openclaw/plugin-sdk/session-store-runtime";
18+
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
1919
import { readDreamsFile, resolveDreamsPath, updateDreamsFile } from "./dreaming-dreams-file.js";
2020

2121
// ── Types ──────────────────────────────────────────────────────────────

0 commit comments

Comments
 (0)