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

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.38
File Size Uploaded Provenance Actions
missioncache_db-1.0.38.tar.gz 315.5 kB Without provenance Details for missioncache_db-1.0.38.tar.gz

Built distribution (wheel)

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

Total release size: 510.9 kB

Release files / missioncache_db-1.0.38.tar.gz

Download URL missioncache_db-1.0.38.tar.gz
Size 315.5 kB
Tags Source
SHA-256 checksum
How to use checksums
0134a3f64ed2d79f63d71197409130807e9f3d1eeab688dd43378fe03209a718
BLAKE2b-256 checksum
How to use checksums
e56404d5b28f2c62fb9548247b3562263b43471b34a192be236e9c8aa951f730
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.38-py3-none-any.whl

Download URL missioncache_db-1.0.38-py3-none-any.whl
Size 195.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
13c6da64c8a75066aeee1e26bb3465bad84aea5aab9c33087001851a3f37be6f
BLAKE2b-256 checksum
How to use checksums
f4017548e0ed3e3102d46953856f667488805d5980c5c70cd68866e49d91122e
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.38

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