ruby_llm-codex 0.4.1 → 0.5.0

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: 327d1024d1312946be5cef27e896917d610f29371fe838ba21a40cc5cf1523f5
4
- data.tar.gz: f190f12cf2162290765030c0c8e52bf0991c2a642d1a12ed22cd2166c0db4a50
3
+ metadata.gz: 5f3eefeb5765f92ebb369bea19cb8ff7381b47c1fc2f757cdd81e198026c55a5
4
+ data.tar.gz: cec55121b1997e4f19e658d8bddb449d9d62184a23064133b0ed43c1cf121ba6
5
5
  SHA512:
6
- metadata.gz: fbf552d4a8596b68e144d02d8b211a4809171acdb2f851b8d6153e80472ad7fa5a1526531fb1845815a99419e8625478d73424bd3335e1e2e5166f4a17d3396b
7
- data.tar.gz: e6cd50256c38eed094841185861338d538e66b4386f83043d11ba32e5b54f73a0759ced535111e11a60d874cff8247ac9428404481bd750fd0a8d81eca209856
6
+ metadata.gz: 44d0e1b40099748a684affdbcdfedecbdfb390ed99371ac1b6cd1168a88859bfde31a19091300da3c5d5f57391fab23410283926fbab1451545904c84adafd34
7
+ data.tar.gz: 1b66678e5613e5a7c5a8b313786b3e1e6e42e57fa9adb5ea140832164e40e2cecb5d805287004ebd1e1f3827535136588ad1d518bf14d55cc3a87055c9b31c41
data/CHANGELOG.md CHANGED
@@ -5,6 +5,24 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.5.0] - 2026-11-08
9
+
10
+
11
+ ### Changed
12
+
13
+ - keep checks local and adopt Gemkit 0.3.1
14
+
15
+
16
+
17
+
18
+ ### Documentation
19
+
20
+ - make Ethos Link the canonical documentation home
21
+
22
+ - keep audited technical guidance alongside the code
23
+
24
+
25
+
8
26
  ## [0.4.1] - 2026-11-05
9
27
 
10
28
 
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # RubyLLM Codex provider
2
2
 
