vibe-sketcherDocumentation
vibesketcher.document.draft_session¶
Atomic review receipts and complete-document undo for a live document store.
Classes
|
Session-local SDK service; pass the server Store to share its atomic lock. |
|
- class vibesketcher.document.draft_session.Receipt(document: 'str', source: 'Document', candidate: 'Document', review: 'dict[str, Any]', expires: 'float', size: 'int', phase: 'str' = 'review', expected: 'str' = '', retries: 'dict[str, tuple[str, dict[str, Any]]]'=<factory>)[source]¶
Bases:
object- Parameters:
- class vibesketcher.document.draft_session.DraftSession(store=None)[source]¶
Bases:
objectSession-local SDK service; pass the server Store to share its atomic lock.
Receipts expire after 30 minutes, on document close or on process restart. No live receipt is evicted to make room for another one.
- Parameters:
store (Store | None)