Skip to main content

missioncache-db

SQLite-based task and time tracking database for the MissionCache Claude Code plugin.

Provides cross-repo task tracking with WakaTime-style heartbeat time aggregation. Used as the storage layer for the MissionCache MCP server, hooks, CLI, and dashboard, but it's a standalone library and can be used on its own.

Install

pip install missioncache-db

Use as a library

from missioncache_db import TaskDB

db = TaskDB()            # defaults to ~/.missioncache/tasks.db, override via TaskDB(db_path=...)
repo_id = db.add_repo("/path/to/repo")
task = db.create_task(name="my-task", repo_id=repo_id)
db.record_heartbeat(task_id=task.id, directory="/path/to/repo")

Use as a CLI

missioncache-db list-active
missioncache-db heartbeat-auto
missioncache-db task-time <task_id>
missioncache-db set-category <task_id> <category|none>
missioncache-db --help

Storage

All state lives in a single SQLite database at ~/.missioncache/tasks.db (override by passing db_path to TaskDB). The database is WAL-mode, auto-initializes on first access, and is safe for concurrent readers.

License

MIT

Metadata

Release files for missioncache-db 1.0.37

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for missioncache-db 1.0.37
File Size Uploaded Provenance
missioncache_db-1.0.37.tar.gz 299.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for missioncache-db 1.0.37
File Interpreter ABI Platform
missioncache_db-1.0.37-py3-none-any.whl Python 3 none any Details

Total release size: 484.8 kB

Release files / missioncache_db-1.0.37.tar.gz

Download URL missioncache_db-1.0.37.tar.gz
Size 299.5 kB
Tags Source
SHA-256 checksum
How to use checksums
fb3fb98b971e3335e24598f6180ac50ffe1049cef84cb39f6b9877bc31a13f32
BLAKE2b-256 checksum
How to use checksums
4058b637f03a3cecb0c0cc16fb20c23d0b5d49b318f91fb16b279ecbce065adc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / missioncache_db-1.0.37-py3-none-any.whl

Download URL missioncache_db-1.0.37-py3-none-any.whl
Size 185.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8cceb85098893bcc50435859da457ed2bda1deab8abcab83765e5ff33546d090
BLAKE2b-256 checksum
How to use checksums
479016fc5c30072a1324c013848296e403dc8d58aca0799dfeabdc38a6f643cd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Security for missioncache-db 1.0.37

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page