composable_agents 2.1.2 → 2.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b8e2a1a998985310290f7ec3e98724eb143fa63d71af4766a2be88fdac96f69
4
- data.tar.gz: 666c08385918a7838701c7f491641764018c0a9720b457af5390ad0e55090f1e
3
+ metadata.gz: 6b82cf2e2c4224e28888344a4b352dcbd74433103d15123361c1e88e8717708a
4
+ data.tar.gz: bda57cd1244fb916d68557aea692c52657db06a7d26ad6e578dcb1893923b7a7
5
5
  SHA512:
6
- metadata.gz: 63c24ac135fb84417b82a187d0dc8a9448ca4572ade18fd865b85cb6c7cffaf15a8394c2da147a1e4059048f25ef71441bd586b6d02b2f714951ff10dd382e48
7
- data.tar.gz: 46b35669f1bcced6b415737a99d892afda89da26c53b8115f3b2e6a48e9bf83ae79db3a8ea67a206a20de940258262d019eea298cc618fd598ed3af5252af9dd
6
+ metadata.gz: 07c251a27221c7a59785f9c5ab442b97c3c6679ece82bca14057112e70021b3a8878c23b6aa8cf36adda474a158a64491e75d4c78228c6ce98886f3fafba8327
7
+ data.tar.gz: 8a758b5c34330e777253e19598e72b15705d3c81445df788fba73d79edcb3354693e3b5aa6ce85ff794056493128943510afb095d7b6ed725e403af0241e91e8
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # [v2.1.3](https://github.com/Muriel-Salvan/composable_agents/compare/v2.1.2...v2.1.3) (2026-10-27 13:52:46)
2
+
3
+ ### Patches
4
+
5
+ * [compose: serialize agent options to plain array for JSON persistence](https://github.com/Muriel-Salvan/composable_agents/commit/d460d3b3eb8d8150258326dab169d24e045488fb)
6
+
1
7
  # [v2.1.2](https://github.com/Muriel-Salvan/composable_agents/compare/v2.1.1...v2.1.2) (2026-10-27 13:29:45)
2
8
 
3
9
  ## Global changes
@@ -193,7 +193,8 @@ module ComposableAgents
193
193
  if content.input
194
194
  {
195
195
  question: content.input.question,
196
- options: content.input.options
196
+ # The options are a Shale collection that JSON can't serialize: keep them as a plain Array
197
+ options: content.input.options&.to_a
197
198
  }.compact
198
199
  end,
199
200
  content: content.content
@@ -2,5 +2,5 @@ module ComposableAgents
2
2
  # @!group Public API
3
3
 
4
4
  # Gem version
5
- VERSION = '2.1.2'
5
+ VERSION = '2.1.3'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: composable_agents
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.2
4
+ version: 2.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Muriel Salvan