x_aeon_agents 2.4.1 → 2.4.3
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/TODO.md +1 -0
- data/lib/x_aeon_agents/helpers.rb +18 -7
- data/lib/x_aeon_agents/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 616e2c18d9f46b0b7180b154310ecf1552fcde8db8dbcc2cdc2ef3c9f5c7164f
|
|
4
|
+
data.tar.gz: 7b5ddf7d5ba0bec6e568bb5e219492fd235fb4e1105adc131bfc43b267a47bdc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89a4bf71bbc4c1d03782c98b2a9c6232379a7d33c1a98661aa0c499a104b09fb13789ae4276cca69fd84ec7a8ced4c44778191e7a76ee980b40e6ebf85d6ff15
|
|
7
|
+
data.tar.gz: 50136d3cfba4743d94707c13b18ddfea235cd1cd45f0014c8dc220adca807bd01f66526389c07297fdd377e20320cbede6c27964de7d6a5ac651fcd72a231d5c
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,15 @@
|
|
|
1
|
+
# [v2.4.3](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.4.2...v2.4.3) (2026-11-06 11:25:16)
|
|
2
|
+
|
|
3
|
+
### Patches
|
|
4
|
+
|
|
5
|
+
* [test: centralize environment isolation in the spec helper](https://github.com/Muriel-Salvan/x_aeon_agents/commit/ff9a5ec4a33b1e340ed5d7eb49ced9d565f4fa44)
|
|
6
|
+
|
|
7
|
+
# [v2.4.2](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.4.1...v2.4.2) (2026-11-04 10:39:50)
|
|
8
|
+
|
|
9
|
+
### Patches
|
|
10
|
+
|
|
11
|
+
* [refactor(helpers): improve run_cmd variable handling and debug logging](https://github.com/Muriel-Salvan/x_aeon_agents/commit/06c0554d12ba667fb23435c6fb36eb0f67754617)
|
|
12
|
+
|
|
1
13
|
# [v2.4.1](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.4.0...v2.4.1) (2026-11-03 13:55:35)
|
|
2
14
|
|
|
3
15
|
### Patches
|
data/TODO.md
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
* Make the tester loop with a max retries when the same tests are failing (maybe use a JSON/XML output format for tests that allow for parsing which test fail and only give this information in the prompt).
|
|
1
2
|
* Don't use project skills and rules: it adds noise to the LLMs that scan the files and code base. Use only global objects from dedicated config dirs.
|
|
2
3
|
* Add desktop notification when user input is needed.
|
|
3
4
|
* Test with other models.
|
|
@@ -21,34 +21,45 @@ module XAeonAgents
|
|
|
21
21
|
# - stderr [String] Full stderr
|
|
22
22
|
# - exit_status [Integer] Exit status
|
|
23
23
|
def run_cmd(cmd, expected_exit_status: 0)
|
|
24
|
+
stdout = nil
|
|
25
|
+
stderr = nil
|
|
26
|
+
exit_status = nil
|
|
24
27
|
stdout_lines = []
|
|
25
28
|
stderr_lines = []
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
stdin.close
|
|
29
|
+
Open3.popen3(cmd) do |cmd_stdin, cmd_stdout, cmd_stderr, wait_thr|
|
|
30
|
+
cmd_stdin.close
|
|
29
31
|
[
|
|
30
32
|
# Parse stdout
|
|
31
33
|
Thread.new do
|
|
32
|
-
|
|
34
|
+
cmd_stdout.each_line do |line|
|
|
33
35
|
stdout_lines << line
|
|
34
36
|
end
|
|
35
37
|
end,
|
|
36
38
|
# Parse stderr
|
|
37
39
|
Thread.new do
|
|
38
|
-
|
|
40
|
+
cmd_stderr.each_line do |line|
|
|
39
41
|
stderr_lines << line
|
|
40
42
|
end
|
|
41
43
|
end
|
|
42
44
|
].each(&:join)
|
|
43
45
|
exit_status = wait_thr.value.exitstatus
|
|
46
|
+
stdout = stdout_lines.join
|
|
47
|
+
stderr = stderr_lines.join
|
|
44
48
|
Config.logger.debug "Command `#{cmd}` exited with status: #{exit_status}"
|
|
49
|
+
Config.logger.debug <<~EO_DEBUG_OUTPUT
|
|
50
|
+
===== STDOUT
|
|
51
|
+
#{stdout}
|
|
52
|
+
===== STDERR
|
|
53
|
+
#{stderr}
|
|
54
|
+
===== END OF STDERR
|
|
55
|
+
EO_DEBUG_OUTPUT
|
|
45
56
|
if !expected_exit_status.nil? && exit_status != expected_exit_status
|
|
46
57
|
raise UnexpectedExitStatusError, "Command `#{cmd}` exited with status #{exit_status} (expected #{expected_exit_status})"
|
|
47
58
|
end
|
|
48
59
|
end
|
|
49
60
|
{
|
|
50
|
-
stdout
|
|
51
|
-
stderr
|
|
61
|
+
stdout:,
|
|
62
|
+
stderr:,
|
|
52
63
|
exit_status:
|
|
53
64
|
}
|
|
54
65
|
end
|