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.1.tar.gz (32.1 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.1-py3-none-any.whl (29.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: orbit_db-1.0.1.tar.gz
  • Upload date:
  • Size: 32.1 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.1.tar.gz
Algorithm Hash digest
SHA256 9b4c23a7e139da8398fdf68ee7b3d39904330f7ea30a0a2b596f84a825b9157b
MD5 7d36111fef0e6b565ead2c484615cac5
BLAKE2b-256 6182765e6df913ff6d8f4a9d3aec52229f3abc90ad606f9655638e2cd630ff96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: orbit_db-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 29.4 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1006560b998826568c5c7e56016a4a8d37b367af9efd95483ae629066104ee6
MD5 088c2203c2940f99979223d78896e535
BLAKE2b-256 08ddf9965bf592f8eaf68466c7e823cf53af139c73a6ea96fda07353df984dc4

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