cc-orchestrate 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- cc_orchestrate/__init__.py +3 -0
- cc_orchestrate/__main__.py +6 -0
- cc_orchestrate/cli.py +21 -0
- cc_orchestrate/py.typed +0 -0
- cc_orchestrate-0.1.0.dist-info/METADATA +91 -0
- cc_orchestrate-0.1.0.dist-info/RECORD +9 -0
- cc_orchestrate-0.1.0.dist-info/WHEEL +4 -0
- cc_orchestrate-0.1.0.dist-info/entry_points.txt +3 -0
- cc_orchestrate-0.1.0.dist-info/licenses/LICENSE +133 -0
cc_orchestrate/cli.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
|
|
3
|
+
import shutil
|
|
4
|
+
|
|
5
|
+
import click
|
|
6
|
+
|
|
7
|
+
BACKENDS = ("cmux", "superset")
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
@click.group()
|
|
11
|
+
@click.version_option(package_name="cc-orchestrate")
|
|
12
|
+
def main() -> None:
|
|
13
|
+
"""Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset."""
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
@main.command()
|
|
17
|
+
def backends() -> None:
|
|
18
|
+
"""List supported backends and whether each is installed on this machine."""
|
|
19
|
+
for name in BACKENDS:
|
|
20
|
+
path = shutil.which(name)
|
|
21
|
+
click.echo(f"{name}\t{'available' if path else 'not found'}")
|
cc_orchestrate/py.typed
ADDED
|
File without changes
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: cc-orchestrate
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset.
|
|
5
|
+
Keywords:
|
|
6
|
+
Author: Yasyf Mohamedali
|
|
7
|
+
Author-email: Yasyf Mohamedali <yasyfm@gmail.com>
|
|
8
|
+
License-Expression: PolyForm-Noncommercial-1.0.0
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: Operating System :: OS Independent
|
|
13
|
+
Classifier: Programming Language :: Python :: 3
|
|
14
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
15
|
+
Classifier: Typing :: Typed
|
|
16
|
+
Requires-Dist: click>=8
|
|
17
|
+
Requires-Dist: loguru>=0.7
|
|
18
|
+
Requires-Dist: anyio>=4 ; extra == 'dev'
|
|
19
|
+
Requires-Dist: pytest>=8.0 ; extra == 'dev'
|
|
20
|
+
Requires-Dist: ruff>=0.8 ; extra == 'dev'
|
|
21
|
+
Requires-Python: >=3.13
|
|
22
|
+
Project-URL: Homepage, https://github.com/yasyf/cc-orchestrate
|
|
23
|
+
Project-URL: Documentation, https://yasyf.github.io/cc-orchestrate/
|
|
24
|
+
Project-URL: Repository, https://github.com/yasyf/cc-orchestrate
|
|
25
|
+
Project-URL: Issues, https://github.com/yasyf/cc-orchestrate/issues
|
|
26
|
+
Project-URL: Changelog, https://github.com/yasyf/cc-orchestrate/blob/main/CHANGELOG.md
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Description-Content-Type: text/markdown
|
|
29
|
+
|
|
30
|
+
# cc-orchestrate
|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+
[](https://pypi.org/project/cc-orchestrate/)
|
|
35
|
+
[](https://pypi.org/project/cc-orchestrate/)
|
|
36
|
+
[](https://yasyf.github.io/cc-orchestrate/)
|
|
37
|
+
[](https://github.com/yasyf/cc-orchestrate/blob/main/LICENSE)
|
|
38
|
+
|
|
39
|
+
Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset.
|
|
40
|
+
|
|
41
|
+
cc-orchestrate is a CLI for running fleets of Claude Code agents from one seat
|
|
42
|
+
instead of a sprawl of terminal tabs. Backends are pluggable: the same
|
|
43
|
+
orchestration drives agents living in cmux sessions, superset worktrees, or
|
|
44
|
+
whatever runner you wire in next, so fleet logic never cares where an agent
|
|
45
|
+
actually executes.
|
|
46
|
+
|
|
47
|
+
## Install
|
|
48
|
+
|
|
49
|
+
No install needed — run everything through [uvx](https://docs.astral.sh/uv/):
|
|
50
|
+
|
|
51
|
+
```bash
|
|
52
|
+
uvx cc-orchestrate --help
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
`uvx` fetches cc-orchestrate into a throwaway environment and runs it. To add it
|
|
56
|
+
to a project instead:
|
|
57
|
+
|
|
58
|
+
```bash
|
|
59
|
+
uv add cc-orchestrate
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
## Quickstart
|
|
63
|
+
|
|
64
|
+
Check which backends are installed on your machine:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
uvx cc-orchestrate backends
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
```
|
|
71
|
+
cmux available
|
|
72
|
+
superset available
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
A backend reports `not found` when its CLI is missing from your `PATH`.
|
|
76
|
+
Install the runner and re-run the check.
|
|
77
|
+
|
|
78
|
+
## What problems does this solve?
|
|
79
|
+
|
|
80
|
+
- Running more than a couple of Claude Code agents means babysitting a sprawl
|
|
81
|
+
of terminal tabs and tmux panes by hand. cc-orchestrate gives the whole
|
|
82
|
+
fleet one front door.
|
|
83
|
+
- Every runner has its own invocation quirks — cmux sessions, superset
|
|
84
|
+
worktrees, plain terminals. Backends absorb those differences, so what you
|
|
85
|
+
dispatch stays portable across them.
|
|
86
|
+
- Knowing what a machine can even run is guesswork. `cc-orchestrate backends`
|
|
87
|
+
reports which runners are installed before you dispatch anything.
|
|
88
|
+
|
|
89
|
+
## Docs
|
|
90
|
+
|
|
91
|
+
[Read the docs](https://yasyf.github.io/cc-orchestrate/) for the full guide and API reference.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
cc_orchestrate/__init__.py,sha256=JWJiLNBQc_L0JUvrIW_DhYBbIghprqQ6m9FIX-foGpc,133
|
|
2
|
+
cc_orchestrate/__main__.py,sha256=tLIXSP2JWF9IeTbb_GBu7K3WKAHqCMmn1EKR2d0rFNs,111
|
|
3
|
+
cc_orchestrate/cli.py,sha256=Vfuf2rKIycQQmfzkpw10Eho0JynwMaR99ugN8Q7lWIc,541
|
|
4
|
+
cc_orchestrate/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
cc_orchestrate-0.1.0.dist-info/licenses/LICENSE,sha256=qsbrrjuC3EKUnnDPp4vp1hvZ84LsGEgAeo1mph3sgzo,4650
|
|
6
|
+
cc_orchestrate-0.1.0.dist-info/WHEEL,sha256=8ZlpUMJ7mlDirmlHRhDirEx_nPnARrwDjeE92mlk68E,81
|
|
7
|
+
cc_orchestrate-0.1.0.dist-info/entry_points.txt,sha256=gktY0QwOpD13tgkAZ8K0xQl8xh10HDgVMzudP4-Lwc0,60
|
|
8
|
+
cc_orchestrate-0.1.0.dist-info/METADATA,sha256=-TN1tfxE4iV4_tS1mwuoDpnEF5EjqBh-xuHWjZu8H-k,3476
|
|
9
|
+
cc_orchestrate-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
Required Notice: Copyright Yasyf Mohamedali (https://github.com/yasyf/cc-orchestrate)
|
|
2
|
+
|
|
3
|
+
# PolyForm Noncommercial License 1.0.0
|
|
4
|
+
|
|
5
|
+
<https://polyformproject.org/licenses/noncommercial/1.0.0>
|
|
6
|
+
|
|
7
|
+
## Acceptance
|
|
8
|
+
|
|
9
|
+
In order to get any license under these terms, you must agree
|
|
10
|
+
to them as both strict obligations and conditions to all
|
|
11
|
+
your licenses.
|
|
12
|
+
|
|
13
|
+
## Copyright License
|
|
14
|
+
|
|
15
|
+
The licensor grants you a copyright license for the
|
|
16
|
+
software to do everything you might do with the software
|
|
17
|
+
that would otherwise infringe the licensor's copyright
|
|
18
|
+
in it for any permitted purpose. However, you may
|
|
19
|
+
only distribute the software according to [Distribution
|
|
20
|
+
License](#distribution-license) and make changes or new works
|
|
21
|
+
based on the software according to [Changes and New Works
|
|
22
|
+
License](#changes-and-new-works-license).
|
|
23
|
+
|
|
24
|
+
## Distribution License
|
|
25
|
+
|
|
26
|
+
The licensor grants you an additional copyright license
|
|
27
|
+
to distribute copies of the software. Your license
|
|
28
|
+
to distribute covers distributing the software with
|
|
29
|
+
changes and new works permitted by [Changes and New Works
|
|
30
|
+
License](#changes-and-new-works-license).
|
|
31
|
+
|
|
32
|
+
## Notices
|
|
33
|
+
|
|
34
|
+
You must ensure that anyone who gets a copy of any part of
|
|
35
|
+
the software from you also gets a copy of these terms or the
|
|
36
|
+
URL for them above, as well as copies of any plain-text lines
|
|
37
|
+
beginning with `Required Notice:` that the licensor provided
|
|
38
|
+
with the software. For example:
|
|
39
|
+
|
|
40
|
+
> Required Notice: Copyright Yoyodyne, Inc. (http://example.com)
|
|
41
|
+
|
|
42
|
+
## Changes and New Works License
|
|
43
|
+
|
|
44
|
+
The licensor grants you an additional copyright license to
|
|
45
|
+
make changes and new works based on the software for any
|
|
46
|
+
permitted purpose.
|
|
47
|
+
|
|
48
|
+
## Patent License
|
|
49
|
+
|
|
50
|
+
The licensor grants you a patent license for the software that
|
|
51
|
+
covers patent claims the licensor can license, or becomes able
|
|
52
|
+
to license, that you would infringe by using the software.
|
|
53
|
+
|
|
54
|
+
## Noncommercial Purposes
|
|
55
|
+
|
|
56
|
+
Any noncommercial purpose is a permitted purpose.
|
|
57
|
+
|
|
58
|
+
## Personal Uses
|
|
59
|
+
|
|
60
|
+
Personal use for research, experiment, and testing for
|
|
61
|
+
the benefit of public knowledge, personal study, private
|
|
62
|
+
entertainment, hobby projects, amateur pursuits, or religious
|
|
63
|
+
observance, without any anticipated commercial application,
|
|
64
|
+
is use for a permitted purpose.
|
|
65
|
+
|
|
66
|
+
## Noncommercial Organizations
|
|
67
|
+
|
|
68
|
+
Use by any charitable organization, educational institution,
|
|
69
|
+
public research organization, public safety or health
|
|
70
|
+
organization, environmental protection organization,
|
|
71
|
+
or government institution is use for a permitted purpose
|
|
72
|
+
regardless of the source of funding or obligations resulting
|
|
73
|
+
from the funding.
|
|
74
|
+
|
|
75
|
+
## Fair Use
|
|
76
|
+
|
|
77
|
+
You may have "fair use" rights for the software under the
|
|
78
|
+
law. These terms do not limit them.
|
|
79
|
+
|
|
80
|
+
## No Other Rights
|
|
81
|
+
|
|
82
|
+
These terms do not allow you to sublicense or transfer any of
|
|
83
|
+
your licenses to anyone else, or prevent the licensor from
|
|
84
|
+
granting licenses to anyone else. These terms do not imply
|
|
85
|
+
any other licenses.
|
|
86
|
+
|
|
87
|
+
## Patent Defense
|
|
88
|
+
|
|
89
|
+
If you make any written claim that the software infringes or
|
|
90
|
+
contributes to infringement of any patent, your patent license
|
|
91
|
+
for the software granted under these terms ends immediately. If
|
|
92
|
+
your company makes such a claim, your patent license ends
|
|
93
|
+
immediately for work on behalf of your company.
|
|
94
|
+
|
|
95
|
+
## Violations
|
|
96
|
+
|
|
97
|
+
The first time you are notified in writing that you have
|
|
98
|
+
violated any of these terms, or done anything with the software
|
|
99
|
+
not covered by your licenses, your licenses can nonetheless
|
|
100
|
+
continue if you come into full compliance with these terms,
|
|
101
|
+
and take practical steps to correct past violations, within
|
|
102
|
+
32 days of receiving notice. Otherwise, all your licenses
|
|
103
|
+
end immediately.
|
|
104
|
+
|
|
105
|
+
## No Liability
|
|
106
|
+
|
|
107
|
+
***As far as the law allows, the software comes as is, without
|
|
108
|
+
any warranty or condition, and the licensor will not be liable
|
|
109
|
+
to you for any damages arising out of these terms or the use
|
|
110
|
+
or nature of the software, under any kind of legal claim.***
|
|
111
|
+
|
|
112
|
+
## Definitions
|
|
113
|
+
|
|
114
|
+
The **licensor** is the individual or entity offering these
|
|
115
|
+
terms, and the **software** is the software the licensor makes
|
|
116
|
+
available under these terms.
|
|
117
|
+
|
|
118
|
+
**You** refers to the individual or entity agreeing to these
|
|
119
|
+
terms.
|
|
120
|
+
|
|
121
|
+
**Your company** is any legal entity, sole proprietorship,
|
|
122
|
+
or other kind of organization that you work for, plus all
|
|
123
|
+
organizations that have control over, are under the control of,
|
|
124
|
+
or are under common control with that organization. **Control**
|
|
125
|
+
means ownership of substantially all the assets of an entity,
|
|
126
|
+
or the power to direct its management and policies by vote,
|
|
127
|
+
contract, or otherwise. Control can be direct or indirect.
|
|
128
|
+
|
|
129
|
+
**Your licenses** are all the licenses granted to you for the
|
|
130
|
+
software under these terms.
|
|
131
|
+
|
|
132
|
+
**Use** means anything you do with the software requiring one
|
|
133
|
+
of your licenses.
|