cc-orchestrate 0.1.0__tar.gz

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.
@@ -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.
@@ -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
+ ![cc-orchestrate banner](https://github.com/yasyf/cc-orchestrate/raw/main/docs/assets/readme-banner.webp)
33
+
34
+ [![PyPI](https://img.shields.io/pypi/v/cc-orchestrate.svg)](https://pypi.org/project/cc-orchestrate/)
35
+ [![Python](https://img.shields.io/pypi/pyversions/cc-orchestrate.svg)](https://pypi.org/project/cc-orchestrate/)
36
+ [![Docs](https://img.shields.io/github/actions/workflow/status/yasyf/cc-orchestrate/docs.yml?branch=main&label=docs)](https://yasyf.github.io/cc-orchestrate/)
37
+ [![License: PolyForm-Noncommercial-1.0.0](https://img.shields.io/badge/License-PolyForm-Noncommercial-1.0.0-blue.svg)](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,62 @@
1
+ # cc-orchestrate
2
+
3
+ ![cc-orchestrate banner](https://github.com/yasyf/cc-orchestrate/raw/main/docs/assets/readme-banner.webp)
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/cc-orchestrate.svg)](https://pypi.org/project/cc-orchestrate/)
6
+ [![Python](https://img.shields.io/pypi/pyversions/cc-orchestrate.svg)](https://pypi.org/project/cc-orchestrate/)
7
+ [![Docs](https://img.shields.io/github/actions/workflow/status/yasyf/cc-orchestrate/docs.yml?branch=main&label=docs)](https://yasyf.github.io/cc-orchestrate/)
8
+ [![License: PolyForm-Noncommercial-1.0.0](https://img.shields.io/badge/License-PolyForm-Noncommercial-1.0.0-blue.svg)](https://github.com/yasyf/cc-orchestrate/blob/main/LICENSE)
9
+
10
+ Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset.
11
+
12
+ cc-orchestrate is a CLI for running fleets of Claude Code agents from one seat
13
+ instead of a sprawl of terminal tabs. Backends are pluggable: the same
14
+ orchestration drives agents living in cmux sessions, superset worktrees, or
15
+ whatever runner you wire in next, so fleet logic never cares where an agent
16
+ actually executes.
17
+
18
+ ## Install
19
+
20
+ No install needed — run everything through [uvx](https://docs.astral.sh/uv/):
21
+
22
+ ```bash
23
+ uvx cc-orchestrate --help
24
+ ```
25
+
26
+ `uvx` fetches cc-orchestrate into a throwaway environment and runs it. To add it
27
+ to a project instead:
28
+
29
+ ```bash
30
+ uv add cc-orchestrate
31
+ ```
32
+
33
+ ## Quickstart
34
+
35
+ Check which backends are installed on your machine:
36
+
37
+ ```bash
38
+ uvx cc-orchestrate backends
39
+ ```
40
+
41
+ ```
42
+ cmux available
43
+ superset available
44
+ ```
45
+
46
+ A backend reports `not found` when its CLI is missing from your `PATH`.
47
+ Install the runner and re-run the check.
48
+
49
+ ## What problems does this solve?
50
+
51
+ - Running more than a couple of Claude Code agents means babysitting a sprawl
52
+ of terminal tabs and tmux panes by hand. cc-orchestrate gives the whole
53
+ fleet one front door.
54
+ - Every runner has its own invocation quirks — cmux sessions, superset
55
+ worktrees, plain terminals. Backends absorb those differences, so what you
56
+ dispatch stays portable across them.
57
+ - Knowing what a machine can even run is guesswork. `cc-orchestrate backends`
58
+ reports which runners are installed before you dispatch anything.
59
+
60
+ ## Docs
61
+
62
+ [Read the docs](https://yasyf.github.io/cc-orchestrate/) for the full guide and API reference.
@@ -0,0 +1,3 @@
1
+ """Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset."""
2
+
3
+ from __future__ import annotations
@@ -0,0 +1,6 @@
1
+ from __future__ import annotations
2
+
3
+ from cc_orchestrate.cli import main
4
+
5
+ if __name__ == "__main__":
6
+ main()
@@ -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'}")
File without changes
@@ -0,0 +1,112 @@
1
+ [project]
2
+ name = "cc-orchestrate"
3
+ version = "0.1.0"
4
+ description = "Orchestrate fleets of Claude Code agents across pluggable backends like cmux and superset."
5
+ readme = "README.md"
6
+ license = "PolyForm-Noncommercial-1.0.0"
7
+ license-files = ["LICENSE"]
8
+ authors = [{ name = "Yasyf Mohamedali", email = "yasyfm@gmail.com" }]
9
+ keywords = []
10
+ classifiers = [
11
+ "Development Status :: 3 - Alpha",
12
+ "Intended Audience :: Developers",
13
+ "Operating System :: OS Independent",
14
+ "Programming Language :: Python :: 3",
15
+ "Programming Language :: Python :: 3 :: Only",
16
+ "Typing :: Typed",
17
+ ]
18
+ requires-python = ">=3.13"
19
+ dependencies = [
20
+ "click>=8",
21
+ "loguru>=0.7",
22
+ ]
23
+
24
+ [project.optional-dependencies]
25
+ dev = [
26
+ "anyio>=4",
27
+ "pytest>=8.0",
28
+ "ruff>=0.8",
29
+ ]
30
+
31
+ [project.scripts]
32
+ cc-orchestrate = "cc_orchestrate.cli:main"
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/yasyf/cc-orchestrate"
36
+ Documentation = "https://yasyf.github.io/cc-orchestrate/"
37
+ Repository = "https://github.com/yasyf/cc-orchestrate"
38
+ Issues = "https://github.com/yasyf/cc-orchestrate/issues"
39
+ Changelog = "https://github.com/yasyf/cc-orchestrate/blob/main/CHANGELOG.md"
40
+
41
+ [build-system]
42
+ requires = ["uv_build>=0.11,<0.12"]
43
+ build-backend = "uv_build"
44
+
45
+ [tool.uv.build-backend]
46
+ module-name = "cc_orchestrate"
47
+ module-root = ""
48
+
49
+ [tool.pytest.ini_options]
50
+ testpaths = ["tests"]
51
+ anyio_mode = "auto"
52
+ addopts = ["-ra", "--strict-markers", "--tb=short", "-q"]
53
+ markers = [
54
+ "unit: Pure unit tests",
55
+ "integration: Integration tests",
56
+ ]
57
+
58
+ # ty (Astral) is the default type checker. It runs on every commit via the prek
59
+ # hook (astral-sh/ty-pre-commit — the hook rev pins the ty version) and in CI,
60
+ # warnings only, never blocking. Ad hoc: `uvx prek run ty --all-files`.
61
+ # It is fast, understands modern syntax, and avoids the strict-pyright false
62
+ # positives on pydantic/attrs-style dynamic defaults and PK-type overrides.
63
+ [tool.ty.rules]
64
+ # Every diagnostic surfaces as a warning: ty exits 0 and never blocks a commit or CI.
65
+ all = "warn"
66
+ # Keep cross-checker `# type: ignore` / `# pyright: ignore` comments from tripping ty.
67
+ unused-type-ignore-comment = "ignore"
68
+ unresolved-import = "ignore"
69
+
70
+ # pyright is kept as a secondary checker (editors / `uvx pyright`). Basic mode plus
71
+ # a few disables covers the noise; ty is the default checker, surfaced as warnings
72
+ # at commit time and in CI.
73
+ [tool.pyright]
74
+ pythonVersion = "3.13"
75
+ typeCheckingMode = "basic"
76
+ include = ["cc_orchestrate"]
77
+ venvPath = "."
78
+ venv = ".venv"
79
+ reportImplicitOverride = "none"
80
+ reportIncompatibleVariableOverride = "none"
81
+ reportUnknownVariableType = "none"
82
+ reportUnknownMemberType = "none"
83
+ reportUnknownArgumentType = "none"
84
+ reportUnknownParameterType = "none"
85
+ reportUnknownLambdaType = "none"
86
+ reportMissingTypeArgument = "none"
87
+ reportPrivateImportUsage = "none"
88
+ reportUnusedCallResult = "none"
89
+
90
+ [tool.ruff]
91
+ line-length = 120
92
+ target-version = "py313"
93
+ src = [".", "tests"]
94
+
95
+ [tool.ruff.lint]
96
+ select = ["E", "F", "I", "UP"]
97
+
98
+ [tool.ruff.lint.per-file-ignores]
99
+ # __init__.py re-exports the public API via plain imports (`from .foo import
100
+ # Bar`; no `as` alias, no __all__). F401 stays active in every other module.
101
+ "__init__.py" = ["F401"]
102
+
103
+ [dependency-groups]
104
+ docs = [
105
+ # great-docs imports griffe's 2.x module layout; griffelib is the modern
106
+ # griffe (2.x) distribution, overriding the legacy griffe<2 pin great-docs
107
+ # itself still declares.
108
+ "griffelib>=2.0",
109
+ # 0.13.1+ carries build-time GitHub widget stats (embedded via the CI
110
+ # GITHUB_TOKEN), so the navbar widget makes no client-side API calls.
111
+ "great-docs>=0.13.1",
112
+ ]