llama_bot_rails 0.1.11 → 0.1.14
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/README.md +17 -0
- data/app/channels/llama_bot_rails/chat_channel.rb +75 -73
- data/app/controllers/llama_bot_rails/agent_controller.rb +36 -32
- data/app/views/llama_bot_rails/agent/chat.html.erb +2 -1
- data/app/views/llama_bot_rails/agent/chat_ws.html.erb +11 -2
- data/bin/bundle +29 -0
- data/bin/bundle.lock +0 -0
- data/bin/bundler +29 -0
- data/bin/bundler.lock +0 -0
- data/bin/byebug +29 -0
- data/bin/coderay +29 -0
- data/bin/erb +29 -0
- data/bin/faker +29 -0
- data/bin/htmldiff +29 -0
- data/bin/irb +29 -0
- data/bin/ldiff +29 -0
- data/bin/nokogiri +29 -0
- data/bin/pry +29 -0
- data/bin/puma +29 -0
- data/bin/pumactl +29 -0
- data/bin/racc +29 -0
- data/bin/rackup +29 -0
- data/bin/rake +29 -0
- data/bin/rdoc +29 -0
- data/bin/ri +29 -0
- data/bin/rspec +29 -0
- data/bin/ruby-parse +29 -0
- data/bin/ruby-rewrite +29 -0
- data/bin/sprockets +29 -0
- data/bin/thor +29 -0
- data/lib/generators/llama_bot_rails/install/install_generator.rb +68 -0
- data/lib/generators/llama_bot_rails/install/templates/agent_state_builder.rb.erb +3 -3
- data/lib/llama_bot_rails/agent_auth.rb +158 -0
- data/lib/llama_bot_rails/agent_auth_2.rb +149 -0
- data/lib/llama_bot_rails/agent_state_builder.rb +6 -6
- data/lib/llama_bot_rails/controller_extensions.rb +40 -0
- data/lib/llama_bot_rails/engine.rb +8 -2
- data/lib/llama_bot_rails/llama_bot.rb +3 -0
- data/lib/llama_bot_rails/railtie.rb +6 -0
- data/lib/llama_bot_rails/route_helper.rb +117 -0
- data/lib/llama_bot_rails/version.rb +1 -1
- data/lib/llama_bot_rails.rb +64 -21
- metadata +31 -4
- data/bin/rails +0 -26
- data/bin/rubocop +0 -8
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: llama_bot_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kody Kendall
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -119,18 +119,45 @@ files:
|
|
119
119
|
- app/views/layouts/llama_bot_rails/application.html.erb
|
120
120
|
- app/views/llama_bot_rails/agent/chat.html.erb
|
121
121
|
- app/views/llama_bot_rails/agent/chat_ws.html.erb
|
122
|
-
- bin/
|
123
|
-
- bin/
|
122
|
+
- bin/bundle
|
123
|
+
- bin/bundle.lock
|
124
|
+
- bin/bundler
|
125
|
+
- bin/bundler.lock
|
126
|
+
- bin/byebug
|
127
|
+
- bin/coderay
|
128
|
+
- bin/erb
|
129
|
+
- bin/faker
|
130
|
+
- bin/htmldiff
|
131
|
+
- bin/irb
|
132
|
+
- bin/ldiff
|
133
|
+
- bin/nokogiri
|
134
|
+
- bin/pry
|
135
|
+
- bin/puma
|
136
|
+
- bin/pumactl
|
137
|
+
- bin/racc
|
138
|
+
- bin/rackup
|
139
|
+
- bin/rake
|
140
|
+
- bin/rdoc
|
141
|
+
- bin/ri
|
142
|
+
- bin/rspec
|
143
|
+
- bin/ruby-parse
|
144
|
+
- bin/ruby-rewrite
|
145
|
+
- bin/sprockets
|
146
|
+
- bin/thor
|
124
147
|
- config/initializers/llama_bot_rails.rb
|
125
148
|
- config/routes.rb
|
126
149
|
- lib/generators/llama_bot_rails/install/install_generator.rb
|
127
150
|
- lib/generators/llama_bot_rails/install/templates/agent_prompt.txt
|
128
151
|
- lib/generators/llama_bot_rails/install/templates/agent_state_builder.rb.erb
|
129
152
|
- lib/llama_bot_rails.rb
|
153
|
+
- lib/llama_bot_rails/agent_auth.rb
|
154
|
+
- lib/llama_bot_rails/agent_auth_2.rb
|
130
155
|
- lib/llama_bot_rails/agent_state_builder.rb
|
156
|
+
- lib/llama_bot_rails/controller_extensions.rb
|
131
157
|
- lib/llama_bot_rails/engine.rb
|
132
158
|
- lib/llama_bot_rails/llama_bot.rb
|
133
159
|
- lib/llama_bot_rails/railtie.rb
|
160
|
+
- lib/llama_bot_rails/route_helper.rb
|
134
161
|
- lib/llama_bot_rails/tools/rails_console_tool.rb
|
135
162
|
- lib/llama_bot_rails/version.rb
|
136
163
|
- lib/tasks/llama_bot_rails_tasks.rake
|
data/bin/rails
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
# This command will automatically be run when you run "rails" with Rails gems
|
3
|
-
# installed from the root of your application.
|
4
|
-
|
5
|
-
ENGINE_ROOT = File.expand_path("..", __dir__)
|
6
|
-
ENGINE_PATH = File.expand_path("../lib/llama_bot_rails/engine", __dir__)
|
7
|
-
APP_PATH = File.expand_path("../spec/dummy/config/application", __dir__)
|
8
|
-
|
9
|
-
# Set up gems listed in the Gemfile.
|
10
|
-
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
|
11
|
-
require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"])
|
12
|
-
|
13
|
-
require "rails"
|
14
|
-
# Pick the frameworks you want:
|
15
|
-
require "active_model/railtie"
|
16
|
-
require "active_job/railtie"
|
17
|
-
require "active_record/railtie"
|
18
|
-
require "active_storage/engine"
|
19
|
-
require "action_controller/railtie"
|
20
|
-
# require "action_mailer/railtie"
|
21
|
-
# require "action_mailbox/engine"
|
22
|
-
# require "action_text/engine"
|
23
|
-
require "action_view/railtie"
|
24
|
-
require "action_cable/engine"
|
25
|
-
# require "rails/test_unit/railtie"
|
26
|
-
require "rails/engine/commands"
|
data/bin/rubocop
DELETED
@@ -1,8 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
require "rubygems"
|
3
|
-
require "bundler/setup"
|
4
|
-
|
5
|
-
# explicit rubocop config increases performance slightly while avoiding config confusion.
|
6
|
-
ARGV.unshift("--config", File.expand_path("../.rubocop.yml", __dir__))
|
7
|
-
|
8
|
-
load Gem.bin_path("rubocop", "rubocop")
|