agent-harness 0.36.11 → 0.36.13
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 +14 -0
- data/lib/agent_harness/providers/codex.rb +3 -1
- data/lib/agent_harness/providers/omp.rb +1 -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: d916cbf9cee289adf7e7cd9346d2c7632af6435387375f27ad837a7761f16c1a
|
|
4
|
+
data.tar.gz: f68cef237dd7ef5e90813749b4d9af5a80d59039111a035eac928d2c78f3e1c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 14fa7afd583f1d9817412ba1d1126092bdfc64a2c8100766056758e56bbb2f2a9b89d47c2b58a9ecd38df80ef7d1059bbb65115349cec5950223c156bb1591ea
|
|
7
|
+
data.tar.gz: fd019adbb85c4a792fcfd1c45bd0e0563d282676bd140e23c263931e6b127ab2d0679731c5c0c982a14013343dd4108ecfe0c0bdb04681794a1ebf91eb8ab37e
|
data/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,20 @@
|
|
|
5
5
|
* add runner model compatibility contract (`AgentHarness.model_compatibility`) with structured `ModelCompatibility::Result` outcomes. Codex exposes static facts for CLI-gated models (e.g. `gpt-5.5` requires Codex CLI `>= 0.116.0`), a baseline supported-model list, supported auth modes, and a `DEFAULT_COMPATIBLE_MODEL_ID` fallback so downstream orchestrators can validate tier/model assignments before scheduling agent runs ([#259](https://github.com/viamin/agent-harness/issues/259)).
|
|
6
6
|
* **auth:** add provider-owned PKCE code-exchange API for Claude OAuth (`AgentHarness::Authentication.exchange_code`). Takes an authorization code plus PKCE verifier (and `redirect_uri`/`client_id`), posts an `authorization_code` grant to the Claude token endpoint, and persists the resulting access/refresh tokens in the native `claudeAiOauth` shape. Adds `exchange_code_supported?` and a `code_exchange` key to `auth_capabilities` ([#266](https://github.com/viamin/agent-harness/issues/266)).
|
|
7
7
|
|
|
8
|
+
## [0.36.13](https://github.com/viamin/agent-harness/compare/agent-harness/v0.36.12...agent-harness/v0.36.13) (2026-09-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* **codex:** accept assistant_message items so the final agent message is selected ([#384](https://github.com/viamin/agent-harness/issues/384)) ([#385](https://github.com/viamin/agent-harness/issues/385)) ([a7ea4e6](https://github.com/viamin/agent-harness/commit/a7ea4e66630fe36c0fec872d43d9f0edd7d5f595))
|
|
14
|
+
|
|
15
|
+
## [0.36.12](https://github.com/viamin/agent-harness/compare/agent-harness/v0.36.11...agent-harness/v0.36.12) (2026-08-31)
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* **deps-dev:** bump @oh-my-pi/pi-coding-agent from 17.4.0 to 18.0.8 in /vendor/pins/omp ([#377](https://github.com/viamin/agent-harness/issues/377)) ([efe1b8d](https://github.com/viamin/agent-harness/commit/efe1b8df021e5bf2bc0249d664209676cb06cd75))
|
|
21
|
+
|
|
8
22
|
## [0.36.11](https://github.com/viamin/agent-harness/compare/agent-harness/v0.36.10...agent-harness/v0.36.11) (2026-08-31)
|
|
9
23
|
|
|
10
24
|
|
|
@@ -1682,7 +1682,8 @@ module AgentHarness
|
|
|
1682
1682
|
message_shaped_item =
|
|
1683
1683
|
(
|
|
1684
1684
|
message_item_type?(item_type) ||
|
|
1685
|
-
item_type == "agent_message"
|
|
1685
|
+
item_type == "agent_message" ||
|
|
1686
|
+
item_type == "assistant_message"
|
|
1686
1687
|
) && assistant_message_item_type?(item_item_type)
|
|
1687
1688
|
|
|
1688
1689
|
(
|
|
@@ -1690,6 +1691,7 @@ module AgentHarness
|
|
|
1690
1691
|
) || (
|
|
1691
1692
|
item_role.nil? && message_shaped_item && (
|
|
1692
1693
|
item_type == "agent_message" ||
|
|
1694
|
+
item_type == "assistant_message" ||
|
|
1693
1695
|
item_item_type == "assistant_message"
|
|
1694
1696
|
)
|
|
1695
1697
|
)
|
|
@@ -12,7 +12,7 @@ module AgentHarness
|
|
|
12
12
|
# CLI.
|
|
13
13
|
class OhMyPi < Base
|
|
14
14
|
CLI_PACKAGE = "@oh-my-pi/pi-coding-agent"
|
|
15
|
-
SUPPORTED_CLI_VERSION = "
|
|
15
|
+
SUPPORTED_CLI_VERSION = "18.0.8"
|
|
16
16
|
SUPPORTED_CLI_REQUIREMENT = Gem::Requirement.new("= #{SUPPORTED_CLI_VERSION}").freeze
|
|
17
17
|
|
|
18
18
|
# Bun runtime requirements. The omp entrypoint is
|