Skip to main content

SQLite-based task and time tracking database for the orbit Claude Code plugin

Project description

orbit-db

SQLite-based task and time tracking database for the orbit Claude Code plugin.

Provides cross-repo task tracking with WakaTime-style heartbeat time aggregation. Used as the storage layer for the orbit MCP server, hooks, CLI, and dashboard, but it's a standalone library and can be used on its own.

Install

pip install orbit-db

Use as a library

from orbit_db import TaskDB

db = TaskDB()            # defaults to ~/.claude/tasks.db
db.initialize_db()
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

orbit-db list-active
orbit-db heartbeat-auto
orbit-db task-time <task_id>
orbit-db --help

Storage

All state lives in a single SQLite database at ~/.claude/tasks.db (override with TASK_DB_PATH). The database is WAL-mode, auto-initializes on first access, and is safe for concurrent readers.

License

MIT

Project details


Download files

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

Source Distribution

orbit_db-1.0.0.tar.gz (31.7 kB view details)

Uploaded Source

Built Distribution

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

orbit_db-1.0.0-py3-none-any.whl (29.2 kB view details)

Uploaded Python 3

File details

Details for the file orbit_db-1.0.0.tar.gz.

File metadata

  • Download URL: orbit_db-1.0.0.tar.gz
  • Upload date:
  • Size: 31.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for orbit_db-1.0.0.tar.gz
Algorithm Hash digest
SHA256 48cf2399f92123f76eabd01b0bc9e4808976abc4bc0d4c46fa32f06dd05126b8
MD5 912f0e7cecacb323e0b09a40a6d3581e
BLAKE2b-256 23cf8866d9f8d72adbafc9588164898712e761bc5dc5dbfe359fab4695d5fad8

See more details on using hashes here.

File details

Details for the file orbit_db-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: orbit_db-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 29.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for orbit_db-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0f5b663d112e3ce23633c04e5dd5ff2bb253292ee31a716cf7a492eb4da3304d
MD5 310418eef8cf9cf18f3128384bf4e90f
BLAKE2b-256 499913e370db6b6036867ca0c82c659b1cb41d4803c0118687c1ff1dfa85c18a

See more details on using hashes here.

Supported by

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