@parley-im/parley 0.2.6 → 0.2.8
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.
- package/package.json +3 -3
- package/web/app.css +70 -103
- package/web/chat.html +3 -4
- package/web/chat.js +2 -2
- package/web/ended.html +3 -2
- package/web/fonts/{LICENSE-atkinson-hyperlegible-next.txt → LICENSE-instrument-sans.txt} +1 -1
- package/web/fonts/{LICENSE-bricolage-grotesque.txt → LICENSE-jetbrains-mono.txt} +1 -1
- package/web/fonts/instrument-sans-italic.woff2 +0 -0
- package/web/fonts/instrument-sans.woff2 +0 -0
- package/web/fonts/jetbrains-mono.woff2 +0 -0
- package/web/home.js +1 -1
- package/web/icon-180.png +0 -0
- package/web/icon.png +0 -0
- package/web/icon.svg +1 -1
- package/web/missing.html +3 -2
- package/web/panel.html +3 -2
- package/web/fonts/atkinson-hyperlegible-next-italic.woff2 +0 -0
- package/web/fonts/atkinson-hyperlegible-next.woff2 +0 -0
- package/web/fonts/bricolage-grotesque.woff2 +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@parley-im/parley",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Send someone a link. They talk to a read-only Claude or Codex in your project, on your computer, and you get everything they said.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude",
|
|
@@ -40,8 +40,8 @@
|
|
|
40
40
|
"zod": "^4.6.5"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@fontsource-variable/
|
|
44
|
-
"@fontsource-variable/
|
|
43
|
+
"@fontsource-variable/instrument-sans": "^5.3.0",
|
|
44
|
+
"@fontsource-variable/jetbrains-mono": "^5.3.0",
|
|
45
45
|
"@types/jsdom": "^30.0.0",
|
|
46
46
|
"@types/node": "^26.6.4",
|
|
47
47
|
"jsdom": "^29.1.1",
|
package/web/app.css
CHANGED
|
@@ -1,66 +1,40 @@
|
|
|
1
1
|
/* parley: one stylesheet for the guest chat, your session view, your
|
|
2
|
-
control panel and parley.
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@font-face { font-family: "
|
|
11
|
-
@font-face { font-family: "
|
|
12
|
-
@font-face { font-family: "Bricolage Grotesque"; src: url("/static/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
|
|
2
|
+
control panel and parley's site. Near black, with deep, murky ocean green
|
|
3
|
+
for accents, for the people who use Claude Code and Codex: Instrument Sans for everything
|
|
4
|
+
people read, JetBrains Mono for the wordmark, labels, files and numbers.
|
|
5
|
+
The agent's words are marked with a dot, as in Claude Code, and while it
|
|
6
|
+
writes, P goes by in Morse. The fonts are served from here, never from a
|
|
7
|
+
font service, so guest pages only ever talk to parley. */
|
|
8
|
+
|
|
9
|
+
@font-face { font-family: "Instrument Sans"; src: url("/static/fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
|
|
10
|
+
@font-face { font-family: "Instrument Sans"; src: url("/static/fonts/instrument-sans-italic.woff2") format("woff2"); font-weight: 400 700; font-style: italic; font-display: swap; }
|
|
11
|
+
@font-face { font-family: "JetBrains Mono"; src: url("/static/fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }
|
|
13
12
|
|
|
14
13
|
:root {
|
|
15
|
-
--bg: #
|
|
16
|
-
--panel: #
|
|
17
|
-
--subtle: #
|
|
18
|
-
--hover: #
|
|
19
|
-
--line: #
|
|
20
|
-
--line-strong: #
|
|
21
|
-
--text: #
|
|
22
|
-
--muted: #
|
|
23
|
-
--faint: #
|
|
24
|
-
--accent: #
|
|
25
|
-
--accent-fill: #
|
|
26
|
-
--accent-soft: #
|
|
14
|
+
--bg: #070a09; /* near black, the deep */
|
|
15
|
+
--panel: #0d1311;
|
|
16
|
+
--subtle: #121a17;
|
|
17
|
+
--hover: #18221e;
|
|
18
|
+
--line: #1a2420;
|
|
19
|
+
--line-strong: #2a3833;
|
|
20
|
+
--text: #e6ece9;
|
|
21
|
+
--muted: #95a39d;
|
|
22
|
+
--faint: #5d6b65;
|
|
23
|
+
--accent: #6db39c; /* sea glass, for links and small marks */
|
|
24
|
+
--accent-fill: #1f5c50; /* deep ocean green, for buttons and fills */
|
|
25
|
+
--accent-soft: #11241f;
|
|
27
26
|
--accent-ink: #ffffff;
|
|
28
|
-
--
|
|
29
|
-
--guest
|
|
30
|
-
--
|
|
31
|
-
--ok: #
|
|
32
|
-
--warn: #
|
|
33
|
-
--danger: #
|
|
34
|
-
--shadow: 0 1px 2px rgba(
|
|
35
|
-
--sans: "
|
|
36
|
-
--display:
|
|
37
|
-
--mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
38
|
-
color-scheme:
|
|
39
|
-
}
|
|
40
|
-
@media (prefers-color-scheme: dark) {
|
|
41
|
-
:root:not([data-theme="light"]) {
|
|
42
|
-
--bg: #0d1322; /* ink at night */
|
|
43
|
-
--panel: #141c2f;
|
|
44
|
-
--subtle: #1a2338;
|
|
45
|
-
--hover: #222c44;
|
|
46
|
-
--line: #232d45;
|
|
47
|
-
--line-strong: #33405e;
|
|
48
|
-
--text: #e8ecf4;
|
|
49
|
-
--muted: #9aa4b8;
|
|
50
|
-
--faint: #67718a;
|
|
51
|
-
--accent: #84a4f6;
|
|
52
|
-
--accent-fill: #3b6be8;
|
|
53
|
-
--accent-soft: #1c2a4d;
|
|
54
|
-
--accent-ink: #ffffff;
|
|
55
|
-
--guest: #1e2b4b;
|
|
56
|
-
--guest-ink: #dce5fa;
|
|
57
|
-
--brass: #e3ab45;
|
|
58
|
-
--ok: #3ccf7a;
|
|
59
|
-
--warn: #e3a948;
|
|
60
|
-
--danger: #ff6b63;
|
|
61
|
-
--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
|
|
62
|
-
color-scheme: dark;
|
|
63
|
-
}
|
|
27
|
+
--tile: #1f5c50; /* the mark's tile */
|
|
28
|
+
--guest: #12302a; /* your own messages */
|
|
29
|
+
--guest-ink: #d5e7e0;
|
|
30
|
+
--ok: #4fb88a;
|
|
31
|
+
--warn: #d9a24a;
|
|
32
|
+
--danger: #f2615d;
|
|
33
|
+
--shadow: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px -16px rgba(0, 0, 0, 0.8);
|
|
34
|
+
--sans: "Instrument Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
35
|
+
--display: var(--sans);
|
|
36
|
+
--mono: "JetBrains Mono", ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
|
|
37
|
+
color-scheme: dark;
|
|
64
38
|
}
|
|
65
39
|
|
|
66
40
|
* { box-sizing: border-box; }
|
|
@@ -79,51 +53,41 @@ body {
|
|
|
79
53
|
a { color: inherit; }
|
|
80
54
|
button, input, textarea, select { font: inherit; color: inherit; }
|
|
81
55
|
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
56
|
+
code, kbd, pre { font-family: var(--mono); }
|
|
82
57
|
|
|
83
58
|
/* ---------- shared pieces ---------- */
|
|
84
59
|
|
|
85
|
-
/* The mark
|
|
60
|
+
/* The mark, for now: a p on a deep green tile. */
|
|
86
61
|
.mark { display: inline-block; width: 24px; height: 24px; flex: none; }
|
|
87
62
|
.mark svg { display: block; width: 100%; height: 100%; }
|
|
88
|
-
.mark .
|
|
89
|
-
.mark .
|
|
90
|
-
|
|
91
|
-
hoisting in turn while it writes. */
|
|
92
|
-
.flag { display: inline-block; flex: none; width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 0 0 3.5px var(--accent-fill), inset 0 0 0 13px #ffffff; }
|
|
93
|
-
.wordmark { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; }
|
|
63
|
+
.mark .tile { fill: var(--tile); }
|
|
64
|
+
.mark .glyph { fill: #ffffff; }
|
|
65
|
+
.wordmark { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; }
|
|
94
66
|
|
|
95
67
|
.topbar {
|
|
96
68
|
display: flex; align-items: center; gap: 10px; min-height: 52px;
|
|
97
69
|
padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
|
|
98
70
|
border-bottom: 1px solid var(--line); background: var(--bg);
|
|
99
71
|
}
|
|
100
|
-
.crumbs { display: flex; align-items:
|
|
101
|
-
.crumbs .product { font-family: var(--
|
|
72
|
+
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
|
|
73
|
+
.crumbs .product { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; font-size: 16px; color: var(--text); }
|
|
102
74
|
.crumbs .slash { color: var(--faint); }
|
|
103
|
-
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none !important; font-family: var(--
|
|
104
|
-
.brand:hover .mark { filter: brightness(1.
|
|
75
|
+
.brand { display: inline-flex; align-items: center; gap: 9px; color: inherit; text-decoration: none !important; font-family: var(--mono); font-weight: 700; font-size: 17px; letter-spacing: -0.04em; }
|
|
76
|
+
.brand:hover .mark { filter: brightness(1.15); }
|
|
105
77
|
.lost .own { margin-top: 18px; font-size: 13px; color: var(--faint); }
|
|
106
78
|
.lost .own a { color: var(--accent); }
|
|
107
79
|
.crumbs .here { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
108
80
|
.crumbs a { text-decoration: none; }
|
|
109
81
|
.crumbs a:hover { text-decoration: underline; }
|
|
110
82
|
|
|
111
|
-
.status { display: inline-flex; align-items: center; gap: 7px; font-size:
|
|
112
|
-
.dot { width:
|
|
113
|
-
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok)
|
|
83
|
+
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
|
|
84
|
+
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
|
|
85
|
+
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
|
|
114
86
|
.dot.busy { background: var(--accent); animation: pulse 1.4s infinite ease-in-out; }
|
|
115
|
-
.dot.warn { background: var(--
|
|
116
|
-
.dot.off { background: var(--danger); }
|
|
87
|
+
.dot.warn { background: transparent; box-shadow: inset 0 0 0 2px var(--faint); }
|
|
88
|
+
.dot.off { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
|
|
89
|
+
.app.offline .status { color: var(--danger); }
|
|
117
90
|
@keyframes pulse { 50% { opacity: 0.35; } }
|
|
118
|
-
/* In a chat's header the status is a flag on its staff: flying when the
|
|
119
|
-
sender's computer is there, at half-mast (and red) when it isn't. */
|
|
120
|
-
.status .dot { position: relative; width: 12px; height: 15px; border-radius: 0; background: none; box-shadow: none; animation: none; }
|
|
121
|
-
.status .dot::before { content: ""; position: absolute; left: 0; top: 0; width: 2px; height: 15px; border-radius: 1px; background: var(--muted); }
|
|
122
|
-
.status .dot::after { content: ""; position: absolute; left: 2px; top: 0; width: 9px; height: 8px; border-radius: 0 2px 2px 0; background: var(--accent-fill); box-shadow: inset 0 0 0 2.5px var(--accent-fill), inset 0 0 0 9px #ffffff; transition: top 0.4s ease; }
|
|
123
|
-
.status .dot.off::after { top: 7px; box-shadow: inset 0 0 0 2.5px var(--danger), inset 0 0 0 9px #ffffff; }
|
|
124
|
-
.status .dot.warn::after { top: 7px; box-shadow: inset 0 0 0 2.5px var(--faint), inset 0 0 0 9px var(--bg); }
|
|
125
|
-
.status .dot.busy::after { animation: flutter 1.2s ease-in-out infinite; }
|
|
126
|
-
@keyframes flutter { 50% { transform: skewY(-8deg); } }
|
|
127
91
|
|
|
128
92
|
.btn {
|
|
129
93
|
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
@@ -134,7 +98,7 @@ h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
|
134
98
|
.btn:hover { background: var(--subtle); }
|
|
135
99
|
.btn:disabled { opacity: 0.5; cursor: default; }
|
|
136
100
|
.btn.primary { background: var(--accent-fill); color: var(--accent-ink); border-color: var(--accent-fill); }
|
|
137
|
-
.btn.primary:hover {
|
|
101
|
+
.btn.primary:hover { filter: brightness(1.18); }
|
|
138
102
|
.btn.danger { color: var(--danger); }
|
|
139
103
|
.btn.confirm { background: var(--danger); color: #fff; border-color: var(--danger); }
|
|
140
104
|
.btn.ghost { border-color: transparent; background: transparent; color: var(--muted); }
|
|
@@ -143,7 +107,7 @@ h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
|
143
107
|
|
|
144
108
|
.chip {
|
|
145
109
|
font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap;
|
|
146
|
-
padding: 2px
|
|
110
|
+
padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--subtle);
|
|
147
111
|
}
|
|
148
112
|
.chip.low { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
|
|
149
113
|
.info-btn { width: 34px; height: 34px; margin-right: -6px; }
|
|
@@ -173,7 +137,7 @@ h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
|
173
137
|
background: var(--subtle); border-left: 3px solid var(--warn); color: var(--text);
|
|
174
138
|
}
|
|
175
139
|
|
|
176
|
-
.label { font-size: 11px; font-weight:
|
|
140
|
+
.label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
|
|
177
141
|
|
|
178
142
|
/* ---------- chat ---------- */
|
|
179
143
|
|
|
@@ -202,14 +166,15 @@ body:has(> .app) { overflow: hidden; overscroll-behavior: none; }
|
|
|
202
166
|
position: absolute; left: 0; top: 0; width: 14px; text-align: center;
|
|
203
167
|
font-family: var(--mono); font-size: 14px; line-height: 1.55;
|
|
204
168
|
}
|
|
205
|
-
|
|
169
|
+
/* The agent's words get a dot, as in Claude Code. */
|
|
170
|
+
.msg.agent::before { content: ""; left: 3px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
|
|
206
171
|
/* The interviewer's words are what people read: set for reading. */
|
|
207
172
|
.msg.agent .body { font-size: 16.5px; line-height: 1.6; }
|
|
208
173
|
/* Your own words are compact and plainly yours, on the right. */
|
|
209
174
|
.msg.guest { padding-left: 0; display: flex; flex-direction: column; align-items: flex-end; }
|
|
210
175
|
.msg.guest::before { content: none; }
|
|
211
176
|
.msg.error::before { content: "!"; color: var(--danger); font-weight: 700; }
|
|
212
|
-
.meta { font-size:
|
|
177
|
+
.meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 2px; }
|
|
213
178
|
.meta .who { color: var(--muted); font-weight: 600; }
|
|
214
179
|
.msg.guest .bubble { max-width: min(82%, 560px); background: var(--guest); color: var(--guest-ink); border-radius: 14px 14px 4px 14px; padding: 9px 13px; font-size: 15px; line-height: 1.45; }
|
|
215
180
|
.msg.guest .meta { display: none; }
|
|
@@ -257,15 +222,17 @@ body:has(> .app) { overflow: hidden; overscroll-behavior: none; }
|
|
|
257
222
|
.body th { background: var(--subtle); font-weight: 600; white-space: nowrap; }
|
|
258
223
|
.body tr:last-child td { border-bottom: 0; }
|
|
259
224
|
|
|
260
|
-
/* Writing:
|
|
261
|
-
.thinking { display: inline-flex; align-items:
|
|
262
|
-
.thinking span { width:
|
|
263
|
-
.thinking span:nth-child(2) {
|
|
264
|
-
.thinking span:nth-child(
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
@keyframes
|
|
268
|
-
|
|
225
|
+
/* Writing: P in Morse (dot, dash, dash, dot), passing by. */
|
|
226
|
+
.thinking { display: inline-flex; align-items: center; gap: 4px; height: 26px; }
|
|
227
|
+
.thinking span { width: 7px; height: 7px; border-radius: 4px; background: var(--accent); opacity: 0.25; animation: morse 1.6s ease-in-out infinite; }
|
|
228
|
+
.thinking span:nth-child(2), .thinking span:nth-child(3) { width: 17px; }
|
|
229
|
+
.thinking span:nth-child(2) { animation-delay: 0.16s; }
|
|
230
|
+
.thinking span:nth-child(3) { animation-delay: 0.32s; }
|
|
231
|
+
.thinking span:nth-child(4) { animation-delay: 0.48s; }
|
|
232
|
+
@keyframes morse { 0%, 70%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
|
|
233
|
+
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
|
|
234
|
+
.cursor::after { content: ""; display: inline-block; width: 7px; height: 1.05em; background: var(--accent); border-radius: 1px; margin-left: 3px; vertical-align: -3px; animation: blink 1.06s steps(1) infinite; }
|
|
235
|
+
@media (prefers-reduced-motion: reduce) { .thinking span, .cursor::after, .dot.busy { animation: none; } .thinking span { opacity: 0.7; } }
|
|
269
236
|
|
|
270
237
|
.dock { border-top: 1px solid var(--line); background: var(--bg); }
|
|
271
238
|
.dock .chat-inner { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
|
|
@@ -299,7 +266,7 @@ textarea::placeholder { color: var(--faint); }
|
|
|
299
266
|
.icon-btn:hover { background: var(--subtle); color: var(--text); }
|
|
300
267
|
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
|
|
301
268
|
.send { background: var(--accent-fill); color: var(--accent-ink); border-radius: 11px; }
|
|
302
|
-
.send:hover { background: var(--accent-fill); color: var(--accent-ink);
|
|
269
|
+
.send:hover { background: var(--accent-fill); color: var(--accent-ink); filter: brightness(1.18); }
|
|
303
270
|
.send:disabled { background: var(--subtle); color: var(--faint); cursor: default; opacity: 1; }
|
|
304
271
|
.attachments { display: flex; gap: 8px; padding: 10px 10px 0; flex-wrap: wrap; }
|
|
305
272
|
.thumb { position: relative; }
|
|
@@ -422,8 +389,7 @@ body.panel { overflow: auto; }
|
|
|
422
389
|
|
|
423
390
|
.lost { min-height: 100dvh; display: grid; place-items: center; padding: 16px; text-align: center; }
|
|
424
391
|
.lost.inline { min-height: 100%; }
|
|
425
|
-
.lost .mark { width:
|
|
426
|
-
.lost .mark svg { width: 20px; height: 20px; }
|
|
392
|
+
.lost .mark { width: 40px; height: 40px; margin: 0 auto 16px; }
|
|
427
393
|
.lost h1 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
|
|
428
394
|
.lost p { color: var(--muted); margin: 0 auto; max-width: 34ch; }
|
|
429
395
|
|
|
@@ -496,12 +462,13 @@ span.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px
|
|
|
496
462
|
.demo-chat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
|
|
497
463
|
.demo-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
|
|
498
464
|
.demo-top .mark { width: 20px; height: 20px; }
|
|
499
|
-
.demo-top .product { font-family: var(--
|
|
465
|
+
.demo-top .product { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; }
|
|
500
466
|
.demo-top .slash { color: var(--faint); }
|
|
501
467
|
.demo-top .here { font-weight: 600; flex: 1; }
|
|
502
468
|
.demo-msgs { list-style: none; margin: 0; padding: 18px 18px 6px; min-height: 340px; display: flex; flex-direction: column; gap: 14px; }
|
|
503
469
|
.demo .msg { margin: 0; animation: rise 0.25s ease-out; }
|
|
504
470
|
.demo .msg.agent .body { font-size: 15.5px; }
|
|
471
|
+
.demo .msg.agent::before { top: 8px; }
|
|
505
472
|
.demo .msg.guest .bubble { font-size: 14.5px; max-width: 86%; }
|
|
506
473
|
.demo .steps { margin-top: 2px; }
|
|
507
474
|
.demo-say { margin: 0 14px 14px; padding: 8px 8px 8px 14px; border: 1.5px solid var(--line-strong); border-radius: 13px; color: var(--faint); font-size: 15px; display: flex; align-items: center; justify-content: space-between; }
|
|
@@ -511,7 +478,7 @@ span.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px
|
|
|
511
478
|
@media (max-width: 560px) { .demo-msgs { min-height: 400px; padding: 14px 12px 6px; } }
|
|
512
479
|
.how { list-style: none; counter-reset: step; padding: 0; margin: 40px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
|
|
513
480
|
.how li { counter-increment: step; border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--panel); display: grid; gap: 10px; align-content: start; }
|
|
514
|
-
.how li::before { content: counter(step); font-family: var(--
|
|
481
|
+
.how li::before { content: "0" counter(step); font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 13px; }
|
|
515
482
|
.how h2 { font-size: 20px; margin: 0; }
|
|
516
483
|
.how p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
|
|
517
484
|
.how q { color: var(--text); }
|
package/web/chat.html
CHANGED
|
@@ -5,13 +5,12 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover, interactive-widget=resizes-content">
|
|
6
6
|
<meta name="robots" content="noindex, nofollow">
|
|
7
7
|
<meta name="referrer" content="no-referrer">
|
|
8
|
-
<meta name="theme-color" content="#
|
|
9
|
-
<meta name="theme-color" content="#fafaf9" media="(prefers-color-scheme: light)">
|
|
8
|
+
<meta name="theme-color" content="#070a09">
|
|
10
9
|
<meta property="og:title" content="{{PREVIEW_TITLE}}">
|
|
11
10
|
<meta property="og:description" content="{{PREVIEW_TEXT}}">
|
|
12
11
|
<meta property="og:site_name" content="parley">
|
|
13
12
|
<title>{{TITLE}}</title>
|
|
14
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
13
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
15
14
|
<link rel="stylesheet" href="/static/app.css">
|
|
16
15
|
</head>
|
|
17
16
|
<body>
|
|
@@ -20,7 +19,7 @@
|
|
|
20
19
|
<nav class="crumbs" id="crumbs">
|
|
21
20
|
<!-- What parley is, in a new tab so the conversation stays put. -->
|
|
22
21
|
<a class="brand" id="home-link" href="https://parley.im" target="_blank" rel="noopener" title="parley: let people talk to your agent">
|
|
23
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
22
|
+
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="tile" width="64" height="64" rx="14"/><rect class="glyph" x="19.5" y="16" width="7" height="32" rx="1.5"/><path class="glyph" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg></span><span class="product">parley</span>
|
|
24
23
|
</a><span class="slash">/</span><span class="here" id="project"> </span>
|
|
25
24
|
</nav>
|
|
26
25
|
<span class="status" id="status" hidden><span class="dot" id="status-dot"></span><span id="status-text"></span></span>
|
package/web/chat.js
CHANGED
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
if (live.text.trim()) {
|
|
223
223
|
live.bodyEl.innerHTML = window.renderMarkdown(live.text);
|
|
224
224
|
live.bodyEl.lastElementChild?.classList.add("cursor");
|
|
225
|
-
} else live.bodyEl.innerHTML = `<span class="thinking"><span></span><span></span><span></span></span>`;
|
|
225
|
+
} else live.bodyEl.innerHTML = `<span class="thinking" role="img" aria-label="Writing"><span></span><span></span><span></span><span></span></span>`;
|
|
226
226
|
// The last few things it looked at, newest highlighted.
|
|
227
227
|
live.stepsEl.textContent = "";
|
|
228
228
|
live.steps.slice(-4).forEach((line, i, shown) => live.stepsEl.append(el("li", { className: i === shown.length - 1 ? "now" : "", textContent: line })));
|
|
@@ -440,7 +440,7 @@
|
|
|
440
440
|
|
|
441
441
|
function markEl() {
|
|
442
442
|
const span = el("span", { className: "mark" });
|
|
443
|
-
span.innerHTML = `<svg viewBox="0 0 64 64"><rect class="
|
|
443
|
+
span.innerHTML = `<svg viewBox="0 0 64 64"><rect class="tile" width="64" height="64" rx="14"/><rect class="glyph" x="19.5" y="16" width="7" height="32" rx="1.5"/><path class="glyph" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg>`;
|
|
444
444
|
return span;
|
|
445
445
|
}
|
|
446
446
|
|
package/web/ended.html
CHANGED
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<meta name="robots" content="noindex, nofollow">
|
|
7
8
|
<title>This parley has ended</title>
|
|
8
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
9
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
9
10
|
<link rel="stylesheet" href="/static/app.css">
|
|
10
11
|
</head>
|
|
11
12
|
<body>
|
|
12
13
|
<div class="lost">
|
|
13
14
|
<div>
|
|
14
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
15
|
+
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="tile" width="64" height="64" rx="14"/><rect class="glyph" x="19.5" y="16" width="7" height="32" rx="1.5"/><path class="glyph" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg></span>
|
|
15
16
|
<h1>This parley has ended</h1>
|
|
16
17
|
<p>Thanks for the feedback. The conversation isn't available here anymore.</p>
|
|
17
18
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans) InstrumentSans-Italic[wdth,wght].ttf: Copyright 2022 The Instrument Sans Project Authors (https://github.com/Instrument/instrument-sans)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
Copyright
|
|
1
|
+
Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono) JetBrainsMono-Italic[wght].ttf: Copyright 2020 The JetBrains Mono Project Authors (https://github.com/JetBrains/JetBrainsMono)
|
|
2
2
|
|
|
3
3
|
This Font Software is licensed under the SIL Open Font License, Version 1.1.
|
|
4
4
|
This license is copied below, and is also available with a FAQ at:
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/web/home.js
CHANGED
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
// Working: the agent looks something up in the project, then writes.
|
|
56
56
|
const node = el("li", "msg agent");
|
|
57
57
|
const body = el("div", "body");
|
|
58
|
-
body.innerHTML = `<span class="thinking"><span></span><span></span><span></span></span>`;
|
|
58
|
+
body.innerHTML = `<span class="thinking" role="img" aria-label="Writing"><span></span><span></span><span></span><span></span></span>`;
|
|
59
59
|
const steps = el("ul", "steps");
|
|
60
60
|
node.append(body, steps);
|
|
61
61
|
list.append(node);
|
package/web/icon-180.png
CHANGED
|
Binary file
|
package/web/icon.png
CHANGED
|
Binary file
|
package/web/icon.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64"><rect width="64" height="64" rx="14" fill="#22574C"/><rect x="19.5" y="16" width="7" height="32" rx="1.5" fill="#FFFFFF"/><path fill="#FFFFFF" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg>
|
package/web/missing.html
CHANGED
|
@@ -3,15 +3,16 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<meta name="robots" content="noindex, nofollow">
|
|
7
8
|
<title>Link not found</title>
|
|
8
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
9
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
9
10
|
<link rel="stylesheet" href="/static/app.css">
|
|
10
11
|
</head>
|
|
11
12
|
<body>
|
|
12
13
|
<div class="lost">
|
|
13
14
|
<div>
|
|
14
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
15
|
+
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="tile" width="64" height="64" rx="14"/><rect class="glyph" x="19.5" y="16" width="7" height="32" rx="1.5"/><path class="glyph" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg></span>
|
|
15
16
|
<h1>This link doesn't lead anywhere</h1>
|
|
16
17
|
<p>Check that you have the whole link, or ask whoever sent it for a fresh one.</p>
|
|
17
18
|
</div>
|
package/web/panel.html
CHANGED
|
@@ -3,13 +3,14 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<meta name="theme-color" content="#070a09">
|
|
6
7
|
<title>Control panel · parley</title>
|
|
7
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
8
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
8
9
|
<link rel="stylesheet" href="/static/app.css">
|
|
9
10
|
</head>
|
|
10
11
|
<body class="panel">
|
|
11
12
|
<header class="topbar">
|
|
12
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
13
|
+
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="tile" width="64" height="64" rx="14"/><rect class="glyph" x="19.5" y="16" width="7" height="32" rx="1.5"/><path class="glyph" fill-rule="evenodd" d="M44.5 25.5A10 10 0 1 1 24.5 25.5A10 10 0 1 1 44.5 25.5ZM38.5 25.5A4 4 0 1 0 30.5 25.5A4 4 0 1 0 38.5 25.5Z"/></svg></span>
|
|
13
14
|
<nav class="crumbs"><span class="product">parley</span><span class="slash">/</span><span class="here">Control panel</span></nav>
|
|
14
15
|
<span class="status" id="server"><span class="dot" id="server-dot"></span><span id="server-text">Checking…</span></span>
|
|
15
16
|
</header>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|