@tipolink/mcp 1.0.0 → 1.0.2

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.
@@ -1,4 +1,5 @@
1
- import { type FileAstManifest, type WorkspaceIndex } from '@tipolink/engine';
1
+ import { CACHE_SCHEMA_VERSION, type FileAstManifest, type WorkspaceIndex } from '@tipolink/engine';
2
+ export { CACHE_SCHEMA_VERSION };
2
3
  export interface ScanWorkspaceOptions {
3
4
  cachePath?: string;
4
5
  workspaceId?: string;
@@ -8,6 +9,8 @@ export interface ScanWorkspaceResult {
8
9
  workspaceId: string;
9
10
  rootDir: string;
10
11
  cachePath: string;
12
+ schemaVersion: string;
13
+ schemaInvalidated: boolean;
11
14
  allManifests: FileAstManifest[];
12
15
  manifestDelta: FileAstManifest[];
13
16
  removedPaths: string[];
@@ -15,6 +18,12 @@ export interface ScanWorkspaceResult {
15
18
  parsedCount: number;
16
19
  index: WorkspaceIndex;
17
20
  }
21
+ /**
22
+ * Compute a deterministic sync fingerprint incorporating the manifest schema version,
23
+ * raw file SHA-256, and disk-verified asset / import edge metadata so schema upgrades
24
+ * and static asset additions/deletions trigger fresh Cloud syncs automatically.
25
+ */
26
+ export declare function computeManifestSyncHash(manifest: FileAstManifest): string;
18
27
  export declare function deriveWorkspaceId(rootDir: string): string;
19
28
  /**
20
29
  * Strips any unexpected fields and returns a strictly privacy-safe FileAstManifest