@crewlethq/ui 0.112.0 → 0.113.0

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.
Files changed (36) hide show
  1. package/README.md +1 -1
  2. package/dist/ActivityLine/ActivityLine.d.ts +16 -22
  3. package/dist/ActivityLine/index.js +4 -2
  4. package/dist/ActivityLine-TIMSOQGU.css +32 -0
  5. package/dist/ArtifactCard/index.js +3 -3
  6. package/dist/AvatarPicker/index.js +3 -3
  7. package/dist/CharacterPicker/index.js +2 -2
  8. package/dist/CommentThread/index.js +1 -1
  9. package/dist/OrgTable/index.js +2 -2
  10. package/dist/RichEditor/index.js +1 -1
  11. package/dist/ShareDialog/index.js +2 -2
  12. package/dist/SheetGrid/index.js +3 -3
  13. package/dist/TableCells/index.js +1 -1
  14. package/dist/ThreadSummary/ThreadSummary.d.ts +1 -1
  15. package/dist/ThreadSummary/index.js +1 -1
  16. package/dist/WorkingLine/BouncingDots.d.ts +8 -0
  17. package/dist/WorkingLine/WorkingLine.d.ts +97 -0
  18. package/dist/WorkingLine/index.d.ts +5 -0
  19. package/dist/WorkingLine/index.js +5 -0
  20. package/dist/WorkingLine-NUFSSAOL.css +332 -0
  21. package/dist/{chunk-ECGYBWRI.js → chunk-32QH3CAO.js} +1 -1
  22. package/dist/{chunk-45VQPH27.js → chunk-6S2Q4DGN.js} +1 -1
  23. package/dist/chunk-RNIPNSCH.js +158 -0
  24. package/dist/chunk-ZLCPU4HW.js +17 -0
  25. package/dist/generated/index.d.ts +1 -0
  26. package/dist/generated/index.js +38 -37
  27. package/dist/index.js +38 -37
  28. package/dist/styles.css +343 -50
  29. package/package.json +3 -3
  30. package/dist/ActivityLine-AMSERTOB.css +0 -74
  31. package/dist/chunk-5YFQMMTJ.js +0 -29
  32. package/dist/{Editor-YITN2DWX.js → Editor-XT73VTSJ.js} +1 -1
  33. package/dist/{chunk-AQMB6ONN.js → chunk-2NUQBD3O.js} +1 -1
  34. package/dist/{chunk-LNQSNXGJ.js → chunk-S4JRQJEP.js} +1 -1
  35. package/dist/{chunk-ENYB3HIA.js → chunk-TEOJ7OKD.js} +1 -1
  36. /package/dist/{chunk-2DYEPDT7.js → chunk-XDBCWSM5.js} +0 -0
package/README.md CHANGED
@@ -47,7 +47,7 @@ import { Button } from '@crewlethq/ui/Button'; // 8 KB of CSS, not 182 KB
47
47
  | List screens | `DataView`, and its parts on their own: `DataViewToolbar`, `FilterAxisBar`, `FilterAxisChip`, `FilterPill`, plus the filter model (`filterDefsFromColumns`, `applyColumnFilters`, `filterPredicate`, `blankFilterValue`) |
48
48
  | Feedback and overlays | `Callout`, `AttentionList` (what needs a person, as rows in one card), `ConflictNote`, `EditingStatus`, `Toaster`, `Modal` (with `variant="sheet"`), `ConfirmModal`, `CommandPalette`, `Tooltip`, `Popover`, `Announcer` |
49
49
  | Documents and review | `DiffView` and `DiffSummary` with the line diff they draw (`diffLines`, `diffStat`, `collapseDiff`, `firstChangedLines`, `splitLines`, `MAX_DIFF_LINES`, with no React in it), `DiffList`, `VersionCompare`, `CommentThread` |
