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.39

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.39
File Size Uploaded Provenance Actions
missioncache_db-1.0.39.tar.gz 319.3 kB Without provenance Details for missioncache_db-1.0.39.tar.gz

Built distribution (wheel)

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

Total release size: 516.6 kB

Release files / missioncache_db-1.0.39.tar.gz

Download URL missioncache_db-1.0.39.tar.gz
Size 319.3 kB
Tags Source
SHA-256 checksum
How to use checksums
de40fc844e9a8afa36b7d14ba50d300d59dcc29c25b97168f0ac7bbc3c950dc2
BLAKE2b-256 checksum
How to use checksums
0eb72e27587e7d05d719b16c127b79a32e6a497f863ca5ad7bfb9f28679ed81d
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.39-py3-none-any.whl

Download URL missioncache_db-1.0.39-py3-none-any.whl
Size 197.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
07169c3e6ca245f17cf725536283347a4e5166ad52d9690a1a542cf0cad5fc11
BLAKE2b-256 checksum
How to use checksums
c8188ab773380de71d409259f7e62f9c9173b33ffd466907b0f5601be44702c4
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.39

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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