Commit Graph

1390 Commits

Author SHA1 Message Date
139f46b6c3 bump version to 1.0.33 v1.0.33 2025-09-07 08:00:13 +04:00
9f424d9d33 ... 2025-09-07 07:59:58 +04:00
154a5139d9 bump version to 1.0.32 v1.0.32 2025-09-07 07:50:13 +04:00
eb81e69bf4 ... 2025-09-07 07:49:47 +04:00
4b41bdc588 ... 2025-09-07 07:40:50 +04:00
9eb89e0411 bump version to 1.0.31 v1.0.31 2025-09-07 07:40:09 +04:00
5fcdadcabd bump version to 1.0.30 2025-09-07 07:30:48 +04:00
d542d080fa ... 2025-09-07 07:30:09 +04:00
f6557335ee ... 2025-09-07 07:23:43 +04:00
bbac841427 ... 2025-09-07 07:21:40 +04:00
746d9d16c7 Merge branch 'development' into development_herorun
* development:
  ...
  bump version to 1.0.30
2025-09-07 07:02:09 +04:00
075b6bd124 ... 2025-09-05 14:13:39 +04:00
9174e60d78 Merge branch 'development' of github.com:freeflowuniverse/herolib into development v1.0.30 2025-09-05 14:07:20 +04:00
85b17eeb05 bump version to 1.0.30 2025-09-05 14:07:16 +04:00
Mahmoud-Emad
8d03eb822d feat: add HeroRun remote container management library
- Introduce Executor for remote container orchestration
- Add Container lifecycle management with tmux
- Support Alpine and Alpine Python base images
- Auto-install core dependencies on remote node
- Include full usage examples and updated README
2025-09-03 18:32:47 +03:00
Mahmoud-Emad
0ee57a8075 test: update logger instantiation in test 2025-09-03 11:44:34 +03:00
Mahmoud-Emad
dd400ba6fa style: improve code formatting; refactor module imports
- Apply consistent alignment for struct fields and parameters
- Standardize string literal delimiters to single quotes
- Refactor module import strategy in `models` package
- Enhance asset formatting for precise decimal display
- Remove unused imports and redundant `+}` syntax artifacts
2025-09-03 11:36:02 +03:00
Mahmoud-Emad
4a82bde192 refactor: migrate to redisclient and update V-lang syntax
- Refactor Redis client usage to `herolib.core.redisclient`
- Improve Redis connection error handling and logging
- Update V-lang syntax: string interpolation, `spawn`, key generation
- Expose `herocluster` types and methods as public
- Add `redisclient` usage example in `escalayer` module
2025-09-03 11:22:18 +03:00
Mahmoud-Emad
08bcd3bc56 fix: Fix SSH result for exit code 1 and refactor ping
- Alias `herolib.core` import to `herolib_core`
- Use `herolib_core.platform()` for clarity
- Store `res.output` in `res_output` variable
- Return `res_output` consistently
- Change `SSHResult.tcpport` to `SSHResult.ssh`
2025-09-03 10:41:07 +03:00
Mahmoud-Emad
49bf9dbf80 test: Update ping test assertions
- Use boolean `true` for successful ping
- Use boolean `false` for ping timeout
- Use boolean `false` for unknown host
2025-09-03 10:24:19 +03:00
Omdanii
2b39801164 Merge pull request #142 from freeflowuniverse/development_decartive
test: update ping call parameters in tests
2025-09-03 10:19:18 +03:00
Mahmoud-Emad
5bfaec3cb3 test: update ping call parameters in tests
- Rename `timeout` to `nr_ok` in `addr.ping` calls
- Rename `count` to `retry` in `ping` function calls
- Replace `timeout` with `nr_ok` in `ping` function calls
2025-09-03 10:15:23 +03:00
Omdanii
99427fcbef Merge pull request #141 from freeflowuniverse/development_decartive
Tmux decorative version
2025-09-02 19:34:30 +03:00
Mahmoud-Emad
1bd91cd51a refactor: clean up imports and enhance error handling
- Remove multiple unused imports
- Change `is_running` to return `!bool`
- Update `is_running` calls to handle result type
2025-09-02 19:27:18 +03:00
Mahmoud-Emad
03935c3637 Merge branch 'development' into development_decartive 2025-09-02 19:10:58 +03:00
Mahmoud-Emad
b84e9a046c feat: add declarative tmux pane command management
- Implement Redis-backed command state tracking
- Use MD5 hashing to detect command changes in panes
- Kill and restart pane commands only when necessary
- Ensure bash is the parent process in each pane
- Add pane reset and emptiness checks before command execution
2025-09-02 19:10:34 +03:00
Mahmoud-Emad
b3fe4dd2cd feat: add multi-line command support for tmux panes
- Refactor `send_command` to handle multi-line input
- Implement `send_multiline_command` to execute temp scripts
- Create temporary bash scripts for multi-line commands
- Add documentation and examples for multi-line commands
2025-09-02 16:02:46 +03:00
Mahmoud-Emad
49f15d46bb fix: improve stdin compatibility with tmux pipe-pane
- Replace `io.new_buffered_reader` with raw `os.fd_read`
- Implement manual line buffering for stdin input
- Process any remaining partial line after input stream ends
- Address `tmux pipe-pane` data handling differences
2025-09-02 15:07:14 +03:00
Mahmoud-Emad
cf8e69041d feat: improve tmux_logger with flexible argument parsing
- Add structured argument parsing to `tmux_logger` utility
- Introduce `--no-log` and `--logreset` command-line options
- Enable dynamic log path resolution and pane-specific directories
- Simplify tmux pane logging integration, remove buffer script
- Standardize log category output padding in `categorize_output`
2025-09-02 13:47:35 +03:00
Timur Gordon
89ef8442a3 Merge branch 'development' of github.com:freeflowuniverse/herolib into development 2025-09-02 10:15:03 +02:00
Timur Gordon
9bbe8abd6b rpc fixes 2025-09-02 10:13:55 +02:00
de763f14f6 ... 2025-09-02 09:36:21 +02:00
d5f06ef971 ... 2025-09-02 09:24:49 +02:00
357a9e58ba ... 2025-09-02 09:22:25 +02:00
635950f33a ... 2025-09-02 09:21:26 +02:00
ad71b6943e ... 2025-09-02 09:18:36 +02:00
9beb763c93 Merge branch 'development_decartive' into development
* development_decartive:
  ...
  ...
  ...
  ...
  ...
  ...
  feat: add real-time logging for tmux panes
  ...
  refactor: Migrate from `vweb` to `veb` web framework
  feat: Add robust cross-platform port availability check
  Update the exe path
  chore: remove deprecated tmux example scripts and testing docs
  feat: Implement comprehensive process cleanup for tmux
  feat: implement dynamic pane resizing
  ...
  ...
  feat: Add declarative tmux module functions