50
- | Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
50
+ | Conversations and the assistant | `ChatThread` (with `ChatThreadHandle`), `ChatMessage` and `ChatMessageFailure`, `MessageActions` (with `MessageAction`, `QuickReaction` and `ActionDivider`), `ReactionBar` and `AddReaction` (with `reactionWho`), `EmojiPicker` (with `EMOJI_GROUPS`, `emojiName` and `searchEmoji`), `ThreadSummary`, `ActivityLine`, `WorkingLine` (every agent at work on one line, with `workingSentence`, `workingAnnouncement` and `BouncingDots`), `MentionChip`, `MessageBubble`, `RunChip`, `StepList` and `StepStateMark`, `ProposalCard`, `ChangeList` (with `shortenUnchanged`), `StatusCard`, `ReceiptStrip`, `RefusalStrip`, `ResultTableCard`, `OpenInAppCard`, `BriefCard` (with `points`, what was said, each citing its message), `EntityList`, `RecordChip` and `RecordChipList` (a record named in a sentence, opening a peek, and the Also read line), `RefusalCard`, `SuggestionRow` and `SuggestionList`, `SendButton`, a transcript's timeline (`ChatDay` with `ChatDayPill`, `ChatDivider`), `LinkCard` (a link unfurled under its message), `MentionMenu` (with `mentionQuery`), `ActionCard` and `ActionCardRow` |
51
51
  | Charts | `Legend`, `BarList`, `StackedBar`, `StackedColumns`, `ActivityStrip`, `TimeSeries`, `Sparkline`, the reading layer they share (`ChartTooltip`, `useChartHover`), and the ramp (`DATA_COLORS`, `DATA_COLOR_OTHER`, `dataColor`) |
52
52
  | Marks | `Count` (with `tone="attention"`), `StatusDot`, `Spinner`, `EmptyValue`, `VisuallyHidden` |
53
53
  | Hooks and seams | `useModalLayer`, `usePopupLayer`, `LayerHost`, `useListbox`, `useOptionKeys`, `useHighlightRest` and `HIGHLIGHT_REST_MS`, `useClipboard`, `useDownload`, `downloadText`, `downloadBlob`, `safeFilename`, `toCsv`, `elementToPng` and `ElementToPngError`, `useOutcome`, `useAnnouncer`, `useNow`, `formatRelative`, `HeadingLevelProvider`, `cx`, the node hues (`NODE_HUES`, `NODE_HUE_NAMES`, `isNodeHue`) |
@@ -1,34 +1,28 @@
1
1
  import type { HTMLAttributes } from 'react';
2
+ import { type WorkingAgent, type WorkingLineLabels } from '../WorkingLine/index.js';
2
3
  export interface ActivityLineProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
3
4
  /** Who is typing, in words: "Product Manager is typing". Empty or left out, nothing is drawn for it. */
4
5
  typing?: string | undefined;
5
6
  /**
6
- * The agent at work, in words, beside the Ask Crewlet mark under its
7
- * shimmer: "Senior Backend Engineer is writing a reply · Reading the diff".
8
- * It may change with every step.
7
+ * The agents at work, drawn as one `WorkingLine`: their faces, one sentence
8
+ * naming them and, on demand, a line per agent. Empty or left out, nothing
9
+ * is drawn for them.
9
10
  */
10
- working?: string | undefined;
11
- /**
12
- * What a screen reader is told once when the agent starts, which never
13
- * changes with its steps: "Senior Backend Engineer is writing a reply".
14
- * `working` by default.
15
- */
16
- workingLabel?: string | undefined;
17
- /**
18
- * The agent has not started on it yet: the request waits behind something
19
- * it is already doing, and `working` says so ("Product Manager is queued
20
- * behind its current task"). Drawn as a queued `ThinkingIndicator`, still,
21
- * until the work starts.
22
- */
23
- queued?: boolean | undefined;
11
+ agents?: readonly WorkingAgent[] | undefined;
12
+ /** The working line's words, for a surface in another language. */
13
+ workingLabels?: Partial<WorkingLineLabels> | undefined;
24
14
  }
25
15
  /**
26
- * Who is typing and which agent is working, in one quiet line under a
16
+ * Who is typing and which agents are working, in one quiet line under a
27
17
  * composer. It keeps one line's height when it is empty, so the box above it
28
18
  * never moves as people start and stop.
29
19
  *
30
- * TYPING is announced politely as it changes. WORKING is a
31
- * `ThinkingIndicator`, which announces its label once and keeps its changing
32
- * steps to the eye.
20
+ * KEPT APART. People typing are words and dots, with no face; agents at work
21
+ * are faces, names under a sweeping band and dots. Both at once stand side by
22
+ * side, and wrap to two lines where the column is too narrow for both.
23
+ *
24
+ * EACH ANNOUNCED ONCE PER CHANGE. Typing is a polite status as it changes;
25
+ * the working line's own region names who starts and stops, never a phrase.
26
+ * Both regions stay mounted while empty, so the first change is heard.
33
27
  */
