Skip to content

Graphorin API reference v0.12.1


Graphorin API reference / @graphorin/memory / / MigrationProgress

Interface: MigrationProgress

Defined in: packages/memory/src/migration/embedder-migration.ts:30

Per-iteration progress snapshot yielded by migrateEmbedder.

Stable

Properties

PropertyModifierTypeDescriptionDefined in
kindreadonly"fact" | "episode" | "message"'fact', 'episode', or 'message' - which entity is being migrated.packages/memory/src/migration/embedder-migration.ts:32
migrationIdreadonlystringIdentifier for this migration run. With a state store wired (wave-D D5 / MST-12) this is the PERSISTED migration_state row id - a resumed run reports the original id. Without one it is an in-memory id and the migration does not resume across processes.packages/memory/src/migration/embedder-migration.ts:47
phasereadonly"aborted" | "paused" | "running" | "planning" | "committed"Phase discriminator.packages/memory/src/migration/embedder-migration.ts:49
processedreadonlynumberNumber of records processed so far.packages/memory/src/migration/embedder-migration.ts:34
sourcereadonlystringIdentifier of the source embedder ('<adapter>:<model>@<dim>').packages/memory/src/migration/embedder-migration.ts:38
targetreadonlystringIdentifier of the target embedder.packages/memory/src/migration/embedder-migration.ts:40
totalreadonlynumberTotal records expected for this entity (when known).packages/memory/src/migration/embedder-migration.ts:36