recordCurrentWorkingDirectory
Records the latest host-validated OSC 7 current-working-directory URI.
The value is session metadata and remains available when command history is cleared. Command starts snapshot it into their bounded record.
Parameters
uri
accepted absolute file:// URI.