meta_workflows 0.8.9 → 0.8.10

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: cb7fc05f27cea2d28257ac0b8712e260ec7d8f05bed224877eeef450f3b57d4a
4
- data.tar.gz: 63d7b52ff4bf5dc960951996b8c0d86f7b088da7f279aa25bb7e02c9c7b4c52f
3
+ metadata.gz: 9792925e97535114e20604bd6c65575fdd59ce7546af128acbb9464451441bb2
4
+ data.tar.gz: 1e45fd28cd666352d7396575af106a994d0d3e679c029baa98218c76ca1b111a
5
5
  SHA512:
6
- metadata.gz: 141e4c91bf9be5664954762f5619cee0bc5a05d133c568dc73a96db9b2d6be1ca1ae9c4de28fa2acba8c7dfe510db0a91aa0a91c01285d4b1abeacf3406d06f6
7
- data.tar.gz: 543b4fd54eaa0a21704524df8d34039f5c2a10a2e1b9d3282529c021fc5130bb8c8dbc217650152f2c1daaf8e1e00f0ab66826373603c34eaccfcf7250d6e6c8
6
+ metadata.gz: e3f5303a30b9d62178bb775dfdc52c328871186ecce597bc8db71247a67e1318963cc21c82fbca227b97bc83f6a63ca7af94abb4c9a11a040c5634fff46410b2
7
+ data.tar.gz: fcd9e0397f55cc8e97af4d5bd00833aa6a8b832c06f722c0b9e9060984d430d7fe6372153859414f2e806bfa26803aaadf679b71710f9dc4371e2985b6a7fbf6
@@ -31,6 +31,10 @@ module MetaWorkflows
31
31
  'meta_workflows/lexi_chat_right_tray'
32
32
  end
33
33
 
34
+ def meta_lexi_chat_alpha_tray
35
+ 'meta_workflows/lexi_chat_alpha_tray'
36
+ end
37
+
34
38
  def random_chat_placeholder
35
39
  [
36
40
  'What would you like to improve?',
@@ -0,0 +1,45 @@
1
+ <%# Lexi Chat Alpha Tray (Center Display) %>
2
+ <div class="relative flex flex-col max-w-4xl mx-auto bg-white border border-gray-200 rounded-lg shadow-sm mt-8">
3
+ <%# Header with Lexi logo and action icons %>
4
+ <div class="flex-shrink-0 flex items-center justify-between p-4 border-b border-gray-200">
5
+ <div class="flex items-center space-x-3">
6
+ <%= image_tag("lexi_logo_color.png", alt: "Lexi Logo", class: "h-10 w-auto") %>
7
+ <h2 class="text-lg font-semibold text-gray-900">Lexi Assistant</h2>
8
+ </div>
9
+ <div class="flex items-center gap-2">
10
+ <button type="button" class="p-2 rounded-xl hover:bg-gray-100" aria-label="New Chat" disabled>
11
+ <i class="fa-solid fa-plus text-lg text-gray-600"></i>
12
+ </button>
13
+ <button type="button" class="p-2 rounded-xl hover:bg-gray-100" aria-label="Chat History" disabled>
14
+ <i class="fa-solid fa-clock-rotate-left text-lg text-gray-600"></i>
15
+ </button>
16
+ </div>
17
+ </div>
18
+
19
+ <%# Chat messages area %>
20
+ <div class="flex-1 overflow-y-auto p-4 space-y-4 min-h-[300px] max-h-[500px]">
21
+ <%= render partial: meta_loader, locals: {record: local_assigns[:record], step_progress: ["Generating draft course objectives...", "Talking to the LLM..."] } %>
22
+ </div>
23
+
24
+ <%# Input area and Lexi avatar %>
25
+ <div class="flex-shrink-0 relative bg-gray-50 rounded-b-lg">
26
+ <div class="flex items-end p-4 space-x-4">
27
+ <!-- Lexi avatar on the left -->
28
+ <div class="flex-shrink-0">
29
+ <%= image_tag("lexi-expanded.png", alt: "Lexi Avatar", class: "h-20 w-auto") %>
30
+ </div>
31
+
32
+ <!-- Input area on the right -->
33
+ <div class="flex-1 space-y-2">
34
+ <!-- Recording notice -->
35
+ <p class="text-xs text-purple-600">This chat is being recorded.</p>
36
+
37
+ <!-- Input form -->
38
+ <div class="w-full">
39
+ <% active_execution = local_assigns[:record]&.workflow_executions&.order(created_at: :desc)&.first %>
40
+ <%= render partial: "meta_workflows/response_form_lexi", locals: {record: local_assigns[:record], response_enabled: true, workflow_execution_id: active_execution&.id, chat_id: active_execution&.workflow_steps&.last&.chat&.id } %>
41
+ </div>
42
+ </div>
43
+ </div>
44
+ </div>
45
+ </div>
@@ -3,7 +3,7 @@
3
3
  module MetaWorkflows
4
4
  MAJOR = 0
5
5
  MINOR = 8
6
- PATCH = 9 # this is automatically incremented by the build process
6
+ PATCH = 10 # this is automatically incremented by the build process
7
7
 
8
8
  VERSION = "#{MetaWorkflows::MAJOR}.#{MetaWorkflows::MINOR}.#{MetaWorkflows::PATCH}".freeze
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_workflows
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.9
4
+ version: 0.8.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leonid Medovyy
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2025-06-25 00:00:00.000000000 Z
12
+ date: 2025-06-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -150,6 +150,7 @@ files:
150
150
  - app/sidekiq/meta_workflows/tools/meta_workflow_tool.rb
151
151
  - app/views/layouts/meta_workflows/application.html.erb
152
152
  - app/views/layouts/meta_workflows/debug.html.erb
153
+ - app/views/meta_workflows/_lexi_chat_alpha_tray.html.erb
153
154
  - app/views/meta_workflows/_lexi_chat_right_tray.html.erb
154
155
  - app/views/meta_workflows/_loader.html.erb
155
156
  - app/views/meta_workflows/_redirect.html.erb