@aparte/core 0.15.0 → 0.16.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 (138) hide show
  1. package/dist/client/aparte-client.d.ts +53 -51
  2. package/dist/client/aparte-client.d.ts.map +1 -1
  3. package/dist/client/lifecycle-events.d.ts +0 -12
  4. package/dist/client/lifecycle-events.d.ts.map +1 -1
  5. package/dist/client/stream-adapter.d.ts +2 -12
  6. package/dist/client/stream-adapter.d.ts.map +1 -1
  7. package/dist/components/bubble/aparte-chat-bubble.d.ts +45 -1
  8. package/dist/components/bubble/aparte-chat-bubble.d.ts.map +1 -1
  9. package/dist/components/composer/aparte-composer-attachments.d.ts +0 -1
  10. package/dist/components/composer/aparte-composer-attachments.d.ts.map +1 -1
  11. package/dist/components/composer/aparte-composer-send.d.ts +11 -11
  12. package/dist/components/composer/aparte-composer-send.d.ts.map +1 -1
  13. package/dist/components/composer/aparte-composer.d.ts +20 -11
  14. package/dist/components/composer/aparte-composer.d.ts.map +1 -1
  15. package/dist/components/context/aparte-context.d.ts +31 -8
  16. package/dist/components/context/aparte-context.d.ts.map +1 -1
  17. package/dist/components/conversation-list/aparte-conversation-list.d.ts +93 -36
  18. package/dist/components/conversation-list/aparte-conversation-list.d.ts.map +1 -1
  19. package/dist/components/conversation-list/index.d.ts +1 -1
  20. package/dist/components/conversation-list/index.d.ts.map +1 -1
  21. package/dist/components/elicitation/aparte-elicitation.d.ts +19 -1
  22. package/dist/components/elicitation/aparte-elicitation.d.ts.map +1 -1
  23. package/dist/components/index.d.ts +7 -1
  24. package/dist/components/index.d.ts.map +1 -1
  25. package/dist/components/scroll-rail/aparte-scroll-rail.d.ts +105 -0
  26. package/dist/components/scroll-rail/aparte-scroll-rail.d.ts.map +1 -0
  27. package/dist/components/scroll-rail/index.d.ts +3 -0
  28. package/dist/components/scroll-rail/index.d.ts.map +1 -0
  29. package/dist/components/sidebar/aparte-sidebar.d.ts +186 -0
  30. package/dist/components/sidebar/aparte-sidebar.d.ts.map +1 -0
  31. package/dist/components/sidebar/index.d.ts +3 -0
  32. package/dist/components/sidebar/index.d.ts.map +1 -0
  33. package/dist/components/split/aparte-split.d.ts +354 -0
  34. package/dist/components/split/aparte-split.d.ts.map +1 -0
  35. package/dist/components/split/geometry.d.ts +65 -0
  36. package/dist/components/split/geometry.d.ts.map +1 -0
  37. package/dist/components/split/index.d.ts +3 -0
  38. package/dist/components/split/index.d.ts.map +1 -0
  39. package/dist/components/suggestions/aparte-suggestions.d.ts +7 -1
  40. package/dist/components/suggestions/aparte-suggestions.d.ts.map +1 -1
  41. package/dist/components/viewport/aparte-chat-viewport.d.ts +52 -2
  42. package/dist/components/viewport/aparte-chat-viewport.d.ts.map +1 -1
  43. package/dist/config/aparte-config.d.ts +95 -33
  44. package/dist/config/aparte-config.d.ts.map +1 -1
  45. package/dist/config/icon-provider.d.ts +6 -0
  46. package/dist/config/icon-provider.d.ts.map +1 -1
  47. package/dist/config/index.d.ts +2 -2
  48. package/dist/config/index.d.ts.map +1 -1
  49. package/dist/config/locale.d.ts +140 -27
  50. package/dist/config/locale.d.ts.map +1 -1
  51. package/dist/config/sanitize.d.ts +9 -0
  52. package/dist/config/sanitize.d.ts.map +1 -1
  53. package/dist/conversations/conversation-controller.d.ts +13 -1
  54. package/dist/conversations/conversation-controller.d.ts.map +1 -1
  55. package/dist/conversations/conversation-manager.d.ts +9 -0
  56. package/dist/conversations/conversation-manager.d.ts.map +1 -1
  57. package/dist/custom-elements.json +9838 -7333
  58. package/dist/{is-awaiting-reply-BZ_iJ3s3.js → dialog-triggers-CVCxqKg3.js} +718 -1182
  59. package/dist/dialog-triggers-CVCxqKg3.js.map +1 -0
  60. package/dist/elicitation/approval-panel.d.ts +1 -1
  61. package/dist/elicitation/approval-panel.d.ts.map +1 -1
  62. package/dist/elicitation/panel.d.ts +24 -16
  63. package/dist/elicitation/panel.d.ts.map +1 -1
  64. package/dist/elicitation/types.d.ts +31 -0
  65. package/dist/elicitation/types.d.ts.map +1 -1
  66. package/dist/generated/element-attributes.d.ts +47 -1
  67. package/dist/generated/element-attributes.d.ts.map +1 -1
  68. package/dist/{glyphs-B3BZ2TIb.js → glyphs-DQTeOj4w.js} +22 -13
  69. package/dist/{glyphs-B3BZ2TIb.js.map → glyphs-DQTeOj4w.js.map} +1 -1
  70. package/dist/host/aparte-chat-host.d.ts +10 -2
  71. package/dist/host/aparte-chat-host.d.ts.map +1 -1
  72. package/dist/icons/extended.d.ts +4 -2
  73. package/dist/icons/extended.d.ts.map +1 -1
  74. package/dist/icons/glyphs.d.ts +9 -0
  75. package/dist/icons/glyphs.d.ts.map +1 -1
  76. package/dist/icons.js +16 -15
  77. package/dist/icons.js.map +1 -1
  78. package/dist/index.css +1217 -396
  79. package/dist/index.d.ts +26 -15
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +2097 -295
  82. package/dist/index.js.map +1 -1
  83. package/dist/index.node.d.ts +21 -5
  84. package/dist/index.node.d.ts.map +1 -1
  85. package/dist/index.node.js +39 -34
  86. package/dist/index.node.js.map +1 -1
  87. package/dist/interop/dialog-triggers.d.ts +27 -0
  88. package/dist/interop/dialog-triggers.d.ts.map +1 -0
  89. package/dist/interop/element-props.d.ts +16 -8
  90. package/dist/interop/element-props.d.ts.map +1 -1
  91. package/dist/parsers/aparte-stream-parser.d.ts +52 -22
  92. package/dist/parsers/aparte-stream-parser.d.ts.map +1 -1
  93. package/dist/parsers/index.d.ts +1 -1
  94. package/dist/parsers/index.d.ts.map +1 -1
  95. package/dist/primitives/select/aparte-select.d.ts.map +1 -1
  96. package/dist/renderers/segment-renderers.d.ts.map +1 -1
  97. package/dist/renderers/segments/code.d.ts.map +1 -1
  98. package/dist/renderers/segments/tool-call.d.ts.map +1 -1
  99. package/dist/runtime/message-repository.d.ts.map +1 -1
  100. package/dist/transport/backend-handler.d.ts.map +1 -1
  101. package/dist/transport/backend-transport.d.ts +6 -1
  102. package/dist/transport/backend-transport.d.ts.map +1 -1
  103. package/dist/types/chat.d.ts +8 -14
  104. package/dist/types/chat.d.ts.map +1 -1
  105. package/dist/types/element-map.d.ts +54 -4
  106. package/dist/types/element-map.d.ts.map +1 -1
  107. package/dist/types/event-map.d.ts +16 -10
  108. package/dist/types/event-map.d.ts.map +1 -1
  109. package/dist/types/events.d.ts +59 -117
  110. package/dist/types/events.d.ts.map +1 -1
  111. package/dist/types/imperative-api.d.ts +3 -1
  112. package/dist/types/imperative-api.d.ts.map +1 -1
  113. package/dist/types/index.d.ts +5 -4
  114. package/dist/types/index.d.ts.map +1 -1
  115. package/dist/types/models.d.ts +11 -31
  116. package/dist/types/models.d.ts.map +1 -1
  117. package/dist/types/segments.d.ts +11 -47
  118. package/dist/types/segments.d.ts.map +1 -1
  119. package/dist/types/stream-blocks.d.ts +57 -0
  120. package/dist/types/stream-blocks.d.ts.map +1 -0
  121. package/dist/types/tools.d.ts +57 -0
  122. package/dist/types/tools.d.ts.map +1 -1
  123. package/dist/utils/copy-text.d.ts +24 -0
  124. package/dist/utils/copy-text.d.ts.map +1 -0
  125. package/dist/utils/css-escape.d.ts +5 -0
  126. package/dist/utils/css-escape.d.ts.map +1 -1
  127. package/dist/utils/tool-input.d.ts +20 -0
  128. package/dist/utils/tool-input.d.ts.map +1 -0
  129. package/package.json +10 -3
  130. package/dist/is-awaiting-reply-BZ_iJ3s3.js.map +0 -1
  131. package/dist/renderers/segments/artifact/binary-file.d.ts +0 -45
  132. package/dist/renderers/segments/artifact/binary-file.d.ts.map +0 -1
  133. package/dist/renderers/segments/artifact/card.d.ts +0 -3
  134. package/dist/renderers/segments/artifact/card.d.ts.map +0 -1
  135. package/dist/renderers/segments/artifact/preview-document.d.ts +0 -27
  136. package/dist/renderers/segments/artifact/preview-document.d.ts.map +0 -1
  137. package/dist/renderers/segments/artifact/shared.d.ts +0 -29
  138. package/dist/renderers/segments/artifact/shared.d.ts.map +0 -1
