@parley-im/parley 0.2.6 → 0.2.7
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 +84 -92
- package/web/chat.html +4 -4
- package/web/chat.js +2 -2
- package/web/ended.html +2 -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 +2 -2
- package/web/panel.html +2 -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.7",
|
|
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,63 +1,62 @@
|
|
|
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. Deep, murky ocean green on paper, for the
|
|
3
|
+
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: #
|
|
14
|
+
--bg: #f2f4f1; /* paper, a little sea-washed */
|
|
16
15
|
--panel: #ffffff;
|
|
17
|
-
--subtle: #
|
|
18
|
-
--hover: #
|
|
19
|
-
--line: #
|
|
20
|
-
--line-strong: #
|
|
21
|
-
--text: #
|
|
22
|
-
--muted: #
|
|
23
|
-
--faint: #
|
|
24
|
-
--accent: #
|
|
25
|
-
--accent-fill: #
|
|
26
|
-
--accent-soft: #
|
|
16
|
+
--subtle: #eaeeea;
|
|
17
|
+
--hover: #e1e7e3;
|
|
18
|
+
--line: #dde4e0;
|
|
19
|
+
--line-strong: #c6d0cb;
|
|
20
|
+
--text: #0f1d1a; /* abyss */
|
|
21
|
+
--muted: #55645e;
|
|
22
|
+
--faint: #8c9893;
|
|
23
|
+
--accent: #22574c; /* deep murky green, for links and marks */
|
|
24
|
+
--accent-fill: #22574c; /* buttons */
|
|
25
|
+
--accent-soft: #e1eae5;
|
|
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;
|
|
27
|
+
--tile: #22574c; /* the mark's tile */
|
|
28
|
+
--guest: #e1eae5; /* your own messages */
|
|
29
|
+
--guest-ink: #183a32;
|
|
30
|
+
--ok: #2f7d5b;
|
|
31
|
+
--warn: #a8741c;
|
|
32
|
+
--danger: #c4383a;
|
|
33
|
+
--shadow: 0 1px 2px rgba(15, 29, 26, 0.05), 0 12px 32px -16px rgba(15, 29, 26, 0.24);
|
|
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;
|
|
38
37
|
color-scheme: light;
|
|
39
38
|
}
|
|
40
39
|
@media (prefers-color-scheme: dark) {
|
|
41
40
|
:root:not([data-theme="light"]) {
|
|
42
|
-
--bg: #
|
|
43
|
-
--panel: #
|
|
44
|
-
--subtle: #
|
|
45
|
-
--hover: #
|
|
46
|
-
--line: #
|
|
47
|
-
--line-strong: #
|
|
48
|
-
--text: #
|
|
49
|
-
--muted: #
|
|
50
|
-
--faint: #
|
|
51
|
-
--accent: #
|
|
52
|
-
--accent-fill: #
|
|
53
|
-
--accent-soft: #
|
|
41
|
+
--bg: #0b1513; /* the deep */
|
|
42
|
+
--panel: #111c19;
|
|
43
|
+
--subtle: #16231f;
|
|
44
|
+
--hover: #1d2b27;
|
|
45
|
+
--line: #1f2d29;
|
|
46
|
+
--line-strong: #30423c;
|
|
47
|
+
--text: #e3ebe7;
|
|
48
|
+
--muted: #9baea6;
|
|
49
|
+
--faint: #62726b;
|
|
50
|
+
--accent: #86c2ae; /* sea glass, through murky water */
|
|
51
|
+
--accent-fill: #2e6c5f;
|
|
52
|
+
--accent-soft: #19302a;
|
|
54
53
|
--accent-ink: #ffffff;
|
|
55
|
-
--
|
|
56
|
-
--guest
|
|
57
|
-
--
|
|
58
|
-
--ok: #
|
|
59
|
-
--warn: #
|
|
60
|
-
--danger: #
|
|
54
|
+
--tile: #2e6c5f;
|
|
55
|
+
--guest: #1b2e28;
|
|
56
|
+
--guest-ink: #dbe9e3;
|
|
57
|
+
--ok: #5fc296;
|
|
58
|
+
--warn: #dba54a;
|
|
59
|
+
--danger: #ff6f6b;
|
|
61
60
|
--shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px -16px rgba(0, 0, 0, 0.7);
|
|
62
61
|
color-scheme: dark;
|
|
63
62
|
}
|
|
@@ -79,51 +78,41 @@ body {
|
|
|
79
78
|
a { color: inherit; }
|
|
80
79
|
button, input, textarea, select { font: inherit; color: inherit; }
|
|
81
80
|
h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
81
|
+
code, kbd, pre { font-family: var(--mono); }
|
|
82
82
|
|
|
83
83
|
/* ---------- shared pieces ---------- */
|
|
84
84
|
|
|
85
|
-
/* The mark
|
|
85
|
+
/* The mark, for now: a p on a deep green tile. */
|
|
86
86
|
.mark { display: inline-block; width: 24px; height: 24px; flex: none; }
|
|
87
87
|
.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; }
|
|
88
|
+
.mark .tile { fill: var(--tile); }
|
|
89
|
+
.mark .glyph { fill: #ffffff; }
|
|
90
|
+
.wordmark { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; }
|
|
94
91
|
|
|
95
92
|
.topbar {
|
|
96
93
|
display: flex; align-items: center; gap: 10px; min-height: 52px;
|
|
97
94
|
padding: calc(8px + env(safe-area-inset-top)) 16px 8px;
|
|
98
95
|
border-bottom: 1px solid var(--line); background: var(--bg);
|
|
99
96
|
}
|
|
100
|
-
.crumbs { display: flex; align-items:
|
|
101
|
-
.crumbs .product { font-family: var(--
|
|
97
|
+
.crumbs { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
|
|
98
|
+
.crumbs .product { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; font-size: 16px; color: var(--text); }
|
|
102
99
|
.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.
|
|
100
|
+
.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; }
|
|
101
|
+
.brand:hover .mark { filter: brightness(1.15); }
|
|
105
102
|
.lost .own { margin-top: 18px; font-size: 13px; color: var(--faint); }
|
|
106
103
|
.lost .own a { color: var(--accent); }
|
|
107
104
|
.crumbs .here { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
|
108
105
|
.crumbs a { text-decoration: none; }
|
|
109
106
|
.crumbs a:hover { text-decoration: underline; }
|
|
110
107
|
|
|
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)
|
|
108
|
+
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap; }
|
|
109
|
+
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); flex: none; }
|
|
110
|
+
.dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 20%, transparent); }
|
|
114
111
|
.dot.busy { background: var(--accent); animation: pulse 1.4s infinite ease-in-out; }
|
|
115
|
-
.dot.warn { background: var(--
|
|
116
|
-
.dot.off { background: var(--danger); }
|
|
112
|
+
.dot.warn { background: transparent; box-shadow: inset 0 0 0 2px var(--faint); }
|
|
113
|
+
.dot.off { background: var(--danger); box-shadow: 0 0 0 3px color-mix(in srgb, var(--danger) 20%, transparent); }
|
|
114
|
+
.app.offline .status { color: var(--danger); }
|
|
117
115
|
@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
116
|
|
|
128
117
|
.btn {
|
|
129
118
|
display: inline-flex; align-items: center; justify-content: center; gap: 6px;
|
|
@@ -143,7 +132,7 @@ h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
|
143
132
|
|
|
144
133
|
.chip {
|
|
145
134
|
font-family: var(--mono); font-size: 12px; color: var(--muted); white-space: nowrap;
|
|
146
|
-
padding: 2px
|
|
135
|
+
padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: var(--subtle);
|
|
147
136
|
}
|
|
148
137
|
.chip.low { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, var(--line)); }
|
|
149
138
|
.info-btn { width: 34px; height: 34px; margin-right: -6px; }
|
|
@@ -173,7 +162,7 @@ h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; }
|
|
|
173
162
|
background: var(--subtle); border-left: 3px solid var(--warn); color: var(--text);
|
|
174
163
|
}
|
|
175
164
|
|
|
176
|
-
.label { font-size: 11px; font-weight:
|
|
165
|
+
.label { font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
|
|
177
166
|
|
|
178
167
|
/* ---------- chat ---------- */
|
|
179
168
|
|
|
@@ -202,14 +191,15 @@ body:has(> .app) { overflow: hidden; overscroll-behavior: none; }
|
|
|
202
191
|
position: absolute; left: 0; top: 0; width: 14px; text-align: center;
|
|
203
192
|
font-family: var(--mono); font-size: 14px; line-height: 1.55;
|
|
204
193
|
}
|
|
205
|
-
|
|
194
|
+
/* The agent's words get a dot, as in Claude Code. */
|
|
195
|
+
.msg.agent::before { content: ""; left: 3px; top: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
|
|
206
196
|
/* The interviewer's words are what people read: set for reading. */
|
|
207
197
|
.msg.agent .body { font-size: 16.5px; line-height: 1.6; }
|
|
208
198
|
/* Your own words are compact and plainly yours, on the right. */
|
|
209
199
|
.msg.guest { padding-left: 0; display: flex; flex-direction: column; align-items: flex-end; }
|
|
210
200
|
.msg.guest::before { content: none; }
|
|
211
201
|
.msg.error::before { content: "!"; color: var(--danger); font-weight: 700; }
|
|
212
|
-
.meta { font-size:
|
|
202
|
+
.meta { font-family: var(--mono); font-size: 11.5px; color: var(--faint); margin-bottom: 2px; }
|
|
213
203
|
.meta .who { color: var(--muted); font-weight: 600; }
|
|
214
204
|
.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
205
|
.msg.guest .meta { display: none; }
|
|
@@ -257,15 +247,17 @@ body:has(> .app) { overflow: hidden; overscroll-behavior: none; }
|
|
|
257
247
|
.body th { background: var(--subtle); font-weight: 600; white-space: nowrap; }
|
|
258
248
|
.body tr:last-child td { border-bottom: 0; }
|
|
259
249
|
|
|
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
|
-
|
|
250
|
+
/* Writing: P in Morse (dot, dash, dash, dot), passing by. */
|
|
251
|
+
.thinking { display: inline-flex; align-items: center; gap: 4px; height: 26px; }
|
|
252
|
+
.thinking span { width: 7px; height: 7px; border-radius: 4px; background: var(--accent); opacity: 0.25; animation: morse 1.6s ease-in-out infinite; }
|
|
253
|
+
.thinking span:nth-child(2), .thinking span:nth-child(3) { width: 17px; }
|
|
254
|
+
.thinking span:nth-child(2) { animation-delay: 0.16s; }
|
|
255
|
+
.thinking span:nth-child(3) { animation-delay: 0.32s; }
|
|
256
|
+
.thinking span:nth-child(4) { animation-delay: 0.48s; }
|
|
257
|
+
@keyframes morse { 0%, 70%, 100% { opacity: 0.25; } 30% { opacity: 1; } }
|
|
258
|
+
@keyframes blink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
|
|
259
|
+
.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; }
|
|
260
|
+
@media (prefers-reduced-motion: reduce) { .thinking span, .cursor::after, .dot.busy { animation: none; } .thinking span { opacity: 0.7; } }
|
|
269
261
|
|
|
270
262
|
.dock { border-top: 1px solid var(--line); background: var(--bg); }
|
|
271
263
|
.dock .chat-inner { padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); }
|
|
@@ -422,8 +414,7 @@ body.panel { overflow: auto; }
|
|
|
422
414
|
|
|
423
415
|
.lost { min-height: 100dvh; display: grid; place-items: center; padding: 16px; text-align: center; }
|
|
424
416
|
.lost.inline { min-height: 100%; }
|
|
425
|
-
.lost .mark { width:
|
|
426
|
-
.lost .mark svg { width: 20px; height: 20px; }
|
|
417
|
+
.lost .mark { width: 40px; height: 40px; margin: 0 auto 16px; }
|
|
427
418
|
.lost h1 { font-size: 20px; margin: 0 0 6px; letter-spacing: -0.01em; }
|
|
428
419
|
.lost p { color: var(--muted); margin: 0 auto; max-width: 34ch; }
|
|
429
420
|
|
|
@@ -496,12 +487,13 @@ span.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px
|
|
|
496
487
|
.demo-chat { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
|
|
497
488
|
.demo-top { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
|
|
498
489
|
.demo-top .mark { width: 20px; height: 20px; }
|
|
499
|
-
.demo-top .product { font-family: var(--
|
|
490
|
+
.demo-top .product { font-family: var(--mono); font-weight: 700; letter-spacing: -0.04em; }
|
|
500
491
|
.demo-top .slash { color: var(--faint); }
|
|
501
492
|
.demo-top .here { font-weight: 600; flex: 1; }
|
|
502
493
|
.demo-msgs { list-style: none; margin: 0; padding: 18px 18px 6px; min-height: 340px; display: flex; flex-direction: column; gap: 14px; }
|
|
503
494
|
.demo .msg { margin: 0; animation: rise 0.25s ease-out; }
|
|
504
495
|
.demo .msg.agent .body { font-size: 15.5px; }
|
|
496
|
+
.demo .msg.agent::before { top: 8px; }
|
|
505
497
|
.demo .msg.guest .bubble { font-size: 14.5px; max-width: 86%; }
|
|
506
498
|
.demo .steps { margin-top: 2px; }
|
|
507
499
|
.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 +503,7 @@ span.live { display: inline-flex; align-items: center; gap: 7px; font-size: 13px
|
|
|
511
503
|
@media (max-width: 560px) { .demo-msgs { min-height: 400px; padding: 14px 12px 6px; } }
|
|
512
504
|
.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
505
|
.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(--
|
|
506
|
+
.how li::before { content: "0" counter(step); font-family: var(--mono); font-weight: 700; color: var(--accent); font-size: 13px; }
|
|
515
507
|
.how h2 { font-size: 20px; margin: 0; }
|
|
516
508
|
.how p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
|
|
517
509
|
.how q { color: var(--text); }
|
package/web/chat.html
CHANGED
|
@@ -5,13 +5,13 @@
|
|
|
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="#
|
|
8
|
+
<meta name="theme-color" content="#0b1513" media="(prefers-color-scheme: dark)">
|
|
9
|
+
<meta name="theme-color" content="#f2f4f1" media="(prefers-color-scheme: light)">
|
|
10
10
|
<meta property="og:title" content="{{PREVIEW_TITLE}}">
|
|
11
11
|
<meta property="og:description" content="{{PREVIEW_TEXT}}">
|
|
12
12
|
<meta property="og:site_name" content="parley">
|
|
13
13
|
<title>{{TITLE}}</title>
|
|
14
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
14
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
15
15
|
<link rel="stylesheet" href="/static/app.css">
|
|
16
16
|
</head>
|
|
17
17
|
<body>
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
<nav class="crumbs" id="crumbs">
|
|
21
21
|
<!-- What parley is, in a new tab so the conversation stays put. -->
|
|
22
22
|
<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="
|
|
23
|
+
<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
24
|
</a><span class="slash">/</span><span class="here" id="project"> </span>
|
|
25
25
|
</nav>
|
|
26
26
|
<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
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<meta name="robots" content="noindex, nofollow">
|
|
7
7
|
<title>This parley has ended</title>
|
|
8
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
8
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
9
9
|
<link rel="stylesheet" href="/static/app.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div class="lost">
|
|
13
13
|
<div>
|
|
14
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
14
|
+
<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
15
|
<h1>This parley has ended</h1>
|
|
16
16
|
<p>Thanks for the feedback. The conversation isn't available here anymore.</p>
|
|
17
17
|
</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
|
@@ -5,13 +5,13 @@
|
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<meta name="robots" content="noindex, nofollow">
|
|
7
7
|
<title>Link not found</title>
|
|
8
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
8
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
9
9
|
<link rel="stylesheet" href="/static/app.css">
|
|
10
10
|
</head>
|
|
11
11
|
<body>
|
|
12
12
|
<div class="lost">
|
|
13
13
|
<div>
|
|
14
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
14
|
+
<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
15
|
<h1>This link doesn't lead anywhere</h1>
|
|
16
16
|
<p>Check that you have the whole link, or ask whoever sent it for a fresh one.</p>
|
|
17
17
|
</div>
|
package/web/panel.html
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
<meta charset="utf-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
6
|
<title>Control panel · parley</title>
|
|
7
|
-
<link rel="icon" href="/static/icon.svg?v=
|
|
7
|
+
<link rel="icon" href="/static/icon.svg?v=5" type="image/svg+xml">
|
|
8
8
|
<link rel="stylesheet" href="/static/app.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body class="panel">
|
|
11
11
|
<header class="topbar">
|
|
12
|
-
<span class="mark" aria-hidden="true"><svg viewBox="0 0 64 64"><rect class="
|
|
12
|
+
<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
13
|
<nav class="crumbs"><span class="product">parley</span><span class="slash">/</span><span class="here">Control panel</span></nav>
|
|
14
14
|
<span class="status" id="server"><span class="dot" id="server-dot"></span><span id="server-text">Checking…</span></span>
|
|
15
15
|
</header>
|
|
Binary file
|
|
Binary file
|
|
Binary file
|