claude-code-telegrammer 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 (26) hide show
  1. claude_code_telegrammer-0.1.0/.github/workflows/publish-pypi.yml +27 -0
  2. claude_code_telegrammer-0.1.0/.github/workflows/test.yml +26 -0
  3. claude_code_telegrammer-0.1.0/LICENSE +661 -0
  4. claude_code_telegrammer-0.1.0/PKG-INFO +223 -0
  5. claude_code_telegrammer-0.1.0/README.md +196 -0
  6. claude_code_telegrammer-0.1.0/bin/telegrammer +266 -0
  7. claude_code_telegrammer-0.1.0/bin/telegrammer-guard +89 -0
  8. claude_code_telegrammer-0.1.0/bin/telegrammer-init +104 -0
  9. claude_code_telegrammer-0.1.0/bin/telegrammer-watchdog +118 -0
  10. claude_code_telegrammer-0.1.0/config/telegram-master.yaml +30 -0
  11. claude_code_telegrammer-0.1.0/docs/scitex-icon-navy-inverted.png +0 -0
  12. claude_code_telegrammer-0.1.0/docs/scitex-logo-blue-cropped.png +0 -0
  13. claude_code_telegrammer-0.1.0/hooks/enforce_background_subagents.sh +33 -0
  14. claude_code_telegrammer-0.1.0/lib/auto-response.sh +113 -0
  15. claude_code_telegrammer-0.1.0/lib/common.sh +123 -0
  16. claude_code_telegrammer-0.1.0/lib/lock.sh +171 -0
  17. claude_code_telegrammer-0.1.0/lib/state-detection.sh +187 -0
  18. claude_code_telegrammer-0.1.0/pyproject.toml +53 -0
  19. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer/__init__.py +33 -0
  20. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer/cli.py +30 -0
  21. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer.egg-info/PKG-INFO +12 -0
  22. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer.egg-info/SOURCES.txt +16 -0
  23. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer.egg-info/dependency_links.txt +1 -0
  24. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer.egg-info/entry_points.txt +4 -0
  25. claude_code_telegrammer-0.1.0/src/claude_code_telegrammer.egg-info/top_level.txt +1 -0
  26. claude_code_telegrammer-0.1.0/tests/test-state-detection.sh +222 -0
@@ -0,0 +1,27 @@
1
+ name: Publish to PyPI
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v*'
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ environment:
12
+ name: pypi
13
+ url: https://pypi.org/p/claude-code-telegrammer
14
+ permissions:
15
+ id-token: write
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ - name: Set up Python
19
+ uses: actions/setup-python@v5
20
+ with:
21
+ python-version: "3.12"
22
+ - name: Install build tools
23
+ run: pip install build
24
+ - name: Build distribution
25
+ run: python -m build
26
+ - name: Publish to PyPI
27
+ uses: pypa/gh-action-pypi-publish@release/v1
@@ -0,0 +1,26 @@
1
+ name: Test
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+ branches: [main, develop]
8
+
9
+ jobs:
10
+ test:
11
+ runs-on: ubuntu-latest
12
+ strategy:
13
+ matrix:
14
+ python-version: ["3.10", "3.11", "3.12"]
15
+ steps:
16
+ - uses: actions/checkout@v4
17
+ - name: Set up Python ${{ matrix.python-version }}
18
+ uses: actions/setup-python@v5
19
+ with:
20
+ python-version: ${{ matrix.python-version }}
21
+ - name: Install package
22
+ run: |
23
+ python -m pip install --upgrade pip
24
+ pip install -e .
25
+ - name: Run shell tests
26
+ run: bash tests/test-state-detection.sh