overcode 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.
Files changed (50) hide show
  1. overcode-0.1.0/LICENSE +21 -0
  2. overcode-0.1.0/MANIFEST.in +3 -0
  3. overcode-0.1.0/PKG-INFO +87 -0
  4. overcode-0.1.0/README.md +48 -0
  5. overcode-0.1.0/pyproject.toml +77 -0
  6. overcode-0.1.0/setup.cfg +4 -0
  7. overcode-0.1.0/src/overcode/__init__.py +5 -0
  8. overcode-0.1.0/src/overcode/cli.py +812 -0
  9. overcode-0.1.0/src/overcode/config.py +72 -0
  10. overcode-0.1.0/src/overcode/daemon.py +1184 -0
  11. overcode-0.1.0/src/overcode/daemon_claude_skill.md +180 -0
  12. overcode-0.1.0/src/overcode/daemon_state.py +113 -0
  13. overcode-0.1.0/src/overcode/data_export.py +257 -0
  14. overcode-0.1.0/src/overcode/dependency_check.py +227 -0
  15. overcode-0.1.0/src/overcode/exceptions.py +219 -0
  16. overcode-0.1.0/src/overcode/history_reader.py +448 -0
  17. overcode-0.1.0/src/overcode/implementations.py +214 -0
  18. overcode-0.1.0/src/overcode/interfaces.py +49 -0
  19. overcode-0.1.0/src/overcode/launcher.py +434 -0
  20. overcode-0.1.0/src/overcode/logging_config.py +193 -0
  21. overcode-0.1.0/src/overcode/mocks.py +152 -0
  22. overcode-0.1.0/src/overcode/monitor_daemon.py +808 -0
  23. overcode-0.1.0/src/overcode/monitor_daemon_state.py +358 -0
  24. overcode-0.1.0/src/overcode/pid_utils.py +225 -0
  25. overcode-0.1.0/src/overcode/presence_logger.py +454 -0
  26. overcode-0.1.0/src/overcode/protocols.py +143 -0
  27. overcode-0.1.0/src/overcode/session_manager.py +606 -0
  28. overcode-0.1.0/src/overcode/settings.py +412 -0
  29. overcode-0.1.0/src/overcode/standing_instructions.py +276 -0
  30. overcode-0.1.0/src/overcode/status_constants.py +190 -0
  31. overcode-0.1.0/src/overcode/status_detector.py +339 -0
  32. overcode-0.1.0/src/overcode/status_history.py +164 -0
  33. overcode-0.1.0/src/overcode/status_patterns.py +264 -0
  34. overcode-0.1.0/src/overcode/summarizer_client.py +136 -0
  35. overcode-0.1.0/src/overcode/summarizer_component.py +312 -0
  36. overcode-0.1.0/src/overcode/supervisor_daemon.py +1000 -0
  37. overcode-0.1.0/src/overcode/supervisor_layout.sh +50 -0
  38. overcode-0.1.0/src/overcode/tmux_manager.py +228 -0
  39. overcode-0.1.0/src/overcode/tui.py +2549 -0
  40. overcode-0.1.0/src/overcode/tui_helpers.py +495 -0
  41. overcode-0.1.0/src/overcode/web_api.py +279 -0
  42. overcode-0.1.0/src/overcode/web_server.py +138 -0
  43. overcode-0.1.0/src/overcode/web_templates.py +563 -0
  44. overcode-0.1.0/src/overcode.egg-info/PKG-INFO +87 -0
  45. overcode-0.1.0/src/overcode.egg-info/SOURCES.txt +48 -0
  46. overcode-0.1.0/src/overcode.egg-info/dependency_links.txt +1 -0
  47. overcode-0.1.0/src/overcode.egg-info/entry_points.txt +2 -0
  48. overcode-0.1.0/src/overcode.egg-info/requires.txt +19 -0
  49. overcode-0.1.0/src/overcode.egg-info/top_level.txt +1 -0
  50. overcode-0.1.0/tests/test_e2e_multi_agent_jokes.py +798 -0
