open_router_enhanced 1.0.0 → 1.1.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: 0e01a3e4ebadd327148dc9f04efacd94166195e789adb0f77d20dbc83f70b234
4
- data.tar.gz: 902c36d9a9d243e63ab8065456526875d19bc268450720e1ee29ee24493e7e35
3
+ metadata.gz: a260aa7386fa0f23bc13f963953db3b35f560b18bae0d39c93e4aa8c28562837
4
+ data.tar.gz: af442633daa38c99141fbda7b27d5708f101338c98375863fafd56425b1bdf21
5
5
  SHA512:
6
- metadata.gz: de0e475b38181bec11bcde85a9a571eec12306eb5a755a70fae173d4743e28ee59d232adf7d3e42efc7b2693500947678848381b36b1ae30b47bdf479e51dca0
7
- data.tar.gz: f91b409a150fae9af10bedddd9d0c22b6c3683096e9125e4f1310434795b0fea537ea39c1fbdf923e523e61fdc3a5ac9d9b8727e9b78c6d676e0a07d96a5663c
6
+ metadata.gz: 2eef8670903a1b78b17731ab9cc6b75db36d4894c7f1b2361e7978e910c7a5e48e3bdb490a681ace1043d83460a65ab79ba4a2084b1478ea37f0eae8d25d0c40
7
+ data.tar.gz: cd027929c19afd7fb18a042a9c097e5f052aaecf4567be972edd564158e56bd4d2e76feac6b68b4f89b27b6b2d70105e80c93bf659f5cba0862d30aa4dba877c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [1.1.0] - 2025-12-24
4
+
5
+ ### Added
6
+ - **Native Response Healing Plugin**: Automatic server-side JSON healing for structured outputs via OpenRouter's `response-healing` plugin (free, <1ms latency)
7
+ - **Plugins Parameter**: Support for OpenRouter plugins (`web-search`, `pdf-inputs`, `response-healing`) via new `plugins:` parameter
8
+ - **Prediction Parameter**: Latency optimization via `prediction:` parameter for predictable outputs
9
+ - **Auto Native Healing**: Automatically enables `response-healing` plugin when using structured outputs (configurable via `auto_native_healing` setting)
10
+
11
+ ### Changed
12
+ - Enhanced structured output workflow: native healing catches syntax errors server-side, client-side healing handles schema validation
13
+
14
+ ### Configuration
15
+ - New `auto_native_healing` config option (default: `true`)
16
+ - Environment variable: `OPENROUTER_AUTO_NATIVE_HEALING`
17
+
3
18
  ## [1.0.0] - 2025-10-07
4
19
 
5
20
  ### Major Features
data/Gemfile.lock CHANGED
@@ -1,17 +1,17 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- open_router_enhanced (1.0.0)
5
- activesupport (>= 6.0)
6
- dotenv (>= 2)
7
- faraday (>= 1)
8
- faraday-multipart (>= 1)
4
+ open_router_enhanced (1.1.0)
5
+ activesupport (>= 6.0, < 9.0)
6
+ dotenv (>= 2.0, < 4.0)
7
+ faraday (>= 1.0, < 3.0)
8
+ faraday-multipart (>= 1.0, < 2.0)
9
9
  json-schema (~> 4.0)
10
10
 
11
11
  GEM
12
12
  remote: https://rubygems.org/
13
13
  specs:
14
- activesupport (8.0.2.1)
14
+ activesupport (8.0.3)
15
15
  base64
16
16
  benchmark (>= 0.3)
17
17
  bigdecimal
@@ -29,17 +29,17 @@ GEM
29
29
  ast (2.4.3)
30
30
  base64 (0.3.0)
31
31
  benchmark (0.4.1)
32
- bigdecimal (3.2.2)
32
+ bigdecimal (3.3.0)
33
33
  coderay (1.1.3)
34
34
  concurrent-ruby (1.3.5)
35
- connection_pool (2.5.3)
35
+ connection_pool (2.5.4)
36
36
  crack (1.0.0)
37
37
  bigdecimal
38
38
  rexml
39
39
  diff-lcs (1.6.2)
40
40
  dotenv (3.1.8)
41
41
  drb (2.2.3)
42
- faraday (2.13.4)
42
+ faraday (2.14.0)
43
43
  faraday-net_http (>= 2.0, < 3.5)
44
44
  json
45
45
  logger
@@ -47,10 +47,10 @@ GEM
47
47
  multipart-post (~> 2.0)
48
48
  faraday-net_http (3.4.1)
49
49
  net-http (>= 0.5.0)
50
- hashdiff (1.2.0)
50
+ hashdiff (1.2.1)
51
51
  i18n (1.14.7)
52
52
  concurrent-ruby (~> 1.0)
53
- json (2.13.2)
53
+ json (2.15.1)
54
54
  json-schema (4.3.1)
55
55
  addressable (>= 2.8)
56
56
  language_server-protocol (3.17.0.5)
@@ -65,7 +65,7 @@ GEM
65
65
  parser (3.3.9.0)
66
66
  ast (~> 2.4.1)
67
67
  racc
68
- prism (1.4.0)
68
+ prism (1.5.1)
69
69
  pry (0.15.2)
70
70
  coderay (~> 1.1)
71
71
  method_source (~> 1.0)
@@ -73,8 +73,8 @@ GEM
73
73
  racc (1.8.1)
74
74
  rainbow (3.1.1)
75
75
  rake (13.3.0)
76
- regexp_parser (2.11.2)
77
- rexml (3.4.1)
76
+ regexp_parser (2.11.3)
77
+ rexml (3.4.4)
78
78
  rspec (3.13.1)
79
79
  rspec-core (~> 3.13.0)
80
80
  rspec-expectations (~> 3.13.0)
@@ -87,8 +87,8 @@ GEM
87
87
  rspec-mocks (3.13.5)
88
88
  diff-lcs (>= 1.2.0, < 2.0)
89
89
  rspec-support (~> 3.13.0)
90
- rspec-support (3.13.4)
91
- rubocop (1.79.2)
90
+ rspec-support (3.13.6)
91
+ rubocop (1.81.1)
92
92
  json (~> 2.3)
93
93
  language_server-protocol (~> 3.17.0.2)
94
94
  lint_roller (~> 1.1.0)
@@ -96,20 +96,20 @@ GEM
96
96
  parser (>= 3.3.0.2)
97
97
  rainbow (>= 2.2.2, < 4.0)
98
98
  regexp_parser (>= 2.9.3, < 3.0)
99
- rubocop-ast (>= 1.46.0, < 2.0)
99
+ rubocop-ast (>= 1.47.1, < 2.0)
100
100
  ruby-progressbar (~> 1.7)
101
101
  unicode-display_width (>= 2.4.0, < 4.0)
102
- rubocop-ast (1.46.0)
102
+ rubocop-ast (1.47.1)
103
103
  parser (>= 3.3.7.2)
104
104
  prism (~> 1.4)
105
105
  ruby-progressbar (1.13.0)
106
106
  securerandom (0.4.1)
107
107
  tzinfo (2.0.6)
108
108
  concurrent-ruby (~> 1.0)
109
- unicode-display_width (3.1.5)
110
- unicode-emoji (~> 4.0, >= 4.0.4)
111
- unicode-emoji (4.0.4)
112
- uri (1.0.3)
109
+ unicode-display_width (3.2.0)
110
+ unicode-emoji (~> 4.1)
111
+ unicode-emoji (4.1.0)
112
+ uri (1.0.4)
113
113
  vcr (6.3.1)
114
114
  base64
115
115
  webmock (3.25.1)
@@ -118,9 +118,8 @@ GEM
118
118
  hashdiff (>= 0.4.0, < 2.0.0)
119
119
 
120
120
  PLATFORMS
121
- arm64-darwin-21
122
121
  arm64-darwin-24
123
- x86_64-linux
122
+ ruby
124
123
 
125
124
  DEPENDENCIES
126
125
  activesupport (>= 6.0)
@@ -135,4 +134,4 @@ DEPENDENCIES
135
134
  webmock (~> 3.19)
136
135
 
137
136
  BUNDLED WITH
138
- 2.4.12
137
+ 2.6.7