anentrypoint-design 0.0.200 → 0.0.201
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/app-shell.css +42 -0
- package/chat.css +68 -0
- package/dist/247420.css +110 -0
- package/dist/247420.js +12 -12
- package/package.json +1 -1
- package/src/components/agent-chat.js +46 -3
- package/src/components/content.js +69 -8
- package/src/components/context-pane.js +11 -2
- package/src/components/files.js +35 -7
- package/src/components/sessions.js +44 -4
- package/src/components.js +2 -2
package/app-shell.css
CHANGED
|
@@ -2907,3 +2907,45 @@ input[type="password"]:not(:placeholder-shown) + .input-clear {
|
|
|
2907
2907
|
.ws-drawer-toggle:hover { background: var(--bg-2); color: var(--fg); }
|
|
2908
2908
|
.ws-drawer-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
2909
2909
|
.ws-scrim { display: none; }
|
|
2910
|
+
|
|
2911
|
+
/* ============================================================
|
|
2912
|
+
Row title highlight, expanded-row actions, filter pills.
|
|
2913
|
+
============================================================ */
|
|
2914
|
+
|
|
2915
|
+
/* Highlighted match inside a Row title (Row `highlight` prop). */
|
|
2916
|
+
.ds-hl { background: color-mix(in oklab, var(--accent) 25%, transparent); color: inherit; border-radius: 2px; }
|
|
2917
|
+
|
|
2918
|
+
/* Action strip rendered inside an EXPANDED Row (Row `actions` prop). The
|
|
2919
|
+
buttons stop propagation so they never fire the row onClick. */
|
|
2920
|
+
.row-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); width: 100%; padding-top: var(--space-2); }
|
|
2921
|
+
.row-act {
|
|
2922
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
2923
|
+
padding: 4px 10px; min-height: 28px;
|
|
2924
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
2925
|
+
color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-tiny); cursor: pointer;
|
|
2926
|
+
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
2927
|
+
}
|
|
2928
|
+
.row-act:hover { background: var(--bg-3); color: var(--fg); }
|
|
2929
|
+
.row-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
2930
|
+
|
|
2931
|
+
/* FilterPills - a group of pill toggle buttons (aria-pressed). */
|
|
2932
|
+
.ds-filter-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
2933
|
+
.ds-filter-pill {
|
|
2934
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
2935
|
+
padding: 4px 12px; min-height: 28px;
|
|
2936
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: 999px;
|
|
2937
|
+
color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-tiny); cursor: pointer;
|
|
2938
|
+
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
2939
|
+
}
|
|
2940
|
+
.ds-filter-pill:hover { background: var(--bg-3); color: var(--fg); }
|
|
2941
|
+
.ds-filter-pill.active { background: var(--accent-tint); color: var(--accent); border-color: var(--accent); }
|
|
2942
|
+
.ds-filter-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
2943
|
+
|
|
2944
|
+
/* Touch floor for the new small controls. */
|
|
2945
|
+
@media (pointer: coarse) {
|
|
2946
|
+
.row-act, .ds-filter-pill { min-height: 44px; }
|
|
2947
|
+
}
|
|
2948
|
+
|
|
2949
|
+
/* Disabled file actions (read-only row / in-flight mutation) stay visible but inert. */
|
|
2950
|
+
.ds-file-act:disabled { opacity: .45; cursor: default; }
|
|
2951
|
+
.ds-file-act:disabled:hover { background: transparent; color: var(--fg-3); }
|
package/chat.css
CHANGED
|
@@ -190,6 +190,50 @@
|
|
|
190
190
|
.agentchat-empty-suggestion:hover { background: color-mix(in srgb, var(--accent, var(--fg)) 12%, transparent); }
|
|
191
191
|
.agentchat-empty-suggestion:focus-visible { outline: 2px solid var(--accent, var(--fg)); outline-offset: 2px; }
|
|
192
192
|
|
|
193
|
+
/* Guided install path in the empty state: copy line + monospaced command rows
|
|
194
|
+
(each with its own copy button) + a recheck button. No animation. */
|
|
195
|
+
.agentchat-install {
|
|
196
|
+
margin-top: var(--space-4, 16px);
|
|
197
|
+
display: flex;
|
|
198
|
+
flex-direction: column;
|
|
199
|
+
gap: var(--space-2, 8px);
|
|
200
|
+
text-align: left;
|
|
201
|
+
width: 100%;
|
|
202
|
+
}
|
|
203
|
+
.agentchat-install-text { margin: 0; font-size: .9em; color: var(--fg-3); }
|
|
204
|
+
.agentchat-install-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-1, 4px); }
|
|
205
|
+
.agentchat-install-row {
|
|
206
|
+
display: flex; align-items: center; gap: var(--space-2, 8px);
|
|
207
|
+
padding: var(--space-1, 4px) var(--space-2, 8px);
|
|
208
|
+
border: var(--bw-hair) solid var(--rule);
|
|
209
|
+
border-radius: var(--r-1, 4px);
|
|
210
|
+
background: var(--bg-2);
|
|
211
|
+
}
|
|
212
|
+
.agentchat-install-agent { flex: 0 0 auto; font-size: var(--fs-tiny); color: var(--fg-3); min-width: 8ch; }
|
|
213
|
+
.agentchat-install-cmd {
|
|
214
|
+
flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
215
|
+
font-family: var(--ff-mono); font-size: var(--fs-sm); color: var(--fg-2, var(--fg));
|
|
216
|
+
}
|
|
217
|
+
.agentchat-install-copy {
|
|
218
|
+
flex: 0 0 auto; cursor: pointer; padding: 2px 8px; min-height: 24px;
|
|
219
|
+
border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1, 4px);
|
|
220
|
+
background: none; color: var(--fg-3);
|
|
221
|
+
font-family: var(--ff-body); font-size: var(--fs-tiny);
|
|
222
|
+
}
|
|
223
|
+
.agentchat-install-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
224
|
+
.agentchat-install-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
225
|
+
.agentchat-install-actions { display: flex; justify-content: flex-start; }
|
|
226
|
+
|
|
227
|
+
/* Host-supplied transcript export actions riding the controls row. */
|
|
228
|
+
.agentchat-export-act {
|
|
229
|
+
cursor: pointer; padding: 4px 10px; min-height: 32px;
|
|
230
|
+
border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1, 4px);
|
|
231
|
+
background: none; color: var(--fg-3);
|
|
232
|
+
font-family: var(--ff-body); font-size: var(--fs-tiny);
|
|
233
|
+
}
|
|
234
|
+
.agentchat-export-act:hover { background: var(--bg-2); color: var(--fg); }
|
|
235
|
+
.agentchat-export-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
236
|
+
|
|
193
237
|
/* "working" tail: a long silent tool call shouldn't read as frozen. */
|
|
194
238
|
.agentchat-working {
|
|
195
239
|
display: flex;
|
|
@@ -472,4 +516,28 @@ button.chat-composer-context:focus-visible { outline: 2px solid var(--accent); o
|
|
|
472
516
|
.chat-msg-action { min-width: 44px; height: 44px; }
|
|
473
517
|
.ds-dash-select { min-width: 44px; min-height: 44px; }
|
|
474
518
|
.ds-file-more-btn, .ds-roots-tab, .ds-dash-errors-toggle { min-height: 44px; }
|
|
519
|
+
.agentchat-export-act { min-height: 44px; }
|
|
520
|
+
.agentchat-install-copy { min-height: 44px; min-width: 44px; }
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
/* --- SessionMeta: middot-separated session metadata strip. Class is
|
|
524
|
+
.ds-session-meta-strip (.ds-session-meta is taken by ConversationList row
|
|
525
|
+
meta above). Wraps at narrow widths. --- */
|
|
526
|
+
.ds-session-meta-strip {
|
|
527
|
+
display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
|
|
528
|
+
font-size: var(--fs-tiny); color: var(--fg-3);
|
|
529
|
+
}
|
|
530
|
+
.ds-session-meta-item { display: inline-flex; align-items: center; gap: var(--space-1); min-width: 0; }
|
|
531
|
+
.ds-session-meta-item + .ds-session-meta-item::before { content: '\00B7'; color: var(--fg-3); margin-right: var(--space-1); }
|
|
532
|
+
.ds-session-meta-label { color: var(--fg-3); }
|
|
533
|
+
.ds-session-meta-value { font-family: var(--ff-mono); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
534
|
+
.ds-session-meta-copy {
|
|
535
|
+
padding: 2px 8px; min-height: 24px; cursor: pointer;
|
|
536
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
537
|
+
color: var(--fg-3); font-family: var(--ff-body); font-size: var(--fs-micro);
|
|
538
|
+
}
|
|
539
|
+
.ds-session-meta-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
540
|
+
.ds-session-meta-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
541
|
+
@media (pointer: coarse), (max-width: 640px) {
|
|
542
|
+
.ds-session-meta-copy { min-height: 44px; min-width: 44px; }
|
|
475
543
|
}
|
package/dist/247420.css
CHANGED
|
@@ -3300,6 +3300,48 @@
|
|
|
3300
3300
|
.ds-247420 .ws-drawer-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
|
|
3301
3301
|
.ds-247420 .ws-scrim { display: none; }
|
|
3302
3302
|
|
|
3303
|
+
/* ============================================================
|
|
3304
|
+
Row title highlight, expanded-row actions, filter pills.
|
|
3305
|
+
============================================================ */
|
|
3306
|
+
|
|
3307
|
+
/* Highlighted match inside a Row title (Row `highlight` prop). */
|
|
3308
|
+
.ds-247420 .ds-hl { background: color-mix(in oklab, var(--accent) 25%, transparent); color: inherit; border-radius: 2px; }
|
|
3309
|
+
|
|
3310
|
+
/* Action strip rendered inside an EXPANDED Row (Row `actions` prop). The
|
|
3311
|
+
buttons stop propagation so they never fire the row onClick. */
|
|
3312
|
+
.ds-247420 .row-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); width: 100%; padding-top: var(--space-2); }
|
|
3313
|
+
.ds-247420 .row-act {
|
|
3314
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
3315
|
+
padding: 4px 10px; min-height: 28px;
|
|
3316
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
3317
|
+
color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-tiny); cursor: pointer;
|
|
3318
|
+
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
3319
|
+
}
|
|
3320
|
+
.ds-247420 .row-act:hover { background: var(--bg-3); color: var(--fg); }
|
|
3321
|
+
.ds-247420 .row-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
3322
|
+
|
|
3323
|
+
/* FilterPills - a group of pill toggle buttons (aria-pressed). */
|
|
3324
|
+
.ds-247420 .ds-filter-pills { display: flex; flex-wrap: wrap; gap: var(--space-2); }
|
|
3325
|
+
.ds-247420 .ds-filter-pill {
|
|
3326
|
+
display: inline-flex; align-items: center; justify-content: center;
|
|
3327
|
+
padding: 4px 12px; min-height: 28px;
|
|
3328
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: 999px;
|
|
3329
|
+
color: var(--fg-2); font-family: var(--ff-body); font-size: var(--fs-tiny); cursor: pointer;
|
|
3330
|
+
transition: background var(--dur-snap) var(--ease), color var(--dur-snap) var(--ease);
|
|
3331
|
+
}
|
|
3332
|
+
.ds-247420 .ds-filter-pill:hover { background: var(--bg-3); color: var(--fg); }
|
|
3333
|
+
.ds-247420 .ds-filter-pill.active { background: var(--accent-tint); color: var(--accent); border-color: var(--accent); }
|
|
3334
|
+
.ds-247420 .ds-filter-pill:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
3335
|
+
|
|
3336
|
+
/* Touch floor for the new small controls. */
|
|
3337
|
+
@media (pointer: coarse) {
|
|
3338
|
+
.ds-247420 .row-act, .ds-247420 .ds-filter-pill { min-height: 44px; }
|
|
3339
|
+
}
|
|
3340
|
+
|
|
3341
|
+
/* Disabled file actions (read-only row / in-flight mutation) stay visible but inert. */
|
|
3342
|
+
.ds-247420 .ds-file-act:disabled { opacity: .45; cursor: default; }
|
|
3343
|
+
.ds-247420 .ds-file-act:disabled:hover { background: transparent; color: var(--fg-3); }
|
|
3344
|
+
|
|
3303
3345
|
/* community.css */
|
|
3304
3346
|
/* ============================================================
|
|
3305
3347
|
247420 design system — community surface (Discord-style chat)
|
|
@@ -5021,6 +5063,50 @@
|
|
|
5021
5063
|
.ds-247420 .agentchat-empty-suggestion:hover { background: color-mix(in srgb, var(--accent, var(--fg)) 12%, transparent); }
|
|
5022
5064
|
.ds-247420 .agentchat-empty-suggestion:focus-visible { outline: 2px solid var(--accent, var(--fg)); outline-offset: 2px; }
|
|
5023
5065
|
|
|
5066
|
+
/* Guided install path in the empty state: copy line + monospaced command rows
|
|
5067
|
+
(each with its own copy button) + a recheck button. No animation. */
|
|
5068
|
+
.ds-247420 .agentchat-install {
|
|
5069
|
+
margin-top: var(--space-4, 16px);
|
|
5070
|
+
display: flex;
|
|
5071
|
+
flex-direction: column;
|
|
5072
|
+
gap: var(--space-2, 8px);
|
|
5073
|
+
text-align: left;
|
|
5074
|
+
width: 100%;
|
|
5075
|
+
}
|
|
5076
|
+
.ds-247420 .agentchat-install-text { margin: 0; font-size: .9em; color: var(--fg-3); }
|
|
5077
|
+
.ds-247420 .agentchat-install-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: var(--space-1, 4px); }
|
|
5078
|
+
.ds-247420 .agentchat-install-row {
|
|
5079
|
+
display: flex; align-items: center; gap: var(--space-2, 8px);
|
|
5080
|
+
padding: var(--space-1, 4px) var(--space-2, 8px);
|
|
5081
|
+
border: var(--bw-hair) solid var(--rule);
|
|
5082
|
+
border-radius: var(--r-1, 4px);
|
|
5083
|
+
background: var(--bg-2);
|
|
5084
|
+
}
|
|
5085
|
+
.ds-247420 .agentchat-install-agent { flex: 0 0 auto; font-size: var(--fs-tiny); color: var(--fg-3); min-width: 8ch; }
|
|
5086
|
+
.ds-247420 .agentchat-install-cmd {
|
|
5087
|
+
flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
|
|
5088
|
+
font-family: var(--ff-mono); font-size: var(--fs-sm); color: var(--fg-2, var(--fg));
|
|
5089
|
+
}
|
|
5090
|
+
.ds-247420 .agentchat-install-copy {
|
|
5091
|
+
flex: 0 0 auto; cursor: pointer; padding: 2px 8px; min-height: 24px;
|
|
5092
|
+
border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1, 4px);
|
|
5093
|
+
background: none; color: var(--fg-3);
|
|
5094
|
+
font-family: var(--ff-body); font-size: var(--fs-tiny);
|
|
5095
|
+
}
|
|
5096
|
+
.ds-247420 .agentchat-install-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
5097
|
+
.ds-247420 .agentchat-install-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
5098
|
+
.ds-247420 .agentchat-install-actions { display: flex; justify-content: flex-start; }
|
|
5099
|
+
|
|
5100
|
+
/* Host-supplied transcript export actions riding the controls row. */
|
|
5101
|
+
.ds-247420 .agentchat-export-act {
|
|
5102
|
+
cursor: pointer; padding: 4px 10px; min-height: 32px;
|
|
5103
|
+
border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1, 4px);
|
|
5104
|
+
background: none; color: var(--fg-3);
|
|
5105
|
+
font-family: var(--ff-body); font-size: var(--fs-tiny);
|
|
5106
|
+
}
|
|
5107
|
+
.ds-247420 .agentchat-export-act:hover { background: var(--bg-2); color: var(--fg); }
|
|
5108
|
+
.ds-247420 .agentchat-export-act:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
5109
|
+
|
|
5024
5110
|
/* "working" tail: a long silent tool call shouldn't read as frozen. */
|
|
5025
5111
|
.ds-247420 .agentchat-working {
|
|
5026
5112
|
display: flex;
|
|
@@ -5303,6 +5389,30 @@
|
|
|
5303
5389
|
.ds-247420 .chat-msg-action { min-width: 44px; height: 44px; }
|
|
5304
5390
|
.ds-247420 .ds-dash-select { min-width: 44px; min-height: 44px; }
|
|
5305
5391
|
.ds-247420 .ds-file-more-btn, .ds-247420 .ds-roots-tab, .ds-247420 .ds-dash-errors-toggle { min-height: 44px; }
|
|
5392
|
+
.ds-247420 .agentchat-export-act { min-height: 44px; }
|
|
5393
|
+
.ds-247420 .agentchat-install-copy { min-height: 44px; min-width: 44px; }
|
|
5394
|
+
}
|
|
5395
|
+
|
|
5396
|
+
/* --- SessionMeta: middot-separated session metadata strip. Class is
|
|
5397
|
+
.ds-session-meta-strip (.ds-session-meta is taken by ConversationList row
|
|
5398
|
+
meta above). Wraps at narrow widths. --- */
|
|
5399
|
+
.ds-247420 .ds-session-meta-strip {
|
|
5400
|
+
display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2);
|
|
5401
|
+
font-size: var(--fs-tiny); color: var(--fg-3);
|
|
5402
|
+
}
|
|
5403
|
+
.ds-247420 .ds-session-meta-item { display: inline-flex; align-items: center; gap: var(--space-1); min-width: 0; }
|
|
5404
|
+
.ds-247420 .ds-session-meta-item + .ds-session-meta-item::before { content: '\00B7'; color: var(--fg-3); margin-right: var(--space-1); }
|
|
5405
|
+
.ds-247420 .ds-session-meta-label { color: var(--fg-3); }
|
|
5406
|
+
.ds-247420 .ds-session-meta-value { font-family: var(--ff-mono); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
5407
|
+
.ds-247420 .ds-session-meta-copy {
|
|
5408
|
+
padding: 2px 8px; min-height: 24px; cursor: pointer;
|
|
5409
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
5410
|
+
color: var(--fg-3); font-family: var(--ff-body); font-size: var(--fs-micro);
|
|
5411
|
+
}
|
|
5412
|
+
.ds-247420 .ds-session-meta-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
5413
|
+
.ds-247420 .ds-session-meta-copy:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
|
|
5414
|
+
@media (pointer: coarse), (max-width: 640px) {
|
|
5415
|
+
.ds-247420 .ds-session-meta-copy { min-height: 44px; min-width: 44px; }
|
|
5306
5416
|
}
|
|
5307
5417
|
|
|
5308
5418
|
/* editor-primitives.css */
|