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

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.40
File Size Uploaded Provenance Actions
missioncache_db-1.0.40.tar.gz 319.6 kB Without provenance Details for missioncache_db-1.0.40.tar.gz

Built distribution (wheel)

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

Total release size: 517.2 kB

Release files / missioncache_db-1.0.40.tar.gz

Download URL missioncache_db-1.0.40.tar.gz
Size 319.6 kB
Tags Source
SHA-256 checksum
How to use checksums
aec9271d8760c4f6f6bb9cf24a8ae1de3c020b5a02479a793b0604d3a4fcb702
BLAKE2b-256 checksum
How to use checksums
06348e40ba31600688a60d5c9f9fb38c14904f09b7b284e9eface9167bf141f7
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.40-py3-none-any.whl

Download URL missioncache_db-1.0.40-py3-none-any.whl
Size 197.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
45be623945da22816ae22bfb64adeda49a0d890ddb148181a6ba9a1b6e8a9034
BLAKE2b-256 checksum
How to use checksums
aa20170e57bea47229fa0d4023837c1937736765c6ac8587e0b8030d131fec76
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.40

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