envoy_ai 0.0.2 → 0.0.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: 72b0cf7f247e26cf0c6d1aa41f24b29a8e2fee0501476e83ebc0dab5df927a01
4
- data.tar.gz: a7d6213134ee171ac420047502d31d05fdd562f2c49fa718dad2ee4d0d86981e
3
+ metadata.gz: 91cc30ece48d5717f72bedaa2a6bb2ca693e237411c89fcf394988a15d5f34ce
4
+ data.tar.gz: a581c3c845910a89433ca60189ea62657b66dac927f66ca829394978cd7074c4
5
5
  SHA512:
6
- metadata.gz: 32eb9d905212b9a2a1e63f2aa21d15147a65500015a48e7e07b08760d137fc3fb80507534e875e158f854d8c1c3557412e86b64fd5478736dde09fe2d4bce856
7
- data.tar.gz: 8e95fe42202f1f457488b7ec2b6f4d7bda439e082ca29c057cafe2c5fbd660f840e99e339597abfe389cf4e29a30094a36dec3ea03c8a9d4dc53ce20e7a108fc
6
+ metadata.gz: fc2294c5a6538b7daca827b967f69c87701ba103eb73cfe03910075efac5938f96a2fe4d593e77176ad6694258603199f7b4862feed2cca4b71d239927baeebd
7
+ data.tar.gz: f01ee674e09999df11d161ccc7c7f9cfea299e923cb656bfc06e69633bb6c958f78e2eb00454d2f984ef172f6e49f64408a2a07bb63848bf01ba474d256d40ae
@@ -7,10 +7,17 @@
7
7
  --envoy-ink, --envoy-subtle, --envoy-line, --envoy-accent,
8
8
  --envoy-accent-ink, --envoy-warn, --envoy-radius. */
9
9
 
10
+ /* Fills a flex-column container (an embedded, fixed-height panel) so the log
11
+ below can scroll internally. Inert when the parent isn't a flex container —
12
+ e.g. the full-page console, which keeps its natural height and page-scrolls —
13
+ because flex item properties only apply inside a flex parent. The embedding
14
+ host is responsible for giving this element a bounded height (a flex column
15
+ with a definite height); the transcript then fills it and scrolls its log. */
10
16
  .envoy-chat {
11
17
  display: flex;
12
18
  flex-direction: column;
13
19
  min-height: 0;
20
+ flex: 1 1 auto;
14
21
  }
15
22
 
16
23
  .envoy-chat__log {
@@ -18,6 +25,26 @@
18
25
  min-height: 0;
19
26
  overflow-y: auto;
20
27
  overscroll-behavior: contain;
28
+ scrollbar-width: thin;
29
+ scrollbar-color: var(--envoy-subtle, #6b7280) transparent;
30
+ }
31
+ .envoy-chat__log::-webkit-scrollbar { width: 8px; }
32
+ .envoy-chat__log::-webkit-scrollbar-track { background: transparent; }
33
+ .envoy-chat__log::-webkit-scrollbar-thumb {
34
+ background: var(--envoy-subtle, #6b7280);
35
+ border-radius: 9999px;
36
+ }
37
+ .envoy-chat__log::-webkit-scrollbar-thumb:hover {
38
+ background: var(--envoy-ink, #111827);
39
+ }
40
+
41
+ /* Separate the transcript from the composer: in the flex column the log sits
42
+ flush against the input form, so the last message and the textarea run
43
+ together without a divider. */
44
+ .envoy-chat > form {
45
+ margin-top: 0.75rem;
46
+ padding-top: 0.75rem;
47
+ border-top: 1px solid var(--envoy-line, #e5e7eb);
21
48
  }
22
49
 
23
50
  /* ---------------------------------------------------------------------- */
data/lib/envoy/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Envoy
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: envoy_ai
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Travis Petticrew