Metadata-Version: 2.4
Name: lifeos-cli
Version: 0.7.1
Summary: Command-line tooling for personal operating system workflows, tools, and automation.
Author: liujuanjuan1984
License-Expression: Apache-2.0
Project-URL: Homepage, https://github.com/liujuanjuan1984/lifeos-cli
Project-URL: Repository, https://github.com/liujuanjuan1984/lifeos-cli
Project-URL: Issues, https://github.com/liujuanjuan1984/lifeos-cli/issues
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: alembic<2.0,>=1.16
Requires-Dist: psycopg[binary]<4.0,>=3.2
Requires-Dist: sqlalchemy<3.0,>=2.0
Requires-Dist: tomli<3.0,>=2.3; python_version < "3.11"
Provides-Extra: dev
Requires-Dist: mypy<2.0,>=1.18; extra == "dev"
Requires-Dist: pip-audit<3.0,>=2.9; extra == "dev"
Requires-Dist: pre-commit<5.0,>=4.5.0; extra == "dev"
Requires-Dist: pytest<10.0,>=8.4; extra == "dev"
Requires-Dist: ruff<0.16,>=0.11; extra == "dev"
Dynamic: license-file

# lifeos-cli

`lifeos-cli` is a CLI-first LifeOS for self-managing super individuals: human-friendly in direct
use, agent-friendly in automation, and built to hold the structured digital life data that connects
intention with reality.

## Value Proposition

Most personal systems fragment life into disconnected tools. That makes it unnecessarily hard to
understand:

- What did I intend to do?
- What actually happened?
- Where did my time and energy really go?
- Which relationships, routines, and priorities am I actually living out?

`lifeos-cli` treats those questions as one system problem. It gives structure to both sides of
life:

- intention: visions, tasks, habits, and planned events
- reality: notes, timelogs, completed habit actions, and relationship records

The goal is not just to store personal data, but to make self-management, reflection, and
automation operate on the same durable source of truth.

## Why CLI

The CLI is the shared interface. People can use it directly, and existing agents can call the same
commands without needing a separate embedded agent layer.

## Current Scope

The current system already covers the core building blocks of a LifeOS:

- notes
- areas
- tags
- people
- visions
- tasks
- habits and habit actions
- events
- timelogs

These modules already cover what matters, what is planned, what is being executed, and what
actually happened.

## Getting Started

Install from PyPI:

```bash
uv tool install lifeos-cli
```

Initialize your local setup:

```bash
lifeos init
```

See the available command surface:

```bash
lifeos --help
```

For complete CLI usage, workflows, and output conventions, see [docs/cli.md](docs/cli.md).

## Development

1. Install `uv`.
2. Sync the development environment:

   ```bash
   uv sync --all-extras
   ```

3. Run the default validation entrypoint:

   ```bash
   bash ./scripts/doctor.sh
   ```

4. Use the repository dependency workflows intentionally:

   - `.github/dependabot.yml` opens a single weekly grouped version-update PR for `uv`.
   - `bash ./scripts/dependency_health.sh` remains the explicit maintainer audit flow for outdated packages and dev vulnerability review.

## Project Policies

- Contribution workflow: [CONTRIBUTING.md](CONTRIBUTING.md)
- Security disclosure: [SECURITY.md](SECURITY.md)
- Community expectations: [CODE_OF_CONDUCT.md](CODE_OF_CONDUCT.md)

## License

This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE).