34
- export declare function ActivityLine({ typing, working, workingLabel, queued, className, ...rest }: ActivityLineProps): import("react").JSX.Element;
28
+ export declare function ActivityLine({ typing, agents, workingLabels, className, ...rest }: ActivityLineProps): import("react").JSX.Element;
@@ -1,4 +1,6 @@
1
- export { ActivityLine } from '../chunk-5YFQMMTJ.js';
2
- import '../chunk-DX7ZHO47.js';
1
+ export { ActivityLine } from '../chunk-ZLCPU4HW.js';
2
+ import '../chunk-RNIPNSCH.js';
3
+ import '../chunk-5SMYKL3D.js';
4
+ import '../chunk-XZY6S3UC.js';
3
5
  import '../chunk-RRRK2KB6.js';
4
6
  import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,32 @@
1
+ /*
2
+ * Who is typing and which agents are working, under a composer, in the meta
3
+ * step and the tertiary ink.
4
+ */
5
+
6
+ .crewlet-activity-line {
7
+ display: flex;
8
+ flex-wrap: wrap;
9
+ align-items: center;
10
+ gap: var(--spacing-1) var(--spacing-4);
11
+ min-height: 20px;
12
+ min-width: 0;
13
+ color: var(--color-text-tertiary);
14
+ font-size: var(--crewlet-chat-meta);
15
+ }
16
+
17
+ /* No piece is wider than the line: a long working line truncates. */
18
+ .crewlet-activity-line > * {
19
+ max-width: 100%;
20
+ }
21
+
22
+ .crewlet-activity-line__typing {
23
+ display: inline-flex;
24
+ align-items: center;
25
+ gap: var(--spacing-1);
26
+ }
27
+
28
+ /* Nobody typing: the live region stays mounted but out of the flow, so it
29
+ never wraps onto a line of its own beside a long working line. */
30
+ .crewlet-activity-line__typing:empty {
31
+ position: absolute;
32
+ }
@@ -1,4 +1,4 @@
1
- export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-ENYB3HIA.js';
1
+ export { ArtifactCard, ArtifactCardSkeleton, ArtifactPreviewGlyph } from '../chunk-TEOJ7OKD.js';
2
2
  import '../chunk-BMTNY3FK.js';
3
3
  import '../chunk-HF5L56YQ.js';
4
4
  import '../chunk-GBKBME7Q.js';
@@ -7,12 +7,12 @@ import '../chunk-3C3TSWRR.js';
7
7
  import '../chunk-AV2DXAEL.js';
8
8
  import '../chunk-XLMURU75.js';
9
9
  import '../chunk-WSIJDWUG.js';
10
- import '../chunk-5SMYKL3D.js';
11
- import '../chunk-XZY6S3UC.js';
12
10
  import '../chunk-W3A6NBUM.js';
13
11
  import '../chunk-DTEDUAEW.js';
14
12
  import '../chunk-DOY3KC6I.js';
15
13
  export { ARTIFACT_KINDS, ArtifactKindGlyph } from '../chunk-RSKW25Y5.js';
14
+ import '../chunk-5SMYKL3D.js';
15
+ import '../chunk-XZY6S3UC.js';
16
16
  import '../chunk-TE3OMB3Z.js';
17
17
  import '../chunk-NICEDVZM.js';
18
18
  import '../chunk-JLKO7PSK.js';
@@ -1,14 +1,14 @@
1
- export { AvatarPicker } from '../chunk-ECGYBWRI.js';
1
+ export { AvatarPicker } from '../chunk-32QH3CAO.js';
2
2
  import '../chunk-QVNEQSOL.js';
3
3
  import '../chunk-KDRJZWE3.js';
4
- import '../chunk-LNQSNXGJ.js';
4
+ import '../chunk-S4JRQJEP.js';
5
5
  import '../chunk-AYKXMIOR.js';
6
- import '../chunk-XZY6S3UC.js';
7
6
  import '../chunk-YD5UCBFV.js';
8
7
  import '../chunk-STJPIP3R.js';
9
8
  import '../chunk-EGMQURBR.js';
10
9
  import '../chunk-QRE6JCHS.js';
11
10
  import '../chunk-QHUKJN33.js';
11
+ import '../chunk-XZY6S3UC.js';
12
12
  import '../chunk-NPPPQSRU.js';
13
13
  import '../chunk-XSPCITPN.js';
14
14
  import '../chunk-2YTOOH3A.js';
