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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

missioncache_db-1.0.24.tar.gz (207.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

missioncache_db-1.0.24-py3-none-any.whl (126.1 kB view details)

Uploaded Python 3

File details

Details for the file missioncache_db-1.0.24.tar.gz.

File metadata

  • Download URL: missioncache_db-1.0.24.tar.gz
  • Upload date:
  • Size: 207.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for missioncache_db-1.0.24.tar.gz
Algorithm Hash digest
SHA256 6cd01fe2b2549cca65ebd20df071e94d892d83119ce8d9089aa11967ae6fd92d
MD5 70cc1d4ca22309e0b19461f4b188b841
BLAKE2b-256 8d0b0c86d61df37d08132716f533c49343dc61de898868dfd57328fcede8c73b

See more details on using hashes here.

File details

Details for the file missioncache_db-1.0.24-py3-none-any.whl.

File metadata

File hashes

Hashes for missioncache_db-1.0.24-py3-none-any.whl
Algorithm Hash digest
SHA256 23c9d096681a1b35ae32ba4bcf548fbb0eb11a8a9b1de17aa3fba1c48ca2c5fc
MD5 c16a4f604013f8b2acf95c87edbd72f2
BLAKE2b-256 c313464252f7907c0ce7438d68af17e49efc9adb128e4a892b8c7120dccb3255

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.24 This release

2 files

1.0.23

2 files

1.0.22

2 files

1.0.20

2 files

1.0.19

2 files

1.0.15

2 files

1.0.14

2 files

1.0.13

2 files

1.0.12

2 files

1.0.11

2 files

1.0.10

2 files

1.0.3

2 files

1.0.1

2 files

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page