Commit Graph

26 Commits

Author SHA1 Message Date
Debian
6865f3c9a4 Add systemd timer fallback when crontab unavailable
All checks were successful
Build and Push Container / build (push) Successful in 33s
- Try crontab first, fall back to systemd timer
- If neither available, still deploy script but warn user
- Update frontend to show scheduling method (cron/systemd/none)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 10:08:04 +00:00
Debian
ebaadbdffa Add debug logging for script deployment
All checks were successful
Build and Push Container / build (push) Successful in 37s
2026-01-05 10:00:40 +00:00
Debian
97153aa861 Fix username not passed to script deployment
All checks were successful
Build and Push Container / build (push) Successful in 33s
- Include username and port in scan_complete WebSocket event
- Pass username from scan data when deploying scripts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 09:55:56 +00:00
Debian
ae8f833b65 Improve error messages for script deployment failures
All checks were successful
Build and Push Container / build (push) Successful in 30s
Show stdout, stderr, or exit code when deployment fails to help debug issues

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 09:51:09 +00:00
Debian
ba1c65d15c Use sudo for script deployment to /usr/local/bin
All checks were successful
Build and Push Container / build (push) Successful in 31s
- Use 'sudo tee' instead of redirect for writing scripts (redirects don't work with sudo)
- Use 'sudo chmod' to make scripts executable
- Cronjob still runs as user (no sudo needed)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 09:40:38 +00:00
Debian
8c0f3538b9 Improve deploy script button feedback
All checks were successful
Build and Push Container / build (push) Successful in 36s
- Show spinning loader and "Deploying script to {host}..." message while deploying
- Show error message in UI when deployment fails (instead of just console.error)
- Better visual feedback for both initial deploy and retry scenarios

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 09:23:32 +00:00
Debian
ae814c1aea Add push monitor script deployment via SSH
All checks were successful
Build and Push Container / build (push) Successful in 33s
- Add push_scripts.py with bash templates for heartbeat, disk, memory, cpu, and updates monitoring
- Modify kuma_client.py to return push token from created monitors
- Add deploy_push_script() to monitors.py for SSH-based script deployment
- Add heartbeat push_metric type to Claude agent suggestions
- Add /api/monitors/<id>/deploy-script and /api/monitors/deploy-all-scripts endpoints
- Update frontend to show push monitors with deployment status and retry buttons

Scripts are deployed to /usr/local/bin/kuma-push-{metric}-{id}.sh with cron entries.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 08:36:48 +00:00
Debian
908d147235 Switch to uptime-kuma-api-v2 for Kuma v2 support
All checks were successful
Build and Push Container / build (push) Successful in 43s
The original uptime-kuma-api library doesn't support Uptime Kuma v2's
required conditions field. The v2 fork has the same API but properly
supports the newer schema.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 05:35:50 +00:00
Debian
4da7f899c6 Add conditions field for Uptime Kuma v2 compatibility
All checks were successful
Build and Push Container / build (push) Successful in 31s
Uptime Kuma v2 requires a non-null conditions field when creating
monitors. Adding empty array to satisfy the constraint.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:51:03 +00:00
Debian
e23e308c80 Update CLAUDE.md: Claude should auto-deploy after push
All checks were successful
Build and Push Container / build (push) Successful in 26s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:45:14 +00:00
Debian
8779569587 Fix Uptime Kuma login not prompting for TOTP
All checks were successful
Build and Push Container / build (push) Successful in 30s
The login method was returning success even when no token was received,
which happens when 2FA is required. Now properly detects tokenRequired
response and validates token before claiming success.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:42:40 +00:00
Debian
64a8462784 Add CI/CD notes to CLAUDE.md
All checks were successful
Build and Push Container / build (push) Successful in 27s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:35:09 +00:00
Debian
e05faaacbe Add web-based Uptime Kuma login with TOTP support
All checks were successful
Build and Push Container / build (push) Successful in 34s
- Add login modal for username/password/TOTP authentication
- Persist token to file for session persistence
- Make UPTIME_KUMA_API_KEY optional (can login via web UI)
- Add /api/kuma/auth, /api/kuma/login, /api/kuma/logout endpoints
- Show login prompt when not authenticated

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:32:22 +00:00
Debian
98a6d41b6d Re-enable build cache
All checks were successful
Build and Push Container / build (push) Successful in 46s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:16:36 +00:00
Debian
a034842cd3 Fix Uptime Kuma integration and add interactive UI
Some checks failed
Build and Push Container / build (push) Has been cancelled
- Switch to uptime-kuma-api library (Socket.io based)
- Add Approve & Run buttons for Claude's additional commands
- Add answer input fields for Claude's questions
- Add push monitor type support

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:16:19 +00:00
Debian
75f8ead736 Disable cache to force fresh build
All checks were successful
Build and Push Container / build (push) Successful in 51s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:06:38 +00:00
Debian
baf9bd2f36 Update anthropic to 0.75.0
All checks were successful
Build and Push Container / build (push) Successful in 42s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 03:00:29 +00:00
Debian
9cee9e4493 Pin anthropic to 0.45.0 to fix proxies error
All checks were successful
Build and Push Container / build (push) Successful in 42s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 02:58:44 +00:00
Debian
c301bccca6 Add push monitors for system metrics and fix anthropic version
All checks were successful
Build and Push Container / build (push) Successful in 41s
- Add disk, memory, CPU, and updates push monitor suggestions
- Update Claude prompt to always suggest system health monitors
- Fix anthropic library version compatibility (proxies error)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-05 02:52:51 +00:00
Debian
60d92695b1 Simplify .env.example for easier copy-paste
All checks were successful
Build and Push Container / build (push) Successful in 55s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:09:29 +00:00
Debian
3bc75c83cf Update .env.example with 1Password Connect options
Some checks failed
Build and Push Container / build (push) Has been cancelled
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 23:07:01 +00:00
Debian
d728a8e235 Add 1Password Connect support for secrets
All checks were successful
Build and Push Container / build (push) Successful in 31s
Secrets can now use op:// references which are resolved via
1Password Connect API at startup. Set OP_CONNECT_HOST and
OP_CONNECT_TOKEN to enable.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:40:47 +00:00
Debian
8ea35663d4 Use REGISTRY_TOKEN secret for container push
All checks were successful
Build and Push Container / build (push) Successful in 28s
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:16:04 +00:00
Debian
f97267c02a Fix Gitea registry login credentials
Some checks failed
Build and Push Container / build (push) Failing after 17s
Use github.repository_owner and GITHUB_TOKEN for compatibility

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:14:57 +00:00
Debian
982c7ee4e7 Update CI to push to Gitea container registry
Some checks failed
Build and Push Container / build (push) Failing after 18s
- Login to gitea.voyager.sh registry
- Push on main branch, skip on PRs
- Tag with 'latest' and commit SHA

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 22:11:45 +00:00
Debian
ea49143a13 Initial commit with CI workflow
All checks were successful
Build Container / build (push) Successful in 1m18s
- Flask backend with SSH discovery and Claude AI integration
- React/Vite frontend with Tailwind CSS
- Docker multi-stage build
- Gitea Actions workflow for container builds

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-04 21:38:50 +00:00