clud 2.0.2__py3-none-win_amd64.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.
- clud/__init__.py +3 -0
- clud-2.0.2.data/scripts/clud.exe +0 -0
- clud-2.0.2.dist-info/METADATA +142 -0
- clud-2.0.2.dist-info/RECORD +7 -0
- clud-2.0.2.dist-info/WHEEL +4 -0
- clud-2.0.2.dist-info/licenses/LICENSE +28 -0
- clud-2.0.2.dist-info/sboms/clud.cyclonedx.json +3659 -0
clud/__init__.py
ADDED
|
Binary file
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: clud
|
|
3
|
+
Version: 2.0.2
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Environment :: Console
|
|
6
|
+
Classifier: Intended Audience :: Developers
|
|
7
|
+
Classifier: License :: OSI Approved :: BSD License
|
|
8
|
+
Classifier: Operating System :: OS Independent
|
|
9
|
+
Classifier: Programming Language :: Rust
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
12
|
+
License-File: LICENSE
|
|
13
|
+
Summary: Fast Rust CLI for running Claude Code and Codex in YOLO mode
|
|
14
|
+
Keywords: claude,codex,cli,ai,agent
|
|
15
|
+
Home-Page: https://github.com/zackees/clud
|
|
16
|
+
Author: Zach Vorhies
|
|
17
|
+
License: BSD 3-Clause License
|
|
18
|
+
Requires-Python: >=3.10
|
|
19
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
20
|
+
Project-URL: Homepage, https://github.com/zackees/clud
|
|
21
|
+
Project-URL: Issues, https://github.com/zackees/clud/issues
|
|
22
|
+
Project-URL: Repository, https://github.com/zackees/clud
|
|
23
|
+
|
|
24
|
+
# clud
|
|
25
|
+
|
|
26
|
+

