Commit Graph

1490 Commits

Author SHA1 Message Date
aec8908205 ... 2025-09-24 21:06:37 +04:00
2bc9c0b4e0 Merge branch 'development' of github.com:freeflowuniverse/herolib into development 2025-09-24 21:04:03 +04:00
57f3e47bb6 ... 2025-09-24 21:01:25 +04:00
27a536ab9a Merge branch 'development' of github.com:Incubaid/herolib into development
* 'development' of github.com:Incubaid/herolib:
  refactor: Simplify handler signatures and add server runner
  fix: improve Redis response parsing and error handling
  fix: Correct AGEClient method receivers and error syntax
2025-09-15 20:28:58 +02:00
Mahmoud-Emad
ad906b5894 refactor: Simplify handler signatures and add server runner
- Pass URL params as direct arguments to handlers
- Use `ctx.get_custom_header` to retrieve session key
- Add a runnable script to start the heroserver
- Clean up formatting in documentation and code
- Remove unused redisclient import
2025-09-14 18:24:30 +03:00
Mahmoud-Emad
92c8a3b955 fix: improve Redis response parsing and error handling
- Add error handling for non-array and error responses
- Introduce `strget()` for safer string conversion from RValue
- Update AGE client to use `strget()` for key retrieval
- Change AGE verify methods to expect a string response
- Handle multiple response types when listing AGE keys
2025-09-14 18:15:23 +03:00
Mahmoud-Emad
0ef28b6cfe fix: Correct AGEClient method receivers and error syntax
- Change AGEClient method receivers from immutable to mutable
- Remove unnecessary `!` error propagation operators
2025-09-14 18:01:29 +03:00
84bbcd3a06 ... 2025-09-14 16:47:35 +02:00
cde04c9917 ... 2025-09-14 16:36:47 +02:00
397b544ab2 ... 2025-09-14 16:34:52 +02:00
494b69e2b7 ... 2025-09-14 16:30:39 +02:00
0c2d805fa0 ... 2025-09-14 16:17:05 +02:00
0cbf0758f9 ... 2025-09-14 16:04:11 +02:00
3f90e5bc15 ... 2025-09-14 15:35:41 +02:00
9c895533b6 ... 2025-09-14 15:08:20 +02:00
f49b5245d0 Merge branch 'development' of github.com:Incubaid/herolib into development
# Conflicts:
#	lib/hero/heromodels/calendar.v
#	lib/hero/heromodels/calendar_event.v
#	lib/hero/heromodels/chat_group.v
#	lib/hero/heromodels/chat_message.v
#	lib/hero/heromodels/comment.v
#	lib/hero/heromodels/group.v
#	lib/hero/heromodels/project.v
#	lib/hero/heromodels/project_issue.v
#	lib/hero/heromodels/user.v
2025-09-14 15:03:24 +02:00
a7cc5142ac ... 2025-09-14 15:00:57 +02:00
b918079117 ... 2025-09-14 14:54:24 +02:00
Mahmoud-Emad
54192a06d5 docs: Formatting the code 2025-09-14 15:46:57 +03:00
Mahmoud-Emad
2f2edc86ad fix: improve SSH agent data collection completeness
- Remove process limit for orphaned agent cleanup
- Increase socket check limit for agent PID validation
- Remove key limit from `ssh-add` output
- Add `sshagent_test.v` to project structure
2025-09-14 15:37:14 +03:00
Omdanii
e924645ac2 Merge pull request #150 from Incubaid/development_fix_mcpservers
Fix MCP servers
2025-09-14 15:33:34 +03:00
af5e58199d Merge branch 'development' of github.com:Incubaid/herolib into development 2025-09-14 14:27:28 +02:00
d2e817c25f ... 2025-09-14 14:27:26 +02:00
Mahmoud-Emad
42cf8949f7 perf: Limit command output in SSH agent functions
- Limit `pgrep` output in agent cleanup
- Limit `find` output for socket validation
- Limit `ssh-add` output for key initialization
2025-09-14 15:26:55 +03:00
Mahmoud-Emad
f061c0285a fix: Fix test execution hanging issue
- Replace `os.execute()` with `os.system()`
- Avoid hanging due to unclosed file descriptors
- Update error message to include command exit code
2025-09-14 15:06:09 +03:00
2f1d5e6173 Merge branch 'development' of github.com:Incubaid/herolib into development 2025-09-14 14:00:23 +02:00
9ed01e86ba ... 2025-09-14 14:00:21 +02:00
Mahmoud-Emad
4e52882d22 chore: Improve test runner logging and cache update
- Add detailed console logs for test execution
- Show test cache entries and processing progress
- Refactor cache update to direct assignment
- Explicitly save test cache after entry update
- Add final success message and exit statement
2025-09-14 14:56:59 +03:00
Mahmoud-Emad
201d922fd2 test: activate package management test
- Enable platform detection in test
- Verify Homebrew installation on macOS
- Test `wget` installation and removal
2025-09-14 14:26:04 +03:00
Mahmoud-Emad
8a24f12624 Merge branch 'development' into development_fix_mcpservers 2025-09-14 14:14:29 +03:00
Omdanii
a208ee91a2 Merge pull request #147 from Incubaid/development_crun
Configure Crun module with Heropods module to work with configs
2025-09-14 14:14:00 +03:00
Mahmoud-Emad
b90a118e4e feat: implement logging/setLevel and silence STDIO
- Add `logging/setLevel` JSON-RPC method
- Define `LogLevel` enum and `SetLevelParams` struct
- Silence startup messages in STDIO transport
- Suppress console logging during STDIO JSON-RPC errors
2025-09-14 14:13:21 +03:00
5b58fa9f8b ... 2025-09-14 12:57:56 +02:00
Mahmoud-Emad
5914ee766f refactor: migrate JSON-RPC handlers to object-based interface
- Add wrappers for string-based handlers
- Update transports to parse/encode JSON-RPC objects
- Refactor result extraction using proper JSON-RPC parsing
- Replace `log` with `console` for output
- Set dynamic timestamp in HTTP health check
2025-09-14 13:44:05 +03:00
fee1b585b5 ... 2025-09-14 12:31:45 +02:00
22a8309296 ... 2025-09-14 12:21:14 +02:00
f783182648 ... 2025-09-14 11:57:11 +02:00
af78e5375a ... 2025-09-14 10:16:40 +02:00
e39ad90ae5 ... 2025-09-14 07:30:09 +02:00
8ee4a78d67 ... 2025-09-14 07:22:56 +02:00
28839cf646 ... 2025-09-14 07:19:52 +02:00
eef9f39b58 ... 2025-09-14 06:28:45 +02:00
803ad57012 ... 2025-09-14 06:02:41 +02:00
07f5b8d363 ... 2025-09-13 18:50:03 +02:00
820ef4bc49 ... 2025-09-13 18:38:31 +02:00
aa38f44258 ... 2025-09-13 18:28:08 +02:00
22c238fbf8 ... 2025-09-13 18:19:53 +02:00
200e200a75 ... 2025-09-13 18:12:53 +02:00
f0859afe27 ... 2025-09-13 18:06:36 +02:00
d5f6feba43 ... 2025-09-13 17:57:36 +02:00