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

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.31
File Size Uploaded
missioncache_db-1.0.31.tar.gz 270.4 kB Details

Built distribution (wheel)

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

Total release size: 437.3 kB

Release files / missioncache_db-1.0.31.tar.gz

Download URL missioncache_db-1.0.31.tar.gz
Size 270.4 kB
Tags Source
SHA-256 checksum
How to use checksums
98ccc072d8912876d373d882a89dbb2fd30efade5ce4ce42316b3ee341c830dd
BLAKE2b-256 checksum
How to use checksums
928471277efce0f11ae7bbbd8095fccbf45cc9bc5950710f141b47d4ad01e9a9
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.31-py3-none-any.whl

Download URL missioncache_db-1.0.31-py3-none-any.whl
Size 166.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0de2bd6bbc013619961f4a9358ddab8d54dbcb6afaf5ede3eac423bb52add80b
BLAKE2b-256 checksum
How to use checksums
2d652db4ca72899761fa5465581f0a819109a5cfc0d5aee0d6e613a47f8d9f0b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

1.0.31 This release

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.24

2 release files

1.0.23

2 release files

1.0.22

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

1.0.3

2 release files

1.0.1

2 release files

0.0.1

1 release file

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