Skip to main content

thegent-cli-share

CLI share system for multi-agent orchestration - command deduplication, task queue, smart merge, and coordination.

Architecture

This crate follows Hexagonal Architecture (Ports & Adapters) with Clean Architecture layers.

xDD Methodologies Applied

  • TDD: Tests written first
  • DDD: Bounded contexts for command cache, task queue, smart merge
  • SOLID: Single responsibility per module
  • CQRS: Separate command and query interfaces
  • EDA: Domain events for state changes

Domain Services

Command Deduplication

Prevents duplicate command execution across agents using SHM-based locks.

Task Queue

Maildir-style queue for distributed task processing.

Smart Merge

Mergiraf-style AST-aware merging for conflict resolution.

Coordination

HLC-based distributed coordination.

Installation

pip install thegent-cli-share

CLI Usage

# Command deduplication
thegent-cli-share lock-acquire <cmd_hash>
thegent-cli-share lock-release <cmd_hash> --pid <pid>
thegent-cli-share lock-list

# Task queue
thegent-cli-share queue-enqueue <command> --priority high
thegent-cli-share queue-list

Python API

from thegent_cli_share.adapters.dedup import InMemoryLockAdapter

adapter = InMemoryLockAdapter()
lock = adapter.acquire("cmd_hash", pid=1234)

License

MIT

Metadata

Release files for relaypy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for relaypy 0.1.0
File Size Uploaded Provenance Actions
relaypy-0.1.0.tar.gz 10.1 kB Without provenance Details for relaypy-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for relaypy 0.1.0
File Interpreter ABI Platform Actions
relaypy-0.1.0-py3-none-any.whl Python 3 none any Details for relaypy-0.1.0-py3-none-any.whl

Total release size: 18.9 kB

Release files / relaypy-0.1.0.tar.gz

Download URL relaypy-0.1.0.tar.gz
Size 10.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4de3cf70ef5dc0a049c186548fcc6ba7137e6fee9a27c1503556d46cc0b45fd8
BLAKE2b-256 checksum
How to use checksums
539a15205d28161b5331828cc785c8e439f9b6431f5ee25e19f4bd2351659f67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / relaypy-0.1.0-py3-none-any.whl

Download URL relaypy-0.1.0-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a3651e1aced3b3ce8daae2b49addf6d96c5ac3578cf759a358aceeb32d3f8357
BLAKE2b-256 checksum
How to use checksums
e1dc4e69e78a8699aee160e547681baa57fb613c4f5106075047e4c6fd484ce4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Security for relaypy 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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