Skip to main content

Module registry

Module registry 

Source
Expand description

Persistent registry of installed extensions (versions, update check timestamps).

NOTE: load/save is not file-locked. Concurrent tempo invocations may lose a write (last-writer-wins). This is acceptable today because the data is limited to checked_at timestamps and installed_version strings โ€” the worst outcome is a redundant update check.

Structsยง

ExtensionState ๐Ÿ”’
Persisted metadata for a single extension.
Registry ๐Ÿ”’
On-disk state for all known extensions, keyed by extension name.

Constantsยง

UPDATE_CHECK_INTERVAL_SECS ๐Ÿ”’

Functionsยง

now_secs ๐Ÿ”’
state_path ๐Ÿ”’
Resolves the path to the registry file.