mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-08 19:12:22 +00:00
refactor(extensions): remove unused private helpers
This commit is contained in:
@@ -165,16 +165,6 @@ export async function writeMemoryCoreWorkspaceEntry(
|
||||
);
|
||||
}
|
||||
|
||||
export async function deleteMemoryCoreWorkspaceEntry(params: {
|
||||
namespace: string;
|
||||
workspaceDir: string;
|
||||
key: string;
|
||||
}): Promise<boolean> {
|
||||
return await openWorkspaceStore(params.namespace).delete(
|
||||
memoryCoreWorkspaceEntryKey(params.workspaceDir, params.key),
|
||||
);
|
||||
}
|
||||
|
||||
export async function clearMemoryCoreWorkspaceNamespace(params: {
|
||||
namespace: string;
|
||||
workspaceDir: string;
|
||||
|
||||
@@ -2526,10 +2526,6 @@ export function resolveShortTermRecallStorePath(workspaceDir: string): string {
|
||||
return resolveStorePath(workspaceDir);
|
||||
}
|
||||
|
||||
export function resolveShortTermPhaseSignalStorePath(workspaceDir: string): string {
|
||||
return resolvePhaseSignalPath(workspaceDir);
|
||||
}
|
||||
|
||||
export function resolveShortTermRecallLockPath(workspaceDir: string): string {
|
||||
return resolveLockPath(workspaceDir);
|
||||
}
|
||||
|
||||
@@ -104,10 +104,6 @@ export async function claimRecentInboundMessageDelivery(
|
||||
return claim.kind;
|
||||
}
|
||||
|
||||
export async function claimRecentInboundMessage(key: string): Promise<boolean> {
|
||||
return (await claimRecentInboundMessageDelivery(key)) === "claimed";
|
||||
}
|
||||
|
||||
export async function commitRecentInboundMessage(key: string): Promise<void> {
|
||||
await claimableInboundMessages.commit(key);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user