x_aeon_agents 2.2.0 → 2.3.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5f92902d46f24df17a53a218985801e0e9bf46a7f68baca87fc0f51bcc941409
4
- data.tar.gz: e7f3821af21c86e308b690de3ca85943663a2e5fceed95a20cc361b7de595002
3
+ metadata.gz: 2f3070a12a21ec82ab2c588bef48dc932320660535a0b5b87b4d603ba9efa131
4
+ data.tar.gz: 3f3a011afdca38d738d5703fd7e9bcbfca0667a0d7f48245748538df103acca4
5
5
  SHA512:
6
- metadata.gz: dbbf138ea84abc33f30b04c9bef997eae604ce88dbb572968a9198973e32b0f8be95d276047e0c60ddb53a0773badf70972e3d59faffb533ecb77eed421b6fac
7
- data.tar.gz: 79e7d6a39eab32a6813f6f10af4cf09640032ca0f2a061b2727116b196e78574268ea055ab117e6890985b8997b6b2c503c94e6a32881f5004396c622114cc0c
6
+ metadata.gz: 32aea3567f1bf58f1e7154fc7dfea4501e67ca43c757a29c7ee68a33614ff0ffb9782bceafecc0af1dc616d32983814cc030165803de96133f22ffc14a160385
7
+ data.tar.gz: 41b6d4fbb4f072a0d2557b1edd2bce9f6493f3be02ac96cc9ee4710139fdce7b197c062cef7a43ee9b34e1f355d426d79f4f5c91bc7b3da598ce79a24c7e8adf
data/CHANGELOG.md CHANGED
@@ -1,3 +1,27 @@
1
+ # [v2.3.1](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.3.0...v2.3.1) (2026-10-27 09:17:11)
2
+
3
+ ## Global changes
4
+ ### Patches
5
+
6
+ * [fix(x-aeon-agents): use ancestors.include? for agent mixin detection](https://github.com/Muriel-Salvan/x_aeon_agents/commit/f0af8f6950a177d751ce26e76e91c384de065091)
7
+
8
+ ## Changes for x-aeon-agents
9
+ ### Patches
10
+
11
+ * [fix(x-aeon-agents): use ancestors.include? for agent mixin detection](https://github.com/Muriel-Salvan/x_aeon_agents/commit/f0af8f6950a177d751ce26e76e91c384de065091)
12
+
13
+ # [v2.3.0](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.2.0...v2.3.0) (2026-10-26 15:39:49)
14
+
15
+ ## Global changes
16
+ ### Patches
17
+
18
+ * [feat(cli): add version command to display library versions](https://github.com/Muriel-Salvan/x_aeon_agents/commit/13fce2b018775f6942f2d556683c17abad95ffed)
19
+
20
+ ## Changes for cli
21
+ ### Features
22
+
23
+ * [feat(cli): add version command to display library versions](https://github.com/Muriel-Salvan/x_aeon_agents/commit/13fce2b018775f6942f2d556683c17abad95ffed)
24
+
1
25
  # [v2.2.0](https://github.com/Muriel-Salvan/x_aeon_agents/compare/v2.1.0...v2.2.0) (2026-10-26 12:38:46)
2
26
 
3
27
  ### Features
data/README.md CHANGED
@@ -225,6 +225,7 @@ Available commands:
225
225
 
226
226
  | Command | Description |
227
227
  | --- | --- |
228
+ | `xaa version` | Display the version of x_aeon_agents and its main libraries |
228
229
  | `xaa review-comments [PR_NUMBER]` | Read, address and reply to GitHub Pull Request review comments |
229
230
  | `xaa commit` | Commit staged changes with an AI-generated message |
230
231
  | `xaa create-pr` | Push the branch and create a GitHub Pull Request |
@@ -39,8 +39,8 @@ module XAeonAgents
39
39
  ComposableAgents::Mixins::ArtifactContract,
40
40
  ComposableAgents::Mixins::Resumable
41
41
  ]
42
- mixins_to_prepend << ComposableAgents::Mixins::UserInteraction if base.is_a?(ComposableAgents::Cline::Agent)
43
- mixins_to_prepend << ComposableAgents::Mixins::AiAgentUserInteraction if base.is_a?(ComposableAgents::AiAgents::Agent)
42
+ mixins_to_prepend << ComposableAgents::Mixins::UserInteraction if base.ancestors.include?(ComposableAgents::Cline::Agent)
43
+ mixins_to_prepend << ComposableAgents::Mixins::AiAgentUserInteraction if base.ancestors.include?(ComposableAgents::AiAgents::Agent)
44
44
  mixins_to_prepend.each { |mixin| base.prepend mixin unless base.ancestors.include?(mixin) }
45
45
  # Make sure we always prepend at the top our initializer that sets all defaults
46
46
  base.prepend(
@@ -12,6 +12,34 @@ module XAeonAgents
12
12
  # explicit --no-interactive (which lets the config file take precedence).
13
13
  class_option :interactive, type: :boolean, default: nil, desc: 'Enable interactive prompts with the user'
14
14
 
15
+ # --------------------------------------------------------------------------- #
16
+ # version: Display the version of x_aeon_agents and its main libraries
17
+ # --------------------------------------------------------------------------- #
18
+
19
+ desc 'version', 'Display the version of x_aeon_agents and its main libraries'
20
+ long_desc <<~LONGDESC
21
+ Prints the version of x_aeon_agents itself and of its main libraries:
22
+ ai-agents, composable_agents, cline-rb and ruby_llm.
23
+
24
+ Examples:
25
+
26
+ $ xaa version
27
+ LONGDESC
28
+ # Displays the version of x_aeon_agents and its main libraries.
29
+ def version
30
+ lines = ["x_aeon_agents #{XAeonAgents::VERSION}"]
31
+ %w[ai-agents composable_agents cline-rb ruby_llm].each do |library|
32
+ version =
33
+ begin
34
+ Gem::Specification.find_by_name(library).version.to_s
35
+ rescue Gem::LoadError
36
+ 'not installed'
37
+ end
38
+ lines << " #{library}: #{version}"
39
+ end
40
+ puts lines.join("\n")
41
+ end
42
+
15
43
  # --------------------------------------------------------------------------- #
16
44
  # review-comments: Address Pull Request review comments
17
45
  # --------------------------------------------------------------------------- #
@@ -220,7 +220,7 @@ module XAeonAgents
220
220
  # Evict RubyLLM's memoized default logger in case it was resolved before we plugged our own
221
221
  RubyLLM.instance_variable_set(:@logger, nil)
222
222
  # Discover all the models
223
- RubyLLM::Models.refresh!
223
+ RubyLLM::Models.refresh
224
224
  end
225
225
 
226
226
  # Setup Cline in a lazy and memoized way
@@ -2,5 +2,5 @@ module XAeonAgents
2
2
  # @!group Global API
3
3
 
4
4
  # Gem version
5
- VERSION = '2.2.0'
5
+ VERSION = '2.3.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: x_aeon_agents
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '0.10'
18
+ version: '0.13'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '0.10'
25
+ version: '0.13'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: cleanroom-next
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -197,14 +197,14 @@ dependencies:
197
197
  requirements:
198
198
  - - "~>"
199
199
  - !ruby/object:Gem::Version
200
- version: '1.14'
200
+ version: '2.0'
201
201
  type: :runtime
202
202
  prerelease: false
203
203
  version_requirements: !ruby/object:Gem::Requirement
204
204
  requirements:
205
205
  - - "~>"
206
206
  - !ruby/object:Gem::Version
207
- version: '1.14'
207
+ version: '2.0'
208
208
  - !ruby/object:Gem::Dependency
209
209
  name: secret_string
210
210
  requirement: !ruby/object:Gem::Requirement