ai-cli-utils 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.
- ai_cli_utils-0.1.0/.gitignore +12 -0
- ai_cli_utils-0.1.0/LICENSE +21 -0
- ai_cli_utils-0.1.0/PKG-INFO +58 -0
- ai_cli_utils-0.1.0/README.md +28 -0
- ai_cli_utils-0.1.0/pyproject.toml +63 -0
- ai_cli_utils-0.1.0/src/ai_cli/__init__.py +2 -0
- ai_cli_utils-0.1.0/src/ai_cli/main.py +1134 -0
- ai_cli_utils-0.1.0/src/ai_cli/memory.py +147 -0
- ai_cli_utils-0.1.0/src/ai_cli/messaging.py +174 -0
- ai_cli_utils-0.1.0/src/ai_cli/notifications.py +43 -0
- ai_cli_utils-0.1.0/src/ai_cli/quota.py +138 -0
- ai_cli_utils-0.1.0/src/ai_cli/sync.py +1599 -0
- ai_cli_utils-0.1.0/src/ai_cli/telemetry.py +162 -0
- ai_cli_utils-0.1.0/tests/test_dream_guard.py +39 -0
- ai_cli_utils-0.1.0/tests/test_main.py +451 -0
- ai_cli_utils-0.1.0/tests/test_memory.py +110 -0
- ai_cli_utils-0.1.0/tests/test_messaging.py +234 -0
- ai_cli_utils-0.1.0/tests/test_messaging_jetstream.py +152 -0
- ai_cli_utils-0.1.0/tests/test_quota.py +70 -0
- ai_cli_utils-0.1.0/tests/test_sync.py +1356 -0
- ai_cli_utils-0.1.0/tests/test_sync_watch.py +50 -0
- ai_cli_utils-0.1.0/tests/test_telemetry.py +89 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Sergei Wallace
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ai-cli-utils
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Unified AI session manager for Claude Code and Gemini CLI
|
|
5
|
+
Project-URL: Homepage, https://github.com/sergeiwallace/ai-cli
|
|
6
|
+
Project-URL: Repository, https://github.com/sergeiwallace/ai-cli
|
|
7
|
+
Project-URL: Issues, https://github.com/sergeiwallace/ai-cli/issues
|
|
8
|
+
Author-email: Sergei Wallace <sergeipwallace@gmail.com>
|
|
9
|
+
License-Expression: MIT
|
|
10
|
+
License-File: LICENSE
|
|
11
|
+
Classifier: Development Status :: 3 - Alpha
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
|
+
Classifier: Topic :: Utilities
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: circus>=0.18.0
|
|
23
|
+
Requires-Dist: libtmux>=0.30.0
|
|
24
|
+
Requires-Dist: nats-py>=2.9.0
|
|
25
|
+
Requires-Dist: watchdog>=4.0.0
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Requires-Dist: pytest-cov>=5; extra == 'dev'
|
|
28
|
+
Requires-Dist: pytest>=8; extra == 'dev'
|
|
29
|
+
Description-Content-Type: text/markdown
|
|
30
|
+
|
|
31
|
+
# ai-cli
|
|
32
|
+
|
|
33
|
+
Unified AI session manager for Claude Code and Gemini CLI.
|
|
34
|
+
|
|
35
|
+
Manages tmux-based AI coding sessions with features like:
|
|
36
|
+
|
|
37
|
+
- **Session management** — `ai c 1`, `ai c 2` to launch numbered Claude Code sessions in tmux with auto-resume
|
|
38
|
+
- **Fleet operations** — `ai c ls`, `ai c -R` to list and restart sessions
|
|
39
|
+
- **Cross-machine sync** — `ai sync push/pull` to sync CC memory and conversation history between machines
|
|
40
|
+
- **Handoff queue** — `ai handoff post/check/claim/complete` for cross-session task delegation
|
|
41
|
+
- **Memory management** — `ai memory search/audit` for CC memory operations
|
|
42
|
+
- **Notifications** — desktop and push notifications for long-running operations
|
|
43
|
+
|
|
44
|
+
## Install
|
|
45
|
+
|
|
46
|
+
```bash
|
|
47
|
+
uv tool install ai-cli
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
## Requirements
|
|
51
|
+
|
|
52
|
+
- Python 3.11+
|
|
53
|
+
- tmux
|
|
54
|
+
- Claude Code CLI (`claude`)
|
|
55
|
+
|
|
56
|
+
## License
|
|
57
|
+
|
|
58
|
+
MIT
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# ai-cli
|
|
2
|
+
|
|
3
|
+
Unified AI session manager for Claude Code and Gemini CLI.
|
|
4
|
+
|
|
5
|
+
Manages tmux-based AI coding sessions with features like:
|
|
6
|
+
|
|
7
|
+
- **Session management** — `ai c 1`, `ai c 2` to launch numbered Claude Code sessions in tmux with auto-resume
|
|
8
|
+
- **Fleet operations** — `ai c ls`, `ai c -R` to list and restart sessions
|
|
9
|
+
- **Cross-machine sync** — `ai sync push/pull` to sync CC memory and conversation history between machines
|
|
10
|
+
- **Handoff queue** — `ai handoff post/check/claim/complete` for cross-session task delegation
|
|
11
|
+
- **Memory management** — `ai memory search/audit` for CC memory operations
|
|
12
|
+
- **Notifications** — desktop and push notifications for long-running operations
|
|
13
|
+
|
|
14
|
+
## Install
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
uv tool install ai-cli
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Requirements
|
|
21
|
+
|
|
22
|
+
- Python 3.11+
|
|
23
|
+
- tmux
|
|
24
|
+
- Claude Code CLI (`claude`)
|
|
25
|
+
|
|
26
|
+
## License
|
|
27
|
+
|
|
28
|
+
MIT
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "ai-cli-utils"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Unified AI session manager for Claude Code and Gemini CLI"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = "MIT"
|
|
7
|
+
requires-python = ">=3.11"
|
|
8
|
+
authors = [
|
|
9
|
+
{ name = "Sergei Wallace", email = "sergeipwallace@gmail.com" },
|
|
10
|
+
]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Development Status :: 3 - Alpha",
|
|
13
|
+
"Environment :: Console",
|
|
14
|
+
"Intended Audience :: Developers",
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Programming Language :: Python :: 3",
|
|
17
|
+
"Programming Language :: Python :: 3.11",
|
|
18
|
+
"Programming Language :: Python :: 3.12",
|
|
19
|
+
"Programming Language :: Python :: 3.13",
|
|
20
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
21
|
+
"Topic :: Utilities",
|
|
22
|
+
]
|
|
23
|
+
dependencies = [
|
|
24
|
+
"nats-py>=2.9.0",
|
|
25
|
+
"circus>=0.18.0",
|
|
26
|
+
"libtmux>=0.30.0",
|
|
27
|
+
"watchdog>=4.0.0",
|
|
28
|
+
]
|
|
29
|
+
|
|
30
|
+
[project.urls]
|
|
31
|
+
Homepage = "https://github.com/sergeiwallace/ai-cli"
|
|
32
|
+
Repository = "https://github.com/sergeiwallace/ai-cli"
|
|
33
|
+
Issues = "https://github.com/sergeiwallace/ai-cli/issues"
|
|
34
|
+
|
|
35
|
+
[project.scripts]
|
|
36
|
+
ai = "ai_cli.main:cli"
|
|
37
|
+
|
|
38
|
+
[build-system]
|
|
39
|
+
requires = ["hatchling"]
|
|
40
|
+
build-backend = "hatchling.build"
|
|
41
|
+
|
|
42
|
+
[tool.hatch.build.targets.wheel]
|
|
43
|
+
packages = ["src/ai_cli"]
|
|
44
|
+
|
|
45
|
+
[project.optional-dependencies]
|
|
46
|
+
dev = [
|
|
47
|
+
"pytest>=8",
|
|
48
|
+
"pytest-cov>=5",
|
|
49
|
+
]
|
|
50
|
+
|
|
51
|
+
[tool.pytest.ini_options]
|
|
52
|
+
pythonpath = ["src"]
|
|
53
|
+
testpaths = ["tests"]
|
|
54
|
+
|
|
55
|
+
[tool.ruff]
|
|
56
|
+
line-length = 120
|
|
57
|
+
|
|
58
|
+
[tool.ruff.lint]
|
|
59
|
+
ignore = [
|
|
60
|
+
"E701", # multiple-statements-on-one-line (colon) — established compact style in main.py
|
|
61
|
+
"E702", # multiple-statements-on-one-line (semicolon) — established compact style in main.py
|
|
62
|
+
"E741", # ambiguous-variable-name — single-letter vars acceptable in comprehensions
|
|
63
|
+
]
|