lifeos-cli 1.3.1__tar.gz → 1.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.secrets.baseline +5 -5
- {lifeos_cli-1.3.1/src/lifeos_cli.egg-info → lifeos_cli-1.3.2}/PKG-INFO +1 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/SECURITY.md +1 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/docs/cli-tree.md +1 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/vulture_whitelist.py +2 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/calendar_adapter.py +13 -5
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/handlers.py +1 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/parser_read_models.py +9 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/parser_stats.py +3 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/web_commands.py +4 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/task_queries.py +3 -2
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/timelog_stats.py +76 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/en/cli_messages.json +5 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/zh_Hans/cli_messages.json +6 -2
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2/src/lifeos_cli.egg-info}/PKG-INFO +1 -1
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/scm_version.json +2 -2
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/app.py +22 -8
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/config_support.py +5 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_calendar_adapter.py +8 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_domains_workflows.py +6 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_help_audit.py +1 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_parser_core.py +3 -0
- lifeos_cli-1.3.2/tests/test_timelog_stats.py +361 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_api_http.py +49 -0
- lifeos_cli-1.3.1/tests/test_timelog_stats.py +0 -127
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.github/dependabot.yml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.github/workflows/dependency-review.yml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.github/workflows/publish.yml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.github/workflows/validate.yml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.gitignore +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/.pre-commit-config.yaml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/AGENTS.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/CODE_OF_CONDUCT.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/CONTRIBUTING.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/LICENSE +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/MANIFEST.in +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/README.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/README.zh-Hans.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/alembic.ini +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/docs/architecture.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/docs/cli.md +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/pyproject.toml +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/audit_cli_help.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/check_cli_tree.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/check_locale_catalog.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/dead_code_check.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/dependency_health.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/doctor.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/export_web_openapi.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/integration_tests.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/scripts/load_local_env.sh +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/setup.cfg +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/env.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/script.py.mako +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260409_0600_create_notes_table.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260409_1200_create_core_domain_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260409_1300_create_habit_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260409_1400_create_event_and_timelog_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260410_0900_remove_area_person_associations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260410_1200_add_event_recurrence_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260411_0900_add_timelog_stats_groupby_area_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260411_1400_add_event_type_to_events.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260411_1500_add_generic_associations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260412_0900_expand_association_models_for_note_links.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260412_1100_add_habit_cadence_fields.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260412_1600_prune_placeholder_habit_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260617_1200_add_timelog_templates.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260617_1300_add_unified_finance_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260617_1400_add_event_recurrence_rule.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260626_1100_declassify_finance_trees.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260629_0900_allow_multi_asset_finance_entries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260629_1000_drop_stale_finance_tree_legacy_columns.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260703_0900_add_habit_monthday_cadence.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260704_1100_add_habit_status_changed_date.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260704_1500_link_habit_action_notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260812_1200_migrate_person_links_to_associations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/20260819_1200_add_health_data_tables.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/alembic/versions/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/configuration.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/database.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/datetime_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/package_metadata.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/serialization.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/application/time_preferences.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/handler_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/help_audit.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/help_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/init_prompts.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/json_output.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/output_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/parser_common.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/area/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/area/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/area/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/body_measurement/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/body_measurement/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/body_measurement/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/body_measurement/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/data/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/data/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/data/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/event/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/event/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/event/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/event/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/finance/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/finance/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/finance/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit_action/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit_action/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/habit_action/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual_factor/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual_factor/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual_factor/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/menstrual_factor/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/note/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/note/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/note/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/note/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/person/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/person/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/person/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/planning/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/planning/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/planning/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/schedule/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/schedule/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/schedule/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/sleep/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/sleep/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/sleep/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/sleep/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/tag/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/tag/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/tag/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/parser_structure.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/task/parser_write.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/bulk_add.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/parser_batch.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/vision/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/vision/handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/vision/parser.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/vision/parser_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/runtime_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/config_commands.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/config_handlers.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/db_commands.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/system/init_commands.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/time_args.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/config.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/backend_policy.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/base.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/maintenance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/aggregated_timelog_stats_groupby_area.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/area.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/association.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/body_measurement.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/daily_timelog_stats_groupby_area.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/event.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/event_occurrence_exception.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/finance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/habit.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/habit_action.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/menstrual.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/note.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/person.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/sleep_segment.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/tag.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/tag_association.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/task.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/timelog.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/timelog_template.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/models/vision.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/areas.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/batching.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/body_measurements.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/collection_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/data_ops.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/entity_associations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/entity_person.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/entity_tags.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/event_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/events.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/finance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/habit_actions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/habit_mutations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/habit_queries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/habit_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/habits.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/integrity_audit.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/menstrual.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/model_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/person.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/person_activity_queries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/planning_lifecycle.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/read_models.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/recurrence_core.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/schedule_queries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/schedules.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/sleep.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/tags.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/task_effort.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/task_mutations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/task_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/tasks.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/timelog_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/timelog_templates.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/timelogs.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/validation_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/services/visions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/session.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/sql_expressions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/db/types.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/i18n.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/en/argparse.json +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/en/cli_help.json +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/zh_Hans/argparse.json +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/locales/zh_Hans/cli_help.json +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/py.typed +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/SOURCES.txt +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/dependency_links.txt +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/entry_points.txt +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/requires.txt +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/scm_file_list.json +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli.egg-info/top_level.txt +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/deps.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/areas.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/body_measurements.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/common.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/finance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/habits.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/menstrual.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/person.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/planned_events.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/preferences.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/sleep.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/stats.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/tags.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/tasks.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/timelogs.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/response_schemas/visions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/router_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/areas.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/body_measurements.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/finance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/habits.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/health.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/menstrual.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/person.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/planned_events.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/preferences.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/sleep.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/stats.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/tags.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/tasks.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/timelog_templates.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/timelogs.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/routers/visions.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/schemas.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/serialization.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_web/server.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/__init__.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/cli_integration_support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/conftest.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/support.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_backend_policy.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_data.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_domains_records.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_finance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_habit_action.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_health.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_help_content.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_help_hierarchy.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_help_zh_hans.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_init.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_data.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_habits.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_resources.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_schedule.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_system.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_integration_time.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_json_output.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_notes.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_planning.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_runtime_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_schedule.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_sqlite_workflow.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_time_args.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_timelog_bulk_add.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_cli_timelog_stats.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_config.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_data_ops.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_datetime_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_db_maintenance.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_db_session.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_domain_services_core.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_domain_services_tasks_and_habits.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_domain_services_time.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_entity_associations.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_finance_services.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_health_services.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_i18n.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_integration_support_contracts.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_integrity_audit.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_integrity_audit_postgres.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_migration_person_links.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_note_model.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_note_services.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_person_activity_queries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_recurrence_core.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_repository_contracts.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_router_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_schedule_queries.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_session_soft_delete_scope.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_tag_services.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_time_preferences.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_timelog_templates.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_validation_utils.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_api_contracts.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_api_health_http.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_cli.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_commit_middleware.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_security_http.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/tests/test_web_server_binding.py +0 -0
- {lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/uv.lock +0 -0
|
@@ -133,21 +133,21 @@
|
|
|
133
133
|
"filename": "src/lifeos_cli/locales/en/cli_messages.json",
|
|
134
134
|
"hashed_secret": "49db5cedcbe4d24c102d1c9212c0aeed9d71b528",
|
|
135
135
|
"is_verified": false,
|
|
136
|
-
"line_number":
|
|
136
|
+
"line_number": 1035
|
|
137
137
|
},
|
|
138
138
|
{
|
|
139
139
|
"type": "Secret Keyword",
|
|
140
140
|
"filename": "src/lifeos_cli/locales/en/cli_messages.json",
|
|
141
141
|
"hashed_secret": "d7c832c06c94ed9bfadd601d7a1ca12551261433",
|
|
142
142
|
"is_verified": false,
|
|
143
|
-
"line_number":
|
|
143
|
+
"line_number": 1043
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"type": "Secret Keyword",
|
|
147
147
|
"filename": "src/lifeos_cli/locales/en/cli_messages.json",
|
|
148
148
|
"hashed_secret": "cd6ace16b1f2ff3150b89368ac9df7c86b78ea50",
|
|
149
149
|
"is_verified": false,
|
|
150
|
-
"line_number":
|
|
150
|
+
"line_number": 1044
|
|
151
151
|
}
|
|
152
152
|
],
|
|
153
153
|
"src/lifeos_cli/locales/zh_Hans/cli_messages.json": [
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
"filename": "src/lifeos_cli/locales/zh_Hans/cli_messages.json",
|
|
157
157
|
"hashed_secret": "5a59e0d7fb6e3aa28246673b01fd19d3e3f3f009",
|
|
158
158
|
"is_verified": false,
|
|
159
|
-
"line_number":
|
|
159
|
+
"line_number": 1035
|
|
160
160
|
}
|
|
161
161
|
],
|
|
162
162
|
"web/src/features/auth/__tests__/ChangePasswordCard.test.tsx": [
|
|
@@ -233,5 +233,5 @@
|
|
|
233
233
|
}
|
|
234
234
|
]
|
|
235
235
|
},
|
|
236
|
-
"generated_at": "2026-08-
|
|
236
|
+
"generated_at": "2026-08-24T03:54:22Z"
|
|
237
237
|
}
|
|
@@ -41,7 +41,7 @@ Additional request-level boundaries apply by default:
|
|
|
41
41
|
- Only loopback Host headers (`localhost`, `127.0.0.1`, `::1`) are accepted; add trusted hostnames with the `LIFEOS_WEB_ALLOWED_HOSTS` environment variable (comma-separated).
|
|
42
42
|
- Requests carrying an `Origin` header must be same-origin or one of the allowlisted Vite development origins; anything else is rejected with `403`.
|
|
43
43
|
- Request bodies are limited to 1 MiB by default (override with `LIFEOS_WEB_MAX_BODY_BYTES`), bulk payloads have explicit item caps, and `/api/` requests are rate limited per client (default 300/minute, override with `LIFEOS_WEB_RATE_LIMIT_PER_MINUTE`). Rejected requests return `429` with a JSON `detail` and a `Retry-After` header so clients can back off instead of hammering the window.
|
|
44
|
-
- Task list filters are bounded: `id_in` accepts at most 100 comma-separated task IDs per request,
|
|
44
|
+
- Task list filters are bounded: `id_in` accepts at most 100 comma-separated task IDs per request, malformed IDs are rejected with `400`, and a batch request returns every matching task regardless of `size` (the limit is raised to the ID count automatically). `id_in` selects tasks by ID directly and does not inherit the root-task semantics of `vision_id` listing.
|
|
45
45
|
- Swagger UI and the OpenAPI schema are disabled by default; enable them explicitly with `lifeos web serve --docs`.
|
|
46
46
|
|
|
47
47
|
## Database Credentials
|
|
@@ -224,7 +224,7 @@
|
|
|
224
224
|
│ ├── hierarchy — Show a vision task hierarchy
|
|
225
225
|
│ │ args: vision_id [required]
|
|
226
226
|
│ ├── list — List tasks
|
|
227
|
-
│ │ args: --vision-id; --vision-in; --parent-task-id; --person-id; --status; --status-in; --exclude-status; --planning-cycle-type; --planning-cycle-start-date; --content; --limit; --offset; --json
|
|
227
|
+
│ │ args: --vision-id; --vision-in; --ids; --parent-task-id; --person-id; --status; --status-in; --exclude-status; --planning-cycle-type; --planning-cycle-start-date; --content; --limit; --offset; --json
|
|
228
228
|
│ ├── move — Move a task
|
|
229
229
|
│ │ args: task_id [required]; --old-parent-task-id; --new-parent-task-id; --clear-parent; --new-vision-id; --new-display-order
|
|
230
230
|
│ ├── reorder — Reorder tasks
|
|
@@ -101,12 +101,9 @@ class MayanCalendarAdapter:
|
|
|
101
101
|
target += timedelta(days=1)
|
|
102
102
|
return target
|
|
103
103
|
|
|
104
|
-
def _is_day_out_of_time(self, target: date) -> bool:
|
|
105
|
-
return target.month == 7 and target.day == 25
|
|
106
|
-
|
|
107
104
|
def week_range(self, target: date, first_day_of_week: int) -> tuple[date, date]:
|
|
108
105
|
del first_day_of_week
|
|
109
|
-
if
|
|
106
|
+
if is_mayan_day_out_of_time(target, calendar_system="mayan_13_moon"):
|
|
110
107
|
return target, target
|
|
111
108
|
year_start = self.year_start(target)
|
|
112
109
|
offset = self.day_offset(target)
|
|
@@ -117,7 +114,7 @@ class MayanCalendarAdapter:
|
|
|
117
114
|
)
|
|
118
115
|
|
|
119
116
|
def month_range(self, target: date) -> tuple[date, date]:
|
|
120
|
-
if
|
|
117
|
+
if is_mayan_day_out_of_time(target, calendar_system="mayan_13_moon"):
|
|
121
118
|
return target, target
|
|
122
119
|
year_start = self.year_start(target)
|
|
123
120
|
offset = self.day_offset(target)
|
|
@@ -155,6 +152,17 @@ def get_calendar_adapter(
|
|
|
155
152
|
return GregorianCalendarAdapter(seven_year_anchor_date=anchor_date)
|
|
156
153
|
|
|
157
154
|
|
|
155
|
+
def is_mayan_day_out_of_time(
|
|
156
|
+
target: date,
|
|
157
|
+
*,
|
|
158
|
+
calendar_system: str | None = None,
|
|
159
|
+
) -> bool:
|
|
160
|
+
"""Return whether the date is the Mayan Day Out of Time (July 25)."""
|
|
161
|
+
if validate_calendar_system(calendar_system or DEFAULT_CALENDAR_SYSTEM) != "mayan_13_moon":
|
|
162
|
+
return False
|
|
163
|
+
return target.month == 7 and target.day == 25
|
|
164
|
+
|
|
165
|
+
|
|
158
166
|
def get_calendar_period_range(
|
|
159
167
|
granularity: CalendarGranularity,
|
|
160
168
|
target: date,
|
|
@@ -44,11 +44,16 @@ def build_task_list_parser(
|
|
|
44
44
|
examples=(
|
|
45
45
|
"lifeos task list",
|
|
46
46
|
"lifeos task list --vision-id 11111111-1111-1111-1111-111111111111",
|
|
47
|
+
"lifeos task list --ids "
|
|
48
|
+
"11111111-1111-1111-1111-111111111111,22222222-2222-2222-2222-222222222222",
|
|
47
49
|
"lifeos task list --person-id 11111111-1111-1111-1111-111111111111",
|
|
48
50
|
"lifeos task list --parent-task-id "
|
|
49
51
|
"22222222-2222-2222-2222-222222222222 --status todo",
|
|
50
52
|
),
|
|
51
53
|
notes=(
|
|
54
|
+
_(
|
|
55
|
+
"resources.task.parser_read_models.ids_filter_returns_exact_task_matches_even_with_vision_id"
|
|
56
|
+
),
|
|
52
57
|
_(
|
|
53
58
|
"resources.task.parser_read_models.when_vision_id_is_provided_without_parent_task_id_only_root_tasks"
|
|
54
59
|
),
|
|
@@ -68,6 +73,10 @@ def build_task_list_parser(
|
|
|
68
73
|
"--vision-in",
|
|
69
74
|
help=_("resources.task.parser_read_models.comma_separated_vision_identifiers"),
|
|
70
75
|
)
|
|
76
|
+
list_parser.add_argument(
|
|
77
|
+
"--ids",
|
|
78
|
+
help=_("resources.task.parser_read_models.comma_separated_task_identifiers"),
|
|
79
|
+
)
|
|
71
80
|
list_parser.add_argument(
|
|
72
81
|
"--parent-task-id",
|
|
73
82
|
type=UUID,
|
{lifeos_cli-1.3.1 → lifeos_cli-1.3.2}/src/lifeos_cli/cli_support/resources/timelog/parser_stats.py
RENAMED
|
@@ -52,6 +52,9 @@ def build_timelog_stats_parser(
|
|
|
52
52
|
_(
|
|
53
53
|
"resources.timelog.parser_stats.use_range_for_arbitrary_windows_and_rebuild_to_refresh_persisted_stats"
|
|
54
54
|
),
|
|
55
|
+
_(
|
|
56
|
+
"resources.timelog.parser_stats.mayan_day_out_of_time_excluded_from_week_and_month"
|
|
57
|
+
),
|
|
55
58
|
_(
|
|
56
59
|
"resources.timelog.parser_stats.stats_are_grouped_only_by_area_task_effort_remains_separate_task_feature"
|
|
57
60
|
),
|
|
@@ -55,7 +55,10 @@ def build_web_parser(subparsers: argparse._SubParsersAction[argparse.ArgumentPar
|
|
|
55
55
|
"lifeos web serve --host 127.0.0.1 --port 8765",
|
|
56
56
|
"lifeos web serve --static-dir <path-to>/lifeos-web/dist",
|
|
57
57
|
),
|
|
58
|
-
notes=(
|
|
58
|
+
notes=(
|
|
59
|
+
_("system.web_commands.use_vite_during_frontend_development"),
|
|
60
|
+
_("system.web_commands.api_requests_rate_limited_per_client"),
|
|
61
|
+
),
|
|
59
62
|
),
|
|
60
63
|
)
|
|
61
64
|
serve_parser.add_argument(
|
|
@@ -236,7 +236,7 @@ def _apply_task_filters(
|
|
|
236
236
|
task_ids = _parse_uuid_csv(id_in)
|
|
237
237
|
if task_ids:
|
|
238
238
|
stmt = stmt.where(Task.id.in_(task_ids))
|
|
239
|
-
if parent_task_id is None and vision_id is not None:
|
|
239
|
+
if id_in is None and parent_task_id is None and vision_id is not None:
|
|
240
240
|
stmt = stmt.where(Task.parent_task_id.is_(None))
|
|
241
241
|
elif parent_task_id is not None:
|
|
242
242
|
stmt = stmt.where(Task.parent_task_id == parent_task_id)
|
|
@@ -386,6 +386,7 @@ async def list_tasks(
|
|
|
386
386
|
) -> list[TaskView]:
|
|
387
387
|
"""List tasks with basic filters."""
|
|
388
388
|
_validate_id_in_cap(id_in)
|
|
389
|
+
resolved_limit = max(limit, len(_split_csv(id_in)))
|
|
389
390
|
stmt = _apply_task_filters(
|
|
390
391
|
select(Task),
|
|
391
392
|
id_in=id_in,
|
|
@@ -401,7 +402,7 @@ async def list_tasks(
|
|
|
401
402
|
content=content,
|
|
402
403
|
query=query,
|
|
403
404
|
)
|
|
404
|
-
stmt = _apply_task_display_order(stmt).offset(offset).limit(
|
|
405
|
+
stmt = _apply_task_display_order(stmt).offset(offset).limit(resolved_limit)
|
|
405
406
|
tasks = list((await session.execute(stmt)).scalars())
|
|
406
407
|
return await _build_task_views(session, tasks)
|
|
407
408
|
|
|
@@ -11,6 +11,7 @@ from uuid import UUID
|
|
|
11
11
|
from sqlalchemy import delete, func, select
|
|
12
12
|
from sqlalchemy.ext.asyncio import AsyncSession
|
|
13
13
|
|
|
14
|
+
from lifeos_cli.application.calendar_adapter import is_mayan_day_out_of_time
|
|
14
15
|
from lifeos_cli.application.datetime_utils import normalize_storage_datetime
|
|
15
16
|
from lifeos_cli.application.time_preferences import (
|
|
16
17
|
get_operational_date,
|
|
@@ -108,6 +109,30 @@ def overlap_minutes_for_window(
|
|
|
108
109
|
return int((overlap_end - overlap_start).total_seconds() // 60)
|
|
109
110
|
|
|
110
111
|
|
|
112
|
+
def _week_month_excluded_local_date(
|
|
113
|
+
*,
|
|
114
|
+
granularity: str,
|
|
115
|
+
start_date: date,
|
|
116
|
+
end_date: date,
|
|
117
|
+
) -> date | None:
|
|
118
|
+
"""Return the local date excluded from week/month stats aggregation, if any.
|
|
119
|
+
|
|
120
|
+
The Mayan Day Out of Time (July 25) belongs to no week or moon, so it is
|
|
121
|
+
excluded from week and month granularity for the Mayan 13 Moon calendar.
|
|
122
|
+
Day, year, and explicit range views keep the date.
|
|
123
|
+
"""
|
|
124
|
+
if granularity not in {"week", "month"}:
|
|
125
|
+
return None
|
|
126
|
+
calendar_system = get_preferences_settings().calendar_system
|
|
127
|
+
for year in {start_date.year, end_date.year}:
|
|
128
|
+
candidate = date(year, 7, 25)
|
|
129
|
+
if start_date <= candidate <= end_date and is_mayan_day_out_of_time(
|
|
130
|
+
candidate, calendar_system=calendar_system
|
|
131
|
+
):
|
|
132
|
+
return candidate
|
|
133
|
+
return None
|
|
134
|
+
|
|
135
|
+
|
|
111
136
|
def resolve_stats_period(
|
|
112
137
|
*,
|
|
113
138
|
granularity: str,
|
|
@@ -177,6 +202,16 @@ async def _collect_area_stats_for_window(
|
|
|
177
202
|
end_date: date,
|
|
178
203
|
) -> TimelogStatsReport:
|
|
179
204
|
timezone_name = get_preferences_settings().timezone
|
|
205
|
+
excluded_local_date = _week_month_excluded_local_date(
|
|
206
|
+
granularity=granularity,
|
|
207
|
+
start_date=start_date,
|
|
208
|
+
end_date=end_date,
|
|
209
|
+
)
|
|
210
|
+
excluded_window = (
|
|
211
|
+
get_utc_window_for_local_date(excluded_local_date)
|
|
212
|
+
if excluded_local_date is not None
|
|
213
|
+
else None
|
|
214
|
+
)
|
|
180
215
|
metrics: dict[UUID, dict[str, int]] = defaultdict(lambda: {"minutes": 0, "timelog_count": 0})
|
|
181
216
|
timelogs = await _load_overlapping_area_timelogs(
|
|
182
217
|
session,
|
|
@@ -192,6 +227,13 @@ async def _collect_area_stats_for_window(
|
|
|
192
227
|
window_start=window_start,
|
|
193
228
|
window_end=window_end,
|
|
194
229
|
)
|
|
230
|
+
if excluded_window is not None:
|
|
231
|
+
minutes -= overlap_minutes_for_window(
|
|
232
|
+
start_time=timelog.start_time,
|
|
233
|
+
end_time=timelog.end_time,
|
|
234
|
+
window_start=excluded_window[0],
|
|
235
|
+
window_end=excluded_window[1],
|
|
236
|
+
)
|
|
195
237
|
if minutes <= 0:
|
|
196
238
|
continue
|
|
197
239
|
metrics[timelog.area_id]["minutes"] += minutes
|
|
@@ -356,6 +398,16 @@ async def _recompute_aggregated_period(
|
|
|
356
398
|
start_date,
|
|
357
399
|
end_date,
|
|
358
400
|
)
|
|
401
|
+
excluded_local_date = _week_month_excluded_local_date(
|
|
402
|
+
granularity=granularity,
|
|
403
|
+
start_date=start_date,
|
|
404
|
+
end_date=end_date,
|
|
405
|
+
)
|
|
406
|
+
excluded_window = (
|
|
407
|
+
get_utc_window_for_local_date(excluded_local_date)
|
|
408
|
+
if excluded_local_date is not None
|
|
409
|
+
else None
|
|
410
|
+
)
|
|
359
411
|
daily_rows = (
|
|
360
412
|
await session.execute(
|
|
361
413
|
select(DailyTimelogStatsGroupByArea).where(
|
|
@@ -367,6 +419,8 @@ async def _recompute_aggregated_period(
|
|
|
367
419
|
).scalars()
|
|
368
420
|
minutes_by_area: dict[UUID, int] = defaultdict(int)
|
|
369
421
|
for daily_row in daily_rows:
|
|
422
|
+
if excluded_local_date is not None and daily_row.stat_date == excluded_local_date:
|
|
423
|
+
continue
|
|
370
424
|
minutes_by_area[daily_row.area_id] += daily_row.minutes
|
|
371
425
|
|
|
372
426
|
timelog_columns = (
|
|
@@ -387,6 +441,13 @@ async def _recompute_aggregated_period(
|
|
|
387
441
|
window_start=window_start,
|
|
388
442
|
window_end=window_end,
|
|
389
443
|
)
|
|
444
|
+
if excluded_window is not None:
|
|
445
|
+
minutes -= overlap_minutes_for_window(
|
|
446
|
+
start_time=start_time,
|
|
447
|
+
end_time=end_time,
|
|
448
|
+
window_start=excluded_window[0],
|
|
449
|
+
window_end=excluded_window[1],
|
|
450
|
+
)
|
|
390
451
|
if minutes > 0:
|
|
391
452
|
count_by_area[area_id] += 1
|
|
392
453
|
|
|
@@ -506,6 +567,21 @@ async def get_timelog_stats_groupby_area_for_range(
|
|
|
506
567
|
start_date=start_date,
|
|
507
568
|
end_date=end_date,
|
|
508
569
|
)
|
|
570
|
+
preferences = get_preferences_settings()
|
|
571
|
+
if normalized_start_date == normalized_end_date and is_mayan_day_out_of_time(
|
|
572
|
+
normalized_start_date,
|
|
573
|
+
calendar_system=preferences.calendar_system,
|
|
574
|
+
):
|
|
575
|
+
# The Mayan Day Out of Time forms its own week/month period bucket, but
|
|
576
|
+
# belongs to no week or moon. Return an empty report so aggregated
|
|
577
|
+
# week/month consumers never surface it; wider ranges keep the day.
|
|
578
|
+
return TimelogStatsReport(
|
|
579
|
+
granularity="range",
|
|
580
|
+
start_date=normalized_start_date,
|
|
581
|
+
end_date=normalized_end_date,
|
|
582
|
+
timezone=preferences.timezone,
|
|
583
|
+
rows=(),
|
|
584
|
+
)
|
|
509
585
|
window_start, window_end = get_utc_half_open_window_for_local_date_range(
|
|
510
586
|
normalized_start_date,
|
|
511
587
|
normalized_end_date,
|
|
@@ -636,6 +636,7 @@
|
|
|
636
636
|
"parser_read_models": {
|
|
637
637
|
"comma_separated_statuses_to_exclude": "Comma-separated statuses to exclude",
|
|
638
638
|
"comma_separated_statuses_to_include": "Comma-separated statuses to include",
|
|
639
|
+
"comma_separated_task_identifiers": "Comma-separated task identifiers to fetch by ID (up to 100)",
|
|
639
640
|
"comma_separated_vision_identifiers": "Comma-separated vision identifiers",
|
|
640
641
|
"filter_by_exact_task_content": "Filter by exact task content",
|
|
641
642
|
"filter_by_parent_task_identifier": "Filter by parent task identifier",
|
|
@@ -663,6 +664,7 @@
|
|
|
663
664
|
"use_with_subtasks_when_you_want_to_inspect_only_one_branch_of": "Use `with-subtasks` when you want to inspect only one branch of the tree.",
|
|
664
665
|
"with_subtasks_related_views_note": "Related views: `task hierarchy` for the full vision tree, `vision with-tasks` for the vision-level tree.",
|
|
665
666
|
"when_task_has_direct_children_completion_percentage_measures_how_many_of_those": "When the task has direct children, `completion_percentage` measures how many of those children are done.",
|
|
667
|
+
"ids_filter_returns_exact_task_matches_even_with_vision_id": "`--ids` returns exactly the requested tasks and is not affected by the root-task semantics of `--vision-id`.",
|
|
666
668
|
"when_vision_id_is_provided_without_parent_task_id_only_root_tasks": "When `--vision-id` is provided without `--parent-task-id`, only root tasks are listed."
|
|
667
669
|
},
|
|
668
670
|
"parser_structure": {
|
|
@@ -804,6 +806,7 @@
|
|
|
804
806
|
"calendar_month_in_yyyy_mm_format": "Calendar month in YYYY-MM format",
|
|
805
807
|
"calendar_year_for_example_2026": "Calendar year, for example 2026",
|
|
806
808
|
"local_operational_date_in_yyyy_mm_dd_format": "Local operational date in YYYY-MM-DD format",
|
|
809
|
+
"mayan_day_out_of_time_excluded_from_week_and_month": "For the Mayan 13 Moon calendar, the Day Out of Time (July 25) is excluded from week and month summaries; day and year views keep it, and wider range queries still include it.",
|
|
807
810
|
"query_timelog_stats_grouped_by_area": "Query timelog stats grouped by area.",
|
|
808
811
|
"query_timelog_stats_grouped_by_area_summary": "Query timelog stats grouped by area",
|
|
809
812
|
"rebuild_every_local_date_touched_by_active_timelogs_with_linked_areas": "Rebuild every local date touched by active timelogs with linked areas",
|
|
@@ -1081,7 +1084,8 @@
|
|
|
1081
1084
|
"serve_built_frontend_directory": "Serve a built frontend directory, for example a lifeos-web `dist/` build.",
|
|
1082
1085
|
"serve_local_web_api": "Serve the local Web API, optionally with built frontend assets",
|
|
1083
1086
|
"start_fastapi_server_bound_to_localhost": "Start a FastAPI server bound to localhost by default.",
|
|
1084
|
-
"use_vite_during_frontend_development": "Use `lifeos-web` with Vite during frontend development. Pass `--static-dir <lifeos-web>/dist` to serve a built UI. With uv and a PostgreSQL database, run with `--extra web --extra postgres`."
|
|
1087
|
+
"use_vite_during_frontend_development": "Use `lifeos-web` with Vite during frontend development. Pass `--static-dir <lifeos-web>/dist` to serve a built UI. With uv and a PostgreSQL database, run with `--extra web --extra postgres`.",
|
|
1088
|
+
"api_requests_rate_limited_per_client": "API requests are rate limited per client (default 300/minute over a 60s window; override with `LIFEOS_WEB_RATE_LIMIT_PER_MINUTE`)."
|
|
1085
1089
|
},
|
|
1086
1090
|
"init_commands": {
|
|
1087
1091
|
"configuration_is_written_to_config_lifeos_config_toml_by_default": "Configuration is written to ~/.lifeos/config.toml by default.",
|
|
@@ -636,6 +636,7 @@
|
|
|
636
636
|
"parser_read_models": {
|
|
637
637
|
"comma_separated_statuses_to_exclude": "要排除的以逗号分隔的状态",
|
|
638
638
|
"comma_separated_statuses_to_include": "要包含的以逗号分隔的状态",
|
|
639
|
+
"comma_separated_task_identifiers": "以逗号分隔的 `task` 标识符,按 ID 批量查询(最多 100 个)",
|
|
639
640
|
"comma_separated_vision_identifiers": "以逗号分隔的 `vision` 标识符",
|
|
640
641
|
"filter_by_exact_task_content": "按确切的 `task` 内容过滤",
|
|
641
642
|
"filter_by_parent_task_identifier": "按父 `task` 标识符过滤",
|
|
@@ -663,7 +664,8 @@
|
|
|
663
664
|
"use_with_subtasks_when_you_want_to_inspect_only_one_branch_of": "当你只想查看树中的一个分支时,请使用 `with-subtasks`。",
|
|
664
665
|
"with_subtasks_related_views_note": "相关视图:`task hierarchy` 查看整个 vision 树,`vision with-tasks` 查看 vision 级树。",
|
|
665
666
|
"when_task_has_direct_children_completion_percentage_measures_how_many_of_those": "当 `task` 有直接子项时,`completion_percentage` 衡量这些子项中有多少已完成。",
|
|
666
|
-
"when_vision_id_is_provided_without_parent_task_id_only_root_tasks": "当提供 `--vision-id` 而不提供 `--parent-task-id` 时,仅列出根 `task`。"
|
|
667
|
+
"when_vision_id_is_provided_without_parent_task_id_only_root_tasks": "当提供 `--vision-id` 而不提供 `--parent-task-id` 时,仅列出根 `task`。",
|
|
668
|
+
"ids_filter_returns_exact_task_matches_even_with_vision_id": "`--ids` 按 ID 精确返回请求的 `task`,不受 `--vision-id` 根 `task` 语义影响。"
|
|
667
669
|
},
|
|
668
670
|
"parser_structure": {
|
|
669
671
|
"expected_current_parent_task_identifier": "预期当前父 `task` 标识符",
|
|
@@ -804,6 +806,7 @@
|
|
|
804
806
|
"calendar_month_in_yyyy_mm_format": "YYYY-MM 格式的日历月份",
|
|
805
807
|
"calendar_year_for_example_2026": "日历年,例如 2026",
|
|
806
808
|
"local_operational_date_in_yyyy_mm_dd_format": "当地运营日期(YYYY-MM-DD 格式)",
|
|
809
|
+
"mayan_day_out_of_time_excluded_from_week_and_month": "在玛雅 13 月亮历下,无时间日(7 月 25 日)不计入周、月汇总;day、year 视图仍包含该日,覆盖该日及更多日期的 range 查询也仍会包含。",
|
|
807
810
|
"query_timelog_stats_grouped_by_area": "查询按 `area` 分组的 `timelog` 统计。",
|
|
808
811
|
"query_timelog_stats_grouped_by_area_summary": "查询按 `area` 分组的 `timelog` 统计",
|
|
809
812
|
"rebuild_every_local_date_touched_by_active_timelogs_with_linked_areas": "重建活动 `timelog` 所涉及的每个本地日期以及链接的 `area`",
|
|
@@ -1081,7 +1084,8 @@
|
|
|
1081
1084
|
"serve_built_frontend_directory": "服务已构建的前端目录,例如 `lifeos-web` 的 `dist/` 构建产物。",
|
|
1082
1085
|
"serve_local_web_api": "服务本地 Web API,可选挂载已构建的前端资源",
|
|
1083
1086
|
"start_fastapi_server_bound_to_localhost": "启动默认绑定到 localhost 的 FastAPI 服务。",
|
|
1084
|
-
"use_vite_during_frontend_development": "前端开发时使用 `lifeos-web` 下的 Vite。传入 `--static-dir <lifeos-web>/dist` 可以服务已构建的 UI。使用 uv 且数据库为 PostgreSQL 时,请搭配 `--extra web --extra postgres` 运行。"
|
|
1087
|
+
"use_vite_during_frontend_development": "前端开发时使用 `lifeos-web` 下的 Vite。传入 `--static-dir <lifeos-web>/dist` 可以服务已构建的 UI。使用 uv 且数据库为 PostgreSQL 时,请搭配 `--extra web --extra postgres` 运行。",
|
|
1088
|
+
"api_requests_rate_limited_per_client": "API 请求按客户端限流(默认 60 秒窗口内 300 次/分钟;可用 `LIFEOS_WEB_RATE_LIMIT_PER_MINUTE` 覆盖)。"
|
|
1085
1089
|
},
|
|
1086
1090
|
"init_commands": {
|
|
1087
1091
|
"configuration_is_written_to_config_lifeos_config_toml_by_default": "默认情况下,配置写入 ~/.lifeos/config.toml。",
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
from __future__ import annotations
|
|
4
4
|
|
|
5
5
|
import asyncio
|
|
6
|
+
import logging
|
|
6
7
|
import math
|
|
7
8
|
import os
|
|
8
9
|
import time
|
|
@@ -39,6 +40,8 @@ from lifeos_web.routers import (
|
|
|
39
40
|
visions,
|
|
40
41
|
)
|
|
41
42
|
|
|
43
|
+
logger = logging.getLogger(__name__)
|
|
44
|
+
|
|
42
45
|
API_PREFIX = "/api/v1"
|
|
43
46
|
SPA_FALLBACK_EXCLUDED_SEGMENTS = frozenset({"api", "assets", "healthy"})
|
|
44
47
|
|
|
@@ -198,6 +201,8 @@ class RateLimitMiddleware:
|
|
|
198
201
|
client = scope.get("client")
|
|
199
202
|
key = client[0] if client else "unknown"
|
|
200
203
|
now = time.monotonic()
|
|
204
|
+
rejected = False
|
|
205
|
+
wait_seconds = 1
|
|
201
206
|
async with self._lock:
|
|
202
207
|
hits = self._hits.get(key)
|
|
203
208
|
if hits is None:
|
|
@@ -210,18 +215,27 @@ class RateLimitMiddleware:
|
|
|
210
215
|
del self._hits[key]
|
|
211
216
|
hits = self._hits[key] = deque()
|
|
212
217
|
if len(hits) >= self.limit_per_minute:
|
|
218
|
+
rejected = True
|
|
213
219
|
wait_seconds = max(
|
|
214
220
|
1,
|
|
215
221
|
math.ceil(hits[0] + self._window_seconds - now),
|
|
216
222
|
)
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
)
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
223
|
+
else:
|
|
224
|
+
hits.append(now)
|
|
225
|
+
if rejected:
|
|
226
|
+
logger.warning(
|
|
227
|
+
"Rate limit exceeded for client %s (%d requests in a %ds window)",
|
|
228
|
+
key,
|
|
229
|
+
self.limit_per_minute,
|
|
230
|
+
int(self._window_seconds),
|
|
231
|
+
)
|
|
232
|
+
response = JSONResponse(
|
|
233
|
+
{"detail": "Rate limit exceeded"},
|
|
234
|
+
status_code=429,
|
|
235
|
+
headers={"Retry-After": str(wait_seconds)},
|
|
236
|
+
)
|
|
237
|
+
await response(scope, receive, send)
|
|
238
|
+
return
|
|
225
239
|
await self.app(scope, receive, send)
|
|
226
240
|
|
|
227
241
|
|
|
@@ -17,6 +17,7 @@ def write_test_config(
|
|
|
17
17
|
language: str = "en",
|
|
18
18
|
day_starts_at: str = "04:00",
|
|
19
19
|
week_starts_on: str = "monday",
|
|
20
|
+
calendar_system: str | None = None,
|
|
20
21
|
vision_experience_rate_per_hour: int | None = None,
|
|
21
22
|
theme: str | None = None,
|
|
22
23
|
) -> Path:
|
|
@@ -40,6 +41,8 @@ def write_test_config(
|
|
|
40
41
|
lines.append(f"vision_experience_rate_per_hour = {vision_experience_rate_per_hour}")
|
|
41
42
|
if theme is not None:
|
|
42
43
|
lines.append(f'theme = "{theme}"')
|
|
44
|
+
if calendar_system is not None:
|
|
45
|
+
lines.append(f'calendar_system = "{calendar_system}"')
|
|
43
46
|
lines.append("")
|
|
44
47
|
config_path.write_text("\n".join(lines), encoding="utf-8")
|
|
45
48
|
return config_path
|
|
@@ -58,6 +61,7 @@ def install_test_config(
|
|
|
58
61
|
language: str = "en",
|
|
59
62
|
day_starts_at: str = "04:00",
|
|
60
63
|
week_starts_on: str = "monday",
|
|
64
|
+
calendar_system: str | None = None,
|
|
61
65
|
vision_experience_rate_per_hour: int | None = None,
|
|
62
66
|
theme: str | None = None,
|
|
63
67
|
) -> Path:
|
|
@@ -72,6 +76,7 @@ def install_test_config(
|
|
|
72
76
|
language=language,
|
|
73
77
|
day_starts_at=day_starts_at,
|
|
74
78
|
week_starts_on=week_starts_on,
|
|
79
|
+
calendar_system=calendar_system,
|
|
75
80
|
vision_experience_rate_per_hour=vision_experience_rate_per_hour,
|
|
76
81
|
theme=theme,
|
|
77
82
|
)
|
|
@@ -11,6 +11,7 @@ from lifeos_cli.application.calendar_adapter import (
|
|
|
11
11
|
MayanCalendarAdapter,
|
|
12
12
|
get_calendar_adapter,
|
|
13
13
|
get_calendar_period_range,
|
|
14
|
+
is_mayan_day_out_of_time,
|
|
14
15
|
iter_calendar_periods,
|
|
15
16
|
)
|
|
16
17
|
from lifeos_cli.config import ConfigurationError
|
|
@@ -98,6 +99,13 @@ def test_calendar_period_helpers_validate_calendar_system() -> None:
|
|
|
98
99
|
) == (date(2026, 8, 23), date(2026, 9, 19))
|
|
99
100
|
|
|
100
101
|
|
|
102
|
+
def test_is_mayan_day_out_of_time_only_applies_to_the_mayan_calendar() -> None:
|
|
103
|
+
assert is_mayan_day_out_of_time(date(2026, 7, 25), calendar_system="mayan_13_moon")
|
|
104
|
+
assert not is_mayan_day_out_of_time(date(2026, 7, 24), calendar_system="mayan_13_moon")
|
|
105
|
+
assert not is_mayan_day_out_of_time(date(2026, 7, 26), calendar_system="mayan_13_moon")
|
|
106
|
+
assert not is_mayan_day_out_of_time(date(2026, 7, 25), calendar_system="gregorian")
|
|
107
|
+
|
|
108
|
+
|
|
101
109
|
def test_iter_calendar_periods_deduplicates_mayan_buckets() -> None:
|
|
102
110
|
periods = iter_calendar_periods(
|
|
103
111
|
start=date(2026, 7, 24),
|
|
@@ -600,6 +600,10 @@ def test_main_task_list_passes_extended_filters(
|
|
|
600
600
|
capsys: pytest.CaptureFixture[str],
|
|
601
601
|
) -> None:
|
|
602
602
|
async def fake_list_tasks(_session: object, **kwargs: object) -> list[object]:
|
|
603
|
+
assert (
|
|
604
|
+
kwargs["id_in"]
|
|
605
|
+
== "33333333-3333-3333-3333-333333333333,44444444-4444-4444-4444-444444444444"
|
|
606
|
+
)
|
|
603
607
|
assert kwargs["vision_in"] == "44444444-4444-4444-4444-444444444444"
|
|
604
608
|
assert kwargs["status_in"] == "todo,in_progress"
|
|
605
609
|
assert kwargs["exclude_status"] == "cancelled"
|
|
@@ -615,6 +619,8 @@ def test_main_task_list_passes_extended_filters(
|
|
|
615
619
|
[
|
|
616
620
|
"task",
|
|
617
621
|
"list",
|
|
622
|
+
"--ids",
|
|
623
|
+
"33333333-3333-3333-3333-333333333333,44444444-4444-4444-4444-444444444444",
|
|
618
624
|
"--vision-in",
|
|
619
625
|
"44444444-4444-4444-4444-444444444444",
|
|
620
626
|
"--status-in",
|
|
@@ -111,6 +111,7 @@ def test_machine_readable_reference_describes_arguments_and_content() -> None:
|
|
|
111
111
|
task_argument_names = [argument["name"] for argument in task_list["arguments"]]
|
|
112
112
|
assert "--json" in task_argument_names
|
|
113
113
|
assert "--limit" in task_argument_names
|
|
114
|
+
assert "--ids" in task_argument_names
|
|
114
115
|
assert task_list["usage"].startswith("usage: lifeos task list")
|
|
115
116
|
assert task_list["examples"]
|
|
116
117
|
|
|
@@ -741,6 +741,8 @@ def test_cli_parser_supports_task_list_extended_filters() -> None:
|
|
|
741
741
|
"list",
|
|
742
742
|
"--vision-in",
|
|
743
743
|
"11111111-1111-1111-1111-111111111111,22222222-2222-2222-2222-222222222222",
|
|
744
|
+
"--ids",
|
|
745
|
+
"33333333-3333-3333-3333-333333333333,44444444-4444-4444-4444-444444444444",
|
|
744
746
|
"--status-in",
|
|
745
747
|
"todo,in_progress",
|
|
746
748
|
"--exclude-status",
|
|
@@ -756,6 +758,7 @@ def test_cli_parser_supports_task_list_extended_filters() -> None:
|
|
|
756
758
|
|
|
757
759
|
assert args.resource == "task"
|
|
758
760
|
assert args.task_command == "list"
|
|
761
|
+
assert args.ids == "33333333-3333-3333-3333-333333333333,44444444-4444-4444-4444-444444444444"
|
|
759
762
|
assert args.status_in == "todo,in_progress"
|
|
760
763
|
assert args.exclude_status == "cancelled"
|
|
761
764
|
assert args.planning_cycle_type == "week"
|