|
|
27
|
+
|
|
28
|
+
**A fast Rust CLI for Claude Code and Codex that runs in YOLO mode by default — no permission prompts, maximum velocity.**
|
|
29
|
+
|
|
30
|
+
The name `clud` is simply a shorter, easier-to-type version of `claude`.
|
|
31
|
+
|
|
32
|
+
| Platform | Build | Lint | Unit Test | Integration Test |
|
|
33
|
+
|----------|-------|------|-----------|------------------|
|
|
34
|
+
| Linux x86 | [](https://github.com/zackees/clud/actions/workflows/linux-x86-build.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-x86-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-x86-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-x86-integration-test.yml) |
|
|
35
|
+
| Linux ARM | [](https://github.com/zackees/clud/actions/workflows/linux-arm-build.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-arm-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-arm-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/linux-arm-integration-test.yml) |
|
|
36
|
+
| Windows x86 | [](https://github.com/zackees/clud/actions/workflows/windows-x86-build.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-x86-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-x86-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-x86-integration-test.yml) |
|
|
37
|
+
| Windows ARM | [](https://github.com/zackees/clud/actions/workflows/windows-arm-build.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-arm-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-arm-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/windows-arm-integration-test.yml) |
|
|
38
|
+
| macOS x86 | [](https://github.com/zackees/clud/actions/workflows/macos-x86-build.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-x86-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-x86-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-x86-integration-test.yml) |
|
|
39
|
+
| macOS ARM | [](https://github.com/zackees/clud/actions/workflows/macos-arm-build.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-arm-lint.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-arm-unit-test.yml) | [](https://github.com/zackees/clud/actions/workflows/macos-arm-integration-test.yml) |
|
|
40
|
+
|
|
41
|
+
## Installation
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
pip install clud
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
```bash
|
|
50
|
+
clud # Launch Claude in YOLO mode (interactive)
|
|
51
|
+
clud --codex # Use Codex as the backend
|
|
52
|
+
clud --claude # Use Claude as the backend (default)
|
|
53
|
+
clud -c # Continue the most recent conversation
|
|
54
|
+
clud --resume # Resume a session
|
|
55
|
+
clud --resume abc123 # Resume a specific session by ID or search term
|
|
56
|
+
clud -p "refactor the auth layer" # Run with a prompt, exit when done
|
|
57
|
+
clud -m "what does this do?" # Send a one-off message
|
|
58
|
+
clud --model opus -p "review PR" # Choose a model
|
|
59
|
+
clud --safe -p "drop the table" # Disable YOLO mode (keeps permission prompts)
|
|
60
|
+
clud --dry-run -p "hello" # Print what would run without executing
|
|
61
|
+
echo "explain this error" | clud # Pipe mode: read prompt from stdin
|
|
62
|
+
clud -- --verbose --debug # Pass extra flags through to the backend
|
|
63
|
+
clud wasm guest.wasm # Run a local wasm module with clud's embedded runtime
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### Flags
|
|
67
|
+
|
|
68
|
+
| Flag | Description |
|
|
69
|
+
|------|-------------|
|
|
70
|
+
| `-p`, `--prompt` | Run with a prompt, exit when complete |
|
|
71
|
+
| `-m`, `--message` | Send a one-off message |
|
|
72
|
+
| `-c`, `--continue` | Continue the most recent conversation |
|
|
73
|
+
| `-r`, `--resume [TERM]` | Resume by session ID or search term |
|
|
74
|
+
| `--claude` | Use Claude as the backend |
|
|
75
|
+
| `--codex` | Use Codex as the backend |
|
|
76
|
+
| `--model <NAME>` | Set model preference (e.g., haiku, sonnet, opus) |
|
|
77
|
+
| `--safe` | Disable YOLO mode (don't inject `--dangerously-skip-permissions`) |
|
|
78
|
+
| `--dry-run` | Print what would be executed, then exit |
|
|
79
|
+
| `-v`, `--verbose` | Show debug output |
|
|
80
|
+
| `-h`, `--help` | Show help |
|
|
81
|
+
| `-V`, `--version` | Show version |
|
|
82
|
+
|
|
83
|
+
Unknown flags are forwarded directly to the backend agent.
|
|
84
|
+
|
|
85
|
+
## `clud loop` — Autonomous Loop
|
|
86
|
+
|
|
87
|
+
Run the backend in an autonomous loop that iterates on a task (default: 50 iterations).
|
|
88
|
+
|
|
89
|
+
```bash
|
|
90
|
+
clud loop "Implement the API endpoints from the spec"
|
|
91
|
+
clud loop TASK.md # Read prompt from a file
|
|
92
|
+
clud loop --loop-count 10 "fix bugs" # Custom iteration count
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
The loop stops early if any iteration exits with a non-zero code.
|
|
96
|
+
|
|
97
|
+
## `clud rebase` — Auto-Rebase
|
|
98
|
+
|
|
99
|
+
Fetches from origin, rebases the current branch, and resolves conflicts.
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
clud rebase
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## `clud fix` — Auto-Fix
|
|
106
|
+
|
|
107
|
+
Detects linting and test tools in your repo, runs them, and fixes failures in a loop until everything passes.
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
clud fix
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## `clud up` — Ship It
|
|
114
|
+
|
|
115
|
+
Runs lint, test, cleanup, then commits.
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
clud up
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
## `clud wasm` — Embedded Runtime
|
|
122
|
+
|
|
123
|
+
Loads a local `.wasm` module, wires up a host logging import, and invokes an exported function.
|
|
124
|
+
|
|
125
|
+
```bash
|
|
126
|
+
clud wasm hello.wasm
|
|
127
|
+
clud wasm hello.wasm --invoke _start
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
## Development
|
|
131
|
+
|
|
132
|
+
```bash
|
|
133
|
+
bash build # Build dev wheel (Rust binary + Python package)
|
|
134
|
+
bash lint # Lint (cargo fmt + clippy + ruff + banned imports)
|
|
135
|
+
bash test # Unit tests (Rust + Python)
|
|
136
|
+
bash test --integration # Include integration tests with mock agents
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## License
|
|
140
|
+
|
|
141
|
+
BSD 3-Clause License
|
|
142
|
+
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
clud/__init__.py,sha256=zYCCtz_dmz0YALrwRIKmRX-5H903lrKe9NuQvnd7RrI,100
|
|
2
|
+
clud-2.0.2.data/scripts/clud.exe,sha256=yTaWWXhO0u-ZDgM7KO34DRFgkmZCI3k-C3UuV2skvt4,22386901
|
|
3
|
+
clud-2.0.2.dist-info/METADATA,sha256=hLSjuOn_i6SHZOFgN4IzYSuVRW2fq_xc9kYBSv_evNE,8804
|
|
4
|
+
clud-2.0.2.dist-info/WHEEL,sha256=0cg7uMdVM1SNK0ih4zFWnV0wsxqvcArlTmRGOaRhEnw,94
|
|
5
|
+
clud-2.0.2.dist-info/licenses/LICENSE,sha256=LmTVXKhG1AV-2GC0GgfZjmIVelFTPKQS0KbVy2Xnx7E,1499
|
|
6
|
+
clud-2.0.2.dist-info/sboms/clud.cyclonedx.json,sha256=PHneYhodSk6Cdcsnmej-cXZJK_mFeER3g6AL5NdhnsU,113185
|
|
7
|
+
clud-2.0.2.dist-info/RECORD,,
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024, Zach Vorhies
|
|
4
|
+
|
|
5
|
+
Redistribution and use in source and binary forms, with or without
|
|
6
|
+
modification, are permitted provided that the following conditions are met:
|
|
7
|
+
|
|
8
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
9
|
+
list of conditions and the following disclaimer.
|
|
10
|
+
|
|
11
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
12
|
+
this list of conditions and the following disclaimer in the documentation
|
|
13
|
+
and/or other materials provided with the distribution.
|
|
14
|
+
|
|
15
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
16
|
+
contributors may be used to endorse or promote products derived from
|
|
17
|
+
this software without specific prior written permission.
|
|
18
|
+
|
|
19
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
20
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
22
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
23
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
24
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
25
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
26
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
27
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
28
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|