Metadata-Version: 2.4
Name: glyff-file-store
Version: 0.1.0
Summary: File-based SessionStore implementation for glyff.
License: MIT License
        
        Copyright (c) 2026 nueruyu
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: AsyncIO
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Typing :: Typed
Requires-Python: >=3.11
Requires-Dist: glyff>=0.1.0
Description-Content-Type: text/markdown

# glyff-file-store

A file-based `SessionStore` implementation for
[glyff](https://pypi.org/project/glyff/).

Sessions are persisted to disk as append-only JSON event logs, with separate
files for large execution results. Designed to survive process restarts
without requiring a database.

## Install

```bash
pip install glyff-file-store
```

This package depends on `glyff>=0.1.0`.

## Public API

| Name               | Description                                           |
| ------------------ | ----------------------------------------------------- |
| `FileClient`       | Low-level file I/O for a session directory.           |
| `FileSessionStore` | `SessionStore` implementation backed by `FileClient`. |

## Format

Sessions are stored as event log files under the configured base directory.
Each event is a single JSON line; the format is append-only and
forward-compatible. Large execution results are written to separate files
referenced by the event log.

## Status

Early development. APIs may change before v1.0.

## License

MIT