2025-09-02 09:10:20 +02:00
40455a8c2e ... 2025-09-02 09:09:21 +02:00
418a38527a ... 2025-09-02 08:52:51 +02:00
3af0aef6c1 ... 2025-09-02 08:44:44 +02:00
c9dc8fb44b Merge branch 'development_decartive' of github.com:freeflowuniverse/herolib into development_decartive 2025-09-02 07:49:16 +02:00
18f4471d3f ... 2025-09-02 07:49:10 +02:00
b0f82ac834 ... 2025-09-02 07:28:13 +02:00
ff1b343a95 ... 2025-09-02 06:54:04 +02:00
ITX Oliver Lienhard
5255006b92 Trigger security scan 2025-09-02 01:58:41 +02:00
ITX Oliver Lienhard
38dd076cb9 Add Github Actions Security workflow 2025-09-02 01:58:39 +02:00
Mahmoud-Emad
52a1d2f80d feat: add real-time logging for tmux panes
- Introduce `tmux_logger` app for categorized output
- Implement pane logging via `tmux pipe-pane`
- Add `log`, `logpath`, `logreset` options to panes
- Update `Pane` struct with logging state and cleanup
- Refactor `logger.new` to use `LoggerFactoryArgs`
2025-09-01 19:48:15 +03:00
6fbca85d0c Merge branch 'development_decartive' of github.com:freeflowuniverse/herolib into development_decartive 2025-09-01 16:15:27 +02:00
8ee02d175e ... 2025-09-01 16:15:25 +02:00
Mahmoud-Emad
4746337b24 Merge branch 'development' into development_decartive 2025-09-01 13:11:03 +03:00