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 +4 -4
- data/app/assets/stylesheets/envoy/chat.css +27 -0
- data/lib/envoy/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 91cc30ece48d5717f72bedaa2a6bb2ca693e237411c89fcf394988a15d5f34ce
|
|
4
|
+
data.tar.gz: a581c3c845910a89433ca60189ea62657b66dac927f66ca829394978cd7074c4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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