agent-harness 0.20.0 → 0.20.1
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 +8 -0
- data/lib/agent_harness/providers/anthropic.rb +11 -4
- 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: 7794b96e000b44164e63bbe2e8ee57acdc1a20044f47e56a623b866410371acf
|
|
4
|
+
data.tar.gz: 89f2f661af0a621c005cabfa1784c7b7419d06ad9a9b303654ea6e1d03977831
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c5bd53d4fe6eb1093b2c248a88b5e1556f706a1fb35564b11a3507f34eec271085fc5a0a4fc14ccc7dd25b7f709e01f04288a79ac5dc71e40aa9440043b574a
|
|
7
|
+
data.tar.gz: 1ebcbfe97039d0945066d35fcd080048c7d661b7992c6b43117c9eb13e54f1aff154253e4b960dba93a3679b432b79bafcb5a293c740e0e01750570dee642748
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
## [Unreleased]
|
|
2
2
|
|
|
3
|
+
## [0.20.1](https://github.com/viamin/agent-harness/compare/agent-harness/v0.20.0...agent-harness/v0.20.1) (2026-06-09)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **anthropic:** --mcp-config space-form swallows the positional prompt (variadic flag) ([e52d38f](https://github.com/viamin/agent-harness/commit/e52d38fe97cdcc093860f4fda1de9e10c08f54c7))
|
|
9
|
+
* **anthropic:** use equals form for mcp config ([481d734](https://github.com/viamin/agent-harness/commit/481d734e389e66056bfc82d4dfeb31ba76ba1128))
|
|
10
|
+
|
|
3
11
|
## [0.20.0](https://github.com/viamin/agent-harness/compare/agent-harness/v0.19.0...agent-harness/v0.20.0) (2026-05-30)
|
|
4
12
|
|
|
5
13
|
|
|
@@ -421,7 +421,7 @@ module AgentHarness
|
|
|
421
421
|
|
|
422
422
|
def build_mcp_flags(mcp_servers, working_dir: nil)
|
|
423
423
|
config_path = write_mcp_config_file(mcp_servers, working_dir: working_dir)
|
|
424
|
-
["--mcp-config"
|
|
424
|
+
["--mcp-config=#{config_path}"]
|
|
425
425
|
end
|
|
426
426
|
|
|
427
427
|
def supports_tool_control?
|
|
@@ -586,9 +586,16 @@ module AgentHarness
|
|
|
586
586
|
|
|
587
587
|
cmd += ["--print", "--output-format=json"]
|
|
588
588
|
|
|
589
|
-
# Add model if specified
|
|
590
|
-
|
|
591
|
-
|
|
589
|
+
# Add model if specified — prefer config, fall back to runtime override
|
|
590
|
+
runtime = options[:provider_runtime]
|
|
591
|
+
runtime = ProviderRuntime.wrap(runtime) if runtime.is_a?(Hash)
|
|
592
|
+
model = if @config.model && !@config.model.empty?
|
|
593
|
+
@config.model
|
|
594
|
+
else
|
|
595
|
+
runtime&.model
|
|
596
|
+
end
|
|
597
|
+
if model && !model.empty?
|
|
598
|
+
cmd += ["--model", model]
|
|
592
599
|
end
|
|
593
600
|
|
|
594
601
|
# Add permission mode for tool-disabled requests (belt-and-suspenders)
|