@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@parley-im/parley",
3
- "version": "0.2.6",
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/atkinson-hyperlegible-next": "^5.3.0",
44
- "@fontsource-variable/bricolage-grotesque": "^5.3.0",
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.im. The Signal flag look: the code flag for P
3
- (blue field, white square) as the mark, flag blue on sail, Bricolage
4
- Grotesque for headlines and the wordmark, Atkinson Hyperlegible Next for
5
- everything people read, and a monospace face only where it means
6
- something (code, paths, the agent's activity, numbers). The fonts are
7
- served from here, never from a font service, so guest pages only ever
8
- talk to parley.im. */
9
-
10
- @font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/static/fonts/atkinson-hyperlegible-next.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
11
- @font-face { font-family: "Atkinson Hyperlegible Next"; src: url("/static/fonts/atkinson-hyperlegible-next-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }
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: #f5f3ee; /* sail */
16
- --panel: #ffffff;
17
- --subtle: #eeebe4;
18
- --hover: #e7e3d9;
19
- --line: #e4e1d9;
20
- --line-strong: #cfcbc1;
21
- --text: #121c33; /* ink */
22
- --muted: #5b6476;
23
- --faint: #8b93a3;
24
- --accent: #1f48b8; /* flag blue, for links and marks */
25
- --accent-fill: #1f48b8; /* buttons and the flag itself */
26
- --accent-soft: #e6ecfa;
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
- --guest: #e6ecfa; /* your own messages */
29
- --guest-ink: #23314f;
30
- --brass: #d99a2b; /* small touches only */
31
- --ok: #1e8a52;
32
- --warn: #b7791f;
33
- --danger: #c4302b;
34
- --shadow: 0 1px 2px rgba(18, 28, 51, 0.05), 0 12px 32px -16px rgba(18, 28, 51, 0.22);
35
- --sans: "Atkinson Hyperlegible Next", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
36
- --display: "Bricolage Grotesque", var(--sans);
37
- --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
38
- color-scheme: light;
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: the code flag for P, a blue field with a white square. */
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 .field { fill: var(--accent-fill); }
89
- .mark .square { fill: #ffffff; }
90
- /* The same flag, small, drawn in CSS: beside the interviewer's words, and
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: baseline; gap: 8px; min-width: 0; flex: 1; }
101
- .crumbs .product { font-family: var(--display); font-weight: 700; letter-spacing: -0.025em; font-size: 17px; color: var(--text); }
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(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.025em; }
104
- .brand:hover .mark { filter: brightness(1.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: 13px; color: var(--muted); white-space: nowrap; }
112
- .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--faint); flex: none; }
113
- .dot.on { background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 18%, transparent); }
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(--warn); }
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 { opacity: 0.88; }
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 8px; border: 1px solid var(--line); border-radius: 99px; background: var(--subtle);
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: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--faint); }
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
- .msg.agent::before { content: ""; top: 5px; width: 13px; height: 13px; border-radius: 3px; box-shadow: inset 0 0 0 3.5px var(--accent-fill), inset 0 0 0 13px #ffffff; }
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: 12px; color: var(--faint); margin-bottom: 2px; }
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: three tiny flags hoisting in turn. */
261
- .thinking { display: inline-flex; align-items: flex-end; gap: 5px; height: 22px; padding-top: 4px; }
262
- .thinking span { width: 8px; height: 8px; border-radius: 2px; box-shadow: inset 0 0 0 2.5px var(--accent-fill), inset 0 0 0 8px #ffffff; animation: hoist 1.2s ease-in-out infinite; }
263
- .thinking span:nth-child(2) { animation-delay: 0.15s; }
264
- .thinking span:nth-child(3) { animation-delay: 0.3s; }
265
- @keyframes hoist { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-6px); } }
266
- @media (prefers-reduced-motion: reduce) { .thinking span, .status .dot.busy::after { animation: none; } }
267
- @keyframes blink { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
268
- .cursor::after { content: ""; display: inline-block; width: 7px; height: 1.05em; background: var(--accent); margin-left: 3px; vertical-align: -3px; animation: blink 1s infinite; }
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); opacity: 0.9; }
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: 36px; height: 36px; border-radius: 9px; margin: 0 auto 16px; }
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(--display); font-weight: 700; letter-spacing: -0.025em; }
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(--display); font-weight: 700; color: var(--accent); font-size: 15px; }
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="#0c0c0d" media="(prefers-color-scheme: dark)">
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=3" type="image/svg+xml">
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="field" width="64" height="64" rx="14"/><rect class="square" x="20" y="20" width="24" height="24" rx="2"/></svg></span><span class="product">parley</span>
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">&nbsp;</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="field" width="64" height="64" rx="14"/><rect class="square" x="20" y="20" width="24" height="24" rx="2"/></svg>`;
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=3" type="image/svg+xml">
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="field" width="64" height="64" rx="14"/><rect class="square" x="20" y="20" width="24" height="24" rx="2"/></svg></span>
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 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next) AtkinsonHyperlegibleNext-Italic[wght].ttf: Copyright 2020-2024 The Atkinson Hyperlegible Next Project Authors (https://github.com/googlefonts/atkinson-hyperlegible-next)
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 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage)
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
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="#1F48B8"/><rect x="20" y="20" width="24" height="24" rx="2" fill="#FFFFFF"/></svg>
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=3" type="image/svg+xml">
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="field" width="64" height="64" rx="14"/><rect class="square" x="20" y="20" width="24" height="24" rx="2"/></svg></span>
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=3" type="image/svg+xml">
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="field" width="64" height="64" rx="14"/><rect class="square" x="20" y="20" width="24" height="24" rx="2"/></svg></span>
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