@@ -38,5 +38,5 @@ export interface BuiltApprovalPanel {
38
38
  /** Re-apply every string taken from the locale, in place. */
39
39
  relabel(): void;
40
40
  }
41
- export declare function buildApprovalPanel(message: string | (() => string), options: readonly AparteApprovalOption[], onChange: () => void): BuiltApprovalPanel;
41
+ export declare function buildApprovalPanel(message: string | (() => string), options: readonly AparteApprovalOption[], onChange: () => void, details?: string): BuiltApprovalPanel;
42
42
  //# sourceMappingURL=approval-panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"approval-panel.d.ts","sourceRoot":"","sources":["../../src/elicitation/approval-panel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAG7E,iFAAiF;AACjF,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC;IACzB,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,GAAG,IAAI,CAAC;IAC3D,oEAAoE;IACpE,UAAU,IAAI,oBAAoB,CAAC;IACnC,uDAAuD;IACvD,UAAU,IAAI,OAAO,CAAC;IACtB,KAAK,IAAI,IAAI,CAAC;IACd,6DAA6D;IAC7D,OAAO,IAAI,IAAI,CAAC;CACnB;AASD,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,EAChC,OAAO,EAAE,SAAS,oBAAoB,EAAE,EACxC,QAAQ,EAAE,MAAM,IAAI,GACrB,kBAAkB,CAsGpB"}
