agent-harness 0.13.0 → 0.14.0

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: 5248389a9a7500880e23672e9daad822c4c2038f5424ed2b278ab7c6276cf9a5
4
- data.tar.gz: 806895feee0bd65477498453d32de90985849a70476560dabd7f0330995db6a2
3
+ metadata.gz: ffc18c8e54d6a675c551c68e9d3aa3a39352995be92f33bf3aee01cf9dad3134
4
+ data.tar.gz: 884049b284c3ced78ecbe22fbf744aa6d6307da57f3b913b732d313e2fba5d75
5
5
  SHA512:
6
- metadata.gz: 48652585f74b61a2a70a4c118a23cb93977dca88e743ec76cd6c12802cb005cc24c703f25b0994a8b5d423f59114be93c8ab040f957191ac782d6260f6d5ffde
7
- data.tar.gz: f37ece29dc1dbd311713abd42aeb99363f7bf41ede1e31185fea16c41a312ace62d8247fb3e6034a38ac519797c131000480832921376141a2fe88bbc2b6e822
6
+ metadata.gz: 9792c3e83b4b6cd2672a9863c3eca7a0c1a9502cd5d42334caf1d7c52cb3e13c1d3764e72189c80fed65d67fd620c8a8b7f181a944d8fb6dafe9c9dd9e347def
7
+ data.tar.gz: 37d1825a1361ae4bd3d625f535a1ec52d53dd70eca7e0ec1d40434fd8e53a00cd7ad08efc94d8c866b7835fafda24f204592ce5d3357d56e04d904292af0700f
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.13.0"
2
+ ".": "0.14.0"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.14.0](https://github.com/viamin/agent-harness/compare/agent-harness/v0.13.1...agent-harness/v0.14.0) (2026-05-03)
4
+
5
+
6
+ ### Features
7
+
8
+ * expose public provider registry and config factory methods ([#193](https://github.com/viamin/agent-harness/issues/193)) ([11158ef](https://github.com/viamin/agent-harness/commit/11158efde6d77c885e7be1a03465d915efa0ee40)), closes [#175](https://github.com/viamin/agent-harness/issues/175)
9
+
10
+ ## [0.13.1](https://github.com/viamin/agent-harness/compare/agent-harness/v0.13.0...agent-harness/v0.13.1) (2026-05-03)
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * Gem name (agent-harness) and require file (agent_harness) naming mismatch ([#189](https://github.com/viamin/agent-harness/issues/189)) ([4f19ba6](https://github.com/viamin/agent-harness/commit/4f19ba61d31a7815100fc602b73230b369770961))
16
+
3
17
  ## [0.13.0](https://github.com/viamin/agent-harness/compare/agent-harness/v0.12.0...agent-harness/v0.13.0) (2026-05-03)
4
18
 
5
19
 
@@ -0,0 +1,3 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "agent_harness"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AgentHarness
4
- VERSION = "0.13.0"
4
+ VERSION = "0.14.0"
5
5
  end
data/lib/agent_harness.rb CHANGED
@@ -142,6 +142,33 @@ module AgentHarness
142
142
  conductor.provider_manager.get_provider(name)
143
143
  end
144
144
 
145
+ # List all registered provider names
146
+ #
147
+ # @return [Array<Symbol>] canonical provider names
148
+ def providers
149
+ Providers::Registry.instance.all
150
+ end
151
+
152
+ # Look up the provider class for a given name or alias
153
+ #
154
+ # @param name [Symbol, String] the provider name or alias
155
+ # @return [Class] the provider class
156
+ # @raise [ConfigurationError] if provider not found
157
+ def provider_class(name)
158
+ Providers::Registry.instance.get(name)
159
+ end
160
+
161
+ # Build a new ProviderConfig with defaults for the given provider
162
+ #
163
+ # @param name [Symbol, String] the provider name
164
+ # @param options [Hash] optional attribute overrides to merge
165
+ # @return [ProviderConfig] a new config instance
166
+ def build_config(name, **options)
167
+ config = ProviderConfig.new(name)
168
+ config.merge!(options) unless options.empty?
169
+ config
170
+ end
171
+
145
172
  # Get install contract metadata for a provider
146
173
  # @param name [Symbol, String] the provider name
147
174
  # @return [Hash] install contract metadata
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agent-harness
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan
@@ -98,6 +98,7 @@ files:
98
98
  - bin/console
99
99
  - bin/setup
100
100
  - json-2.18.1.gem
101
+ - lib/agent-harness.rb
101
102
  - lib/agent_harness.rb
102
103
  - lib/agent_harness/authentication.rb
103
104
  - lib/agent_harness/command_executor.rb