zidane-ui 9.5.0 → 9.5.3
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/dist/chat/SessionList.d.ts +1 -1
- package/dist/chat/SessionList.js +1 -1
- package/dist/chat/Transcript.js +6 -2
- package/dist/chat/composer/ComposerEditor.js +1 -1
- package/dist/chat/composer/DraftPickers.d.ts +8 -2
- package/dist/chat/composer/DraftPickers.js +5 -3
- package/dist/chat/composer/ScopeToggle.d.ts +5 -2
- package/dist/chat/composer/ScopeToggle.js +3 -2
- package/dist/chat/composer/ServerScopeToggle.d.ts +5 -2
- package/dist/chat/composer/ServerScopeToggle.js +2 -1
- package/dist/chat/composer/use-draft-target.d.ts +7 -1
- package/dist/chat/composer/use-draft-target.js +19 -10
- package/dist/chat/headless/fixtures/demo-transcript-all-kinds.d.ts +6 -0
- package/dist/chat/headless/fixtures/demo-transcript-all-kinds.js +90 -2
- package/dist/chat/headless/index.d.ts +6 -5
- package/dist/chat/headless/index.js +4 -3
- package/dist/chat/headless/labels.d.ts +9 -0
- package/dist/chat/headless/labels.js +12 -3
- package/dist/chat/headless/session-list.d.ts +8 -0
- package/dist/chat/headless/session-list.js +7 -0
- package/dist/chat/headless/sidebar/inbox.d.ts +21 -5
- package/dist/chat/headless/sidebar/inbox.js +30 -12
- package/dist/chat/headless/sidebar/index.d.ts +2 -2
- package/dist/chat/headless/sidebar/index.js +2 -2
- package/dist/chat/headless/sidebar/labels.d.ts +7 -1
- package/dist/chat/headless/sidebar/labels.js +1 -1
- package/dist/chat/headless/sidebar/rows.d.ts +62 -5
- package/dist/chat/headless/sidebar/rows.js +93 -17
- package/dist/chat/headless/transcript/derive.d.ts +1 -0
- package/dist/chat/headless/transcript/derive.js +3 -1
- package/dist/chat/headless/transcript/fold.js +1 -0
- package/dist/chat/headless/transcript/index.d.ts +3 -2
- package/dist/chat/headless/transcript/index.js +2 -1
- package/dist/chat/headless/transcript/rail.js +1 -0
- package/dist/chat/headless/transcript/rows.d.ts +26 -2
- package/dist/chat/headless/transcript/select-stops.js +1 -0
- package/dist/chat/headless/transcript/session-groups.d.ts +36 -0
- package/dist/chat/headless/transcript/session-groups.js +94 -0
- package/dist/chat/index.d.ts +4 -3
- package/dist/chat/index.js +7 -6
- package/dist/chat/sidebar/InboxList.d.ts +14 -1
- package/dist/chat/sidebar/InboxList.js +33 -13
- package/dist/chat/sidebar/SessionSidebar.d.ts +13 -5
- package/dist/chat/sidebar/SessionSidebar.js +54 -34
- package/dist/chat/sidebar/SidebarGroupHeader.d.ts +7 -2
- package/dist/chat/sidebar/SidebarGroupHeader.js +22 -6
- package/dist/chat/sidebar/useInboxRows.d.ts +4 -1
- package/dist/chat/sidebar/useInboxRows.js +6 -3
- package/dist/chat/sidebar/useInboxTriage.d.ts +3 -0
- package/dist/chat/sidebar/useInboxTriage.js +3 -2
- package/dist/chat/testing/index.d.ts +2 -2
- package/dist/chat/testing/index.js +2 -2
- package/dist/chat/transcript/BadgeMenu.d.ts +9 -2
- package/dist/chat/transcript/BadgeMenu.js +20 -2
- package/dist/chat/transcript/SubagentBlock.js +24 -7
- package/dist/chat/transcript/TranscriptRail.js +3 -3
- package/dist/chat/transcript/TranscriptRow.js +8 -0
- package/dist/chat/transcript/frame.d.ts +7 -0
- package/dist/chat/transcript/frame.js +51 -5
- package/dist/chat/transcript/index.d.ts +4 -3
- package/dist/chat/transcript/index.js +3 -2
- package/dist/chat/transcript/notices.d.ts +9 -9
- package/dist/chat/transcript/notices.js +78 -81
- package/dist/chat/transcript/receipt-parts.d.ts +29 -2
- package/dist/chat/transcript/receipt-parts.js +40 -7
- package/dist/chat/transcript/row-estimate.js +4 -1
- package/dist/chat/transcript/run-rows.js +2 -5
- package/dist/chat/transcript/script-input.d.ts +1 -1
- package/dist/chat/transcript/session-groups.d.ts +21 -0
- package/dist/chat/transcript/session-groups.js +154 -0
- package/dist/chat/transcript/session-line.d.ts +63 -0
- package/dist/chat/transcript/session-line.js +114 -0
- package/dist/dist/{index-Bsp5Ku7r.d.ts → index-BsoTsm0E.d.ts} +17 -17
- package/dist/dist/index.d.ts +1 -1
- package/dist/session/ProjectName.js +1 -1
- package/dist/session/SessionHeader.js +1 -1
- package/dist/session/headless/labels.d.ts +1 -1
- package/dist/session/use-home-projects.d.ts +10 -3
- package/dist/session/use-home-projects.js +40 -4
- package/dist/settings/headless/mcp-requirement.js +4 -3
- package/dist/settings/headless/mcp.d.ts +2 -0
- package/dist/settings/headless/mcp.js +3 -2
- package/dist/settings/headless/search.d.ts +1 -1
- package/dist/settings/index.js +3 -3
- package/dist/settings/sections/mcp/McpSection.js +3 -5
- package/dist/styles.css +43 -0
- package/package.json +2 -2
- package/src/styles/transcript.css +39 -0
package/dist/styles.css
CHANGED
|
@@ -251,6 +251,7 @@
|
|
|
251
251
|
.i-ph-square-split-vertical{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M200 40H56a16 16 0 0 0-16 16v144a16 16 0 0 0 16 16h144a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 16v64H56V56Zm0 144H56v-64h144z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
252
252
|
.i-ph-squares-four{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M104 40H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64H56V56h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16V56a16 16 0 0 0-16-16m0 64h-48V56h48zm-96 32H56a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64H56v-48h48zm96-64h-48a16 16 0 0 0-16 16v48a16 16 0 0 0 16 16h48a16 16 0 0 0 16-16v-48a16 16 0 0 0-16-16m0 64h-48v-48h48z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
253
253
|
.i-ph-stack{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M230.91 172a8 8 0 0 1-2.91 10.91l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 36 169.09l92 53.65l92-53.65a8 8 0 0 1 10.91 2.91M220 121.09l-92 53.65l-92-53.65a8 8 0 0 0-8 13.82l96 56a8 8 0 0 0 8.06 0l96-56a8 8 0 1 0-8.06-13.82M24 80a8 8 0 0 1 4-6.91l96-56a8 8 0 0 1 8.06 0l96 56a8 8 0 0 1 0 13.82l-96 56a8 8 0 0 1-8.06 0l-96-56A8 8 0 0 1 24 80m23.88 0L128 126.74L208.12 80L128 33.26Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
254
|
+
.i-ph-stack-simple{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m12 111l112 64a8 8 0 0 0 7.94 0l112-64a8 8 0 0 0 0-13.9l-112-64a8 8 0 0 0-7.94 0l-112 64a8 8 0 0 0 0 13.9m116-61.79L223.87 104L128 158.79L32.13 104ZM246.94 140a8 8 0 0 1-2.94 11l-112 64a8 8 0 0 1-7.94 0L12 151a8 8 0 0 1 8-13.95l108 61.74l108-61.74a8 8 0 0 1 10.94 2.95'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
254
255
|
.i-ph-star{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M239.18 97.26A16.38 16.38 0 0 0 224.92 86l-59-4.76l-22.78-55.09a16.36 16.36 0 0 0-30.27 0L90.11 81.23L31.08 86a16.46 16.46 0 0 0-9.37 28.86l45 38.83L53 211.75a16.38 16.38 0 0 0 24.5 17.82l50.5-31.08l50.53 31.08A16.4 16.4 0 0 0 203 211.75l-13.76-58.07l45-38.83a16.43 16.43 0 0 0 4.94-17.59m-15.34 5.47l-48.7 42a8 8 0 0 0-2.56 7.91l14.88 62.8a.37.37 0 0 1-.17.48c-.18.14-.23.11-.38 0l-54.72-33.65a8 8 0 0 0-8.38 0l-54.72 33.67c-.15.09-.19.12-.38 0a.37.37 0 0 1-.17-.48l14.88-62.8a8 8 0 0 0-2.56-7.91l-48.7-42c-.12-.1-.23-.19-.13-.5s.18-.27.33-.29l63.92-5.16a8 8 0 0 0 6.72-4.94l24.62-59.61c.08-.17.11-.25.35-.25s.27.08.35.25L153 91.86a8 8 0 0 0 6.75 4.92l63.92 5.16c.15 0 .24 0 .33.29s0 .4-.16.5'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
255
256
|
.i-ph-star-fill{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='m234.29 114.85l-45 38.83L203 211.75a16.4 16.4 0 0 1-24.5 17.82L128 198.49l-50.53 31.08A16.4 16.4 0 0 1 53 211.75l13.76-58.07l-45-38.83A16.46 16.46 0 0 1 31.08 86l59-4.76l22.76-55.08a16.36 16.36 0 0 1 30.27 0l22.75 55.08l59 4.76a16.46 16.46 0 0 1 9.37 28.86Z'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
256
257
|
.i-ph-stethoscope{--un-icon:url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 256 256' height='1em' width='1em' display='inline-block' vertical-align='middle' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath fill='currentColor' d='M220 160a12 12 0 1 1-12-12a12 12 0 0 1 12 12m-4.55 39.29A48.08 48.08 0 0 1 168 240h-24a48.05 48.05 0 0 1-48-48v-40.51A64 64 0 0 1 40 88V40a8 8 0 0 1 8-8h24a8 8 0 0 1 0 16H56v40a48 48 0 0 0 48.64 48c26.11-.34 47.36-22.25 47.36-48.83V48h-16a8 8 0 0 1 0-16h24a8 8 0 0 1 8 8v47.17c0 32.84-24.53 60.29-56 64.31V192a32 32 0 0 0 32 32h24a32.06 32.06 0 0 0 31.22-25a40 40 0 1 1 16.23.27ZM232 160a24 24 0 1 0-24 24a24 24 0 0 0 24-24'/%3E%3C/svg%3E");-webkit-mask:var(--un-icon) no-repeat;mask:var(--un-icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit;height:1em;width:1em;display:inline-block;vertical-align:middle;}
|
|
@@ -344,10 +345,12 @@
|
|
|
344
345
|
.fixed{position:fixed;}
|
|
345
346
|
.relative{position:relative;}
|
|
346
347
|
.sticky{position:sticky;}
|
|
348
|
+
.after\:absolute::after{position:absolute;}
|
|
347
349
|
.static{position:static;}
|
|
348
350
|
.-inset-\[2px\]{inset:-2px;}
|
|
349
351
|
.-inset-px{inset:-1px;}
|
|
350
352
|
.inset-0{inset:0;}
|
|
353
|
+
.after\:inset-0::after{inset:0;}
|
|
351
354
|
.-inset-x-1{left:-0.25rem;right:-0.25rem;}
|
|
352
355
|
.-inset-y-px{top:-1px;bottom:-1px;}
|
|
353
356
|
.inset-x-0{left:0;right:0;}
|
|
@@ -1443,6 +1446,7 @@
|
|
|
1443
1446
|
.ease-pop{transition-timing-function:var(--zg-motion-pop-ease);}
|
|
1444
1447
|
.ease-settle{transition-timing-function:var(--zg-motion-settle-ease);}
|
|
1445
1448
|
.ease-snap{transition-timing-function:var(--zg-motion-snap-ease);}
|
|
1449
|
+
.after\:content-\[\'\'\]::after{content:'';}
|
|
1446
1450
|
.opacity-zg-disabled{opacity:var(--zg-disabled-opacity);}
|
|
1447
1451
|
.disabled\:opacity-zg-disabled:disabled{opacity:var(--zg-disabled-opacity);}
|
|
1448
1452
|
.z-zg-float{z-index:var(--zg-z-float);}
|
|
@@ -6178,6 +6182,45 @@ html[data-motion='reduced'] .zg-prompt-rail-tick[data-pending]::before {
|
|
|
6178
6182
|
directory): a hairline pill on the row's own background, so each value
|
|
6179
6183
|
reads as its own unit. 20px tall so 11px `.zg-meta` text has room. Colour
|
|
6180
6184
|
comes from the markup (a meaning tint, or the inherited `.zg-meta` tone). */
|
|
6185
|
+
/* An update group's bars (`session-line.tsx`): the status icon in a fixed
|
|
6186
|
+
slot, so titles start on one edge; after the excerpt, the badges, the open
|
|
6187
|
+
button and the caret, pinned right and never shrunk. */
|
|
6188
|
+
.zg-session-lead {
|
|
6189
|
+
display: inline-flex;
|
|
6190
|
+
flex-shrink: 0;
|
|
6191
|
+
align-items: center;
|
|
6192
|
+
justify-content: center;
|
|
6193
|
+
width: 16px;
|
|
6194
|
+
}
|
|
6195
|
+
.zg-session-slot {
|
|
6196
|
+
display: inline-flex;
|
|
6197
|
+
flex-shrink: 0;
|
|
6198
|
+
}
|
|
6199
|
+
.zg-session-slot-caret {
|
|
6200
|
+
width: 16px;
|
|
6201
|
+
justify-content: center;
|
|
6202
|
+
}
|
|
6203
|
+
/* A bar measures itself: in a narrow column (a phone, a side panel) the turns
|
|
6204
|
+
and count slots go, so the title and the excerpt keep their room. */
|
|
6205
|
+
.zg-session-bar {
|
|
6206
|
+
container: zg-session-bar / inline-size;
|
|
6207
|
+
}
|
|
6208
|
+
@container zg-session-bar (max-width: 440px) {
|
|
6209
|
+
.zg-session-slot-turns,
|
|
6210
|
+
.zg-session-slot-count {
|
|
6211
|
+
display: none;
|
|
6212
|
+
}
|
|
6213
|
+
/* A few letters of it read as noise; its room stays, so the slots hold still. */
|
|
6214
|
+
.zg-session-excerpt {
|
|
6215
|
+
visibility: hidden;
|
|
6216
|
+
}
|
|
6217
|
+
}
|
|
6218
|
+
/* The rows a group holds, without the transcript's gutter icons: one step in
|
|
6219
|
+
per level, the child's status icon under its parent's title. */
|
|
6220
|
+
.zg-session-body {
|
|
6221
|
+
padding-left: 24px;
|
|
6222
|
+
}
|
|
6223
|
+
|
|
6181
6224
|
.zg-meta-chip {
|
|
6182
6225
|
display: inline-flex;
|
|
6183
6226
|
align-items: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zidane-ui",
|
|
3
|
-
"version": "9.5.
|
|
3
|
+
"version": "9.5.3",
|
|
4
4
|
"description": "Zidane design system and chat kit: tokens, surface primitives, theme engine, React components, the chat layer (sessions, transcript, composer) and ChatHost adapters.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -608,7 +608,7 @@
|
|
|
608
608
|
"react": "^19.3.0",
|
|
609
609
|
"react-dom": "^19.3.0",
|
|
610
610
|
"unocss": ">=66.0.0",
|
|
611
|
-
"zidane": "^9.5.
|
|
611
|
+
"zidane": "^9.5.3",
|
|
612
612
|
"vitest": ">=3"
|
|
613
613
|
},
|
|
614
614
|
"peerDependenciesMeta": {
|
|
@@ -310,6 +310,45 @@ html[data-motion='reduced'] .zg-prompt-rail-tick[data-pending]::before {
|
|
|
310
310
|
directory): a hairline pill on the row's own background, so each value
|
|
311
311
|
reads as its own unit. 20px tall so 11px `.zg-meta` text has room. Colour
|
|
312
312
|
comes from the markup (a meaning tint, or the inherited `.zg-meta` tone). */
|
|
313
|
+
/* An update group's bars (`session-line.tsx`): the status icon in a fixed
|
|
314
|
+
slot, so titles start on one edge; after the excerpt, the badges, the open
|
|
315
|
+
button and the caret, pinned right and never shrunk. */
|
|
316
|
+
.zg-session-lead {
|
|
317
|
+
display: inline-flex;
|
|
318
|
+
flex-shrink: 0;
|
|
319
|
+
align-items: center;
|
|
320
|
+
justify-content: center;
|
|
321
|
+
width: 16px;
|
|
322
|
+
}
|
|
323
|
+
.zg-session-slot {
|
|
324
|
+
display: inline-flex;
|
|
325
|
+
flex-shrink: 0;
|
|
326
|
+
}
|
|
327
|
+
.zg-session-slot-caret {
|
|
328
|
+
width: 16px;
|
|
329
|
+
justify-content: center;
|
|
330
|
+
}
|
|
331
|
+
/* A bar measures itself: in a narrow column (a phone, a side panel) the turns
|
|
332
|
+
and count slots go, so the title and the excerpt keep their room. */
|
|
333
|
+
.zg-session-bar {
|
|
334
|
+
container: zg-session-bar / inline-size;
|
|
335
|
+
}
|
|
336
|
+
@container zg-session-bar (max-width: 440px) {
|
|
337
|
+
.zg-session-slot-turns,
|
|
338
|
+
.zg-session-slot-count {
|
|
339
|
+
display: none;
|
|
340
|
+
}
|
|
341
|
+
/* A few letters of it read as noise; its room stays, so the slots hold still. */
|
|
342
|
+
.zg-session-excerpt {
|
|
343
|
+
visibility: hidden;
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
/* The rows a group holds, without the transcript's gutter icons: one step in
|
|
347
|
+
per level, the child's status icon under its parent's title. */
|
|
348
|
+
.zg-session-body {
|
|
349
|
+
padding-left: 24px;
|
|
350
|
+
}
|
|
351
|
+
|
|
313
352
|
.zg-meta-chip {
|
|
314
353
|
display: inline-flex;
|
|
315
354
|
align-items: center;
|