agent-harness 0.44.39 → 0.44.40

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: 0d5db38b075a78e256a47fe690f5f93edc4010e958351e911ab39a8f464287fd
4
- data.tar.gz: cc6caf680d0a3bac7fc8cbf4e7f8197924ca6fdb9c214d274ac63962901602f3
3
+ metadata.gz: 19dfa53187f8dfe813b043cdc991b13eb9c82808b70efb6ea0563fc6254d34cc
4
+ data.tar.gz: 24714b03c6fa0dba05162e921b13b655fb8442b0a5997b8ceeda82cf0c8dad6f
5
5
  SHA512:
6
- metadata.gz: 7afcd9e9fe548e8c633169ea93468498b23832cb5996f8df95f8696e24177d583615c27bb7238d4bd78e149f0239f1e8de22d7f0ec916b30e2844681d79d4e07
7
- data.tar.gz: 2225c383d3e4cbb432ac304bec417384c5390091ef3b793f159a0ddcec5468134cbe6949bbdc6a0945e4d995d9867f4718639d6385e1acf4ea79e0d97d693e4b
6
+ metadata.gz: f97f08f9aadfb858dc4a4e7b08e511fdeba130c268778bdea6a1a920b13cade8faac07d8fe09be7aa611fcf517ace06ba10c523a5c57b7ab466683f741c95555
7
+ data.tar.gz: 5459443038a53a230ef47696194cc83fdc1ac176c493eeeaaf29921965f613ef5b9e6dda42755faa9aaf1f24330eb35941b0a0d2b360c8db69c9c45d5e8a9328
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.44.39"
2
+ ".": "0.44.40"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -12,6 +12,13 @@
12
12
 
13
13
  * close the RDR-072 upstream epic from #437's retained-scope evidence while keeping unpublished capabilities and downstream adoption behind their explicit release and integration gates ([#430](https://github.com/viamin/agent-harness/issues/430)).
14
14
 
15
+ ## [0.44.40](https://github.com/viamin/agent-harness/compare/agent-harness/v0.44.39...agent-harness/v0.44.40) (2026-11-20)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * **opencode:** preserve provider configuration maps ([#549](https://github.com/viamin/agent-harness/issues/549)) ([0834fef](https://github.com/viamin/agent-harness/commit/0834fefed34c90c2a1c3139832c774c65a78ddf7))
21
+
15
22
  ## [0.44.39](https://github.com/viamin/agent-harness/compare/agent-harness/v0.44.38...agent-harness/v0.44.39) (2026-11-15)
16
23
 
17
24
 
data/README.md CHANGED
@@ -861,6 +861,12 @@ puts result[:status] # => "ok", "degraded", or "error"
861
861
  puts AgentHarness::ProviderHealthCheck.format_results(results)
862
862
  ```
863
863
 
864
+ For OpenCode, `api_provider` identifies the backend to agent-harness preflight
865
+ and transport logic; it is not serialized as OpenCode's `provider` config.
866
+ Supply OpenCode provider definitions under `metadata[:config][:provider]`.
867
+ Agent-harness preserves that provider map while applying normalized runtime
868
+ fields such as `model` and `base_url` to their corresponding OpenCode keys.
869
+
864
870
  Each result is a hash with keys:
865
871
 
866
872
  - `:name` — provider name (Symbol)
@@ -30,7 +30,8 @@ module AgentHarness
30
30
 
31
31
  # @param model [String, nil] model identifier override
32
32
  # @param base_url [String, nil] upstream API base URL override
33
- # @param api_provider [String, nil] API-compatible backend name
33
+ # @param api_provider [String, nil] API-compatible backend identity for routing and transport checks;
34
+ # providers must not assume this is a provider-specific config-file value
34
35
  # @param env [Hash<String,String>] extra environment variables for the subprocess
35
36
  # @param flags [Array<String>] extra CLI flags to append
36
37
  # @param unset_env [Array<String>] environment variable names to remove from inherited env
@@ -372,7 +372,6 @@ module AgentHarness
372
372
  payload = stringify_keys(config_extras)
373
373
  payload["permission"] ||= DEFAULT_PERMISSION_CONFIG
374
374
  payload["model"] = runtime.model if runtime.model
375
- payload["provider"] = runtime.api_provider if runtime.api_provider
376
375
  payload["baseURL"] = runtime.base_url if runtime.base_url
377
376
  apply_default_external_directory_permission(payload)
378
377
  payload.empty? ? nil : payload
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AgentHarness
4
- VERSION = "0.44.39"
4
+ VERSION = "0.44.40"
5
5
  end
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.44.39
4
+ version: 0.44.40
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan