roast-ai 1.0.0.pre.rc1 → 1.0.0.pre.rc2
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/Gemfile +1 -4
- data/Gemfile.lock +4 -45
- data/examples/demo/Gemfile.lock +9 -50
- data/examples/plugin-gem-example/Gemfile.lock +1 -51
- data/lib/roast/version.rb +1 -1
- data/lib/roast.rb +2 -19
- data/roast-ai.gemspec +1 -11
- data/sorbet/rbi/gems/{faraday-net_http@3.4.1.rbi → faraday-net_http@3.4.2.rbi} +23 -23
- data/sorbet/rbi/gems/{faraday@2.13.1.rbi → faraday@2.14.1.rbi} +76 -59
- data/sorbet/rbi/gems/{json@2.12.2.rbi → json@2.18.1.rbi} +173 -106
- data/sorbet/rbi/gems/{net-http@0.6.0.rbi → net-http@0.9.1.rbi} +387 -338
- data/sorbet/rbi/gems/{sqlite3@2.7.0.rbi → sqlite3@2.9.0.rbi} +2 -0
- data/sorbet/rbi/gems/{uri@1.0.3.rbi → uri@1.1.1.rbi} +175 -119
- data/sorbet/tapioca/require.rb +3 -18
- metadata +8 -158
- data/lib/roast/sorbet_runtime_stub.rb +0 -154
- data/sorbet/rbi/gems/cli-kit@5.2.0.rbi +0 -2063
- data/sorbet/rbi/gems/cli-ui@2.7.0-6bdefd1d06305e5d6ae312ac76f9c88f88658dda.rbi +0 -3586
- data/sorbet/rbi/gems/diff-lcs@1.6.2.rbi +0 -972
- data/sorbet/rbi/gems/dotenv@3.1.8.rbi +0 -295
- data/sorbet/rbi/gems/json-schema@5.1.1.rbi +0 -1466
- data/sorbet/rbi/gems/open_router@0.3.3.rbi +0 -230
- data/sorbet/rbi/gems/raix@1.0.2.rbi +0 -1104
- data/sorbet/rbi/gems/ruby-graphviz@1.2.5.rbi +0 -1333
- data/sorbet/rbi/gems/ruby-openai@8.1.0.rbi +0 -758
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d4c094250ff4a6e6203bda03a81547200c3d1b4f73899f597b359873648a6b5f
|
|
4
|
+
data.tar.gz: e033a49f41382b91b8569924124a86d84e423fafad502111a72f77febab05516
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bbecea0581d3f1eec9e36b7885e2d67b7a5c5591d98d59fefa3717b5373c169caf8ed7b6f2c1bed679d36cc33523910a86727c28272776d7c31370004dd69ffa
|
|
7
|
+
data.tar.gz: 907636c73cc87935c25fbcbcd207b3824aec58db6531d07d1603417e9568cf0740a475b0cc1aa95ae0fb5c1fc310a90f5c4aa703aae26527a6100e210279376b
|
data/Gemfile
CHANGED
|
@@ -7,10 +7,6 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
|
|
7
7
|
# Specify your gem's dependencies in roast-ai.gemspec
|
|
8
8
|
gemspec
|
|
9
9
|
|
|
10
|
-
# TODO: remove this version pin when the next cli-ui version is released with this circular dependency fix
|
|
11
|
-
# https://github.com/Shopify/cli-ui/pull/606
|
|
12
|
-
gem "cli-ui", github: "Shopify/cli-ui", branch: "main"
|
|
13
|
-
|
|
14
10
|
group :development, :test do
|
|
15
11
|
gem "guard-minitest"
|
|
16
12
|
gem "guard"
|
|
@@ -22,6 +18,7 @@ group :development, :test do
|
|
|
22
18
|
gem "rubocop-sorbet", require: false
|
|
23
19
|
gem "simplecov", require: false
|
|
24
20
|
gem "sorbet", "~> 0.5.12414", require: false
|
|
21
|
+
gem "sqlite3", require: false
|
|
25
22
|
gem "tapioca", "~> 0.16.11", require: false
|
|
26
23
|
gem "vcr", require: false
|
|
27
24
|
gem "webmock", require: false
|
data/Gemfile.lock
CHANGED
|
@@ -1,27 +1,10 @@
|
|
|
1
|
-
GIT
|
|
2
|
-
remote: https://github.com/Shopify/cli-ui
|
|
3
|
-
revision: 6bdefd1d06305e5d6ae312ac76f9c88f88658dda
|
|
4
|
-
branch: main
|
|
5
|
-
specs:
|
|
6
|
-
cli-ui (2.7.0)
|
|
7
|
-
|
|
8
1
|
PATH
|
|
9
2
|
remote: .
|
|
10
3
|
specs:
|
|
11
|
-
roast-ai (1.0.0.pre.
|
|
4
|
+
roast-ai (1.0.0.pre.rc2)
|
|
12
5
|
activesupport (~> 8.0)
|
|
13
6
|
async (>= 2.34)
|
|
14
|
-
benchmark (>= 0.4.1)
|
|
15
|
-
cli-kit (>= 5.2)
|
|
16
|
-
cli-ui (>= 2.7)
|
|
17
|
-
diff-lcs (>= 1.5)
|
|
18
|
-
json-schema (>= 5.1)
|
|
19
|
-
open_router (>= 0.3)
|
|
20
|
-
raix (~> 1.0.2)
|
|
21
|
-
rake (>= 13.3.0)
|
|
22
|
-
ruby-graphviz (>= 1.2)
|
|
23
7
|
ruby_llm (>= 1.8)
|
|
24
|
-
sqlite3 (>= 2.6)
|
|
25
8
|
thor (>= 1.3)
|
|
26
9
|
zeitwerk (>= 2.6)
|
|
27
10
|
|
|
@@ -53,8 +36,6 @@ GEM
|
|
|
53
36
|
base64 (0.3.0)
|
|
54
37
|
benchmark (0.4.1)
|
|
55
38
|
bigdecimal (3.2.2)
|
|
56
|
-
cli-kit (5.2.0)
|
|
57
|
-
cli-ui (~> 2.4)
|
|
58
39
|
coderay (1.1.3)
|
|
59
40
|
concurrent-ruby (1.3.5)
|
|
60
41
|
connection_pool (2.5.3)
|
|
@@ -65,9 +46,7 @@ GEM
|
|
|
65
46
|
crack (1.0.0)
|
|
66
47
|
bigdecimal
|
|
67
48
|
rexml
|
|
68
|
-
diff-lcs (1.6.2)
|
|
69
49
|
docile (1.4.1)
|
|
70
|
-
dotenv (3.1.8)
|
|
71
50
|
drb (2.2.3)
|
|
72
51
|
erubi (1.13.1)
|
|
73
52
|
event_stream_parser (1.0.0)
|
|
@@ -108,9 +87,6 @@ GEM
|
|
|
108
87
|
concurrent-ruby (~> 1.0)
|
|
109
88
|
io-event (1.14.0)
|
|
110
89
|
json (2.18.1)
|
|
111
|
-
json-schema (5.1.1)
|
|
112
|
-
addressable (~> 2.8)
|
|
113
|
-
bigdecimal (~> 3.1)
|
|
114
90
|
language_server-protocol (3.17.0.5)
|
|
115
91
|
lint_roller (1.1.0)
|
|
116
92
|
listen (3.9.0)
|
|
@@ -134,11 +110,6 @@ GEM
|
|
|
134
110
|
notiffany (0.1.3)
|
|
135
111
|
nenv (~> 0.1)
|
|
136
112
|
shellany (~> 0.0)
|
|
137
|
-
open_router (0.3.3)
|
|
138
|
-
activesupport (>= 6.0)
|
|
139
|
-
dotenv (>= 2)
|
|
140
|
-
faraday (>= 1)
|
|
141
|
-
faraday-multipart (>= 1)
|
|
142
113
|
ostruct (0.6.2)
|
|
143
114
|
parallel (1.27.0)
|
|
144
115
|
parser (3.3.8.0)
|
|
@@ -151,12 +122,6 @@ GEM
|
|
|
151
122
|
public_suffix (6.0.2)
|
|
152
123
|
racc (1.8.1)
|
|
153
124
|
rainbow (3.1.1)
|
|
154
|
-
raix (1.0.2)
|
|
155
|
-
activesupport (>= 6.0)
|
|
156
|
-
faraday-retry (~> 2.0)
|
|
157
|
-
open_router (~> 0.2)
|
|
158
|
-
ostruct
|
|
159
|
-
ruby-openai (~> 8.1)
|
|
160
125
|
rake (13.3.0)
|
|
161
126
|
rb-fsevent (0.11.2)
|
|
162
127
|
rb-inotify (0.11.1)
|
|
@@ -187,12 +152,6 @@ GEM
|
|
|
187
152
|
rubocop-sorbet (0.10.5)
|
|
188
153
|
lint_roller
|
|
189
154
|
rubocop (>= 1.75.2)
|
|
190
|
-
ruby-graphviz (1.2.5)
|
|
191
|
-
rexml
|
|
192
|
-
ruby-openai (8.1.0)
|
|
193
|
-
event_stream_parser (>= 0.3.0, < 2.0.0)
|
|
194
|
-
faraday (>= 1)
|
|
195
|
-
faraday-multipart (>= 1)
|
|
196
155
|
ruby-progressbar (1.13.0)
|
|
197
156
|
ruby2_keywords (0.0.5)
|
|
198
157
|
ruby_llm (1.8.2)
|
|
@@ -227,8 +186,8 @@ GEM
|
|
|
227
186
|
rexml (>= 3.2.6)
|
|
228
187
|
sorbet-static-and-runtime (>= 0.5.10187)
|
|
229
188
|
thor (>= 0.19.2)
|
|
230
|
-
sqlite3 (2.
|
|
231
|
-
sqlite3 (2.
|
|
189
|
+
sqlite3 (2.9.0-arm64-darwin)
|
|
190
|
+
sqlite3 (2.9.0-x86_64-linux-gnu)
|
|
232
191
|
tapioca (0.16.11)
|
|
233
192
|
benchmark
|
|
234
193
|
bundler (>= 2.2.25)
|
|
@@ -264,7 +223,6 @@ PLATFORMS
|
|
|
264
223
|
x86_64-linux
|
|
265
224
|
|
|
266
225
|
DEPENDENCIES
|
|
267
|
-
cli-ui!
|
|
268
226
|
guard
|
|
269
227
|
guard-minitest
|
|
270
228
|
minitest (~> 5.0)
|
|
@@ -276,6 +234,7 @@ DEPENDENCIES
|
|
|
276
234
|
rubocop-sorbet
|
|
277
235
|
simplecov
|
|
278
236
|
sorbet (~> 0.5.12414)
|
|
237
|
+
sqlite3
|
|
279
238
|
tapioca (~> 0.16.11)
|
|
280
239
|
vcr
|
|
281
240
|
webmock
|
data/examples/demo/Gemfile.lock
CHANGED
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ../..
|
|
3
3
|
specs:
|
|
4
|
-
roast-ai (1.0.0.pre.
|
|
4
|
+
roast-ai (1.0.0.pre.rc2)
|
|
5
5
|
activesupport (~> 8.0)
|
|
6
6
|
async (>= 2.34)
|
|
7
|
-
benchmark (>= 0.4.1)
|
|
8
|
-
cli-kit (>= 5.2)
|
|
9
|
-
cli-ui (>= 2.7)
|
|
10
|
-
diff-lcs (>= 1.5)
|
|
11
|
-
json-schema (>= 5.1)
|
|
12
|
-
open_router (>= 0.3)
|
|
13
|
-
raix (~> 1.0.2)
|
|
14
|
-
rake (>= 13.3.0)
|
|
15
|
-
ruby-graphviz (>= 1.2)
|
|
16
7
|
ruby_llm (>= 1.8)
|
|
17
|
-
sqlite3 (>= 2.6)
|
|
18
8
|
thor (>= 1.3)
|
|
19
9
|
zeitwerk (>= 2.6)
|
|
20
10
|
|
|
@@ -40,8 +30,6 @@ GEM
|
|
|
40
30
|
securerandom (>= 0.3)
|
|
41
31
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
42
32
|
uri (>= 0.13.1)
|
|
43
|
-
addressable (2.8.7)
|
|
44
|
-
public_suffix (>= 2.0.2, < 7.0)
|
|
45
33
|
async (2.34.0)
|
|
46
34
|
console (~> 1.29)
|
|
47
35
|
fiber-annotation
|
|
@@ -51,27 +39,22 @@ GEM
|
|
|
51
39
|
base64 (0.3.0)
|
|
52
40
|
benchmark (0.4.1)
|
|
53
41
|
bigdecimal (3.3.1)
|
|
54
|
-
cli-kit (5.2.0)
|
|
55
|
-
cli-ui (~> 2.4)
|
|
56
|
-
cli-ui (2.7.0)
|
|
57
42
|
concurrent-ruby (1.3.5)
|
|
58
43
|
connection_pool (2.5.4)
|
|
59
44
|
console (1.34.2)
|
|
60
45
|
fiber-annotation
|
|
61
46
|
fiber-local (~> 1.1)
|
|
62
47
|
json
|
|
63
|
-
diff-lcs (1.6.2)
|
|
64
|
-
dotenv (3.1.8)
|
|
65
48
|
drb (2.2.3)
|
|
66
49
|
event_stream_parser (1.0.0)
|
|
67
|
-
faraday (2.14.
|
|
50
|
+
faraday (2.14.1)
|
|
68
51
|
faraday-net_http (>= 2.0, < 3.5)
|
|
69
52
|
json
|
|
70
53
|
logger
|
|
71
54
|
faraday-multipart (1.1.1)
|
|
72
55
|
multipart-post (~> 2.0)
|
|
73
|
-
faraday-net_http (3.4.
|
|
74
|
-
net-http (
|
|
56
|
+
faraday-net_http (3.4.2)
|
|
57
|
+
net-http (~> 0.5)
|
|
75
58
|
faraday-retry (2.3.2)
|
|
76
59
|
faraday (~> 2.0)
|
|
77
60
|
fiber-annotation (0.2.0)
|
|
@@ -81,38 +64,14 @@ GEM
|
|
|
81
64
|
i18n (1.14.7)
|
|
82
65
|
concurrent-ruby (~> 1.0)
|
|
83
66
|
io-event (1.14.0)
|
|
84
|
-
json (2.
|
|
85
|
-
json-schema (6.0.0)
|
|
86
|
-
addressable (~> 2.8)
|
|
87
|
-
bigdecimal (~> 3.1)
|
|
67
|
+
json (2.18.1)
|
|
88
68
|
logger (1.7.0)
|
|
89
69
|
marcel (1.1.0)
|
|
90
70
|
metrics (0.15.0)
|
|
91
71
|
minitest (5.26.0)
|
|
92
72
|
multipart-post (2.4.1)
|
|
93
|
-
net-http (0.
|
|
94
|
-
uri
|
|
95
|
-
open_router (0.3.3)
|
|
96
|
-
activesupport (>= 6.0)
|
|
97
|
-
dotenv (>= 2)
|
|
98
|
-
faraday (>= 1)
|
|
99
|
-
faraday-multipart (>= 1)
|
|
100
|
-
ostruct (0.6.3)
|
|
101
|
-
public_suffix (6.0.2)
|
|
102
|
-
raix (1.0.3)
|
|
103
|
-
activesupport (>= 6.0)
|
|
104
|
-
faraday-retry (~> 2.0)
|
|
105
|
-
open_router (~> 0.2)
|
|
106
|
-
ostruct
|
|
107
|
-
ruby-openai (~> 8.1)
|
|
108
|
-
rake (13.3.1)
|
|
109
|
-
rexml (3.4.4)
|
|
110
|
-
ruby-graphviz (1.2.5)
|
|
111
|
-
rexml
|
|
112
|
-
ruby-openai (8.3.0)
|
|
113
|
-
event_stream_parser (>= 0.3.0, < 2.0.0)
|
|
114
|
-
faraday (>= 1)
|
|
115
|
-
faraday-multipart (>= 1)
|
|
73
|
+
net-http (0.9.1)
|
|
74
|
+
uri (>= 0.11.1)
|
|
116
75
|
ruby_llm (1.8.2)
|
|
117
76
|
base64
|
|
118
77
|
event_stream_parser (~> 1)
|
|
@@ -123,16 +82,16 @@ GEM
|
|
|
123
82
|
marcel (~> 1.0)
|
|
124
83
|
zeitwerk (~> 2)
|
|
125
84
|
securerandom (0.4.1)
|
|
126
|
-
sqlite3 (2.7.4-arm64-darwin)
|
|
127
85
|
thor (1.4.0)
|
|
128
86
|
traces (0.18.2)
|
|
129
87
|
tzinfo (2.0.6)
|
|
130
88
|
concurrent-ruby (~> 1.0)
|
|
131
|
-
uri (1.
|
|
89
|
+
uri (1.1.1)
|
|
132
90
|
zeitwerk (2.7.3)
|
|
133
91
|
|
|
134
92
|
PLATFORMS
|
|
135
93
|
arm64-darwin
|
|
94
|
+
x86_64-linux
|
|
136
95
|
|
|
137
96
|
DEPENDENCIES
|
|
138
97
|
plugin-gem-example!
|
|
@@ -1,20 +1,10 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: ../..
|
|
3
3
|
specs:
|
|
4
|
-
roast-ai (1.0.0.pre.
|
|
4
|
+
roast-ai (1.0.0.pre.rc2)
|
|
5
5
|
activesupport (~> 8.0)
|
|
6
6
|
async (>= 2.34)
|
|
7
|
-
benchmark (>= 0.4.1)
|
|
8
|
-
cli-kit (>= 5.2)
|
|
9
|
-
cli-ui (>= 2.7)
|
|
10
|
-
diff-lcs (>= 1.5)
|
|
11
|
-
json-schema (>= 5.1)
|
|
12
|
-
open_router (>= 0.3)
|
|
13
|
-
raix (~> 1.0.2)
|
|
14
|
-
rake (>= 13.3.0)
|
|
15
|
-
ruby-graphviz (>= 1.2)
|
|
16
7
|
ruby_llm (>= 1.8)
|
|
17
|
-
sqlite3 (>= 2.6)
|
|
18
8
|
thor (>= 1.3)
|
|
19
9
|
zeitwerk (>= 2.6)
|
|
20
10
|
|
|
@@ -40,8 +30,6 @@ GEM
|
|
|
40
30
|
securerandom (>= 0.3)
|
|
41
31
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
42
32
|
uri (>= 0.13.1)
|
|
43
|
-
addressable (2.8.7)
|
|
44
|
-
public_suffix (>= 2.0.2, < 7.0)
|
|
45
33
|
ast (2.4.3)
|
|
46
34
|
async (2.36.0)
|
|
47
35
|
console (~> 1.29)
|
|
@@ -52,9 +40,6 @@ GEM
|
|
|
52
40
|
base64 (0.3.0)
|
|
53
41
|
benchmark (0.4.1)
|
|
54
42
|
bigdecimal (3.3.1)
|
|
55
|
-
cli-kit (5.2.0)
|
|
56
|
-
cli-ui (~> 2.4)
|
|
57
|
-
cli-ui (2.7.0)
|
|
58
43
|
concurrent-ruby (1.3.5)
|
|
59
44
|
connection_pool (2.5.4)
|
|
60
45
|
console (1.34.3)
|
|
@@ -62,8 +47,6 @@ GEM
|
|
|
62
47
|
fiber-local (~> 1.1)
|
|
63
48
|
json
|
|
64
49
|
date (3.4.1)
|
|
65
|
-
diff-lcs (1.6.2)
|
|
66
|
-
dotenv (3.1.8)
|
|
67
50
|
drb (2.2.3)
|
|
68
51
|
erb (5.1.1)
|
|
69
52
|
event_stream_parser (1.0.0)
|
|
@@ -90,9 +73,6 @@ GEM
|
|
|
90
73
|
rdoc (>= 4.0.0)
|
|
91
74
|
reline (>= 0.4.2)
|
|
92
75
|
json (2.18.1)
|
|
93
|
-
json-schema (6.0.0)
|
|
94
|
-
addressable (~> 2.8)
|
|
95
|
-
bigdecimal (~> 3.1)
|
|
96
76
|
language_server-protocol (3.17.0.5)
|
|
97
77
|
lint_roller (1.1.0)
|
|
98
78
|
logger (1.7.0)
|
|
@@ -102,12 +82,6 @@ GEM
|
|
|
102
82
|
multipart-post (2.4.1)
|
|
103
83
|
net-http (0.9.1)
|
|
104
84
|
uri (>= 0.11.1)
|
|
105
|
-
open_router (0.3.3)
|
|
106
|
-
activesupport (>= 6.0)
|
|
107
|
-
dotenv (>= 2)
|
|
108
|
-
faraday (>= 1)
|
|
109
|
-
faraday-multipart (>= 1)
|
|
110
|
-
ostruct (0.6.3)
|
|
111
85
|
parallel (1.27.0)
|
|
112
86
|
parser (3.3.9.0)
|
|
113
87
|
ast (~> 2.4.1)
|
|
@@ -119,15 +93,8 @@ GEM
|
|
|
119
93
|
psych (5.2.6)
|
|
120
94
|
date
|
|
121
95
|
stringio
|
|
122
|
-
public_suffix (6.0.2)
|
|
123
96
|
racc (1.8.1)
|
|
124
97
|
rainbow (3.1.1)
|
|
125
|
-
raix (1.0.3)
|
|
126
|
-
activesupport (>= 6.0)
|
|
127
|
-
faraday-retry (~> 2.0)
|
|
128
|
-
open_router (~> 0.2)
|
|
129
|
-
ostruct
|
|
130
|
-
ruby-openai (~> 8.1)
|
|
131
98
|
rake (13.3.0)
|
|
132
99
|
rdoc (6.15.0)
|
|
133
100
|
erb
|
|
@@ -136,7 +103,6 @@ GEM
|
|
|
136
103
|
regexp_parser (2.11.3)
|
|
137
104
|
reline (0.6.2)
|
|
138
105
|
io-console (~> 0.5)
|
|
139
|
-
rexml (3.4.4)
|
|
140
106
|
rubocop (1.81.1)
|
|
141
107
|
json (~> 2.3)
|
|
142
108
|
language_server-protocol (~> 3.17.0.2)
|
|
@@ -151,12 +117,6 @@ GEM
|
|
|
151
117
|
rubocop-ast (1.47.1)
|
|
152
118
|
parser (>= 3.3.7.2)
|
|
153
119
|
prism (~> 1.4)
|
|
154
|
-
ruby-graphviz (1.2.5)
|
|
155
|
-
rexml
|
|
156
|
-
ruby-openai (8.3.0)
|
|
157
|
-
event_stream_parser (>= 0.3.0, < 2.0.0)
|
|
158
|
-
faraday (>= 1)
|
|
159
|
-
faraday-multipart (>= 1)
|
|
160
120
|
ruby-progressbar (1.13.0)
|
|
161
121
|
ruby_llm (1.11.0)
|
|
162
122
|
base64
|
|
@@ -170,16 +130,6 @@ GEM
|
|
|
170
130
|
zeitwerk (~> 2)
|
|
171
131
|
ruby_llm-schema (0.2.5)
|
|
172
132
|
securerandom (0.4.1)
|
|
173
|
-
sqlite3 (2.7.4-aarch64-linux-gnu)
|
|
174
|
-
sqlite3 (2.7.4-aarch64-linux-musl)
|
|
175
|
-
sqlite3 (2.7.4-arm-linux-gnu)
|
|
176
|
-
sqlite3 (2.7.4-arm-linux-musl)
|
|
177
|
-
sqlite3 (2.7.4-arm64-darwin)
|
|
178
|
-
sqlite3 (2.7.4-x86-linux-gnu)
|
|
179
|
-
sqlite3 (2.7.4-x86-linux-musl)
|
|
180
|
-
sqlite3 (2.7.4-x86_64-darwin)
|
|
181
|
-
sqlite3 (2.7.4-x86_64-linux-gnu)
|
|
182
|
-
sqlite3 (2.7.4-x86_64-linux-musl)
|
|
183
133
|
stringio (3.1.7)
|
|
184
134
|
thor (1.4.0)
|
|
185
135
|
traces (0.18.2)
|
data/lib/roast/version.rb
CHANGED
data/lib/roast.rb
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
# frozen_string_literal: true
|
|
3
3
|
|
|
4
4
|
# Standard library requires
|
|
5
|
-
require "benchmark"
|
|
6
5
|
require "digest"
|
|
7
6
|
require "English"
|
|
8
7
|
require "erb"
|
|
@@ -12,7 +11,6 @@ require "logger"
|
|
|
12
11
|
require "net/http"
|
|
13
12
|
require "open3"
|
|
14
13
|
require "pathname"
|
|
15
|
-
require "pp"
|
|
16
14
|
require "securerandom"
|
|
17
15
|
require "shellwords"
|
|
18
16
|
require "tempfile"
|
|
@@ -24,7 +22,8 @@ require "yaml"
|
|
|
24
22
|
require "active_support"
|
|
25
23
|
require "active_support/cache"
|
|
26
24
|
require "active_support/core_ext/array"
|
|
27
|
-
require "active_support/core_ext/hash
|
|
25
|
+
require "active_support/core_ext/hash"
|
|
26
|
+
require "active_support/core_ext/object/deep_dup"
|
|
28
27
|
require "active_support/core_ext/module/delegation"
|
|
29
28
|
require "active_support/core_ext/string"
|
|
30
29
|
require "active_support/core_ext/string/inflections"
|
|
@@ -32,24 +31,8 @@ require "active_support/isolated_execution_state"
|
|
|
32
31
|
require "active_support/notifications"
|
|
33
32
|
require "async"
|
|
34
33
|
require "async/semaphore"
|
|
35
|
-
require "cli/kit"
|
|
36
|
-
require "cli/ui"
|
|
37
|
-
require "diff/lcs"
|
|
38
|
-
require "json-schema"
|
|
39
|
-
require "raix"
|
|
40
|
-
require "raix/chat_completion"
|
|
41
|
-
require "raix/function_dispatch"
|
|
42
|
-
require "ruby-graphviz"
|
|
43
34
|
require "ruby_llm"
|
|
44
35
|
require "thor"
|
|
45
|
-
require "timeout"
|
|
46
|
-
|
|
47
|
-
unless defined?(T)
|
|
48
|
-
# NOTE: stubs for sorbet-runtime were being imported from cli-kit. They were removed in cli-kit v5.2
|
|
49
|
-
# Ideally we will not need them at all in the future, but for now I have brought them into the project
|
|
50
|
-
# because a large quantity of legacy code is using sorbet runtime assertions.
|
|
51
|
-
require("roast/sorbet_runtime_stub")
|
|
52
|
-
end
|
|
53
36
|
|
|
54
37
|
# Require project components that will not get automatically loaded
|
|
55
38
|
require "roast/nil_assertions"
|
data/roast-ai.gemspec
CHANGED
|
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
|
|
|
20
20
|
spec.metadata["source_code_uri"] = "https://github.com/Shopify/roast"
|
|
21
21
|
spec.metadata["changelog_uri"] = "https://github.com/Shopify/roast/blob/main/CHANGELOG.md"
|
|
22
22
|
|
|
23
|
-
spec.required_ruby_version = ">= 3.
|
|
23
|
+
spec.required_ruby_version = ">= 3.3.0"
|
|
24
24
|
|
|
25
25
|
# Specify which files should be added to the gem when it is released.
|
|
26
26
|
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
|
@@ -33,17 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
|
|
34
34
|
spec.add_dependency("activesupport", "~> 8.0")
|
|
35
35
|
spec.add_dependency("async", ">= 2.34")
|
|
36
|
-
spec.add_dependency("benchmark", ">= 0.4.1")
|
|
37
|
-
spec.add_dependency("cli-kit", ">= 5.2")
|
|
38
|
-
spec.add_dependency("cli-ui", ">= 2.7")
|
|
39
|
-
spec.add_dependency("diff-lcs", ">= 1.5")
|
|
40
|
-
spec.add_dependency("json-schema", ">= 5.1")
|
|
41
|
-
spec.add_dependency("open_router", ">= 0.3")
|
|
42
|
-
spec.add_dependency("raix", "~> 1.0.2")
|
|
43
|
-
spec.add_dependency("rake", ">= 13.3.0") # NOTE: required by Thor
|
|
44
|
-
spec.add_dependency("ruby-graphviz", ">= 1.2")
|
|
45
36
|
spec.add_dependency("ruby_llm", ">= 1.8")
|
|
46
|
-
spec.add_dependency("sqlite3", ">= 2.6")
|
|
47
37
|
spec.add_dependency("thor", ">= 1.3")
|
|
48
38
|
spec.add_dependency("zeitwerk", ">= 2.6")
|
|
49
39
|
end
|
|
@@ -8,81 +8,81 @@
|
|
|
8
8
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#12
|
|
9
9
|
module Faraday
|
|
10
10
|
class << self
|
|
11
|
-
# source://faraday/2.
|
|
11
|
+
# source://faraday/2.14.1/lib/faraday.rb#56
|
|
12
12
|
def default_adapter; end
|
|
13
13
|
|
|
14
|
-
# source://faraday/2.
|
|
14
|
+
# source://faraday/2.14.1/lib/faraday.rb#103
|
|
15
15
|
def default_adapter=(adapter); end
|
|
16
16
|
|
|
17
|
-
# source://faraday/2.
|
|
17
|
+
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
18
18
|
def default_adapter_options; end
|
|
19
19
|
|
|
20
|
-
# source://faraday/2.
|
|
20
|
+
# source://faraday/2.14.1/lib/faraday.rb#60
|
|
21
21
|
def default_adapter_options=(_arg0); end
|
|
22
22
|
|
|
23
|
-
# source://faraday/2.
|
|
23
|
+
# source://faraday/2.14.1/lib/faraday.rb#121
|
|
24
24
|
def default_connection; end
|
|
25
25
|
|
|
26
|
-
# source://faraday/2.
|
|
26
|
+
# source://faraday/2.14.1/lib/faraday.rb#63
|
|
27
27
|
def default_connection=(_arg0); end
|
|
28
28
|
|
|
29
|
-
# source://faraday/2.
|
|
29
|
+
# source://faraday/2.14.1/lib/faraday.rb#128
|
|
30
30
|
def default_connection_options; end
|
|
31
31
|
|
|
32
|
-
# source://faraday/2.
|
|
32
|
+
# source://faraday/2.14.1/lib/faraday.rb#135
|
|
33
33
|
def default_connection_options=(options); end
|
|
34
34
|
|
|
35
|
-
# source://faraday/2.
|
|
35
|
+
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
36
36
|
def ignore_env_proxy; end
|
|
37
37
|
|
|
38
|
-
# source://faraday/2.
|
|
38
|
+
# source://faraday/2.14.1/lib/faraday.rb#68
|
|
39
39
|
def ignore_env_proxy=(_arg0); end
|
|
40
40
|
|
|
41
|
-
# source://faraday/2.
|
|
41
|
+
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
42
42
|
def lib_path; end
|
|
43
43
|
|
|
44
|
-
# source://faraday/2.
|
|
44
|
+
# source://faraday/2.14.1/lib/faraday.rb#47
|
|
45
45
|
def lib_path=(_arg0); end
|
|
46
46
|
|
|
47
|
-
# source://faraday/2.
|
|
47
|
+
# source://faraday/2.14.1/lib/faraday.rb#97
|
|
48
48
|
def new(url = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
|
49
49
|
|
|
50
|
-
# source://faraday/2.
|
|
50
|
+
# source://faraday/2.14.1/lib/faraday.rb#108
|
|
51
51
|
def respond_to_missing?(symbol, include_private = T.unsafe(nil)); end
|
|
52
52
|
|
|
53
|
-
# source://faraday/2.
|
|
53
|
+
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
54
54
|
def root_path; end
|
|
55
55
|
|
|
56
|
-
# source://faraday/2.
|
|
56
|
+
# source://faraday/2.14.1/lib/faraday.rb#43
|
|
57
57
|
def root_path=(_arg0); end
|
|
58
58
|
|
|
59
59
|
private
|
|
60
60
|
|
|
61
|
-
# source://faraday/2.
|
|
61
|
+
# source://faraday/2.14.1/lib/faraday.rb#144
|
|
62
62
|
def method_missing(name, *args, &block); end
|
|
63
63
|
end
|
|
64
64
|
end
|
|
65
65
|
|
|
66
66
|
# source://faraday-net_http//lib/faraday/adapter/net_http.rb#13
|
|
67
67
|
class Faraday::Adapter
|
|
68
|
-
# source://faraday/2.
|
|
68
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#28
|
|
69
69
|
def initialize(_app = T.unsafe(nil), opts = T.unsafe(nil), &block); end
|
|
70
70
|
|
|
71
|
-
# source://faraday/2.
|
|
71
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#55
|
|
72
72
|
def call(env); end
|
|
73
73
|
|
|
74
|
-
# source://faraday/2.
|
|
74
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#50
|
|
75
75
|
def close; end
|
|
76
76
|
|
|
77
|
-
# source://faraday/2.
|
|
77
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#41
|
|
78
78
|
def connection(env); end
|
|
79
79
|
|
|
80
80
|
private
|
|
81
81
|
|
|
82
|
-
# source://faraday/2.
|
|
82
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#85
|
|
83
83
|
def request_timeout(type, options); end
|
|
84
84
|
|
|
85
|
-
# source://faraday/2.
|
|
85
|
+
# source://faraday/2.14.1/lib/faraday/adapter.rb#62
|
|
86
86
|
def save_response(env, status, body, headers = T.unsafe(nil), reason_phrase = T.unsafe(nil), finished: T.unsafe(nil)); end
|
|
87
87
|
end
|
|
88
88
|
|