ccgram 2.0.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.
- ccgram/__init__.py +10 -0
- ccgram/_version.py +34 -0
- ccgram/bot.py +1780 -0
- ccgram/cc_commands.py +285 -0
- ccgram/cli.py +229 -0
- ccgram/codex_status.py +237 -0
- ccgram/command_catalog.py +171 -0
- ccgram/config.py +133 -0
- ccgram/doctor_cmd.py +334 -0
- ccgram/fonts/JetBrainsMono-Regular.ttf +0 -0
- ccgram/fonts/LICENSE-JetBrainsMono.txt +93 -0
- ccgram/fonts/LICENSE-NotoSansMono.txt +92 -0
- ccgram/fonts/LICENSE-Symbola.txt +8 -0
- ccgram/fonts/NotoSansMonoCJKsc-Regular.otf +0 -0
- ccgram/fonts/Symbola.ttf +0 -0
- ccgram/handlers/__init__.py +13 -0
- ccgram/handlers/callback_data.py +101 -0
- ccgram/handlers/callback_helpers.py +28 -0
- ccgram/handlers/cleanup.py +94 -0
- ccgram/handlers/command_history.py +61 -0
- ccgram/handlers/directory_browser.py +338 -0
- ccgram/handlers/directory_callbacks.py +565 -0
- ccgram/handlers/file_handler.py +272 -0
- ccgram/handlers/history.py +201 -0
- ccgram/handlers/history_callbacks.py +72 -0
- ccgram/handlers/hook_events.py +269 -0
- ccgram/handlers/interactive_callbacks.py +123 -0
- ccgram/handlers/interactive_ui.py +327 -0
- ccgram/handlers/message_queue.py +717 -0
- ccgram/handlers/message_sender.py +223 -0
- ccgram/handlers/recovery_callbacks.py +631 -0
- ccgram/handlers/response_builder.py +95 -0
- ccgram/handlers/restore_command.py +97 -0
- ccgram/handlers/resume_command.py +434 -0
- ccgram/handlers/screenshot_callbacks.py +389 -0
- ccgram/handlers/sessions_dashboard.py +181 -0
- ccgram/handlers/status_polling.py +1071 -0
- ccgram/handlers/sync_command.py +262 -0
- ccgram/handlers/text_handler.py +418 -0
- ccgram/handlers/topic_emoji.py +220 -0
- ccgram/handlers/upgrade.py +96 -0
- ccgram/handlers/user_state.py +11 -0
- ccgram/handlers/window_callbacks.py +180 -0
- ccgram/hook.py +583 -0
- ccgram/interactive_prompt_formatter.py +245 -0
- ccgram/main.py +120 -0
- ccgram/markdown_v2.py +168 -0
- ccgram/monitor_state.py +110 -0
- ccgram/providers/__init__.py +241 -0
- ccgram/providers/_jsonl.py +244 -0
- ccgram/providers/base.py +260 -0
- ccgram/providers/claude.py +213 -0
- ccgram/providers/codex.py +702 -0
- ccgram/providers/gemini.py +752 -0
- ccgram/providers/registry.py +62 -0
- ccgram/screen_buffer.py +48 -0
- ccgram/screenshot.py +338 -0
- ccgram/session.py +1523 -0
- ccgram/session_monitor.py +819 -0
- ccgram/state_persistence.py +71 -0
- ccgram/status_cmd.py +133 -0
- ccgram/telegram_sender.py +43 -0
- ccgram/terminal_parser.py +552 -0
- ccgram/tmux_manager.py +907 -0
- ccgram/transcript_parser.py +714 -0
- ccgram/utils.py +223 -0
- ccgram/window_resolver.py +200 -0
- ccgram-2.0.0.dist-info/METADATA +234 -0
- ccgram-2.0.0.dist-info/RECORD +72 -0
- ccgram-2.0.0.dist-info/WHEEL +4 -0
- ccgram-2.0.0.dist-info/entry_points.txt +2 -0
- ccgram-2.0.0.dist-info/licenses/LICENSE +22 -0
ccgram/__init__.py
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"""CCGram — Command & Control Bot for AI coding agents via tmux.
|
|
2
|
+
|
|
3
|
+
Package entry point. Exports the version string only; all functional
|
|
4
|
+
modules are imported lazily by main.py to keep startup fast.
|
|
5
|
+
"""
|
|
6
|
+
|
|
7
|
+
try:
|
|
8
|
+
from ._version import __version__
|
|
9
|
+
except ImportError:
|
|
10
|
+
__version__ = "0.0.0+unknown"
|
ccgram/_version.py
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# file generated by setuptools-scm
|
|
2
|
+
# don't change, don't track in version control
|
|
3
|
+
|
|
4
|
+
__all__ = [
|
|
5
|
+
"__version__",
|
|
6
|
+
"__version_tuple__",
|
|
7
|
+
"version",
|
|
8
|
+
"version_tuple",
|
|
9
|
+
"__commit_id__",
|
|
10
|
+
"commit_id",
|
|
11
|
+
]
|
|
12
|
+
|
|
13
|
+
TYPE_CHECKING = False
|
|
14
|
+
if TYPE_CHECKING:
|
|
15
|
+
from typing import Tuple
|
|
16
|
+
from typing import Union
|
|
17
|
+
|
|
18
|
+
VERSION_TUPLE = Tuple[Union[int, str], ...]
|
|
19
|
+
COMMIT_ID = Union[str, None]
|
|
20
|
+
else:
|
|
21
|
+
VERSION_TUPLE = object
|
|
22
|
+
COMMIT_ID = object
|
|
23
|
+
|
|
24
|
+
version: str
|
|
25
|
+
__version__: str
|
|
26
|
+
__version_tuple__: VERSION_TUPLE
|
|
27
|
+
version_tuple: VERSION_TUPLE
|
|
28
|
+
commit_id: COMMIT_ID
|
|
29
|
+
__commit_id__: COMMIT_ID
|
|
30
|
+
|
|
31
|
+
__version__ = version = '2.0.0'
|
|
32
|
+
__version_tuple__ = version_tuple = (2, 0, 0)
|
|
33
|
+
|
|
34
|
+
__commit_id__ = commit_id = None
|