@@ -1,5 +1,5 @@
1
1
  import '../chunk-3L5NHASN.js';
2
- export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-LNQSNXGJ.js';
3
- import '../chunk-XZY6S3UC.js';
2
+ export { CHARACTER_PICKER_COLUMNS, CharacterPicker } from '../chunk-S4JRQJEP.js';
4
3
  import '../chunk-EGMQURBR.js';
4
+ import '../chunk-XZY6S3UC.js';
5
5
  import '../chunk-ODEQTPFM.js';
@@ -2,9 +2,9 @@ export { COMMENT_THREAD_LABELS, CommentThread } from '../chunk-ZGJCVXFU.js';
2
2
  import '../chunk-HF5L56YQ.js';
3
3
  import '../chunk-GBKBME7Q.js';
4
4
  import '../chunk-WGLOH33S.js';
5
+ import '../chunk-I4PBFJGX.js';
5
6
  import '../chunk-5SMYKL3D.js';
6
7
  import '../chunk-XZY6S3UC.js';
7
- import '../chunk-I4PBFJGX.js';
8
8
  import '../chunk-KVNVLBCB.js';
9
9
  import '../chunk-TE3OMB3Z.js';
10
10
  import '../chunk-NICEDVZM.js';
@@ -6,13 +6,13 @@ import '../chunk-Y3FLNQEE.js';
6
6
  import '../chunk-X4HBZSXA.js';
7
7
  import '../chunk-BMTNY3FK.js';
8
8
  import '../chunk-WSIJDWUG.js';
9
- import '../chunk-5SMYKL3D.js';
10
- import '../chunk-XZY6S3UC.js';
11
9
  import '../chunk-JMBPMSNI.js';
12
10
  import '../chunk-DTEDUAEW.js';
13
11
  import '../chunk-SK4BIFTG.js';
14
12
  import '../chunk-COS6LJ4K.js';
15
13
  import '../chunk-PPUR46MK.js';
14
+ import '../chunk-5SMYKL3D.js';
15
+ import '../chunk-XZY6S3UC.js';
16
16
  import '../chunk-5W3EYO5Q.js';
17
17
  import '../chunk-TE3OMB3Z.js';
18
18
  import '../chunk-NICEDVZM.js';
@@ -1,4 +1,4 @@
1
- export { RichEditor, preloadRichEditor } from '../chunk-45VQPH27.js';
1
+ export { RichEditor, preloadRichEditor } from '../chunk-6S2Q4DGN.js';
2
2
  export { RICH_EDITOR_LABELS, richEditorLabels } from '../chunk-2DMTW2Y3.js';
3
3
  import '../chunk-KOJPDCGQ.js';
4
4
  import '../chunk-KBZO4B33.js';
@@ -7,10 +7,10 @@ import '../chunk-STJ7QBC3.js';
7
7
  import '../chunk-DTIW4CHZ.js';
8
8
  import '../chunk-BPCY7ZID.js';
9
9
  import '../chunk-HF5L56YQ.js';
10
- import '../chunk-5SMYKL3D.js';
11
- import '../chunk-XZY6S3UC.js';
12
10
  import '../chunk-SK4BIFTG.js';
13
11
  import '../chunk-COS6LJ4K.js';
12
+ import '../chunk-5SMYKL3D.js';
13
+ import '../chunk-XZY6S3UC.js';
14
14
  import '../chunk-JLKO7PSK.js';
15
15
  import '../chunk-NPPPQSRU.js';
16
16
  import '../chunk-XSPCITPN.js';
@@ -1,4 +1,4 @@
1
- export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-AQMB6ONN.js';
1
+ export { CellDisplay, CellEditor, CheckboxCell, DateCell, LongTextCell, MultiSelectCell, NumberCell, PersonCell, RatingCell, SelectCell, SheetCell, SheetGrid, StatusCell, TextCell, UrlCell } from '../chunk-2NUQBD3O.js';
2
2
  import '../chunk-FOUIZS7Q.js';
3
3
  import '../chunk-CENOOTAV.js';
4
4
  import '../chunk-MMCYH5LB.js';
@@ -9,10 +9,10 @@ import '../chunk-Z7JYG5TF.js';
9
9
  import '../chunk-SJ3EUCFD.js';
10
10
  import '../chunk-KDRJZWE3.js';
11
11
  import '../chunk-AYKXMIOR.js';
12
- import '../chunk-5SMYKL3D.js';
13
- import '../chunk-XZY6S3UC.js';
14
12
  import '../chunk-QRE6JCHS.js';
