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.32
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| missioncache_db-1.0.32.tar.gz | 277.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| missioncache_db-1.0.32-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 449.2 kB
Release files / missioncache_db-1.0.32.tar.gz
| Download URL | missioncache_db-1.0.32.tar.gz |
|---|---|
| Size | 277.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
668eae1867e9d8a900e07c84837ae05241a8ee031aee1d550fbabb096decc5ae
|
|
BLAKE2b-256 checksum How to use checksums |
47f9efb48ac58a12d810653a476f8dbd59c5721aef52e9fb8d4d8d0a993ab3aa
|
| 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.32-py3-none-any.whl
| Download URL | missioncache_db-1.0.32-py3-none-any.whl |
|---|---|
| Size | 171.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7059282ca07f03b374378929f059d09d45d4d4edc8767a83bda3ecc808e6878
|
|
BLAKE2b-256 checksum How to use checksums |
e6af0e241cbd05ef5f542c46368a4065ff2c87573f1b3875bd7d7b033fb0ceec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|