@aparte/core 0.24.0 → 0.26.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 (106) hide show
  1. package/dist/client/agent-runner.d.ts.map +1 -1
  2. package/dist/client/aparte-client.d.ts +38 -76
  3. package/dist/client/aparte-client.d.ts.map +1 -1
  4. package/dist/client/stream-adapter.d.ts.map +1 -1
  5. package/dist/client/wire-history.d.ts +78 -0
  6. package/dist/client/wire-history.d.ts.map +1 -1
  7. package/dist/components/bubble/aparte-chat-bubble.d.ts +152 -2
  8. package/dist/components/bubble/aparte-chat-bubble.d.ts.map +1 -1
  9. package/dist/components/bubble/bubble-sync.d.ts +5 -1
  10. package/dist/components/bubble/bubble-sync.d.ts.map +1 -1
  11. package/dist/components/bubble/checkpoint-separator.d.ts +40 -0
  12. package/dist/components/bubble/checkpoint-separator.d.ts.map +1 -0
  13. package/dist/components/chat/aparte-chat.d.ts.map +1 -1
  14. package/dist/components/composer/aparte-composer-action.d.ts.map +1 -1
  15. package/dist/components/composer/aparte-composer-add-attachment.d.ts.map +1 -1
  16. package/dist/components/composer/aparte-composer-attachments.d.ts.map +1 -1
  17. package/dist/components/composer/aparte-composer-cancel.d.ts.map +1 -1
  18. package/dist/components/composer/aparte-composer-input.d.ts.map +1 -1
  19. package/dist/components/composer/aparte-composer-send.d.ts.map +1 -1
  20. package/dist/components/composer/aparte-composer-toolbar.d.ts.map +1 -1
  21. package/dist/components/composer/aparte-composer.d.ts.map +1 -1
  22. package/dist/components/context/aparte-context.d.ts +157 -25
  23. package/dist/components/context/aparte-context.d.ts.map +1 -1
  24. package/dist/components/conversation-list/aparte-conversation-list.d.ts.map +1 -1
  25. package/dist/components/elicitation/aparte-elicitation.d.ts.map +1 -1
  26. package/dist/components/scroll-rail/aparte-scroll-rail.d.ts.map +1 -1
  27. package/dist/components/sidebar/aparte-sidebar.d.ts.map +1 -1
  28. package/dist/components/split/aparte-split.d.ts.map +1 -1
  29. package/dist/components/status/aparte-chat-status.d.ts.map +1 -1
  30. package/dist/components/suggestions/aparte-suggestions.d.ts.map +1 -1
  31. package/dist/components/viewport/aparte-chat-viewport.d.ts +7 -0
  32. package/dist/components/viewport/aparte-chat-viewport.d.ts.map +1 -1
  33. package/dist/config/aparte-config.d.ts +47 -1
  34. package/dist/config/aparte-config.d.ts.map +1 -1
  35. package/dist/config/locale.d.ts +62 -4
  36. package/dist/config/locale.d.ts.map +1 -1
  37. package/dist/context/checkpoint-state.d.ts +70 -0
  38. package/dist/context/checkpoint-state.d.ts.map +1 -0
  39. package/dist/context/checkpoint.d.ts +28 -0
  40. package/dist/context/checkpoint.d.ts.map +1 -0
  41. package/dist/context/measure.d.ts +148 -0
  42. package/dist/context/measure.d.ts.map +1 -0
  43. package/dist/context/restore.d.ts +24 -0
  44. package/dist/context/restore.d.ts.map +1 -0
  45. package/dist/conversations/conversation-controller.d.ts +13 -4
  46. package/dist/conversations/conversation-controller.d.ts.map +1 -1
  47. package/dist/conversations/conversation-manager.d.ts +6 -0
  48. package/dist/conversations/conversation-manager.d.ts.map +1 -1
  49. package/dist/custom-elements.json +15347 -12878
  50. package/dist/{dialog-triggers-BqXRdHWZ.js → defer-hydration-8vI8xNNx.js} +1179 -374
  51. package/dist/defer-hydration-8vI8xNNx.js.map +1 -0
  52. package/dist/generated/element-attributes.d.ts +8 -2
  53. package/dist/generated/element-attributes.d.ts.map +1 -1
  54. package/dist/{glyphs-C8z2oJUg.js → glyphs-2bym5jl5.js} +1 -1
  55. package/dist/{glyphs-C8z2oJUg.js.map → glyphs-2bym5jl5.js.map} +1 -1
  56. package/dist/host/aparte-chat-host.d.ts +41 -2
  57. package/dist/host/aparte-chat-host.d.ts.map +1 -1
  58. package/dist/icons.js +2 -2
  59. package/dist/index.css +1 -1
  60. package/dist/index.d.ts +7 -2
  61. package/dist/index.d.ts.map +1 -1
  62. package/dist/index.js +1059 -95
  63. package/dist/index.js.map +1 -1
  64. package/dist/index.node.d.ts +6 -2
  65. package/dist/index.node.d.ts.map +1 -1
  66. package/dist/index.node.js +39 -29
  67. package/dist/index.node.js.map +1 -1
  68. package/dist/interop/defer-hydration.d.ts +34 -0
  69. package/dist/interop/defer-hydration.d.ts.map +1 -0
  70. package/dist/primitives/icon/aparte-icon.d.ts.map +1 -1
  71. package/dist/primitives/progress-spinner/aparte-progress-spinner.d.ts.map +1 -1
  72. package/dist/primitives/select/aparte-optgroup.d.ts.map +1 -1
  73. package/dist/primitives/select/aparte-option.d.ts.map +1 -1
  74. package/dist/primitives/select/aparte-select.d.ts.map +1 -1
  75. package/dist/renderers/index.d.ts +2 -1
  76. package/dist/renderers/index.d.ts.map +1 -1
  77. package/dist/renderers/mounted-renderer.d.ts +34 -0
  78. package/dist/renderers/mounted-renderer.d.ts.map +1 -0
  79. package/dist/renderers/segment-renderers.d.ts +14 -1
  80. package/dist/renderers/segment-renderers.d.ts.map +1 -1
  81. package/dist/renderers/segments/tool-call.d.ts +2 -1
  82. package/dist/renderers/segments/tool-call.d.ts.map +1 -1
  83. package/dist/transport/agent-handler.d.ts.map +1 -1
  84. package/dist/transport/backend-handler.d.ts.map +1 -1
  85. package/dist/transport/types.d.ts +24 -4
  86. package/dist/transport/types.d.ts.map +1 -1
  87. package/dist/types/chat.d.ts +16 -1
  88. package/dist/types/chat.d.ts.map +1 -1
  89. package/dist/types/compactor.d.ts +104 -0
  90. package/dist/types/compactor.d.ts.map +1 -0
  91. package/dist/types/errors.d.ts +2 -0
  92. package/dist/types/errors.d.ts.map +1 -1
  93. package/dist/types/events.d.ts +50 -3
  94. package/dist/types/events.d.ts.map +1 -1
  95. package/dist/types/index.d.ts +5 -4
  96. package/dist/types/index.d.ts.map +1 -1
  97. package/dist/types/model-provider.d.ts +3 -0
  98. package/dist/types/model-provider.d.ts.map +1 -1
  99. package/dist/types/models.d.ts +43 -3
  100. package/dist/types/models.d.ts.map +1 -1
  101. package/dist/types/segments.d.ts +22 -4
  102. package/dist/types/segments.d.ts.map +1 -1
  103. package/dist/types/tools.d.ts +56 -0
  104. package/dist/types/tools.d.ts.map +1 -1
  105. package/package.json +2 -2
  106. package/dist/dialog-triggers-BqXRdHWZ.js.map +0 -1