15
13
  import '../chunk-QHUKJN33.js';
14
+ import '../chunk-5SMYKL3D.js';
15
+ import '../chunk-XZY6S3UC.js';
16
16
  import '../chunk-NPPPQSRU.js';
17
17
  import '../chunk-XSPCITPN.js';
18
18
  import '../chunk-BF2BXM6V.js';
@@ -5,8 +5,8 @@ import '../chunk-GBKBME7Q.js';
5
5
  import '../chunk-WGLOH33S.js';
6
6
  import '../chunk-XLMURU75.js';
7
7
  import '../chunk-WSIJDWUG.js';
8
+ import '../chunk-QRE6JCHS.js';
8
9
  import '../chunk-5SMYKL3D.js';
9
10
  import '../chunk-XZY6S3UC.js';
10
- import '../chunk-QRE6JCHS.js';
11
11
  import '../chunk-RRRK2KB6.js';
12
12
  import '../chunk-ODEQTPFM.js';
@@ -24,7 +24,7 @@ export interface ThreadSummaryProps {
24
24
  last: string;
25
25
  /** Replies the reader has not read; none by default. */
26
26
  unread?: number | undefined;
27
- /** Under the line: an agent writing a reply in the thread, as a `ThinkingIndicator`. */
27
+ /** Under the line: the agents writing replies in the thread, as a `WorkingLine`. */
28
28
  working?: ReactNode;
29
29
  /** The thread is open beside the room (`aria-expanded`). */
30
30
  open?: boolean | undefined;
@@ -1,6 +1,6 @@
1
1
  export { THREAD_SUMMARY_FACE, THREAD_SUMMARY_LABELS, ThreadSummary } from '../chunk-ZUFV7753.js';
2
2
  import '../chunk-SJ3EUCFD.js';
3
+ import '../chunk-QRE6JCHS.js';
3
4
  import '../chunk-5SMYKL3D.js';
4
5
  import '../chunk-XZY6S3UC.js';
5
- import '../chunk-QRE6JCHS.js';
6
6
  import '../chunk-ODEQTPFM.js';
@@ -0,0 +1,8 @@
1
+ /**
2
+ * Three small dots bouncing in turn, in the ink around them: somebody typing,
3
+ * or agents at work. Decoration only; the words beside them say what is
4
+ * happening. Still under reduced motion.
5
+ */
6
+ export declare function BouncingDots({ className }: {
7
+ className?: string | undefined;
8
+ }): import("react").JSX.Element;
@@ -0,0 +1,97 @@
1
+ import { type HTMLAttributes } from 'react';
2
+ import { type AvatarStackMember } from '../Avatar/index.js';
3
+ /** One agent on the line: its face, as a stack draws it, and what it is doing. */
4
+ export interface WorkingAgent extends AvatarStackMember {
5
+ /**
6
+ * The words after its name: "is thinking", "is mulling it over...". A
7
+ * trailing ellipsis is dropped, because the line draws its own dots. Left
8
+ * out, a working agent "is working" and a queued one "is queued".
9
+ */
10
+ status?: string | undefined;
11
+ /** It has not started: the request waits behind something it is already doing. */
12
+ queued?: boolean | undefined;
13
+ }
14
+ /** Every word the line prints or announces, for a surface in another language. */
15
+ export interface WorkingLineLabels {
16
+ /** After two or more names at work. */
17
+ working: string;
18
+ /** After two or more names, all queued. */
19
+ queued: string;
20
+ /** After one name at work with no status of its own. */
21
+ workingOne: string;
22
+ /** After one queued name with no status of its own. */
23
+ queuedOne: string;
24
+ /** The names past the first two, after them: "and 4 others". */
25
+ others: (count: number) => string;
26
+ /** The first two of three or more names, before `others`: "A, B". */
27
+ series: (names: readonly string[]) => string;
28
+ /** Queued agents beside the ones at work: "1 queued". */
29
+ queuedCount: (count: number) => string;
30
+ /** Names a list: "A, B and C". */
31
+ list: (names: readonly string[]) => string;
32
+ /** The toggle that opens one line per agent. */
33
+ detail: string;
34
+ }
35
+ export declare const WORKING_LINE_LABELS: WorkingLineLabels;
36
+ export interface WorkingLineProps extends Omit<HTMLAttributes<HTMLDivElement>, 'children'> {
37
+ /** Every agent at work on the request, in the order they started. Empty, the line draws nothing and keeps its live region. */
38
+ agents: readonly WorkingAgent[];
39
+ /** How many faces are drawn before the rest are counted in a chip. Three by default. */
40
+ max?: number | undefined;
41
+ /**
42
+ * Say who is at work through the line's own polite region. On by default;
43
+ * off where another line on screen already announces the same agents.
44
+ */
45
+ announce?: boolean | undefined;
46
+ /** The per-agent lines start open (a story, a screenshot). */
47
+ defaultExpanded?: boolean | undefined;
48
+ labels?: Partial<WorkingLineLabels> | undefined;
49
+ }
50
+ /** The pieces of the line as it is drawn: whose names, the words after them, and how many wait. */
51
+ export interface WorkingSentence {
52
+ /** The names printed: "Backend Engineer", "Backend Engineer and App Engineer", or "Backend Engineer, App Engineer" before `others`. */
53
+ names: string;
54
+ /** "and 4 others" after three or more names; empty otherwise. Drawn whole where the names truncate. */
55
+ others: string;
56
+ /** "is thinking", "are working", "are queued". */
57
+ verb: string;
58
+ /** "1 queued", beside agents at work; empty otherwise. */
59
+ queued: string;
60
+ /** Whether `names` prints every agent on the line. */
61
+ everyone: boolean;
62
+ /** Nothing on the line has started. */
63
+ waiting: boolean;
64
+ }
65
+ /**
66
+ * The line in words. The agents at work lead; queued ones are counted after
67
+ * them, and lead only when none has started. One leading agent keeps its own
68
+ * phrase, so its variety shows; two or more share one verb.
69
+ */
70
+ export declare function workingSentence(agents: readonly WorkingAgent[], overrides?: Partial<WorkingLineLabels>): WorkingSentence;
71
+ /**
72
+ * What the line's region says: every name, at work and queued, and never a
73
+ * phrase, so a reader hears who starts and stops rather than every step.
74
+ */
75
+ export declare function workingAnnouncement(agents: readonly WorkingAgent[], overrides?: Partial<WorkingLineLabels>): string;
76
+ /**
77
+ * Every agent at work on a request, on one line: their faces in a small
78
+ * stack, each in its own character's colour, then one sentence. "Backend
79
+ * Engineer is thinking", "Backend Engineer and App Engineer are working",
80
+ * "Backend Engineer, App Engineer and 4 others are working".
81
+ *
82
+ * ALIVE WHILE IT WORKS. A lighter band sweeps across the names and rests, a
83
+ * single agent's phrase fades in as it changes, and three dots bounce after
84
+ * the verb. Queued agents are counted, still; a line of nothing but queued
85
+ * agents does not move at all. Under reduced motion every part holds still
86
+ * and the words carry the meaning.
87
+ *
88
+ * DETAIL ON DEMAND. With more than one agent, a chevron at the line's end
89
+ * (its target the whole line) opens one compact line per agent, its face,
90
+ * name and own phrase, queued agents included.
91
+ *
92
+ * ONE ANNOUNCEMENT. A polite region names who is at work and who waits, and
93
+ * changes only when that does: a phrase changing is never read out. The
94
+ * region stays mounted while the line is empty, so the first agent to start
95
+ * is heard. Where the names are counted, the stack names every face.
96
+ */
97
+ export declare function WorkingLine({ agents, max, announce, defaultExpanded, labels: overrides, className, ...rest }: WorkingLineProps): import("react").JSX.Element;
@@ -0,0 +1,5 @@
1
+ import '../ChatMessage/ChatScale.css';
2
+ import './WorkingLine.css';
3
+ export { WorkingLine, WORKING_LINE_LABELS, workingAnnouncement, workingSentence } from './WorkingLine.js';
4
+ export type { WorkingAgent, WorkingLineLabels, WorkingLineProps, WorkingSentence } from './WorkingLine.js';
5
+ export { BouncingDots } from './BouncingDots.js';
@@ -0,0 +1,5 @@
1
+ export { BouncingDots, WORKING_LINE_LABELS, WorkingLine, workingAnnouncement, workingSentence } from '../chunk-RNIPNSCH.js';
2
+ import '../chunk-5SMYKL3D.js';
3
+ import '../chunk-XZY6S3UC.js';
4
+ import '../chunk-RRRK2KB6.js';
5
+ import '../chunk-ODEQTPFM.js';