file event improvement using midhash

This commit is contained in:
Pierre
2026-02-08 17:01:01 +01:00
parent 2baa9a6925
commit 60772847b2
9 changed files with 289 additions and 676 deletions
+2 -2
View File
@@ -27,7 +27,7 @@ export interface StreamMessage {
// Direct file event fields (from meta-core)
path?: string;
size?: string;
partialHash?: string;
midhash256?: string; // midhash256 CID computed by meta-core
oldPath?: string;
// Legacy payload field (for backward compatibility)
payload?: string;
@@ -657,7 +657,7 @@ export class RedisClient implements Partial<IKVClient> {
type: fieldMap.type as StreamMessage['type'],
path: fieldMap.path,
size: fieldMap.size,
partialHash: fieldMap.partialHash,
midhash256: fieldMap.midhash256,
oldPath: fieldMap.oldPath,
payload: fieldMap.payload,
timestamp: fieldMap.timestamp || '0',
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
-13
View File
@@ -1,13 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>meta-dup - Duplicate Detection</title>
<script type="module" crossorigin src="/assets/index-GT6exvk4.js"></script>
</head>
<body>
<div id="root"></div>
</body>
</html>