agent-harness 0.33.0 → 0.33.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 265b582a6e1406603e8918254d15897880af706942478d0542668543195599a2
4
- data.tar.gz: a78dcb5f7299867613db0c5cafad7e8e563090f6a87a641de256edc7d2fd410b
3
+ metadata.gz: 52048b2b46179a0dae7cebefbf5555001538cf01c93681bb9b1cb370e1583c25
4
+ data.tar.gz: f770c48865824ea85e6751edbe7512bb41e51cb335f10a000a28850e2366b40f
5
5
  SHA512:
6
- metadata.gz: b381939a611761a85cf86e9ee90d4add008ca34a43fe556dffe258242dfb327790eb4dcfdb79d51bee6ab4fd553c67104baeeb4844f980227cf9c118369d50db
7
- data.tar.gz: d33e18877af3c076d4b34577736606d79f3a25ee9de9180d2182b02612b5e72f201f5fd07da5168fa1630724b81f25520818ab90bca0cbd548cac221e47783b9
6
+ metadata.gz: 87a0d7b06d8145f39549515047963c6548b1f40f2fad23ef5423d0f378d3b5ade1ba2f44157342669905fa167879ef69b8b7a54a8205346c1145f9d2d3bcf430
7
+ data.tar.gz: 1da0996f1cd0caab0d34c6784576337c87bee26d738e3d180838eae6cdb4884e3492caca88c02857227f2dc7af584c08d864fab4e7db02d3bfe16f5491b0a6b6
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "0.33.0"
2
+ ".": "0.33.1"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@
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.33.1](https://github.com/viamin/agent-harness/compare/agent-harness/v0.33.0...agent-harness/v0.33.1) (2026-08-14)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * reject gpt-5.6 codex subscription models ([#330](https://github.com/viamin/agent-harness/issues/330)) ([736e88d](https://github.com/viamin/agent-harness/commit/736e88d27e57c7d28c883968353967ad62f64122))
14
+
8
15
  ## [0.33.0](https://github.com/viamin/agent-harness/compare/agent-harness-v0.32.0...agent-harness/v0.33.0) (2026-08-04)
9
16
 
10
17
 
data/README.md CHANGED
@@ -415,7 +415,7 @@ result = AgentHarness.model_compatibility(
415
415
  result.supported? # => false
416
416
  result.reason # => :cli_version_too_old
417
417
  result.minimum_cli_version # => "0.116.0"
418
- result.fallback_model_id # => "gpt-5-codex"
418
+ result.fallback_model_id # => "gpt-5.2-codex"
419
419
  result.source # => :static_contract
420
420
  ```
421
421
 
@@ -25,7 +25,7 @@ module AgentHarness
25
25
  # for unsupported/unknown model lookups so downstream orchestrators
26
26
  # (smoke tests, tier fallback) have a stable, contract-backed choice
27
27
  # instead of relying on whichever model the CLI's default points at.
28
- DEFAULT_COMPATIBLE_MODEL_ID = "gpt-5-codex"
28
+ DEFAULT_COMPATIBLE_MODEL_ID = "gpt-5.2-codex"
29
29
 
30
30
  # Known CLI-gated model facts. Each entry may express a minimum Codex
31
31
  # CLI version required to drive the model, and/or auth-mode
@@ -40,7 +40,11 @@ module AgentHarness
40
40
  MODEL_COMPATIBILITY_FACTS = {
41
41
  "gpt-5.5" => {minimum_cli_version: "0.116.0"},
42
42
  "gpt-5.5-codex" => {minimum_cli_version: "0.116.0"},
43
- "gpt-5.5-pro" => {auth_modes: [:api_key].freeze}
43
+ "gpt-5.5-pro" => {auth_modes: [:api_key].freeze},
44
+ "gpt-5.6" => {auth_modes: [:api_key].freeze},
45
+ "gpt-5.6-luna" => {auth_modes: [:api_key].freeze},
46
+ "gpt-5.6-sol" => {auth_modes: [:api_key].freeze},
47
+ "gpt-5.6-terra" => {auth_modes: [:api_key].freeze}
44
48
  }.each_value(&:freeze).freeze
45
49
 
46
50
  # Models that the runner contract considers supported on every Codex
@@ -48,6 +52,7 @@ module AgentHarness
48
52
  # distinguish "unknown to the contract" from "explicitly supported."
49
53
  BASELINE_SUPPORTED_MODELS = %w[
50
54
  gpt-5
55
+ gpt-5.2-codex
51
56
  gpt-5-codex
52
57
  gpt-5-mini
53
58
  gpt-4o
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AgentHarness
4
- VERSION = "0.33.0"
4
+ VERSION = "0.33.1"
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.33.0
4
+ version: 0.33.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bart Agapinan