mirror of
https://github.com/himanshudongre/smriti.git
synced 2026-09-09 22:31:07 +00:00
Introduce a thin Python CLI that wraps the backend REST API. Seven commands: space list, space create, state, checkpoint create, checkpoint show, checkpoint list, checkpoint review. Reads piped JSON on stdin for checkpoint create, prints a continuation-oriented markdown brief for state. Supports --json on every command for structured output. Fixes a V2 schema drift where the commit response omitted assumptions and artifacts, so the CLI can read full checkpoints via the cleaner V2 single-resource endpoints. Updates README, ARCHITECTURE, and DECISIONS to frame Smriti as a reasoning-state backend with the chat UI and CLI as two clients of the same core.
8 lines
139 B
Python
8 lines
139 B
Python
"""Allow `python -m smriti_cli` as an entry point."""
|
|
|
|
import sys
|
|
|
|
from .main import main
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(main())
|