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 +4 -4
- data/.release-please-manifest.json +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +6 -0
- data/lib/agent_harness/provider_runtime.rb +2 -1
- data/lib/agent_harness/providers/opencode.rb +0 -1
- data/lib/agent_harness/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 19dfa53187f8dfe813b043cdc991b13eb9c82808b70efb6ea0563fc6254d34cc
|
|
4
|
+
data.tar.gz: 24714b03c6fa0dba05162e921b13b655fb8442b0a5997b8ceeda82cf0c8dad6f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f97f08f9aadfb858dc4a4e7b08e511fdeba130c268778bdea6a1a920b13cade8faac07d8fe09be7aa611fcf517ace06ba10c523a5c57b7ab466683f741c95555
|
|
7
|
+
data.tar.gz: 5459443038a53a230ef47696194cc83fdc1ac176c493eeeaaf29921965f613ef5b9e6dda42755faa9aaf1f24330eb35941b0a0d2b360c8db69c9c45d5e8a9328
|
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
|
|
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
|