codex-ruby 0.1.3 → 0.1.4

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: cd89bf1b7b6902ec808109dce2c8f679038d2d2262838bfe65a9082150b89f1a
4
- data.tar.gz: 74c7018a03c9582547a85ccfcb7bc5c6c88c243143e74ed2af6b35e8e98ca470
3
+ metadata.gz: 9ba6980e6b87c0c4edff93f2577d49f167bf05264ba84e94077b6014deba03e9
4
+ data.tar.gz: 4dac330c5ddefe50cae38009aa706a2782b1673cbefe78122b934b894b92a5bb
5
5
  SHA512:
6
- metadata.gz: fe17a60cfa4b006765eeebe42ec102bca9f5a2fb4291964a3d32600009ca01a191bab4d2984ea916b2a3ebbafa54cf959a07578b0d5b77f51acc642125182218
7
- data.tar.gz: aa1b452e07cfd8e30152b3de77ccf03c0546d95f70982595532f77f02b3f640ca1692cf57a91c0938c01e1d31253bcce3bda0408b3c7436c8963fb71d595cb67
6
+ metadata.gz: 920bf04a7dbc12d6129b761032c61fcf5929fe22b4370fab1f47e07eb46fa7578908c7cb448776ebfa8dbefc5d34c6728172a3bb2804e139363edbb7b7dc0ef0
7
+ data.tar.gz: a76ee269289b0e7441f27ca14710b51d411a31505bd8a337973e0f63d2614eaea5f0da2e3c6971381b9d95a74ea7a979458503c0f7eca90bca8e96761e43dc08
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.4 (2026-06-16)
4
+
5
+ - Pass `web_search: true` to current Codex CLI versions as the global
6
+ `--search` flag instead of the rejected `web_search=true` config override
7
+
3
8
  ## 0.1.3 (2026-06-16)
4
9
 
5
10
  - Add `AGENTS.md` with contributor and release rules for AI agents
@@ -106,7 +106,9 @@ module CodexSDK
106
106
 
107
107
  def build_args(resume_thread_id: nil, images: [], output_schema_path: nil)
108
108
  codex_path = @options.codex_path || find_codex_path
109
- args = [codex_path, "exec", "--experimental-json"]
109
+ args = [codex_path]
110
+ args << "--search" if @thread_options.web_search
111
+ args.concat(["exec", "--experimental-json"])
110
112
 
111
113
  # Global config overrides
112
114
  args.concat(ConfigSerializer.to_flags(@options.config)) if @options.config.any?
@@ -134,8 +136,6 @@ module CodexSDK
134
136
  args.concat(["--config", "sandbox_workspace_write.network_access=#{to.network_access}"])
135
137
  end
136
138
 
137
- args.concat(["--config", "web_search=#{ConfigSerializer.to_toml_value(to.web_search)}"]) if to.web_search
138
-
139
139
  if to.approval_policy
140
140
  args.concat(["--config", "approval_policy=#{ConfigSerializer.to_toml_value(to.approval_policy)}"])
141
141
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module CodexSDK
4
- VERSION = "0.1.3"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codex-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anton Kopylov