Module storage

Module storage 

Source
Expand description

Context storage and persistence.

This module provides functionality for persisting execution contexts to the filesystem and loading them back. Contexts are stored in TOML format.

§Storage Layout

~/.skill-engine/
├── contexts/
│   ├── index.json              # Context index for fast listing
│   ├── {context-id}/
│   │   ├── context.toml        # Context definition
│   │   └── .backup/            # Backup versions
│   │       ├── context.toml.1  # Previous version
│   │       └── context.toml.2  # Older version
└── templates/
    └── contexts/
        └── default.toml        # Default context template

Structs§

BackupInfo
Information about a backup version.
ContextIndex
Context index for fast listing.
ContextIndexEntry
Entry in the context index.
ContextStorage
Storage layer for execution contexts.