swarm_sdk 2.4.0 → 2.4.2

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: 9921bd8cfa2073d8a470b7c9f39ec925f07a4d4c3a38ea03fd1e5bc5e83fd2a7
4
- data.tar.gz: e7a77f34453d3d3521eea2c3461563050b5057b340f54e7544ad3d9efecbda5a
3
+ metadata.gz: 4e0a32d6cd3def4eb9f0df716e7f10076023f8c1efd5442bdd5f6501af95d542
4
+ data.tar.gz: e243a4b009844dcf19c7e425ff632a9cf19fe8d7d0e9325107c8ef50efb35f8f
5
5
  SHA512:
6
- metadata.gz: 7a37d856b2989058fa3a62fb9847de0fe810d03140fb4fee10f88af2f5995c3a79cd2f6443e233403499619c8a9b99c825f64a68386d411a35eb92accc11a225
7
- data.tar.gz: 42e1849a8b7d9660627b0b1477cf558829e0b7afd46f4087c1a5204a1dd0dd7ae76a09be2c963884fc61f926c3b8c93fd17331cc5d8d1fa5b025c5c44fc71740
6
+ metadata.gz: e8493eac228cb132c969476d884c2e2ae3d7008bbceef134c411549545e8c879e6a4aaa75c9c04835555b28193740633163142c2696ba42f6a85d8ea26ed79b3
7
+ data.tar.gz: 104440a7754b2fa74bc74eade37cf6ea76cbef2b334d0f5eb0f54bb0f1a38091d3c403294baccbf5a74a44c10468dd5fff89f89abe6c7b5cbba06c36b365e6d0
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025-present Paulo Arruda
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -55,10 +55,14 @@ module SwarmSDK
55
55
  #
56
56
  # Registers RubyLLM callbacks to collect data and emit log events.
57
57
  # Should only be called when LogStream.emitter is set.
58
+ # This method is idempotent - calling it multiple times has no effect.
58
59
  #
59
60
  # @return [void]
60
61
  def setup_logging
62
+ return if @logging_setup
63
+
61
64
  register_logging_callbacks
65
+ @logging_setup = true
62
66
  end
63
67
 
64
68
  # Extract agent name from delegation tool name
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SwarmSDK
4
- VERSION = "2.4.0"
4
+ VERSION = "2.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: swarm_sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Arruda
@@ -51,6 +51,20 @@ dependencies:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
53
  version: '0.4'
54
+ - !ruby/object:Gem::Dependency
55
+ name: openssl
56
+ requirement: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - "~>"
59
+ - !ruby/object:Gem::Version
60
+ version: 3.3.2
61
+ type: :runtime
62
+ prerelease: false
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - "~>"
66
+ - !ruby/object:Gem::Version
67
+ version: 3.3.2
54
68
  - !ruby/object:Gem::Dependency
55
69
  name: ruby_llm-mcp
56
70
  requirement: !ruby/object:Gem::Requirement
@@ -71,14 +85,14 @@ dependencies:
71
85
  requirements:
72
86
  - - "~>"
73
87
  - !ruby/object:Gem::Version
74
- version: 1.9.4
88
+ version: 1.9.5
75
89
  type: :runtime
76
90
  prerelease: false
77
91
  version_requirements: !ruby/object:Gem::Requirement
78
92
  requirements:
79
93
  - - "~>"
80
94
  - !ruby/object:Gem::Version
81
- version: 1.9.4
95
+ version: 1.9.5
82
96
  - !ruby/object:Gem::Dependency
83
97
  name: zeitwerk
84
98
  requirement: !ruby/object:Gem::Requirement
@@ -105,6 +119,7 @@ executables: []
105
119
  extensions: []
106
120
  extra_rdoc_files: []
107
121
  files:
122
+ - LICENSE
108
123
  - lib/swarm_sdk.rb
109
124
  - lib/swarm_sdk/agent/RETRY_LOGIC.md
110
125
  - lib/swarm_sdk/agent/builder.rb