@@ -33,6 +33,10 @@ export interface AparteChatBubbleAttributes {
33
33
  streaming?: boolean;
34
34
  /** Who wrote the message: shown in the header, and the message's accessible name ("Message from {name}"). Leave it out for the reader and the assistant, whose names come from the locale. */
35
35
  name?: string;
36
+ /** `pending` or `failed`: what a compaction is doing to this message, which it will carry as a checkpoint. The viewport and the framework host set it from `aparte-compact-start` / `-error` and take it off again; the bubble draws the separator's "Summarising the context…" or Retry from it. Read it, do not write it. */
37
+ 'data-checkpoint'?: string;
38
+ /** Why the compaction failed, beside `data-checkpoint="failed"`: the separator gives it as the failure's tooltip and to screen readers. Set and cleared with `data-checkpoint`; read it, do not write it. */
39
+ 'data-checkpoint-reason'?: string;
36
40
  }
37
41
  /** `<aparte-chat-status>` — A standalone status line — a light-DOM indicator the APP owns. Nothing in core turns it on: the framework host only ever flips it back OFF (on the first streamed token), and the four wrappers render one inside the viewport driven by their own `isTyping` prop. */
38
42
  export interface AparteChatStatusAttributes {
@@ -107,7 +111,7 @@ export interface AparteComposerToolbarAttributes {
107
111
  /** Reflected BY the element while it holds neither a visible element child nor non-whitespace text; the stylesheet hides it then. A child that hides itself — `hidden`, or its own `data-empty` the way `<aparte-context>` does before its first usage — does not count: a row whose only child shows nothing is an empty band with a border. Read-only, do not set it yourself. */
108
112
  'data-empty'?: boolean;
109
113
  }
110
- /** `<aparte-context>` — A gauge of the model's context window: how much of it the conversation uses. */
114
+ /** `<aparte-context>` — A gauge of the model's context window: how much of it the conversation uses, and what fills it. */
111
115
  export interface AparteContextAttributes {
112
116
  /** The context window, in tokens. Overrides the current model's `contextWindow`. */
113
117
  window?: number;
@@ -121,12 +125,14 @@ export interface AparteContextAttributes {
121
125
  variant?: string;
122
126
  /** Tokens in use before a turn of this page has reported any: a restored conversation's last usage. The next turn's usage replaces it. */
123
127
  used?: number;
124
- /** Dispatch `aparte-compact` on each turn that ends in `danger`, one request at a time. */
128
+ /** Deprecated, still works. Dispatch `aparte-compact` (with `auto: true`) on each turn that ends in `danger`, one request at a time. `@aparte/plugin-compaction` decides when to compact by itself now, so leave this off. */
125
129
  'auto-compact'?: boolean;
126
130
  /** Reflected BY the element: `ok`, `warn` or `danger`. Read-only. */
127
131
  'data-level'?: string;
128
132
  /** Reflected BY the element while it has nothing to show. Read-only. */
129
133
  'data-empty'?: boolean;
134
+ /** Reflected BY the element while this chat is being compacted (`running`) and after a compaction failed (`failed`). Read-only. */
135
+ 'data-compact'?: string;
130
136
  }
131
137
  /** `<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. Acting on it is the host's, unless `manage` hands the row menu's writes to the registered conversation manager. */
132
138
  export interface AparteConversationListAttributes {
@@ -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,OAAO,CAAC;IACnB,iPAAiP;IACjP,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,yLAAyL;IACzL,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,sGAAsG;IACtG,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,yWAAyW;IACzW,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,wQAAwQ;IACxQ,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,ueAAue;IACve,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,2YAA2Y;IAC3Y,mBAAmB,CAAC,EAAE,OAAO,CAAC;CACjC;AAED,oGAAoG;AACpG,MAAM,WAAW,0BAA0B;IACvC,oNAAoN;IACpN,WA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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"}
@@ -96,4 +96,4 @@ export {
96
96
  sendIcon as y,
97
97
  stopIcon as z
98
98
  };
99
- //# sourceMappingURL=glyphs-C8z2oJUg.js.map
99
+ //# sourceMappingURL=glyphs-2bym5jl5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"glyphs-C8z2oJUg.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 24 24\" fill=\"currentColor\"><rect x=\"5\" y=\"5\" width=\"14\" height=\"14\" rx=\"2.5\"/></svg>`;\n\n/** Paused — two bars, filled like the stop square it sits beside in the tool row's vocabulary */\nexport const pauseIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><rect x=\"6\" y=\"5\" width=\"4.5\" height=\"14\" rx=\"1.5\"/><rect x=\"13.5\" y=\"5\" width=\"4.5\" height=\"14\" rx=\"1.5\"/></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 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3.5v12m0 0-4.5-4.5M12 15.5l4.5-4.5M4.5 20h15\"/></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. */\n/** Open a navigation drawer (☰) */\nexport 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>`;\n\n/** A warning (triangle) */\nexport const alertTriangleIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10.7 4.3 2.9 18a1.5 1.5 0 0 0 1.3 2.3h15.6a1.5 1.5 0 0 0 1.3-2.3L13.3 4.3a1.5 1.5 0 0 0-2.6 0Z\"/><path d=\"M12 9.5V14M12 17.2v.1\"/></svg>`;\n\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 pause: pauseIcon,\n info: infoIcon,\n archive: archiveIcon,\n unarchive: unarchiveIcon,\n download: downloadIcon,\n more: moreIcon,\n pin: pinIcon,\n trash: trashIcon,\n menu: menuIcon,\n alertTriangle: alertTriangleIcon,\n} as const;\n"],"names":[],"mappings":"AAyBO,MAAM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**\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 24 24\" fill=\"currentColor\"><rect x=\"5\" y=\"5\" width=\"14\" height=\"14\" rx=\"2.5\"/></svg>`;\n\n/** Paused — two bars, filled like the stop square it sits beside in the tool row's vocabulary */\nexport const pauseIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"currentColor\"><rect x=\"6\" y=\"5\" width=\"4.5\" height=\"14\" rx=\"1.5\"/><rect x=\"13.5\" y=\"5\" width=\"4.5\" height=\"14\" rx=\"1.5\"/></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 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M12 3.5v12m0 0-4.5-4.5M12 15.5l4.5-4.5M4.5 20h15\"/></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. */\n/** Open a navigation drawer (☰) */\nexport 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>`;\n\n/** A warning (triangle) */\nexport const alertTriangleIcon = `<svg class=\"aparte-icon\" viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path d=\"M10.7 4.3 2.9 18a1.5 1.5 0 0 0 1.3 2.3h15.6a1.5 1.5 0 0 0 1.3-2.3L13.3 4.3a1.5 1.5 0 0 0-2.6 0Z\"/><path d=\"M12 9.5V14M12 17.2v.1\"/></svg>`;\n\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 pause: pauseIcon,\n info: infoIcon,\n archive: archiveIcon,\n unarchive: unarchiveIcon,\n download: downloadIcon,\n more: moreIcon,\n pin: pinIcon,\n trash: trashIcon,\n menu: menuIcon,\n alertTriangle: alertTriangleIcon,\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,YAAY;AAGlB,MAAM,WAAW;AAGjB,MAAM,cAAc;AAGpB,MAAM,gBAAgB;AAGtB,MAAM,eAAe;AAGrB,MAAM,WAAW;AAGjB,MAAM,UAAU;AAGhB,MAAM,YAAY;AAIlB,MAAM,WAAW;AAGjB,MAAM,oBAAoB;AAE1B,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,OAAO;AAAA,EACP,MAAM;AAAA,EACN,SAAS;AAAA,EACT,WAAW;AAAA,EACX,UAAU;AAAA,EACV,MAAM;AAAA,EACN,KAAK;AAAA,EACL,OAAO;AAAA,EACP,MAAM;AAAA,EACN,eAAe;AACnB;"}
@@ -62,8 +62,24 @@ export declare class AparteChatHost {
62
62
  private readonly options;
63
63
  /** Id of the assistant message currently streaming (null when idle). */
64
64
  private _streamingId;
65
- /** Message ids already reconciled onto a bubble (skip-rerender cache). */
65
+ /**
66
+ * The message object each bubble was last drawn from, by id (skip-rerender cache).
67
+ *
68
+ * An id alone could not say whether the list had changed under a bubble: a framework
69
+ * that owns the transcript (a controlled `messages` prop, a v-model, a store behind a
70
+ * compaction target) never goes through {@link updateMessage}, it hands over a list
71
+ * with a NEW object for the message it changed, and a checkpoint written that way to a
72
+ * message that was not the last never reached its bubble. Immutable updates always
73
+ * produce a new object, so the reference is the signal; the same object again means
74
+ * nothing changed and the bubble is left alone.
75
+ */
66
76
  private readonly _renderedIds;
77
+ /**
78
+ * Says on the bubble what a compaction is doing to the message it will sit on. The
79
+ * viewport answers for this in a chat with no framework; here the framework owns the
80
+ * list and the host is the one that knows which bubble is whose.
81
+ */
82
+ private readonly _checkpointState;
67
83
  /** Sibling info from the last path-change, applied after the next render. */
68
84
  private _pendingSiblings?;
69
85
  /** How many render passes the sibling write has waited for — see `_applyPendingSiblings`. */
@@ -87,11 +103,33 @@ export declare class AparteChatHost {
87
103
  private _tokenBuffer;
88
104
  /** Handle of the scheduled coalesced sync, or null when none is pending. */
89
105
  private _flushHandle;
106
+ /**
107
+ * Lists reported through `onMessagesChange` that the parent has not handed back yet, oldest
108
+ * first — what {@link takeEcho} recognises. Bounded: a parent that never hands a list back
109
+ * (an uncontrolled chat) must not make it grow for the life of the page.
110
+ */
111
+ private readonly _pendingEchoes;
90
112
  private _conversationId;
91
113
  private _controller?;
92
114
  private _teardown;
93
115
  private _bound;
94
116
  constructor(binding: AparteChatHostBinding, options?: AparteChatHostOptions);
117
+ /** Every report goes through here, so {@link takeEcho} knows what the parent may hand back. */
118
+ private _report;
119
+ /**
120
+ * Whether a list the parent hands back is this host's own report coming back — the echo of
121
+ * `onMessagesChange` through a two-way binding (`bind:messages`, `v-model:messages`,
122
+ * `[(messages)]`, a controlled React prop). A wrapper asks before applying the list it is
123
+ * given, because applying an echo rolls back what the host did since without reporting (an
124
+ * optimistic append).
125
+ *
126
+ * True for a list reported and not handed back yet, however late it lands — a parent whose
127
+ * render comes after the host's next write hands back an EARLIER report — and that list and
128
+ * every older one are taken. False for any other list, the parent's own word, which clears
129
+ * them: a list the parent restores later (a reopened conversation, an undo) is applied,
130
+ * where remembering every list ever reported swallowed it.
131
+ */
132
+ takeEcho(list: AparteMessage[]): boolean;
95
133
  /**
96
134
  * Install the host-method surface + event listeners and create the
97
135
  * conversation controller. Returns a teardown function; call once after the
@@ -208,7 +246,8 @@ export declare class AparteChatHost {
208
246
  /**
209
247
  * Reconcile rendered bubbles with the current message list. The framework
210
248
  * calls this from its reactive message-change hook after rendering; the
211
- * last message is always re-synced (streaming), others only once.
249
+ * last message is always re-synced (streaming), the others whenever the list
250
+ * holds a different object for them than the one they were drawn from.
212
251
  */
213
252
  syncBubbles(): void;
214
253
  /**
@@ -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;AA6D/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,g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;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,qBAAqB;IAuB7B,4EAA4E;IAC5E,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,GAAG;IAIX,OAAO,CAAC,WAAW;IAQnB;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,aAAa;IAKrB,OAAO,CAAC,WAAW;IAOnB,OAAO,CAAC,mBAAmB;IA2B3B,OAAO,CAAC,0BAA0B;IAqDlC,OAAO,CAAC,yBAAyB;CAqCpC"}
package/dist/icons.js CHANGED
@@ -1,5 +1,5 @@
1
- import { t as trashIcon, n as nextBranchIcon, p as prevBranchIcon, m as moreIcon } from "./glyphs-C8z2oJUg.js";
2
- import { A, a, b, c, d, e, f, g, h, i, j, k, l, o, q, r, s, u, v, w, x, y, z, B, C, D, E, F } from "./glyphs-C8z2oJUg.js";
1
+ import { t as trashIcon, n as nextBranchIcon, p as prevBranchIcon, m as moreIcon } from "./glyphs-2bym5jl5.js";
2
+ import { A, a, b, c, d, e, f, g, h, i, j, k, l, o, q, r, s, u, v, w, x, y, z, B, C, D, E, F } from "./glyphs-2bym5jl5.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>`;