Abstra's SDK provides a uniform interface for reading and writing files, regardless of the environment: the persistent directory.
It's a folder that holds its contents across deploys or server restarts.
While running the editor, it is located in
.abstra/persistent/ inside your project.
How to use it
from abstra.common import get_persistent_dir
persistent_dir = get_persistent_dir()
logs = persistent_dir / 'logs.txt'