1
+ {"version":3,"file":"approval-panel.d.ts","sourceRoot":"","sources":["../../src/elicitation/approval-panel.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AAEH,OAAO,KAAK,EAAE,oBAAoB,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAC;AAI7E,iFAAiF;AACjF,MAAM,WAAW,kBAAkB;IAC/B,QAAQ,CAAC,EAAE,EAAE,WAAW,CAAC;IACzB,gFAAgF;IAChF,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,4DAA4D;IAC5D,QAAQ,CAAC,EAAE,EAAE,CAAC,MAAM,EAAE,oBAAoB,KAAK,IAAI,GAAG,IAAI,CAAC;IAC3D,oEAAoE;IACpE,UAAU,IAAI,oBAAoB,CAAC;IACnC,uDAAuD;IACvD,UAAU,IAAI,OAAO,CAAC;IACtB,KAAK,IAAI,IAAI,CAAC;IACd,6DAA6D;IAC7D,OAAO,IAAI,IAAI,CAAC;CACnB;AAYD,wBAAgB,kBAAkB,CAC9B,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,EAChC,OAAO,EAAE,SAAS,oBAAoB,EAAE,EACxC,QAAQ,EAAE,MAAM,IAAI,EACpB,OAAO,CAAC,EAAE,MAAM,GACjB,kBAAkB,CAiJpB"}
@@ -31,26 +31,28 @@ export interface BuiltElicitationPanel {
31
31
  /** Focus the first input (called after mount). */
32
32
  focus(): void;
33
33
  /**
34
- * What the composer's one button means on the question currently shown:
35
- * `'advance'` while there are more questions ahead, `'submit'` on the last, and
36
- * `'none'` when this panel has no act for it and it should not be drawn.
34
+ * What the composer's one button means for this panel: `'submit'`, or `'none'`
35
+ * when the panel has no act for it and it should not be drawn.
37
36
  *
38
- * The composer already has a button, in a place the user knows, and it already
39
- * changes meaning (send / stop / submit). Giving it a fourth advance — is why
40
- * this panel needs no "Next" of its own: no second row, no height that changes,
41
- * and the tabs stay for jumping around. It also makes the button honest, which a
42
- * check on a form with three questions left was not.
37
+ * It used to have a third value, `'advance'`, while a form had more questions
38
+ * ahead: the button turned into a chevron and moved to the next question. That
39
+ * was a second way to do what a chip already does the chips ARE the navigation,
40
+ * forwards and back and a button that changes meaning under the pointer is one
41
+ * more thing to explain. The reference products settle it the same way: a click
42
+ * on a choice selects, a tab switches question, one button submits the lot. So
43
+ * the button means submit throughout, enabled once every question has an answer,
44
+ * which is what `canProceed()` reports.
43
45
  *
44
- * `'none'` is the same honesty one step further, for the shape where the button
45
- * has no meaning at all: a single question whose options settle on the click.
46
- * Assignable to the composer's `AparteComposerPanelMode` and deliberately spelled
47
- * out rather than imported — this layer describes what the PANEL has, and knows
48
- * nothing about the element that presents it.
46
+ * `'none'` is for the shape where the button has no meaning at all: a single
47
+ * question whose options settle on the click. Assignable to the composer's
48
+ * `AparteComposerPanelMode` and deliberately spelled out rather than imported —
49
+ * this layer describes what the PANEL has, and knows nothing about the element
50
+ * that presents it.
49
51
  */
50
- mode(): 'advance' | 'submit' | 'none';
51
- /** Whether that button is enabled: this question answered, or all of them. */
52
+ mode(): 'submit' | 'none';
53
+ /** Whether that button is enabled: every required question answered. */
52
54
  canProceed(): boolean;
53
- /** Act on it. Advancing shows the next question; submitting is the presenter's. */
55
+ /** Kept for the presenter's contract; a form does nothing here — submitting is the presenter's. */
54
56
  proceed(): void;
55
57
  /**
56
58
  * Settled from INSIDE the panel: an option was clicked and that click is the
@@ -80,5 +82,11 @@ export interface BuiltElicitationPanel {
80
82
  */
81
83
  relabel(): void;
82
84
  }
85
+ /**
86
+ * The label an option shows. Identical in both shapes; only what wraps it differs —
87
+ * and the approval panel draws its options with it too, so a scope written as a
88
+ * `description` sits under its label the same way in both panels.
89
+ */
90
+ export declare function optionBody(label: string, description?: string, recommended?: boolean): HTMLElement;
83
91
  export declare function buildElicitationPanel(message: string | (() => string), schema: AparteElicitationSchema, onChange: () => void): BuiltElicitationPanel;
84
92
  //# sourceMappingURL=panel.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"panel.d.ts","sourceRoot":"","sources":["../../src/elicitation/panel.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACR,uBAAuB,EAK1B,MAAM,YAAY,CAAC;AAWpB,MAAM,WAAW,qBAAqB;IAClC,QAAQ,CAAC,EAAE,EAAE,WAAW,C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xE,UAAU,IAAI,OAAO,CAAC;IACtB,mGAAmG;IACnG,OAAO,IAAI,IAAI,CAAC;IAChB;;;;;;;;;;;;OAYG;IACH,QAAQ,CAAC,EAAE,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,GAAG,IAAI,CAAC;IAC/C;;;;;;;;;;;OAWG;IACH,OAAO,IAAI,IAAI,CAAC;CACnB;AAyCD;;;;GAIG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,OAAO,GAAG,WAAW,CAalG;AA6ZD,wBAAgB,qBAAqB,CACjC,OAAO,EAAE,MAAM,GAAG,CAAC,MAAM,MAAM,CAAC,EAChC,MAAM,EAAE,uBAAuB,EAC/B,QAAQ,EAAE,MAAM,IAAI,GACrB,qBAAqB,CAevB"}
@@ -101,6 +101,23 @@ export interface AparteElicitationRequest {
101
101
  * re-reading it would mean nothing.
102
102
  */
103
103
  message: string | (() => string);
104
+ /**
105
+ * The body under the question: what is actually being decided.
106
+ *
107
+ * TEXT, and shown as text — a preformatted block the panel renders through
108
+ * `textContent`. It exists because the approval panel used to show the tool's
109
+ * NAME and nothing else, while the arguments the model chose — the thing a person
110
+ * is being asked to approve — stayed in the transcript row behind a closed
111
+ * disclosure. A decision surface that omits what is being decided is asking for a
112
+ * signature on a blank page.
113
+ *
114
+ * Not markup, and not a render hook: the content here is model-authored, so the
115
+ * string arm of a hook would be a model-to-DOM XSS on the highest-stakes control
116
+ * in the library. A host that wants a diff view registers its own presenter.
117
+ *
118
+ * Ignored on `kind: 'question'` — a question's body is its schema.
119
+ */
120
+ details?: string;
104
121
  /** What to ask for. */
105
122
  /**
106
123
  * What value to collect. Required on a `'question'`, absent on an `'approval'` —
@@ -164,6 +181,20 @@ export interface AparteApprovalOption {
164
181
  * translating it.
165
182
  */
166
183
  label: string | (() => string);
184
+ /**
185
+ * What choosing it commits to, drawn under the label — the scope of an "always".
186
+ *
187
+ * A label can say "Always allow" and not what that reaches: one host remembered
188
+ * the first word of a command (`git`, for `git status`) while the button said
189
+ * "Always allow", so the user authorised every git command believing they had
190
+ * authorised one. The panel could not show the difference, because an option had
191
+ * nowhere to put it. Two options that differ only in reach now differ on screen:
192
+ * `description: 'git status'` beside `description: 'git *'`.
193
+ *
194
+ * Same two arms as `label`, for the same reason: it follows a language switch
195
+ * while the request is open.
196
+ */
197
+ description?: string | (() => string);
167
198
  /**
168
199
  * How it is drawn. `'affirm'` and `'deny'` are the two poles a decision has; a
169
200
  * third would be a preference, not a meaning, so there is no `'neutral'`.
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/elicitation/types.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,0EAA0E;AAC1E,MAAM,WAAW,0BAA0B;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,MAAM,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC,CAAC;IAC/F,mDAAmD;IACnD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,yDAAyD;IACzD,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;CAC/B;AAED,+CAA+C;AAC/C,MAAM,WAAW,6BAA6B;IAC1C,IAAI,EAAE,SAAS,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM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AAW,oBAAoB;IACjC,iFAAiF;IACjF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED;;;;GAIG;AACH,MAAM,MAAM,uBAAuB,GAC7B;IAAE,MAAM,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,GACtC;IAAE,MAAM,EAAE,SAAS,CAAA;CAAE,CAAC;AAE5B;;;;;;;;;;;;;;;GAeG;AACH,qBAAa,2BAA4B,SAAQ,YAAY;IACzD;;;;;;OAMG;IACH,QAAQ,CAAC,MAAM,EAAE,SAAS,GAAG,cAAc,CAAC;gBAEhC,MAAM,GAAE,SAAS,GAAG,cAA0B;CAS7D;AAED;;;;;GAKG;AACH,MAAM,MAAM,0BAA0B,GAAG,CAAC,OAAO,EAAE,wBAAwB,KAAK,OAAO,CAAC,uBAAuB,CAAC,CAAC"}
@@ -99,6 +99,8 @@ export interface AparteContextAttributes {
99
99
  danger?: number;
100
100
  /** The id of the `<aparte-chat>` to watch, when the element is not under it. */
101
101
  target?: string;
102
+ /** `bar` (default) or `ring`: a progress bar with the reading beside it, or a ring with the percentage. */
103
+ variant?: string;
102
104
  /** Dispatch `aparte-compact` on reaching `danger` (once per crossing). */
103
105
  'auto-compact'?: boolean;
104
106
  /** Reflected BY the element: `ok`, `warn` or `danger`. Read-only. */
@@ -106,10 +108,12 @@ export interface AparteContextAttributes {
106
108
  /** Reflected BY the element while it has nothing to show. Read-only. */
107
109
  'data-empty'?: boolean;
108
110
  }
109
- /** `<aparte-conversation-list>` — Conversation-history sidebar — a framework-agnostic web component. The host sets the `conversations` JS property and the `active-id` attribute; this renders the list and fires the user's intent, never acting on it itself. */
111
+ /** `<aparte-conversation-list>` — Conversation-history sidebar — a framework-agnostic web component. The host sets the `conversations` JS property and the `active-id` attribute; this renders the rows and fires the user's intent, never acting on it itself. */
110
112
  export interface AparteConversationListAttributes {
111
113
  /** The id of the conversation to render as selected. */
112
114
  'active-id'?: string;
115
+ /** Render the rows flat, in host order, with no date headings. */
116
+ 'no-groups'?: boolean;
113
117
  }
114
118
  /** `<aparte-icon>` — AparteIcon */
115
119
  export interface AparteIconAttributes {
@@ -143,6 +147,15 @@ export interface AparteProgressSpinnerAttributes {
143
147
  /** Progress percentage 0–100 (omit for indeterminate) */
144
148
  value?: number;
145
149
  }
150
+ /** `<aparte-scroll-rail>` — A rail of ticks beside the transcript — one per turn — that shows where you are in a long conversation and jumps back to any message on a click. */
151
+ export interface AparteScrollRailAttributes {
152
+ /** The id of the `<aparte-chat>` to follow, when the element is not inside it. */
153
+ target?: string;
154
+ /** `user` (default): one tick per user turn. `message`: one per message. */
155
+ every?: string;
156
+ /** Reflected BY the element while it has fewer than two ticks. Read-only. */
157
+ 'data-empty'?: boolean;
158
+ }
146
159
  /** `<aparte-select>` — Dropdown select for aparté — a vanilla web component with optional grouping, a search filter and a keyboard-driven listbox. */
147
160
  export interface AparteSelectAttributes {
148
161
  /** The selected option's value. */
@@ -158,6 +171,36 @@ export interface AparteSelectAttributes {
158
171
  /** Reflects (and controls) whether the dropdown is open. */
159
172
  open?: boolean;
160
173
  }
174
+ /** `<aparte-sidebar>` — The column beside the chat — conversations, a new-chat button, a search field, an account row — as an element, because it has behaviour: it collapses, it becomes a drawer on a narrow window, and its search field filters the conversation list. */
175
+ export interface AparteSidebarAttributes {
176
+ /** Hidden (in the flow) or closed (as a drawer). Reflected; set it to start closed. */
177
+ collapsed?: boolean;
178
+ /** The window width under which the sidebar becomes a drawer: a length (default `48rem`), or `none` for a column that never does. */
179
+ breakpoint?: string;
180
+ /** Reflected BY the element while the window is under 48rem. Read-only. */
181
+ 'data-drawer'?: boolean;
182
+ }
183
+ /** `<aparte-split>` — Two panes and a draggable seam — a chat beside a preview, an editor, an artifact card. */
184
+ export interface AparteSplitAttributes {
185
+ /** The primary pane's size, as a percentage of the container. Reflected on commit, never per drag frame. */
186
+ position?: number;
187
+ /** `horizontal` (panes side by side, the default) or `vertical` (stacked). Names the CONTAINER's axis. */
188
+ orientation?: string;
189
+ /** `start` (default) or `end`: which pane `position` sizes. */
190
+ primary?: string;
191
+ /** The primary pane folded to its minimum. Enter on the seam toggles it; a second Enter restores the size it had. */
192
+ collapsed?: boolean;
193
+ /** Below this width the split shows one pane at a time. A length (default `48rem`), or `none` to never stack. */
194
+ breakpoint?: string;
195
+ /** `start` (default) or `end`: which pane is shown while stacked. */
196
+ pane?: string;
197
+ /** No drag, no keys, no tab stop; the seam stays drawn. */
198
+ disabled?: boolean;
199
+ /** The seam's accessible name. Defaults to the locale's `splitHandleLabel`. */
200
+ label?: string;
201
+ /** Written BY the element while one pane is shown. Read-only; style against it. */
202
+ 'data-stacked'?: boolean;
203
+ }
161
204
  /** `<aparte-suggestions>` — Prompt starters — a row of suggested prompts a reader clicks instead of typing. */
162
205
  export interface AparteSuggestionsAttributes {
163
206
  /** The starters, as a JSON array: strings, or `{ "label", "prompt" }` objects when the visible label and the sent text differ. The `suggestions` PROPERTY takes the same shape without the JSON. */
@@ -203,7 +246,10 @@ export interface AparteElementAttributes {
203
246
  'aparte-optgroup': AparteOptgroupAttributes;
204
247
  'aparte-option': AparteOptionAttributes;
205
248
  'aparte-progress-spinner': AparteProgressSpinnerAttributes;
249
+ 'aparte-scroll-rail': AparteScrollRailAttributes;
206
250
  'aparte-select': AparteSelectAttributes;
251
+ 'aparte-sidebar': AparteSidebarAttributes;
252
+ 'aparte-split': AparteSplitAttributes;
207
253
  'aparte-suggestions': AparteSuggestionsAttributes;
208
254
  }
209
255
  /** Every tag this package defines, derived from the registry so the two cannot diverge. */
@@ -1 +1 @@
1
- {"version":3,"file":"element-attributes.d.ts","sourceRoot":"","sources":["../../src/generated/element-attributes.ts"],"names":[],"mappings":"AAIA,+CAA+C;AAC/C,MAAM,WAAW,oBAAoB;IACjC,+DAA+D;IAC/D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,4BAA4B;IAC5B,QAAQ,CAAC,EAAE,OA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IG;AACH,MAAM,MAAM,kBAAkB,GAAG,MAAM,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AAEtD;;;;;GAKG;AACH,MAAM,WAAW,uBAAuB;IACpC,aAAa,EAAE,oBAAoB,CAAC;IACpC,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,sBAAsB,EAAE,4BAA4B,CAAC;IACrD,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,wBAAwB,EAAE,8BAA8B,CAAC;IACzD,gCAAgC,EAAE,qCAAqC,CAAC;IACxE,6BAA6B,EAAE,kBAAkB,CAAC;IAClD,wBAAwB,EAAE,kBAAkB,CAAC;IAC7C,uBAAuB,EAAE,6BAA6B,CAAC;IACvD,sBAAsB,EAAE,kBAAkB,CAAC;IAC3C,yBAAyB,EAAE,+BAA+B,CAAC;IAC3D,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,0BAA0B,EAAE,gCAAgC,CAAC;IAC7D,oBAAoB,EAAE,kBAAkB,CAAC;IACzC,aAAa,EAAE,oBAAoB,CAAC;IACpC,iBAAiB,EAAE,wBAAwB,CAAC;IAC5C,eAAe,EAAE,sBAAsB,CAAC;IACxC,yBAAyB,EAAE,+BAA+B,CAAC;IAC3D,oBAAoB,EAAE,0BAA0B,CAAC;IACjD,eAAe,EAAE,sBAAsB,CAAC;IACxC,gBAAgB,EAAE,uBAAuB,CAAC;IAC1C,cAAc,EAAE,qBAAqB,CAAC;IACtC,oBAAoB,EAAE,2BAA2B,CAAC;CACrD;AAED,2FAA2F;AAC3F,MAAM,MAAM,oBAAoB,GAAG,MAAM,uBAAuB,CAAC"}
@@ -23,6 +23,9 @@ const infoIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" strok
23
23
  const archiveIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 8 21 8"/><path d="M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8"/><polyline points="9 14 12 11 15 14"/><line x1="12" y1="11" x2="12" y2="19"/></svg>`;
24
24
  const unarchiveIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="3 8 21 8"/><path d="M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8"/><polyline points="9 14 12 17 15 14"/><line x1="12" y1="11" x2="12" y2="17"/></svg>`;
25
25
  const downloadIcon = `<svg class="aparte-icon" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v9m0 0l-3-3m3 3l3-3M2 13h12"/></svg>`;
26
+ const moreIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="12" r="1.1"/><circle cx="12" cy="12" r="1.1"/><circle cx="18.5" cy="12" r="1.1"/></svg>`;
27
+ const pinIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8.5 3.5h7"/><path d="M10 3.5v5l-3 3.5V14h10v-2l-3-3.5v-5"/><path d="M12 14v6.5"/></svg>`;
28
+ const trashIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2"/><path d="m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7"/><path d="M10 11v5.5M14 11v5.5"/></svg>`;
26
29
  const APARTE_ICON_GLYPHS = {
27
30
  copy: copyIcon,
28
31
  check: checkIcon,
@@ -48,10 +51,15 @@ const APARTE_ICON_GLYPHS = {
48
51
  info: infoIcon,
49
52
  archive: archiveIcon,
50
53
  unarchive: unarchiveIcon,
51
- download: downloadIcon
54
+ download: downloadIcon,
55
+ more: moreIcon,
56
+ pin: pinIcon,
57
+ trash: trashIcon
52
58
  };
53
59
  export {
54
60
  APARTE_ICON_GLYPHS as A,
61
+ toolIcon as B,
62
+ unarchiveIcon as C,
55
63
  archiveIcon as a,
56
64
  closeIcon as b,
57
65
  checkIcon as c,
@@ -64,18 +72,19 @@ export {
64
72
  fileIcon as j,
65
73
  imageIcon as k,
66
74
  infoIcon as l,
67
- loadingIcon as m,
75
+ moreIcon as m,
68
76
  nextBranchIcon as n,
69
- paperclipIcon as o,
77
+ loadingIcon as o,
70
78
  prevBranchIcon as p,
71
- sendIcon as q,
72
- retryIcon as r,
73
- scrollDownIcon as s,
74
- stopIcon as t,
75
- terminalIcon as u,
76
- thumbDownIcon as v,
77
- thumbUpIcon as w,
78
- toolIcon as x,
79
- unarchiveIcon as y
79
+ paperclipIcon as q,
80
+ pinIcon as r,
81
+ retryIcon as s,
82
+ trashIcon as t,
83
+ scrollDownIcon as u,
84
+ sendIcon as v,
85
+ stopIcon as w,
86
+ terminalIcon as x,
87
+ thumbDownIcon as y,
88
+ thumbUpIcon as z
80
89
  };
81
- //# sourceMappingURL=glyphs-B3BZ2TIb.js.map
90
+ //# sourceMappingURL=glyphs-DQTeOj4w.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"glyphs-B3BZ2TIb.js","sources":["../src/icons/glyphs.ts"],"sourcesContent":["/**\n * The glyphs.\n *\n * ONE place. Every SVG the library draws is declared here and nowhere else, because\n * scattering them did not merely spread the source around — it let them DRIFT. Before\n * this file there were three different ✕ (a filled one on a 12 grid, a stroked one at\n * 2.5, and `close`), two different chevrons, and `paperclip` and `scrollDown` each\n * existed twice, byte for byte, in a component that could have asked for them.\n *\n * Each glyph is a plain string, exported on its own, so a bundler can drop the ones a\n * build never reaches. `APARTE_DEFAULT_ICON_FALLBACKS` in `config/icon-provider.ts`\n * assembles them into the record `getIcon()` reads — that record is indexed by a\n * computed key, so it is retained whole; anything meant to be optional has to stay OUT\n * of it. That is the rule the extended set follows.\n *\n * Drawn here, on the conventions every stroked icon set shares — a 24×24 grid,\n * `currentColor`, a 2px stroke with round caps and joins — so a consumer who swaps in\n * a set of their own under the same names gets the same optical weight. The path data\n * is core's own, which is what lets the package carry no notice and credit no set;\n * a glyph that needs redrawing is redrawn here, never pasted from elsewhere.\n * `icons/extended.ts` is the opt-in set and follows the same rule.\n */\n\n\n/** Copy button icon — two sheets, the front one over the back one's corner. */\nexport const copyIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"8.5\" y=\"8.5\" width=\"12\" height=\"12\" rx=\"2.5\"/><path d=\"M15.5 8.5V6a2.5 2.5 0 0 0-2.5-2.5H6A2.5 2.5 0 0 0 3.5 6v7A2.5 2.5 0 0 0 6 15.5h2.5\"/></svg>`;\n\n/** Success/check icon */\nexport const checkIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 12.5 9.5 17.5 19.5 7\"/></svg>`;\n\n/** Send message icon — a paper plane with its fold line. */\nexport const sendIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 3 3.7 10.4a.9.9 0 0 0 .1 1.7l6.2 2 2 6.2a.9.9 0 0 0 1.7.1L21 3Z\"/><path d=\"M10 14 21 3\"/></svg>`;\n\n/** Loading/spinner indicator */\nexport const loadingIcon = `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"aparte-icon aparte-icon-spin\"><circle cx=\"12\" cy=\"12\" r=\"10\" stroke-opacity=\"0.25\"/><path d=\"M12 2a10 10 0 0 1 10 10\"/></svg>`;\n\n/** Error indicator — a ring with an exclamation. */\nexport const errorIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9.5\"/><path d=\"M12 7.75v5\"/><path d=\"M12 16.25h.01\"/></svg>`;\n\n/** Expand/show more icon */\nexport const expandIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5.5 9.5 12 16l6.5-6.5\"/></svg>`;\n\n/** Collapse/show less icon */\nexport const collapseIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5.5 14.5 12 8l6.5 6.5\"/></svg>`;\n\n/** Terminal/command prompt icon — a prompt chevron and a cursor line. */\nexport const terminalIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 6.5 10.5 12 5 17.5\"/><path d=\"M13 18h6\"/></svg>`;\n\n/** File attachment / paperclip icon */\nexport const paperclipIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.4 21a5.2 5.2 0 0 1-3.7-8.9l8.6-8.6a3.5 3.5 0 0 1 4.9 4.9l-8.6 8.6a1.7 1.7 0 0 1-2.5-2.5l7.4-7.4\"/></svg>`;\n\n/** Image file icon — a frame, a sun, a hill. */\nexport const imageIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3.5\" y=\"4.5\" width=\"17\" height=\"15\" rx=\"2.5\"/><circle cx=\"8.5\" cy=\"9\" r=\"1.5\"/><path d=\"M20.5 15.5l-4-4-8 8\"/></svg>`;\n\n/** Generic file icon — a sheet with a folded corner. */\nexport const fileIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M13.5 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8.5Z\"/><path d=\"M13.5 3v5.5H19\"/></svg>`;\n\n/** Scroll to bottom button icon */\nexport const scrollDownIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 4.5v15\"/><path d=\"M6 13.5l6 6 6-6\"/></svg>`;\n\n/** Retry / regenerate icon — an arc back onto itself. */\nexport const retryIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 12a8 8 0 1 0 2.35-5.65L4 8.5\"/><path d=\"M4 3.5v5h5\"/></svg>`;\n\n/** Edit / pencil icon */\nexport const editIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 4.5H6a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h11.5a2 2 0 0 0 2-2V13\"/><path d=\"M17.75 3.25a2.05 2.05 0 0 1 2.9 2.9l-9.15 9.15-3.9 1 1-3.9Z\"/></svg>`;\n\n/** Thumbs up / positive feedback icon */\nexport const thumbUpIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6.5 10.5v10\"/><path d=\"M6.5 10.5h3l3.2-6.4a1.75 1.75 0 0 1 3.3.8V9h4a2 2 0 0 1 2 2.35l-1.3 7.3a2 2 0 0 1-2 1.6H9.5\"/></svg>`;\n\n/** Thumbs down / negative feedback icon */\nexport const thumbDownIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17.5 13.5v-10\"/><path d=\"M17.5 13.5h-3l-3.2 6.4a1.75 1.75 0 0 1-3.3-.8V15h-4a2 2 0 0 1-2-2.35l1.3-7.3a2 2 0 0 1 2-1.6h9.1\"/></svg>`;\n\n/** Previous branch arrow */\nexport const prevBranchIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 6 9 12l5.5 6\"/></svg>`;\n\n/** Next branch arrow */\nexport const nextBranchIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.5 6 15 12l-5.5 6\"/></svg>`;\n\n/** Tool call indicator (wrench) */\nexport const toolIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 3.5a5.5 5.5 0 0 0-5.1 7.6L3.5 17l3.5 3.5 5.9-5.9a5.5 5.5 0 0 0 7.6-5.1l-3.1 3.1-2.7-.8-.8-2.7 3.1-3.1Z\"/></svg>`;\n\n/** Close / failed / rejected / remove (✕) */\nexport const closeIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6.5 6.5l11 11\"/><path d=\"M17.5 6.5l-11 11\"/></svg>`;\n\n/** Stop / halt streaming (■) */\nexport const stopIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><rect x=\"2\" y=\"2\" width=\"12\" height=\"12\" rx=\"2\"/></svg>`;\n\n/** Informational notice (ⓘ) */\nexport const infoIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9.5\"/><path d=\"M12 11v5.25\"/><path d=\"M12 7.75h.01\"/></svg>`;\n\n/** Archive a conversation */\nexport const archiveIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 11 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"19\"/></svg>`;\n\n/** Restore an archived conversation */\nexport const unarchiveIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 17 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"17\"/></svg>`;\n\n/** Download / save to disk */\nexport const downloadIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v9m0 0l-3-3m3 3l3-3M2 13h12\"/></svg>`;\n\n/** Every glyph, by name — the map `APARTE_DEFAULT_ICON_FALLBACKS` is built from. */\nexport const APARTE_ICON_GLYPHS = {\n copy: copyIcon,\n check: checkIcon,\n send: sendIcon,\n loading: loadingIcon,\n error: errorIcon,\n expand: expandIcon,\n collapse: collapseIcon,\n terminal: terminalIcon,\n paperclip: paperclipIcon,\n image: imageIcon,\n file: fileIcon,\n scrollDown: scrollDownIcon,\n retry: retryIcon,\n edit: editIcon,\n thumbUp: thumbUpIcon,\n thumbDown: thumbDownIcon,\n prevBranch: prevBranchIcon,\n nextBranch: nextBranchIcon,\n tool: toolIcon,\n close: closeIcon,\n stop: stopIcon,\n info: infoIcon,\n archive: archiveIcon,\n unarchive: unarchiveIcon,\n download: downloadIcon,\n} as const;\n"],"names":[],"mappings":"AAyBO,MAAM,WAAW;AAGjB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,YAAY;AAGlB,MAAM,aAAa;AAGnB,MAAM,eAAe;AAGrB,MAAM,eAAe;AAGrB,MAAM,gBAAgB;AAGtB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,iBAAiB;AAGvB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,gBAAgB;AAGtB,MAAM,iBAAiB;AAGvB,MAAM,iBAAiB;AAGvB,MAAM,WAAW;AAGjB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,gBAAgB;AAGtB,MAAM,eAAe;AAGrB,MAAM,qBAAqB;AAAA,EAC9B,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AACd;"}
1
+ {"version":3,"file":"glyphs-DQTeOj4w.js","sources":["../src/icons/glyphs.ts"],"sourcesContent":["/**\n * The glyphs.\n *\n * ONE place. Every SVG the library draws is declared here and nowhere else, because\n * scattering them did not merely spread the source around — it let them DRIFT. Before\n * this file there were three different ✕ (a filled one on a 12 grid, a stroked one at\n * 2.5, and `close`), two different chevrons, and `paperclip` and `scrollDown` each\n * existed twice, byte for byte, in a component that could have asked for them.\n *\n * Each glyph is a plain string, exported on its own, so a bundler can drop the ones a\n * build never reaches. `APARTE_DEFAULT_ICON_FALLBACKS` in `config/icon-provider.ts`\n * assembles them into the record `getIcon()` reads — that record is indexed by a\n * computed key, so it is retained whole; anything meant to be optional has to stay OUT\n * of it. That is the rule the extended set follows.\n *\n * Drawn here, on the conventions every stroked icon set shares — a 24×24 grid,\n * `currentColor`, a 2px stroke with round caps and joins — so a consumer who swaps in\n * a set of their own under the same names gets the same optical weight. The path data\n * is core's own, which is what lets the package carry no notice and credit no set;\n * a glyph that needs redrawing is redrawn here, never pasted from elsewhere.\n * `icons/extended.ts` is the opt-in set and follows the same rule.\n */\n\n\n/** Copy button icon — two sheets, the front one over the back one's corner. */\nexport const copyIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"8.5\" y=\"8.5\" width=\"12\" height=\"12\" rx=\"2.5\"/><path d=\"M15.5 8.5V6a2.5 2.5 0 0 0-2.5-2.5H6A2.5 2.5 0 0 0 3.5 6v7A2.5 2.5 0 0 0 6 15.5h2.5\"/></svg>`;\n\n/** Success/check icon */\nexport const checkIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 12.5 9.5 17.5 19.5 7\"/></svg>`;\n\n/** Send message icon — a paper plane with its fold line. */\nexport const sendIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M21 3 3.7 10.4a.9.9 0 0 0 .1 1.7l6.2 2 2 6.2a.9.9 0 0 0 1.7.1L21 3Z\"/><path d=\"M10 14 21 3\"/></svg>`;\n\n/** Loading/spinner indicator */\nexport const loadingIcon = `<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\" class=\"aparte-icon aparte-icon-spin\"><circle cx=\"12\" cy=\"12\" r=\"10\" stroke-opacity=\"0.25\"/><path d=\"M12 2a10 10 0 0 1 10 10\"/></svg>`;\n\n/** Error indicator — a ring with an exclamation. */\nexport const errorIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9.5\"/><path d=\"M12 7.75v5\"/><path d=\"M12 16.25h.01\"/></svg>`;\n\n/** Expand/show more icon */\nexport const expandIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5.5 9.5 12 16l6.5-6.5\"/></svg>`;\n\n/** Collapse/show less icon */\nexport const collapseIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5.5 14.5 12 8l6.5 6.5\"/></svg>`;\n\n/** Terminal/command prompt icon — a prompt chevron and a cursor line. */\nexport const terminalIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 6.5 10.5 12 5 17.5\"/><path d=\"M13 18h6\"/></svg>`;\n\n/** File attachment / paperclip icon */\nexport const paperclipIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.4 21a5.2 5.2 0 0 1-3.7-8.9l8.6-8.6a3.5 3.5 0 0 1 4.9 4.9l-8.6 8.6a1.7 1.7 0 0 1-2.5-2.5l7.4-7.4\"/></svg>`;\n\n/** Image file icon — a frame, a sun, a hill. */\nexport const imageIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"3.5\" y=\"4.5\" width=\"17\" height=\"15\" rx=\"2.5\"/><circle cx=\"8.5\" cy=\"9\" r=\"1.5\"/><path d=\"M20.5 15.5l-4-4-8 8\"/></svg>`;\n\n/** Generic file icon — a sheet with a folded corner. */\nexport const fileIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M13.5 3H6.5A1.5 1.5 0 0 0 5 4.5v15A1.5 1.5 0 0 0 6.5 21h11a1.5 1.5 0 0 0 1.5-1.5V8.5Z\"/><path d=\"M13.5 3v5.5H19\"/></svg>`;\n\n/** Scroll to bottom button icon */\nexport const scrollDownIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 4.5v15\"/><path d=\"M6 13.5l6 6 6-6\"/></svg>`;\n\n/** Retry / regenerate icon — an arc back onto itself. */\nexport const retryIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4 12a8 8 0 1 0 2.35-5.65L4 8.5\"/><path d=\"M4 3.5v5h5\"/></svg>`;\n\n/** Edit / pencil icon */\nexport const editIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 4.5H6a2 2 0 0 0-2 2v11.5a2 2 0 0 0 2 2h11.5a2 2 0 0 0 2-2V13\"/><path d=\"M17.75 3.25a2.05 2.05 0 0 1 2.9 2.9l-9.15 9.15-3.9 1 1-3.9Z\"/></svg>`;\n\n/** Thumbs up / positive feedback icon */\nexport const thumbUpIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6.5 10.5v10\"/><path d=\"M6.5 10.5h3l3.2-6.4a1.75 1.75 0 0 1 3.3.8V9h4a2 2 0 0 1 2 2.35l-1.3 7.3a2 2 0 0 1-2 1.6H9.5\"/></svg>`;\n\n/** Thumbs down / negative feedback icon */\nexport const thumbDownIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M17.5 13.5v-10\"/><path d=\"M17.5 13.5h-3l-3.2 6.4a1.75 1.75 0 0 1-3.3-.8V15h-4a2 2 0 0 1-2-2.35l1.3-7.3a2 2 0 0 1 2-1.6h9.1\"/></svg>`;\n\n/** Previous branch arrow */\nexport const prevBranchIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 6 9 12l5.5 6\"/></svg>`;\n\n/** Next branch arrow */\nexport const nextBranchIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M9.5 6 15 12l-5.5 6\"/></svg>`;\n\n/** Tool call indicator (wrench) */\nexport const toolIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M14.5 3.5a5.5 5.5 0 0 0-5.1 7.6L3.5 17l3.5 3.5 5.9-5.9a5.5 5.5 0 0 0 7.6-5.1l-3.1 3.1-2.7-.8-.8-2.7 3.1-3.1Z\"/></svg>`;\n\n/** Close / failed / rejected / remove (✕) */\nexport const closeIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M6.5 6.5l11 11\"/><path d=\"M17.5 6.5l-11 11\"/></svg>`;\n\n/** Stop / halt streaming (■) */\nexport const stopIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"currentColor\"><rect x=\"2\" y=\"2\" width=\"12\" height=\"12\" rx=\"2\"/></svg>`;\n\n/** Informational notice (ⓘ) */\nexport const infoIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"12\" r=\"9.5\"/><path d=\"M12 11v5.25\"/><path d=\"M12 7.75h.01\"/></svg>`;\n\n/** Archive a conversation */\nexport const archiveIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 11 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"19\"/></svg>`;\n\n/** Restore an archived conversation */\nexport const unarchiveIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 17 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"17\"/></svg>`;\n\n/** Download / save to disk */\nexport const downloadIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v9m0 0l-3-3m3 3l3-3M2 13h12\"/></svg>`;\n\n/** Overflow menu of a row (⋯) — the conversation list's actions button. */\nexport const moreIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"5.5\" cy=\"12\" r=\"1.1\"/><circle cx=\"12\" cy=\"12\" r=\"1.1\"/><circle cx=\"18.5\" cy=\"12\" r=\"1.1\"/></svg>`;\n\n/** Pin a conversation to the top of the list — a pushpin: head, body, needle. */\nexport const pinIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.5 3.5h7\"/><path d=\"M10 3.5v5l-3 3.5V14h10v-2l-3-3.5v-5\"/><path d=\"M12 14v6.5\"/></svg>`;\n\n/** Delete — a bin with its lid and two slats. */\nexport const trashIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2\"/><path d=\"m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7\"/><path d=\"M10 11v5.5M14 11v5.5\"/></svg>`;\n\n/** Every glyph, by name — the map `APARTE_DEFAULT_ICON_FALLBACKS` is built from. */\nexport const APARTE_ICON_GLYPHS = {\n copy: copyIcon,\n check: checkIcon,\n send: sendIcon,\n loading: loadingIcon,\n error: errorIcon,\n expand: expandIcon,\n collapse: collapseIcon,\n terminal: terminalIcon,\n paperclip: paperclipIcon,\n image: imageIcon,\n file: fileIcon,\n scrollDown: scrollDownIcon,\n retry: retryIcon,\n edit: editIcon,\n thumbUp: thumbUpIcon,\n thumbDown: thumbDownIcon,\n prevBranch: prevBranchIcon,\n nextBranch: nextBranchIcon,\n tool: toolIcon,\n close: closeIcon,\n stop: stopIcon,\n info: infoIcon,\n archive: archiveIcon,\n unarchive: unarchiveIcon,\n download: downloadIcon,\n more: moreIcon,\n pin: pinIcon,\n trash: trashIcon,\n} as const;\n"],"names":[],"mappings":"AAyBO,MAAM,WAAW;AAGjB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,YAAY;AAGlB,MAAM,aAAa;AAGnB,MAAM,eAAe;AAGrB,MAAM,eAAe;AAGrB,MAAM,gBAAgB;AAGtB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,iBAAiB;AAGvB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,gBAAgB;AAGtB,MAAM,iBAAiB;AAGvB,MAAM,iBAAiB;AAGvB,MAAM,WAAW;AAGjB,MAAM,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,gBAAgB;AAGtB,MAAM,eAAe;AAGrB,MAAM,WAAW;AAGjB,MAAM,UAAU;AAGhB,MAAM,YAAY;AAGlB,MAAM,qBAAqB;AAAA,EAC9B,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,OAAO;AAAA,EACP,QAAQ;AAAA,EACR,UAAU;AAAA,EACV,UAAU;AAAA,EACV,WAAW;AAAA,EACX,OAAO;AAAA,EACP,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,YAAY;AAAA,EACZ,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,OAAO;AAAA,EACP,MAAM;AAAA,EACN,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AACX;"}
@@ -160,8 +160,16 @@ export declare class AparteChatHost {
160
160
  private _flushStreamState;
161
161
  /** Read the current message list. */
162
162
  getMessages(): AparteMessage[];
163
- /** Clear all messages + reset viewport state. */
164
- clearMessages(): void;
163
+ /**
164
+ * Clear all messages + reset viewport state. The option travels to the viewport
165
+ * untouched: a compaction passes `{ revokeAttachments: false }` because it re-appends
166
+ * the turns it keeps and revokes the dropped ones' object URLs itself — under a
167
+ * framework wrapper this bridge used to drop the argument, and every surviving
168
+ * attachment came back broken.
169
+ */
170
+ clearMessages(options?: {
171
+ revokeAttachments?: boolean;
172
+ }): void;
165
173
  /** Create a new branch from a message (returns the new sibling index). */
166
174
  addBranch(messageId: string): number;
167
175
  /** Add a sibling of an existing message (returns the new id). */
@@ -1 +1 @@
1
- {"version":3,"file":"aparte-chat-host.d.ts","sourceRoot":"","sources":["../../src/host/aparte-chat-host.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,aAAa,EAIhB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,EACH,4BAA4B,EAE/B,MAAM,6CAA6C,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,4BAA4B,CAAC;AAoD/D;;;;GAIG;AACH,MAAM,WAAW,qBAAqB;IAClC,6EAA6E;IAC7E,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,4EAA4E;IAC5E,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,gFAAgF;IAChF,QAAQ,CAAC,QAAQ,EAAE,WAAW,GAAG,IAAI,CAAC;IAEtC,kDAAkD;IAClD,WAAW,IAAI,aAAa,EAAE,CAAC;IAC/B,qEAAqE;IACrE,WAAW,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IAE7C,2EAA2E;IAC3E,gBAAgB,CAAC,CAAC,QAAQ,EAAE,aAAa,EAAE,GAAG,IAAI,CAAC;IACnD,6EAA6E;IAC7E,iBAAiB,CAAC,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,CAAC;IACjD,4CAA4C;IAC5C,cAAc,CAAC,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI,CAAC;IACzC,0DAA0D;IAC1D,iBAAiB,CAAC,CAAC,WAAW,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI,CAAC;IACrD,wEAAwE;IACxE,WAAW,CA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,CAAC;IA4CnF;;;;OAIG;IACH,OAAO,CAAC,YAAY;IAQpB,oDAAoD;IACpD,eAAe,IAAI,IAAI;IAavB;;;;OAIG;IACH,WAAW,IAAI,IAAI;IAYnB;;;OAGG;IACH,oBAAoB,IAAI,IAAI;IAiB5B;;;;;;;;;;;;;;;;;;;OAmBG;IACH,OAAO,CAAC,qBAAqB;IAuB7B,4EAA4E;IAC5E,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,GAAG;IAIX,OAAO,CAAC,WAAW;IAQnB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,mBAAmB;IAsB3B,OAAO,CAAC,0BAA0B;IAmClC,OAAO,CAAC,yBAAyB;CAqCpC"}
@@ -24,6 +24,7 @@
24
24
  *
25
25
  * aparteGlobalConfig.setIconProvider({ retry: () => historyIcon });
26
26
  */
27
+ import { trashIcon } from './glyphs.js';
27
28
  /** Add */
28
29
  export declare const plusIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 4.5v15M4.5 12h15\"/></svg>";
29
30
  /** Remove */
@@ -34,7 +35,8 @@ export declare const searchIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 2
34
35
  export declare const filterIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M3.5 4.5h17l-6.5 8v6.5l-4 2v-8.5Z\"/></svg>";
35
36
  /** Open a navigation drawer */
36
37
  export declare const menuIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 7h15M4.5 12h15M4.5 17h15\"/></svg>";
37
- /** Overflow menu, in a row */
38
+ /** Overflow menu, in a row. The conversation list draws it, so the path lives in
39
+ * `glyphs.ts` as `more` — this is the alias under its shape name, like the chevrons. */
38
40
  export declare const moreHorizontalIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"5.5\" cy=\"12\" r=\"1.1\"/><circle cx=\"12\" cy=\"12\" r=\"1.1\"/><circle cx=\"18.5\" cy=\"12\" r=\"1.1\"/></svg>";
39
41
  /** Overflow menu, in a column */
40
42
  export declare const moreVerticalIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"12\" cy=\"5.5\" r=\"1.1\"/><circle cx=\"12\" cy=\"12\" r=\"1.1\"/><circle cx=\"12\" cy=\"18.5\" r=\"1.1\"/></svg>";
@@ -58,7 +60,7 @@ export declare const codeIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\
58
60
  /** Paste / a clipboard */
59
61
  export declare const clipboardIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"5\" y=\"4.5\" width=\"14\" height=\"16\" rx=\"2.5\"/><path d=\"M9 4.5V4a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 4v.5M9 11h6M9 15h4\"/></svg>";
60
62
  /** Delete for good */
61
- export declare const trashIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2\"/><path d=\"m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7\"/><path d=\"M10 11v5.5M14 11v5.5\"/></svg>";
63
+ export { trashIcon };
62
64
  /** Save to disk */
63
65
  export declare const saveIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M5 4.5h11l3.5 3.5v11a1.5 1.5 0 0 1-1.5 1.5H5a1.5 1.5 0 0 1-1.5-1.5V6A1.5 1.5 0 0 1 5 4.5Z\"/><path d=\"M8 20.5v-6h8v6M8 4.5v4h5\"/></svg>";
64
66
  /** Send a file up */
@@ -1 +1 @@
1
- {"version":3,"file":"extended.d.ts","sourceRoot":"","sources":["../../src/icons/extended.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AAIH,UAAU;AACV,eAAO,MAAM,QAAQ,0MAA0L,CAAC;AAEhN,aAAa;AACb,eAAO,MAAM,SAAS,gMAAgL,CAAC;AAEvM,oCAAoC;AACpC,eAAO,MAAM,UAAU,6OAAuN,CAAC;AAE/O,oBAAoB;AACpB,eAAO,MAAM,UAAU,uNAAuM,CAAC;AAE/N,+BAA+B;AAC/B,eAAO,MAAM,QAAQ,mNAAmM,CAAC;AAEzN,8BAA8B;AAC9B,eAAO,MAAM,kBAAkB,gSAAgQ,CAAC;AAEhS,iCAAiC;AACjC,eAAO,MAAM,gBAAgB,gSAAgQ,CAAC;AAE9R;6DAC6D;AAC7D,eAAO,MAAM,eAAe,wMAAiB,CAAC;AAE9C,oEAAoE;AACpE,eAAO,MAAM,gBAAgB,yMAAiB,CAAC;AAE/C,4BAA4B;AAC5B,eAAO,MAAM,WAAW,wNAAwM,CAAC;AAEjO,uBAAuB;AACvB,eAAO,MAAM,cAAc,uNAAuM,CAAC;AAEnO,4BAA4B;AAC5B,eAAO,MAAM,gBAAgB,8RAA4Q,CAAC;AAE1S,kBAAkB;AAClB,eAAO,MAAM,QA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AC;AAEpU,gBAAgB;AAChB,eAAO,MAAM,iBAAiB,wTAAsS,CAAC;AAErU,yBAAyB;AACzB,eAAO,MAAM,eAAe,kPAA4N,CAAC;AAEzP,2BAA2B;AAC3B,eAAO,MAAM,WAAW,6PAAuO,CAAC;AAEhQ,qBAAqB;AACrB,eAAO,MAAM,iBAAiB,gRAAgQ,CAAC;AAE/R,kBAAkB;AAClB,eAAO,MAAM,OAAO,gTAA0R,CAAC;AAE/S,iBAAiB;AACjB,eAAO,MAAM,QAAQ,kOAAkN,CAAC;AAExO;sEACsE;AACtE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0C9B,CAAC"}
@@ -70,6 +70,12 @@ export declare const archiveIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24
70
70
  export declare const unarchiveIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 17 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"17\"/></svg>";
71
71
  /** Download / save to disk */
72
72
  export declare const downloadIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v9m0 0l-3-3m3 3l3-3M2 13h12\"/></svg>";
73
+ /** Overflow menu of a row (⋯) — the conversation list's actions button. */
74
+ export declare const moreIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"5.5\" cy=\"12\" r=\"1.1\"/><circle cx=\"12\" cy=\"12\" r=\"1.1\"/><circle cx=\"18.5\" cy=\"12\" r=\"1.1\"/></svg>";
75
+ /** Pin a conversation to the top of the list — a pushpin: head, body, needle. */
76
+ export declare const pinIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.5 3.5h7\"/><path d=\"M10 3.5v5l-3 3.5V14h10v-2l-3-3.5v-5\"/><path d=\"M12 14v6.5\"/></svg>";
77
+ /** Delete — a bin with its lid and two slats. */
78
+ export declare const trashIcon = "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2\"/><path d=\"m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7\"/><path d=\"M10 11v5.5M14 11v5.5\"/></svg>";
73
79
  /** Every glyph, by name — the map `APARTE_DEFAULT_ICON_FALLBACKS` is built from. */
74
80
  export declare const APARTE_ICON_GLYPHS: {
75
81
  readonly copy: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><rect x=\"8.5\" y=\"8.5\" width=\"12\" height=\"12\" rx=\"2.5\"/><path d=\"M15.5 8.5V6a2.5 2.5 0 0 0-2.5-2.5H6A2.5 2.5 0 0 0 3.5 6v7A2.5 2.5 0 0 0 6 15.5h2.5\"/></svg>";
@@ -97,5 +103,8 @@ export declare const APARTE_ICON_GLYPHS: {
97
103
  readonly archive: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 11 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"19\"/></svg>";
98
104
  readonly unarchive: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><polyline points=\"3 8 21 8\"/><path d=\"M5 8v11a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8\"/><polyline points=\"9 14 12 17 15 14\"/><line x1=\"12\" y1=\"11\" x2=\"12\" y2=\"17\"/></svg>";
99
105
  readonly download: "<svg class=\"aparte-icon\" viewBox=\"0 0 16 16\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8 2v9m0 0l-3-3m3 3l3-3M2 13h12\"/></svg>";
106
+ readonly more: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><circle cx=\"5.5\" cy=\"12\" r=\"1.1\"/><circle cx=\"12\" cy=\"12\" r=\"1.1\"/><circle cx=\"18.5\" cy=\"12\" r=\"1.1\"/></svg>";
107
+ readonly pin: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M8.5 3.5h7\"/><path d=\"M10 3.5v5l-3 3.5V14h10v-2l-3-3.5v-5\"/><path d=\"M12 14v6.5\"/></svg>";
108
+ readonly trash: "<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2\"/><path d=\"m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7\"/><path d=\"M10 11v5.5M14 11v5.5\"/></svg>";
100
109
  };
101
110
  //# sourceMappingURL=glyphs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"glyphs.d.ts","sourceRoot":"","sources":["../../src/icons/glyphs.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,+EAA+E;AAC/E,eAAO,MAAM,QAAQ,yUAA+S,CAAC;AAErU,yBAAyB;AACzB,eAAO,MAAM,SAAS,+MAA+L,CAAC;AAEtN,4DAA4D;AAC5D,eAAO,MAAM,QAAQ,kRAAgQ,CAAC;AAEtR,gCAAgC;AAChC,eAAO,MAAM,WAAW,4RAAoQ,CAAC;AAE7R,oDAAoD;AACpD,eAAO,MAAM,SAAS,kQAA0O,CAAC;AAEjQ,4BAA4B;AAC5B,eAAO,MAAM,UAAU,4MAA4L,CAAC;AAEpN,8BAA8B;AAC9B,eAAO,MAAM,YAAY,4MAA4L,CAAC;AAEtN,yEAAyE;AACzE,eAAO,MAAM,YAAY,iOAA+M,CAAC;AAEzO,uCAAuC;AACvC,eAAO,MAAM,aAAa,wRAAwQ,CAAC;AAEnS,gDAAgD;AAChD,eAAO,MAAM,SAAS,iTAAiR,CAAC;AAExS,wDAAwD;AACxD,eAAO,MAAM,QAAQ,uSAAqR,CAAC;AAE3S,mCAAmC;AACnC,eAAO,MAAM,cAAc,6NAA2M,CAAC;AAEvO,yDAAyD;AACzD,eAAO,MAAM,SAAS,6OAA2N,CAAC;AAElP,yBAAyB;AACzB,eAAO,MAAM,QAAQ,+TAA6S,CAAC;AAEnU,yCAAyC;AACzC,eAAO,MAAM,WAAW,2SAAyR,CAAC;AAElT,2CAA2C;AAC3C,eAAO,MAAM,aAAa,kTAAgS,CAAC;AAE3T,4BAA4B;AAC5B,eAAO,MAAM,cAAc,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TIb.js";
1
+ import { t as trashIcon, n as nextBranchIcon, p as prevBranchIcon, m as moreIcon } from "./glyphs-DQTeOj4w.js";
2
+ import { A, a, c, b, d, e, f, g, h, i, j, k, l, o, q, r, s, u, v, w, x, y, z, B, C } from "./glyphs-DQTeOj4w.js";
3
3
  const plusIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M12 4.5v15M4.5 12h15"/></svg>`;
4
4
  const minusIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 12h15"/></svg>`;
5
5
  const searchIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="10.5" cy="10.5" r="7"/><path d="m16 16 5.5 5.5"/></svg>`;
6
6
  const filterIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 4.5h17l-6.5 8v6.5l-4 2v-8.5Z"/></svg>`;
7
7
  const menuIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 7h15M4.5 12h15M4.5 17h15"/></svg>`;
8
- const moreHorizontalIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="5.5" cy="12" r="1.1"/><circle cx="12" cy="12" r="1.1"/><circle cx="18.5" cy="12" r="1.1"/></svg>`;
8
+ const moreHorizontalIcon = moreIcon;
9
9
  const moreVerticalIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="5.5" r="1.1"/><circle cx="12" cy="12" r="1.1"/><circle cx="12" cy="18.5" r="1.1"/></svg>`;
10
10
  const chevronLeftIcon = prevBranchIcon;
11
11
  const chevronRightIcon = nextBranchIcon;
@@ -16,7 +16,6 @@ const linkIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" strok
16
16
  const folderIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M3.5 7.5a2 2 0 0 1 2-2h4.2l2 2h7.8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-14a2 2 0 0 1-2-2Z"/></svg>`;
17
17
  const codeIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="m15.5 7.5 4.5 4.5-4.5 4.5M8.5 7.5 4 12l4.5 4.5"/></svg>`;
18
18
  const clipboardIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><rect x="5" y="4.5" width="14" height="16" rx="2.5"/><path d="M9 4.5V4a1.5 1.5 0 0 1 1.5-1.5h3A1.5 1.5 0 0 1 15 4v.5M9 11h6M9 15h4"/></svg>`;
19
- const trashIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 7h15M8 7V5a1.5 1.5 0 0 1 1.5-1.5h5A1.5 1.5 0 0 1 16 5v2"/><path d="m6.5 7 .8 12a1.5 1.5 0 0 0 1.5 1.5h6.4a1.5 1.5 0 0 0 1.5-1.4L17.5 7"/><path d="M10 11v5.5M14 11v5.5"/></svg>`;
20
19
  const saveIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5 4.5h11l3.5 3.5v11a1.5 1.5 0 0 1-1.5 1.5H5a1.5 1.5 0 0 1-1.5-1.5V6A1.5 1.5 0 0 1 5 4.5Z"/><path d="M8 20.5v-6h8v6M8 4.5v4h5"/></svg>`;
21
20
  const uploadIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4.5 15.5v3a2 2 0 0 0 2 2h11a2 2 0 0 0 2-2v-3"/><path d="M12 15V4M7.5 8.5 12 4l4.5 4.5"/></svg>`;
22
21
  const settingsIcon = `<svg class="aparte-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="12" cy="12" r="3"/><circle cx="12" cy="12" r="7"/><path d="M12 2.5V5M12 19v2.5M2.5 12H5M19 12h2.5M5.3 5.3l1.8 1.8M16.9 16.9l1.8 1.8M5.3 18.7l1.8-1.8M16.9 7.1l1.8-1.8"/></svg>`;
@@ -120,7 +119,7 @@ export {
120
119
  l as infoIcon,
121
120
  keyIcon,
122
121
  linkIcon,
123
- m as loadingIcon,
122
+ o as loadingIcon,
124
123
  menuIcon,
125
124
  messageSquareIcon,
126
125
  micIcon,
@@ -128,28 +127,30 @@ export {
128
127
  minusIcon,
129
128
  moonIcon,
130
129
  moreHorizontalIcon,
130
+ moreIcon,
131
131
  moreVerticalIcon,
132
132
  nextBranchIcon,
133
- o as paperclipIcon,
133
+ q as paperclipIcon,
134
+ r as pinIcon,
134
135
  plusIcon,
135
136
  prevBranchIcon,
136
- r as retryIcon,
137
+ s as retryIcon,
137
138
  saveIcon,
138
- s as scrollDownIcon,
139
+ u as scrollDownIcon,
139
140
  searchIcon,
140
- q as sendIcon,
141
+ v as sendIcon,
141
142
  settingsIcon,
142
143
  shareIcon,
143
144
  sparklesIcon,
144
145
  starIcon,
145
- t as stopIcon,
146
+ w as stopIcon,
146
147
  sunIcon,
147
- u as terminalIcon,
148
- v as thumbDownIcon,
149
- w as thumbUpIcon,
150
- x as toolIcon,
148
+ x as terminalIcon,
149
+ y as thumbDownIcon,
150
+ z as thumbUpIcon,
151
+ B as toolIcon,
151
152
  trashIcon,
152
- y as unarchiveIcon,
153
+ C as unarchiveIcon,
153
154
  uploadIcon,
154
155
  userIcon,
155
156
  xCircleIcon