overcode-0.1.0/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Mike Bond
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,3 @@
1
+ include LICENSE
2
+ include README.md
3
+ recursive-include src/overcode *.md *.sh
@@ -0,0 +1,87 @@
1
+ Metadata-Version: 2.4
2
+ Name: overcode
3
+ Version: 0.1.0
4
+ Summary: A supervisor for managing multiple Claude Code instances in tmux
5
+ Author: Mike Bond
6
+ Project-URL: Homepage, https://github.com/mkb23/overcode
7
+ Project-URL: Repository, https://github.com/mkb23/overcode
8
+ Project-URL: Issues, https://github.com/mkb23/overcode/issues
9
+ Classifier: Development Status :: 4 - Beta
10
+ Classifier: Environment :: Console
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: MIT License
13
+ Classifier: Operating System :: MacOS
14
+ Classifier: Operating System :: POSIX :: Linux
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.12
17
+ Classifier: Programming Language :: Python :: 3.13
18
+ Classifier: Topic :: Software Development :: Quality Assurance
19
+ Requires-Python: >=3.12
20
+ Description-Content-Type: text/markdown
21
+ License-File: LICENSE
22
+ Requires-Dist: textual>=0.40.0
23
+ Requires-Dist: rich>=13.0.0
24
+ Requires-Dist: typer>=0.9.0
25
+ Requires-Dist: pyyaml>=6.0
26
+ Provides-Extra: dev
27
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
28
+ Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
29
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
30
+ Requires-Dist: pytest-timeout>=2.1.0; extra == "dev"
31
+ Requires-Dist: black>=23.0.0; extra == "dev"
32
+ Requires-Dist: mypy>=1.0.0; extra == "dev"
33
+ Provides-Extra: presence
34
+ Requires-Dist: pyobjc-framework-Quartz>=10.0; extra == "presence"
35
+ Requires-Dist: pyobjc-framework-ApplicationServices>=10.0; extra == "presence"
36
+ Provides-Extra: export
37
+ Requires-Dist: pyarrow>=14.0.0; extra == "export"
38
+ Dynamic: license-file
39
+
40
+ # overcode
41
+
42
+ A TUI supervisor for managing multiple Claude Code agents in tmux.
43
+
44
+ Monitor status, costs, and activity across all your agents from a single dashboard.
45
+
46
+ ## Installation
47
+
48
+ ```bash
49
+ pip install overcode
50
+ ```
51
+
52
+ Requires: Python 3.12+, tmux, [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code)
53
+
54
+ ## Quick Start
55
+
56
+ ```bash
57
+ # Launch an agent
58
+ overcode launch --name my-agent --directory ~/myproject
59
+
60
+ # Open the supervisor dashboard
61
+ overcode supervisor
62
+
63
+ # List running agents
64
+ overcode list
65
+ ```
66
+
67
+ ## Features
68
+
69
+ - **Real-time TUI dashboard** - Monitor all agents at a glance
70
+ - **Cost tracking** - See estimated API costs per agent
71
+ - **Activity detection** - Know when agents need input or are working
72
+ - **Time tracking** - Green time (working) vs idle time metrics
73
+ - **Git-aware** - Auto-detects repo and branch for each agent
74
+
75
+ ## TUI Controls
76
+
77
+ | Key | Action |
78
+ |-----|--------|
79
+ | `j/k` or `↑/↓` | Navigate agents |
80
+ | `Enter` | Attach to agent's tmux pane |
81
+ | `f` | Focus agent (full screen) |
82
+ | `k` | Kill selected agent |
83
+ | `q` | Quit |
84
+
85
+ ## License
86
+
87
+ MIT
@@ -0,0 +1,48 @@
1
+ # overcode
2
+
3
+ A TUI supervisor for managing multiple Claude Code agents in tmux.
4
+
5
+ Monitor status, costs, and activity across all your agents from a single dashboard.
6
+
7
+ ## Installation
8
+
9
+ ```bash
10
+ pip install overcode
11
+ ```
12
+
13
+ Requires: Python 3.12+, tmux, [Claude Code CLI](https://docs.anthropic.com/en/docs/claude-code)
14
+
15
+ ## Quick Start
16
+
17
+ ```bash
18
+ # Launch an agent
19
+ overcode launch --name my-agent --directory ~/myproject
20
+
21
+ # Open the supervisor dashboard
22
+ overcode supervisor
23
+
24
+ # List running agents
25
+ overcode list
26
+ ```
27
+
28
+ ## Features
29
+
30
+ - **Real-time TUI dashboard** - Monitor all agents at a glance
31
+ - **Cost tracking** - See estimated API costs per agent
32
+ - **Activity detection** - Know when agents need input or are working
33
+ - **Time tracking** - Green time (working) vs idle time metrics
34
+ - **Git-aware** - Auto-detects repo and branch for each agent
35
+
36
+ ## TUI Controls
37
+
38
+ | Key | Action |
39
+ |-----|--------|
40
+ | `j/k` or `↑/↓` | Navigate agents |
41
+ | `Enter` | Attach to agent's tmux pane |
42
+ | `f` | Focus agent (full screen) |
43
+ | `k` | Kill selected agent |
44
+ | `q` | Quit |
45
+
46
+ ## License
47
+
48
+ MIT
@@ -0,0 +1,77 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "overcode"
7
+ version = "0.1.0"
8
+ description = "A supervisor for managing multiple Claude Code instances in tmux"
9
+ authors = [
10
+ {name = "Mike Bond"}
11
+ ]
12
+ readme = "README.md"
13
+ requires-python = ">=3.12"
14
+ classifiers = [
15
+ "Development Status :: 4 - Beta",
16
+ "Environment :: Console",
17
+ "Intended Audience :: Developers",
18
+ "License :: OSI Approved :: MIT License",
19
+ "Operating System :: MacOS",
20
+ "Operating System :: POSIX :: Linux",
21
+ "Programming Language :: Python :: 3",
22
+ "Programming Language :: Python :: 3.12",
23
+ "Programming Language :: Python :: 3.13",
24
+ "Topic :: Software Development :: Quality Assurance",
25
+ ]
26
+
27
+ dependencies = [
28
+ "textual>=0.40.0",
29
+ "rich>=13.0.0",
30
+ "typer>=0.9.0",
31
+ "pyyaml>=6.0",
32
+ ]
33
+
34
+ [project.urls]
35
+ Homepage = "https://github.com/mkb23/overcode"
36
+ Repository = "https://github.com/mkb23/overcode"
37
+ Issues = "https://github.com/mkb23/overcode/issues"
38
+
39
+ [project.optional-dependencies]
40
+ dev = [
41
+ "pytest>=7.0.0",
42
+ "pytest-asyncio>=0.21.0",
43
+ "pytest-cov>=4.0.0",
44
+ "pytest-timeout>=2.1.0",
45
+ "black>=23.0.0",
46
+ "mypy>=1.0.0",
47
+ ]
48
+
49
+ # macOS presence detection (optional)
50
+ presence = [
51
+ "pyobjc-framework-Quartz>=10.0",
52
+ "pyobjc-framework-ApplicationServices>=10.0",
53
+ ]
54
+
55
+ # Data export to Parquet format
56
+ export = [
57
+ "pyarrow>=14.0.0",
58
+ ]
59
+
60
+ [project.scripts]
61
+ overcode = "overcode.cli:main"
62
+
63
+ [tool.setuptools.packages.find]
64
+ where = ["src"]
65
+
66
+ [tool.setuptools.package-data]
67
+ overcode = ["*.md", "*.sh"]
68
+
69
+ [tool.black]
70
+ line-length = 100
71
+ target-version = ['py312']
72
+
73
+ [tool.mypy]
74
+ python_version = "3.12"
75
+ warn_return_any = true
76
+ warn_unused_configs = true
77
+ disallow_untyped_defs = false
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,5 @@
1
+ """
2
+ Overcode - A supervisor for managing multiple Claude Code instances.
3
+ """
4
+
5
+ __version__ = "0.1.0"