3
- [![Ruby](https://github.com/ethos-link/ruby_llm-codex/actions/workflows/ruby.yml/badge.svg)](https://github.com/ethos-link/ruby_llm-codex/actions/workflows/ruby.yml)
3
+ [![Commit messages](https://github.com/ethos-link/ruby_llm-codex/actions/workflows/commitlint.yml/badge.svg)](https://github.com/ethos-link/ruby_llm-codex/actions/workflows/commitlint.yml)
4
4
  [![Gem Version](https://badge.fury.io/rb/ruby_llm-codex.svg)](https://rubygems.org/gems/ruby_llm-codex)
5
5
  [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
6
6
 
@@ -16,6 +16,12 @@ API. Codex applies its own base instructions and runtime behavior. RubyLLM syste
16
16
  messages are passed as Codex developer instructions, which is the closest
17
17
  supported mapping but not an identical wire-level request.
18
18
 
19
+ ## Documentation
20
+
21
+ This README and the linked repository guides describe the checked-out code.
22
+ The [Ethos Link project page](https://www.ethos-link.com/opensource/ruby-llm-codex)
23
+ provides the canonical public project guide, overview and resources.
24
+
19
25
  ## Requirements
20
26
 
21
27
  - Ruby 4.0 or newer
@@ -50,7 +56,25 @@ Then run `bundle install`. You can also install it directly:
50
56
  gem install ruby_llm-codex
51
57
  ```
52
58
 
53
- ## Usage
59
+ ## Quick start
60
+
61
+ Set `CODEX_MODEL` to a model available to the account configured by
62
+ `codex login`, then run:
63
+
64
+ ```ruby
65
+ require "ruby_llm-codex"
66
+
67
+ response = RubyLLM.chat(
68
+ model: ENV.fetch("CODEX_MODEL"), provider: :codex
69
+ ).ask("Reply with a short greeting.")
70
+
71
+ puts response.content
72
+ ```
73
+
74
+ Each request starts a local `codex exec` process. Its output and usage depend on
75
+ the selected model and account; the gem does not provide its own model list.
76
+
77
+ ## Structured output
54
78
 
55
79
  Require the gem and use Codex as an explicit RubyLLM provider:
56
80
 
@@ -89,8 +113,10 @@ By default every request:
89
113
  - passes RubyLLM's system instruction as Codex developer instructions;
90
114
  - passes RubyLLM's JSON schema through `--output-schema`.
91
115
 
92
- This prevents local `AGENTS.md`, plugins, MCP servers, repository contents, and
93
- saved session history from quietly affecting a request.
116
+ These defaults separate the request from the current repository and user
117
+ configuration. Supplying a working directory, profile or user configuration
118
+ changes that context deliberately; the adapter still runs the Codex harness.
119
+ Sandbox behaviour also depends on the installed CLI and host platform.
94
120
 
95
121
  ## Configuration
96
122
 
@@ -99,6 +125,8 @@ saved session history from quietly affecting a request.
99
125
  To deliberately let Codex inspect a repository or use selected configuration:
100
126
 
101
127
  ```ruby
128
+ chat = RubyLLM.chat(model: ENV.fetch("CODEX_MODEL"), provider: :codex)
129
+
102
130
  chat.with_provider_options(
103
131
  codex: {
104
132
  working_directory: "/path/to/project",
@@ -148,9 +176,8 @@ instructions. Those settings, plus `features.shell_snapshot` and
148
176
  One-shot `with_instructions(...).ask(...)` requests have the most direct
149
177
  semantic mapping.
150
178
 
151
- If you later need streaming, persistent threads, or high throughput, replace
152
- the process-per-request implementation with a long-running `codex app-server`
153
- client while keeping the same RubyLLM provider surface.
179
+ Streaming, persistent threads and a long-running app-server client are not
180
+ implemented by this gem.
154
181
 
155
182
  ## Troubleshooting
156
183
 
@@ -191,3 +218,15 @@ The optional `codex:smoke` task requires your Codex account, an available
191
218
 
192
219
  Release preparation, publication, registry setup and recovery are documented
193
220
  in the [Gemkit release guide](https://github.com/ethos-link/ethos-gemkit#releasing-a-gem).
221
+
222
+ ## About Ethos Link
223
+
224
+ [Ethos Link](https://www.ethos-link.com) is a software company founded by
225
+ [Paulo Fidalgo](https://www.fidalgo.pt). This gem is part of the open-source
226
+ tooling we publish alongside our business products:
227
+
228
+ - [Reviato](https://www.reviato.com): collect private customer feedback and analyse public reviews.
229
+ - [Nuntio](https://www.nuntiohq.com): prepare, review and schedule social posts.
230
+ - [EthosPlaces](https://www.ethos.place): find places, opening hours and contact details.
231
+
232
+ Explore our [open-source projects](https://www.ethos-link.com/opensource).
data/UPGRADE.md CHANGED
@@ -1,10 +1,13 @@
1
1
  # Upgrade Guide
2
2
 
3
+ Run `bundle exec rake verify` locally before pushing or preparing a release.
4
+ GitHub Actions runs commitlint and release packaging/publication only.
5
+
3
6
  ## 0.4.0
4
7
 
5
8
  ### Shared development and release tooling
6
9
 
7
- Use Ruby 4 and published Gemkit 0.3.0. Install the bundle and hooks, then run the
10
+ Use Ruby 4 and published Gemkit 0.3.1. Install the bundle and hooks, then run the
8
11
  project's verification command from the README. Prepare releases from clean,
9
12
  current main; merging the generated release PR publishes through Actions.
10
13
  See the [Gemkit upgrade guide](https://github.com/ethos-link/ethos-gemkit/blob/main/UPGRADE.md)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyLLM
4
4
  module Codex
5
- VERSION = "0.4.1"
5
+ VERSION = "0.5.0"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_llm-codex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Paulo Fidalgo
@@ -55,15 +55,15 @@ files:
55
55
  - lib/ruby_llm-codex.rb
56
56
  - lib/ruby_llm/codex/version.rb
57
57
  - lib/ruby_llm/providers/codex.rb
58
- homepage: https://github.com/ethos-link/ruby_llm-codex
58
+ homepage: https://www.ethos-link.com/opensource/ruby-llm-codex
59
59
  licenses:
60
60
  - MIT
61
61
  metadata:
62
- homepage_uri: https://github.com/ethos-link/ruby_llm-codex
62
+ homepage_uri: https://www.ethos-link.com/opensource/ruby-llm-codex
63
63
  source_code_uri: https://github.com/ethos-link/ruby_llm-codex
64
64
  bug_tracker_uri: https://github.com/ethos-link/ruby_llm-codex/issues
65
65
  changelog_uri: https://github.com/ethos-link/ruby_llm-codex/blob/main/CHANGELOG.md
66
- documentation_uri: https://github.com/ethos-link/ruby_llm-codex/blob/main/README.md
66
+ documentation_uri: https://www.ethos-link.com/opensource/ruby-llm-codex
67
67
  funding_uri: https://www.reviato.com/
68
68
  github_repo: ssh://github.com/ethos-link/ruby_llm-codex
69
69
  allowed_push_host: https://rubygems.org