anentrypoint-design 0.0.321 → 0.0.323
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 +11 -0
- package/chat.css +38 -7
- package/dist/247420.css +49 -7
- package/dist/247420.js +16 -16
- package/package.json +1 -1
- package/src/components/agent-chat.js +71 -10
- package/src/components/files-modals.js +14 -2
- package/src/components/sessions.js +7 -0
package/app-shell.css
CHANGED
|
@@ -2128,6 +2128,17 @@ table tr.clickable:focus-visible td { background: var(--bg-2); }
|
|
|
2128
2128
|
@media (hover: none), (pointer: coarse) {
|
|
2129
2129
|
.ds-modal-input { font-size: 16px; min-height: 44px; }
|
|
2130
2130
|
}
|
|
2131
|
+
/* PromptDialog's optional roots-chip row (destination-path prompts with more
|
|
2132
|
+
than one allowed root) - same chip idiom the cwd editor's roots row uses. */
|
|
2133
|
+
.ds-prompt-roots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
2134
|
+
.ds-prompt-root-chip {
|
|
2135
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule); color: var(--fg-2);
|
|
2136
|
+
border-radius: var(--r-pill); padding: 3px 10px; font: inherit; font-size: var(--fs-tiny);
|
|
2137
|
+
cursor: pointer;
|
|
2138
|
+
}
|
|
2139
|
+
.ds-prompt-root-chip:hover { border-color: var(--accent); color: var(--fg); }
|
|
2140
|
+
.ds-prompt-root-chip:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
2141
|
+
@media (pointer: coarse) { .ds-prompt-root-chip { min-height: 44px; } }
|
|
2131
2142
|
/* In-body modal error (role=alert): mutation failures (409/403) surface INSIDE
|
|
2132
2143
|
the dialog, not behind the fixed overlay. */
|
|
2133
2144
|
.ds-modal-error {
|
package/chat.css
CHANGED
|
@@ -121,6 +121,37 @@
|
|
|
121
121
|
.agentchat-cwd-input[aria-invalid='true'] { border-color: var(--flame); box-shadow: inset 0 0 0 var(--bw-hair) var(--flame); }
|
|
122
122
|
.agentchat-cwd-input[aria-busy='true'] { border-color: var(--fg-3); box-shadow: inset 0 0 0 var(--bw-hair) var(--fg-3); }
|
|
123
123
|
|
|
124
|
+
/* cwd practicality upgrade: editing mode stacks the input row plus any
|
|
125
|
+
optional roots/recent/browse rows the host wires, instead of a single flat
|
|
126
|
+
row - each sub-row wraps independently at narrow widths. */
|
|
127
|
+
.agentchat-cwd-editing { flex-direction: column; align-items: stretch; }
|
|
128
|
+
.agentchat-cwd-row { display: flex; align-items: center; gap: var(--space-2, 8px); flex-wrap: wrap; }
|
|
129
|
+
.agentchat-cwd-roots, .agentchat-cwd-recent {
|
|
130
|
+
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
|
|
131
|
+
}
|
|
132
|
+
.agentchat-cwd-recent-label { font-size: var(--fs-tiny); color: var(--fg-3); }
|
|
133
|
+
.agentchat-cwd-chip {
|
|
134
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule); color: var(--fg-2);
|
|
135
|
+
border-radius: var(--r-pill); padding: 3px 10px; font: inherit; font-size: var(--fs-tiny);
|
|
136
|
+
cursor: pointer;
|
|
137
|
+
}
|
|
138
|
+
.agentchat-cwd-chip:hover { border-color: var(--accent); color: var(--fg); }
|
|
139
|
+
.agentchat-cwd-chip:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
140
|
+
.agentchat-cwd-browse {
|
|
141
|
+
border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1);
|
|
142
|
+
padding: var(--space-2, 8px); background: var(--bg-2);
|
|
143
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
144
|
+
max-height: 220px;
|
|
145
|
+
}
|
|
146
|
+
.agentchat-cwd-browse-list { overflow-y: auto; display: flex; flex-direction: column; max-height: 160px; }
|
|
147
|
+
.agentchat-cwd-browse-item {
|
|
148
|
+
background: none; border: none; color: var(--fg-2); text-align: left;
|
|
149
|
+
padding: 6px 8px; border-radius: var(--r-1); font: inherit; font-size: var(--fs-tiny);
|
|
150
|
+
cursor: pointer;
|
|
151
|
+
}
|
|
152
|
+
.agentchat-cwd-browse-item:hover, .agentchat-cwd-browse-item:focus-visible { background: var(--bg-3, var(--bg)); color: var(--fg); }
|
|
153
|
+
.agentchat-cwd-browse-loading, .agentchat-cwd-browse-empty { padding: 6px 8px; font-size: var(--fs-tiny); color: var(--fg-3); }
|
|
154
|
+
|
|
124
155
|
/* head + thread */
|
|
125
156
|
.agentchat-head {
|
|
126
157
|
display: flex;
|
|
@@ -322,7 +353,7 @@
|
|
|
322
353
|
}
|
|
323
354
|
/* Coarse-pointer (touch): raise cwd button to 44px minimum tap target */
|
|
324
355
|
@media (pointer: coarse) {
|
|
325
|
-
.agentchat-cwd-btn { min-height: 44px; }
|
|
356
|
+
.agentchat-cwd-btn, .agentchat-cwd-chip, .agentchat-cwd-browse-item { min-height: 44px; }
|
|
326
357
|
}
|
|
327
358
|
|
|
328
359
|
/* ----------------------------------------------------------------------------
|
|
@@ -408,7 +439,7 @@
|
|
|
408
439
|
label sticks to the top of the scroll area for Claude-Desktop-style headers. */
|
|
409
440
|
.ds-session-group { display: flex; flex-direction: column; }
|
|
410
441
|
.ds-session-group-rows { display: flex; flex-direction: column; gap: 2px; }
|
|
411
|
-
.ds-session-group-label { position: sticky; top: 0; z-index: 1; background: var(--bg-1, var(--bg)); font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-
|
|
442
|
+
.ds-session-group-label { position: sticky; top: 0; z-index: 1; background: var(--bg-1, var(--bg)); font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-label); padding: var(--space-2) var(--space-2) var(--space-1); }
|
|
412
443
|
.ds-session-row {
|
|
413
444
|
position: relative; display: flex; align-items: center; gap: var(--space-2);
|
|
414
445
|
width: 100%; padding: var(--space-2); min-height: 52px; margin-bottom: 2px;
|
|
@@ -705,15 +736,15 @@ button.chat-composer-context:focus-visible { outline: var(--focus-w) solid var(-
|
|
|
705
736
|
.ds-session-meta-item + .ds-session-meta-item::before { content: '\00B7'; color: var(--fg-3); margin-right: var(--space-1); }
|
|
706
737
|
.ds-session-meta-label { color: var(--fg-3); }
|
|
707
738
|
.ds-session-meta-value { font-family: var(--ff-mono); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
708
|
-
.ds-session-meta-copy {
|
|
739
|
+
.ds-session-meta-copy, .ds-session-meta-action {
|
|
709
740
|
padding: 2px 8px; min-height: 24px; cursor: pointer;
|
|
710
741
|
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
711
742
|
color: var(--fg-3); font-family: var(--ff-body); font-size: var(--fs-micro);
|
|
712
743
|
}
|
|
713
|
-
.ds-session-meta-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
714
|
-
.ds-session-meta-copy:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 1px; }
|
|
744
|
+
.ds-session-meta-copy:hover, .ds-session-meta-action:hover { background: var(--bg-3); color: var(--fg); }
|
|
745
|
+
.ds-session-meta-copy:focus-visible, .ds-session-meta-action:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 1px; }
|
|
715
746
|
@media (pointer: coarse), (max-width: 640px) {
|
|
716
|
-
.ds-session-meta-copy { min-height: 44px; min-width: 44px; }
|
|
747
|
+
.ds-session-meta-copy, .ds-session-meta-action { min-height: 44px; min-width: 44px; }
|
|
717
748
|
}
|
|
718
749
|
|
|
719
750
|
/* ============================================================================
|
|
@@ -962,7 +993,7 @@ button.chat-composer-context:focus-visible { outline: var(--focus-w) solid var(-
|
|
|
962
993
|
|
|
963
994
|
/* Live command-center: status-bucket groups + header breakdown + heartbeat. */
|
|
964
995
|
.ds-dash-group { display: flex; flex-direction: column; gap: var(--space-2); }
|
|
965
|
-
.ds-dash-group-label { font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-
|
|
996
|
+
.ds-dash-group-label { font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--fg-3); padding: 0 var(--space-1); }
|
|
966
997
|
.ds-dash-breakdown { display: flex; align-items: center; gap: var(--space-1); font-size: var(--fs-sm); color: var(--fg-2); }
|
|
967
998
|
/* Shape-channel discs mirror the .status-dot-disc vocabulary (solid /
|
|
968
999
|
solid+halo / hollow ring) so a colour-blind user can scan the breakdown by
|
package/dist/247420.css
CHANGED
|
@@ -2686,6 +2686,17 @@
|
|
|
2686
2686
|
@media (hover: none), (pointer: coarse) {
|
|
2687
2687
|
.ds-247420 .ds-modal-input { font-size: 16px; min-height: 44px; }
|
|
2688
2688
|
}
|
|
2689
|
+
/* PromptDialog's optional roots-chip row (destination-path prompts with more
|
|
2690
|
+
than one allowed root) - same chip idiom the cwd editor's roots row uses. */
|
|
2691
|
+
.ds-247420 .ds-prompt-roots { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
|
|
2692
|
+
.ds-247420 .ds-prompt-root-chip {
|
|
2693
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule); color: var(--fg-2);
|
|
2694
|
+
border-radius: var(--r-pill); padding: 3px 10px; font: inherit; font-size: var(--fs-tiny);
|
|
2695
|
+
cursor: pointer;
|
|
2696
|
+
}
|
|
2697
|
+
.ds-247420 .ds-prompt-root-chip:hover { border-color: var(--accent); color: var(--fg); }
|
|
2698
|
+
.ds-247420 .ds-prompt-root-chip:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
2699
|
+
@media (pointer: coarse) { .ds-247420 .ds-prompt-root-chip { min-height: 44px; } }
|
|
2689
2700
|
/* In-body modal error (role=alert): mutation failures (409/403) surface INSIDE
|
|
2690
2701
|
the dialog, not behind the fixed overlay. */
|
|
2691
2702
|
.ds-247420 .ds-modal-error {
|
|
@@ -7099,6 +7110,37 @@
|
|
|
7099
7110
|
.ds-247420 .agentchat-cwd-input[aria-invalid='true'] { border-color: var(--flame); box-shadow: inset 0 0 0 var(--bw-hair) var(--flame); }
|
|
7100
7111
|
.ds-247420 .agentchat-cwd-input[aria-busy='true'] { border-color: var(--fg-3); box-shadow: inset 0 0 0 var(--bw-hair) var(--fg-3); }
|
|
7101
7112
|
|
|
7113
|
+
/* cwd practicality upgrade: editing mode stacks the input row plus any
|
|
7114
|
+
optional roots/recent/browse rows the host wires, instead of a single flat
|
|
7115
|
+
row - each sub-row wraps independently at narrow widths. */
|
|
7116
|
+
.ds-247420 .agentchat-cwd-editing { flex-direction: column; align-items: stretch; }
|
|
7117
|
+
.ds-247420 .agentchat-cwd-row { display: flex; align-items: center; gap: var(--space-2, 8px); flex-wrap: wrap; }
|
|
7118
|
+
.ds-247420 .agentchat-cwd-roots, .ds-247420 .agentchat-cwd-recent {
|
|
7119
|
+
display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
|
|
7120
|
+
}
|
|
7121
|
+
.ds-247420 .agentchat-cwd-recent-label { font-size: var(--fs-tiny); color: var(--fg-3); }
|
|
7122
|
+
.ds-247420 .agentchat-cwd-chip {
|
|
7123
|
+
background: var(--bg-2); border: var(--bw-hair) solid var(--rule); color: var(--fg-2);
|
|
7124
|
+
border-radius: var(--r-pill); padding: 3px 10px; font: inherit; font-size: var(--fs-tiny);
|
|
7125
|
+
cursor: pointer;
|
|
7126
|
+
}
|
|
7127
|
+
.ds-247420 .agentchat-cwd-chip:hover { border-color: var(--accent); color: var(--fg); }
|
|
7128
|
+
.ds-247420 .agentchat-cwd-chip:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: var(--focus-offset); }
|
|
7129
|
+
.ds-247420 .agentchat-cwd-browse {
|
|
7130
|
+
border: var(--bw-hair) solid var(--rule); border-radius: var(--r-1);
|
|
7131
|
+
padding: var(--space-2, 8px); background: var(--bg-2);
|
|
7132
|
+
display: flex; flex-direction: column; gap: 6px;
|
|
7133
|
+
max-height: 220px;
|
|
7134
|
+
}
|
|
7135
|
+
.ds-247420 .agentchat-cwd-browse-list { overflow-y: auto; display: flex; flex-direction: column; max-height: 160px; }
|
|
7136
|
+
.ds-247420 .agentchat-cwd-browse-item {
|
|
7137
|
+
background: none; border: none; color: var(--fg-2); text-align: left;
|
|
7138
|
+
padding: 6px 8px; border-radius: var(--r-1); font: inherit; font-size: var(--fs-tiny);
|
|
7139
|
+
cursor: pointer;
|
|
7140
|
+
}
|
|
7141
|
+
.ds-247420 .agentchat-cwd-browse-item:hover, .ds-247420 .agentchat-cwd-browse-item:focus-visible { background: var(--bg-3, var(--bg)); color: var(--fg); }
|
|
7142
|
+
.ds-247420 .agentchat-cwd-browse-loading, .ds-247420 .agentchat-cwd-browse-empty { padding: 6px 8px; font-size: var(--fs-tiny); color: var(--fg-3); }
|
|
7143
|
+
|
|
7102
7144
|
/* head + thread */
|
|
7103
7145
|
.ds-247420 .agentchat-head {
|
|
7104
7146
|
display: flex;
|
|
@@ -7299,7 +7341,7 @@
|
|
|
7299
7341
|
}
|
|
7300
7342
|
/* Coarse-pointer (touch): raise cwd button to 44px minimum tap target */
|
|
7301
7343
|
@media (pointer: coarse) {
|
|
7302
|
-
.ds-247420 .agentchat-cwd-btn { min-height: 44px; }
|
|
7344
|
+
.ds-247420 .agentchat-cwd-btn, .ds-247420 .agentchat-cwd-chip, .ds-247420 .agentchat-cwd-browse-item { min-height: 44px; }
|
|
7303
7345
|
}
|
|
7304
7346
|
|
|
7305
7347
|
/* ----------------------------------------------------------------------------
|
|
@@ -7385,7 +7427,7 @@
|
|
|
7385
7427
|
label sticks to the top of the scroll area for Claude-Desktop-style headers. */
|
|
7386
7428
|
.ds-247420 .ds-session-group { display: flex; flex-direction: column; }
|
|
7387
7429
|
.ds-247420 .ds-session-group-rows { display: flex; flex-direction: column; gap: 2px; }
|
|
7388
|
-
.ds-247420 .ds-session-group-label { position: sticky; top: 0; z-index: 1; background: var(--bg-1, var(--bg)); font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-
|
|
7430
|
+
.ds-247420 .ds-session-group-label { position: sticky; top: 0; z-index: 1; background: var(--bg-1, var(--bg)); font-size: var(--fs-tiny); font-weight: 600; color: var(--fg-3); text-transform: uppercase; letter-spacing: var(--tr-label); padding: var(--space-2) var(--space-2) var(--space-1); }
|
|
7389
7431
|
.ds-247420 .ds-session-row {
|
|
7390
7432
|
position: relative; display: flex; align-items: center; gap: var(--space-2);
|
|
7391
7433
|
width: 100%; padding: var(--space-2); min-height: 52px; margin-bottom: 2px;
|
|
@@ -7682,15 +7724,15 @@
|
|
|
7682
7724
|
.ds-247420 .ds-session-meta-item + .ds-session-meta-item::before { content: '\00B7'; color: var(--fg-3); margin-right: var(--space-1); }
|
|
7683
7725
|
.ds-247420 .ds-session-meta-label { color: var(--fg-3); }
|
|
7684
7726
|
.ds-247420 .ds-session-meta-value { font-family: var(--ff-mono); color: var(--fg-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
|
|
7685
|
-
.ds-247420 .ds-session-meta-copy {
|
|
7727
|
+
.ds-247420 .ds-session-meta-copy, .ds-247420 .ds-session-meta-action {
|
|
7686
7728
|
padding: 2px 8px; min-height: 24px; cursor: pointer;
|
|
7687
7729
|
background: var(--bg-2); border: var(--bw-hair) solid var(--bg-3); border-radius: var(--r-1);
|
|
7688
7730
|
color: var(--fg-3); font-family: var(--ff-body); font-size: var(--fs-micro);
|
|
7689
7731
|
}
|
|
7690
|
-
.ds-247420 .ds-session-meta-copy:hover { background: var(--bg-3); color: var(--fg); }
|
|
7691
|
-
.ds-247420 .ds-session-meta-copy:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 1px; }
|
|
7732
|
+
.ds-247420 .ds-session-meta-copy:hover, .ds-247420 .ds-session-meta-action:hover { background: var(--bg-3); color: var(--fg); }
|
|
7733
|
+
.ds-247420 .ds-session-meta-copy:focus-visible, .ds-247420 .ds-session-meta-action:focus-visible { outline: var(--focus-w) solid var(--focus-color); outline-offset: 1px; }
|
|
7692
7734
|
@media (pointer: coarse), (max-width: 640px) {
|
|
7693
|
-
.ds-247420 .ds-session-meta-copy { min-height: 44px; min-width: 44px; }
|
|
7735
|
+
.ds-247420 .ds-session-meta-copy, .ds-247420 .ds-session-meta-action { min-height: 44px; min-width: 44px; }
|
|
7694
7736
|
}
|
|
7695
7737
|
|
|
7696
7738
|
/* ============================================================================
|
|
@@ -7939,7 +7981,7 @@
|
|
|
7939
7981
|
|
|
7940
7982
|
/* Live command-center: status-bucket groups + header breakdown + heartbeat. */
|
|
7941
7983
|
.ds-247420 .ds-dash-group { display: flex; flex-direction: column; gap: var(--space-2); }
|
|
7942
|
-
.ds-247420 .ds-dash-group-label { font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-
|
|
7984
|
+
.ds-247420 .ds-dash-group-label { font-size: var(--fs-tiny); font-weight: 600; text-transform: uppercase; letter-spacing: var(--tr-label); color: var(--fg-3); padding: 0 var(--space-1); }
|
|
7943
7985
|
.ds-247420 .ds-dash-breakdown { display: flex; align-items: center; gap: var(--space-1); font-size: var(--fs-sm); color: var(--fg-2); }
|
|
7944
7986
|
/* Shape-channel discs mirror the .status-dot-disc vocabulary (solid /
|
|
7945
7987
|
solid+halo / hollow ring) so a colour-blind user can scan the breakdown by
|