completion-kit 0.5.2 → 0.5.3

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: c4297341fb61c6ad9e3620ca8a197ad9fb658221993f127ff84ffa55345a6ecf
4
- data.tar.gz: 791113c93f8bcd305edc7708fbc1650191b5c7da3a9c84e33006ee5d0e13d935
3
+ metadata.gz: f64415a327bca168f071390f5b44188e5fb3b7f66a9b92f5a0d6e03da1977454
4
+ data.tar.gz: a64a0446f6b6ee0d10e076e10405be75cb298377e8d4a45f921fe3ff8d2946d6
5
5
  SHA512:
6
- metadata.gz: 90f6e6a6038e527add9ae96e1242605b8fca7ec6370bb4b8af394a292b3d3985bec4374371e7b07ea8003a36447ccec748252cdf4ae10d51f3bda347ac81103e
7
- data.tar.gz: 13cca6a9c7c4f6434514887554c8c1fc532eaeee286f616039edfe268ba73cc8bfa5d97e783939ec1278364e8c316d4fbdb3d4344302af29ba6bab34eb1ee2ff
6
+ metadata.gz: 02c394c4216d8fcefa8a585e4c0fdab80a64d63cd865664c24c99047065bb371dc9f4c490340c3da825331549fcbbee873b93547afc5b655e4138d938a39731c
7
+ data.tar.gz: d04afd98a0b25bfdc500b1826ec71dd3f055a106eec7528f4deff615c95c0ba3d76517320869e023739e7e43ff59f92ebaa754a3fc10446e42985dcb21124ae5
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  </p>
4
4
 
5
5
  <p align="center">
6
+ <a href="https://badge.fury.io/rb/completion-kit"><img src="https://badge.fury.io/rb/completion-kit.svg" alt="Gem Version" /></a>
6
7
  <a href="https://github.com/homemade-software-inc/completion-kit/actions/workflows/ci.yml"><img src="https://github.com/homemade-software-inc/completion-kit/actions/workflows/ci.yml/badge.svg" alt="CI" /></a>
7
8
  <img src="https://img.shields.io/badge/coverage-100%25-brightgreen" alt="coverage" />
8
9
  </p>
@@ -15,19 +16,19 @@ It's the difference between "this prompt seems to work" and "this prompt scores
15
16
 
16
17
  **[completionkit.com](https://completionkit.com)** | **[RubyGems](https://rubygems.org/gems/completion-kit)**
17
18
 
18
- > **CompletionKit Cloud** is coming — hosted, managed CompletionKit with zero setup. Early access opening soon at [app.completionkit.com](https://app.completionkit.com).
19
-
20
- ![Prompts index](https://raw.githubusercontent.com/homemade-software-inc/completion-kit/main/docs/screenshots/prompts.png)
21
-
22
- ![Prompt detail with metrics and rubrics](https://raw.githubusercontent.com/homemade-software-inc/completion-kit/main/docs/screenshots/prompt-detail.png)
19
+ > **CompletionKit Cloud** — hosted, managed CompletionKit with zero setup. Same engine, run for you. See plans at [completionkit.com/pricing](https://completionkit.com/pricing).
23
20
 
24
21
  ![Test run with scored results](https://raw.githubusercontent.com/homemade-software-inc/completion-kit/main/docs/screenshots/test-run.png)
25
22
 
26
23
  ## Quick Start
27
24
 
28
- ### Run the standalone app
25
+ ### Use CompletionKit Cloud
26
+
27
+ The fastest way to start — no install, no servers to run. Sign up at [completionkit.com](https://completionkit.com) and you get the same engine you'd self-host, hosted for you. Best fit if you want to skip the Rails ops.
28
+
29
+ ### Or run the standalone app
29
30
 
30
- The fastest way to start. No existing Rails app needed.
31
+ Self-host the same engine. No existing Rails app needed.
31
32
 
32
33
  ```bash
33
34
  git clone https://github.com/homemade-software-inc/completion-kit.git
@@ -482,6 +482,7 @@ tr:hover .ck-chip--publish {
482
482
  display: inline-flex;
483
483
  align-items: center;
484
484
  justify-content: center;
485
+ gap: 0.4rem;
485
486
  min-height: 2rem;
486
487
  padding: 0.4rem 0.75rem;
487
488
  border: 1px solid transparent;
@@ -36,7 +36,10 @@
36
36
  <p class="ck-kicker">Prompt</p>
37
37
  <% judged_run = @runs.select { |r| r.prompt_id == @prompt.id && r.status == "completed" }.find { |r| r.responses.joins(:reviews).exists? } %>
38
38
  <% if judged_run %>
39
- <%= button_to "Suggest improvements", suggest_run_path(judged_run), method: :post, class: ck_button_classes(:light, variant: :outline) + " ck-button--sm", form_class: "inline-block" %>
39
+ <%= button_to suggest_run_path(judged_run), method: :post, class: ck_button_classes(:light, variant: :outline) + " ck-button--sm", form_class: "inline-block" do %>
40
+ <%= heroicon_tag "sparkles", variant: :outline, size: 14, "aria-hidden": "true" %>
41
+ Suggest improvements
42
+ <% end %>
40
43
  <% else %>
41
44
  <p class="ck-hint"><%= link_to "Run a test with judging configured", new_run_path(prompt_id: @prompt.id), class: "ck-link" %> to get AI-suggested improvements.</p>
42
45
  <% end %>
@@ -66,7 +66,10 @@
66
66
  <% if latest_suggestion %>
67
67
  <%= link_to "View suggestion", suggestion_path(latest_suggestion, from: "run"), class: ck_button_classes(:light, variant: :outline) + " ck-button--sm" %>
68
68
  <% elsif @run.status == "completed" && @run.responses.joins(:reviews).exists? %>
69
- <%= button_to "Suggest improvements", suggest_run_path(@run), method: :post, class: ck_button_classes(:light, variant: :outline) + " ck-button--sm", form_class: "inline-block" %>
69
+ <%= button_to suggest_run_path(@run), method: :post, class: ck_button_classes(:light, variant: :outline) + " ck-button--sm", form_class: "inline-block" do %>
70
+ <%= heroicon_tag "sparkles", variant: :outline, size: 14, "aria-hidden": "true" %>
71
+ Suggest improvements
72
+ <% end %>
70
73
  <% end %>
71
74
  </div>
72
75
  <p class="ck-prompt-preview__text" id="prompt_text"><%= @run.prompt.template %></p>
@@ -1,3 +1,3 @@
1
1
  module CompletionKit
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: completion-kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Damien Bastin