@aparte/core 0.30.1 → 0.32.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.
- package/dist/components/index.d.ts +1 -1
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/suggestions/aparte-suggestions.d.ts +16 -1
- package/dist/components/suggestions/aparte-suggestions.d.ts.map +1 -1
- package/dist/components/suggestions/index.d.ts +1 -0
- package/dist/components/suggestions/index.d.ts.map +1 -1
- package/dist/components/suggestions/suggestion-blocks.d.ts +29 -0
- package/dist/components/suggestions/suggestion-blocks.d.ts.map +1 -0
- package/dist/config/aparte-config.d.ts +10 -4
- package/dist/config/aparte-config.d.ts.map +1 -1
- package/dist/custom-elements.json +161 -3
- package/dist/{defer-hydration-rafq3SGv.js → defer-hydration-ggxlbvL9.js} +4378 -4332
- package/dist/defer-hydration-ggxlbvL9.js.map +1 -0
- package/dist/generated/element-attributes.d.ts +2 -0
- package/dist/generated/element-attributes.d.ts.map +1 -1
- package/dist/host/aparte-chat-host.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +81 -52
- package/dist/index.js.map +1 -1
- package/dist/index.node.d.ts +1 -0
- package/dist/index.node.d.ts.map +1 -1
- package/dist/index.node.js +35 -33
- package/dist/index.node.js.map +1 -1
- package/dist/renderers/code-languages.d.ts.map +1 -1
- package/dist/renderers/segments/code.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/defer-hydration-rafq3SGv.js.map +0 -1
|
@@ -7,7 +7,7 @@ export { AparteComposer, AparteComposerInput, AparteComposerSend, AparteComposer
|
|
|
7
7
|
export type { AparteComposerEventMap, AparteComposerEventType, AparteComposerState, AparteComposerChangeEventDetail, AparteComposerPanelMode, AparteActionClickEventDetail } from './composer/index.js';
|
|
8
8
|
export { AparteConversationList } from './conversation-list/index.js';
|
|
9
9
|
export type { AparteConversationListItem, AparteConversationSelectDetail, AparteConversationDeleteDetail, AparteConversationArchiveDetail, AparteConversationPinDetail, AparteConversationRenameDetail, AparteConversationStatus, AparteConversationStatusDetail } from './conversation-list/index.js';
|
|
10
|
-
export { AparteSuggestions } from './suggestions/index.js';
|
|
10
|
+
export { AparteSuggestions, setupSuggestionBlocks, SUGGESTIONS_BLOCK_LANGUAGE } from './suggestions/index.js';
|
|
11
11
|
export type { AparteSuggestion, AparteSuggestionEventDetail } from './suggestions/index.js';
|
|
12
12
|
export { AparteContext } from './context/index.js';
|
|
13
13
|
export type { AparteContextLevel, AparteContextThresholdEventDetail } from './context/index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/components/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,gBAAgB,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAC;AAChF,YAAY,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACxD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,EAAE,cAAc,EAAE,mBAAmB,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,yBAAyB,EAAE,2BAA2B,EAAE,oBAAoB,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AACzN,YAAY,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,mBAAmB,EAAE,+BAA+B,EAAE,uBAAuB,EAAE,4BAA4B,EAAE,MAAM,qBAAqB,CAAC;AAGxM,OAAO,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAC;AACtE,YAAY,EAAE,0BAA0B,EAAE,8BAA8B,EAAE,8BAA8B,EAAE,+BAA+B,EAAE,2BAA2B,EAAE,8BAA8B,EAAE,wBAAwB,EAAE,8BAA8B,EAAE,MAAM,8BAA8B,CAAC;AA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,0BAA0B,EAAE,qBAAqB,EAAE,MAAM,wBAAwB,CAAC;AAGhG,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,YAAY,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AAGpE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,YAAY,EAAE,uBAAuB,EAAE,MAAM,kBAAkB,CAAC;AAGhE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,YAAY,EAAE,0BAA0B,EAAE,MAAM,qBAAqB,CAAC"}
|
|
@@ -47,6 +47,11 @@ export interface AparteSuggestionEventDetail {
|
|
|
47
47
|
* lands. The element sets and lifts `hidden` itself and never lifts one you set.
|
|
48
48
|
* With no transcript to read — a composer outside any chat — the first send hides it
|
|
49
49
|
* until the attribute is removed.
|
|
50
|
+
* @attr {boolean} answers - Shows the replies the LAST message offered instead of fixed
|
|
51
|
+
* starters: a code block in language `suggestions` in that answer
|
|
52
|
+
* (`setupSuggestionBlocks`), e.g. the
|
|
53
|
+
* free times a booking bot proposes. Empty until an answer offers some, emptied the
|
|
54
|
+
* moment a message is sent, and when the last message is the person's.
|
|
50
55
|
* @attr {string} target - The id of the `<aparte-chat>` whose composer should receive
|
|
51
56
|
* the click, when the element is not inside that composer.
|
|
52
57
|
* @attr {boolean} data-empty - Reflected BY the element while it has no suggestion to
|
|
@@ -122,8 +127,18 @@ export declare class AparteSuggestions extends HTMLElement {
|
|
|
122
127
|
* chat's transcript would be worse than following none, which falls back to the send.
|
|
123
128
|
*/
|
|
124
129
|
private _resolveTranscript;
|
|
125
|
-
/** Follow the transcript while `empty-only` is set, and stop following it when
|
|
130
|
+
/** Follow the transcript while `empty-only` or `answers` is set, and stop following it when neither is. */
|
|
126
131
|
private _watchTranscript;
|
|
132
|
+
private _onTranscript;
|
|
133
|
+
/**
|
|
134
|
+
* `answers`: the replies the LAST message offered, written by a ```suggestions block
|
|
135
|
+
* (`setupSuggestionBlocks`) as a hidden `[data-aparte-suggestions]` mark in that
|
|
136
|
+
* message. A last message that is the person's, or that offers none, shows none: the
|
|
137
|
+
* offer was for the answer it came with.
|
|
138
|
+
*/
|
|
139
|
+
private _applyAnswers;
|
|
140
|
+
/** Show these replies; the same ones already shown redraw nothing (a transcript mutation is frequent). */
|
|
141
|
+
private _showAnswers;
|
|
127
142
|
/** Set `hidden`, or lift it only when this element set it: a `hidden` the page wrote stays. */
|
|
128
143
|
private _setHidden;
|
|
129
144
|
private _render;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/aparte-suggestions.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,2EAA2E;AAC3E,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AAwBD
|
|
1
|
+
{"version":3,"file":"aparte-suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/aparte-suggestions.ts"],"names":[],"mappings":"AAMA;;;;;GAKG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,2EAA2E;AAC3E,MAAM,WAAW,2BAA2B;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAClB;AAwBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6DG;AACH,qBAAa,iBAAkB,SAAQ,WAAW;IAC9C,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,OAAO,CAAC,YAAY,CAA0B;IAC9C,OAAO,CAAC,SAAS,CAA+B;IAEhD,+EAA+E;IAC/E,OAAO,CAAC,WAAW,CAAwB;IAC3C,OAAO,CAAC,mBAAmB,CAAiC;IAC5D,kEAAkE;IAClE,OAAO,CAAC,KAAK,CAAS;IACtB,OAAO,CAAC,SAAS,CAAQ;IACzB,6EAA6E;IAC7E,OAAO,CAAC,OAAO,CAAS;IAWxB,OAAO,CAAC,OAAO,CAQb;IAEF,OAAO,CAAC,eAAe,CAKrB;IAEF,OAAO,CAAC,eAAe,CAGrB;IAEF,yFAAyF;IACzF,IAAI,WAAW,IAAI,gBAAgB,EAAE,CAEpC;IAED;;;;;;;OAOG;IACH,IAAI,WAAW,CAAC,KAAK,EAAE,gBAAgB,EAAE,GAAG,MAAM,EAKjD;IAED,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;IAS5B,wBAAwB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAkB5C,OAAO,CAAC,WAAW;IAInB,OAAO,CAAC,OAAO,CAAuB;IAEtC;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAOtB;;;;;OAKG;IACH,OAAO,CAAC,gBAAgB;IAexB,OAAO,CAAC,cAAc;IAOtB;;;;;OAKG;IACH,OAAO,CAAC,kBAAkB;IAO1B,2GAA2G;IAC3G,OAAO,CAAC,gBAAgB;IAmBxB,OAAO,CAAC,aAAa,CAGnB;IAEF;;;;;OAKG;IACH,OAAO,CAAC,aAAa;IAQrB,0GAA0G;IAC1G,OAAO,CAAC,YAAY;IAMpB,+FAA+F;IAC/F,OAAO,CAAC,UAAU;IAWlB,OAAO,CAAC,OAAO;IAyBf,OAAO,CAAC,SAAS;CAwBpB"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { AparteSuggestions } from './aparte-suggestions.js';
|
|
2
|
+
export { setupSuggestionBlocks, SUGGESTIONS_BLOCK_LANGUAGE } from './suggestion-blocks.js';
|
|
2
3
|
export type { AparteSuggestion, AparteSuggestionEventDetail } from './aparte-suggestions.js';
|
|
3
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAC5D,OAAO,EAAE,qBAAqB,EAAE,0BAA0B,EAAE,MAAM,wBAAwB,CAAC;AAC3F,YAAY,EAAE,gBAAgB,EAAE,2BAA2B,EAAE,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Replies an answer offers, written as text: a ```suggestions block of JSON in a reply,
|
|
3
|
+
* for a backend that only sends text (an n8n workflow, a plain completion), the way
|
|
4
|
+
* `@aparte/plugin-cards` reads a ```card-<name> block. Nothing of it shows in the
|
|
5
|
+
* message: `<aparte-suggestions answers>` above the composer shows the replies of the last
|
|
6
|
+
* answer, and a click sends one as if typed.
|
|
7
|
+
*
|
|
8
|
+
* Which day suits you?
|
|
9
|
+
* ```suggestions
|
|
10
|
+
* ["Tuesday 3", "Wednesday 4", {"label": "Another week", "prompt": "Next week, please"}]
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* One more user of `registerCodeLanguageRenderer`, the seam a block's language goes
|
|
14
|
+
* through: no system of its own.
|
|
15
|
+
*/
|
|
16
|
+
import { type AparteConfig } from '../../config/index.js';
|
|
17
|
+
/** The language the block is written in. */
|
|
18
|
+
export declare const SUGGESTIONS_BLOCK_LANGUAGE = "suggestions";
|
|
19
|
+
/**
|
|
20
|
+
* Read the code blocks in language `suggestions` in replies as the replies that
|
|
21
|
+
* `<aparte-suggestions answers>` offers. Returns the function that stops it. Off until called: a block is then no longer
|
|
22
|
+
* shown as code, so it is the app's choice.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* setupSuggestionBlocks();
|
|
26
|
+
* // and, in the composer, an `<aparte-suggestions answers>` element
|
|
27
|
+
*/
|
|
28
|
+
export declare function setupSuggestionBlocks(config?: AparteConfig): () => void;
|
|
29
|
+
//# sourceMappingURL=suggestion-blocks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"suggestion-blocks.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/suggestion-blocks.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAsB,KAAK,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAG9E,4CAA4C;AAC5C,eAAO,MAAM,0BAA0B,gBAAgB,CAAC;AAiBxD;;;;;;;;GAQG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,GAAE,YAAiC,GAAG,MAAM,IAAI,CAa3F"}
|
|
@@ -157,12 +157,18 @@ export interface AparteCodeLanguageRenderer {
|
|
|
157
157
|
*/
|
|
158
158
|
readonly lazy?: boolean;
|
|
159
159
|
/**
|
|
160
|
-
* The drawing
|
|
161
|
-
*
|
|
162
|
-
*
|
|
163
|
-
*
|
|
160
|
+
* The drawing handles its own overflow: no scroller around it. For a rich card, whose
|
|
161
|
+
* carousel scrolls itself and whose shadows reach past its box; a diagram or a chart leaves
|
|
162
|
+
* it off and scrolls inside its box. Either way a fenced block of a drawn language wears no
|
|
163
|
+
* code card (header, language, copy button) unless `card` keeps it.
|
|
164
164
|
*/
|
|
165
165
|
readonly bare?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Keep the code card around the drawing once it is drawn: its header, language and copy
|
|
168
|
+
* button. For a drawing whose source the reader takes away, as a Mermaid diagram's is pasted
|
|
169
|
+
* into a document. Left off, what is drawn stands for the block, as a chart or a card does.
|
|
170
|
+
*/
|
|
171
|
+
readonly card?: boolean;
|
|
166
172
|
}
|
|
167
173
|
export declare function renderingVersionOf(cfg: AparteConfig): number;
|
|
168
174
|
export declare function onRenderersChange(listener: (cfg: AparteConfig) => void): () => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-config.d.ts","sourceRoot":"","sources":["../../src/config/aparte-config.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAiC,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,sBAAsB,EAAyB,MAAM,aAAa,CAAC;AAC1F,OAAO,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,iCAAiC,CAAC;AACtF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAC;AAC1E,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAC5E,OAAO,KAAK,EAAE,gBAAgB,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AACrG,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,OAAO,KAAK,EACR,UAAU,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,cAAc,EAAE,iBAAiB,EAAE,iBAAiB,EACpJ,oBAAoB,EAAE,oBAAoB,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
1433
1433
|
"module": "./components/index.js"
|
|
1434
1434
|
}
|
|
1435
1435
|
},
|
|
1436
|
+
{
|
|
1437
|
+
"kind": "js",
|
|
1438
|
+
"name": "setupSuggestionBlocks",
|
|
1439
|
+
"declaration": {
|
|
1440
|
+
"name": "setupSuggestionBlocks",
|
|
1441
|
+
"module": "./components/suggestions/suggestion-blocks.js"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"kind": "js",
|
|
1446
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
1447
|
+
"declaration": {
|
|
1448
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
1449
|
+
"module": "./components/suggestions/suggestion-blocks.js"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1436
1452
|
{
|
|
1437
1453
|
"kind": "js",
|
|
1438
1454
|
"name": "AparteContextLevel",
|
|
@@ -4075,6 +4091,22 @@
|
|
|
4075
4091
|
"module": "./components/index.js"
|
|
4076
4092
|
}
|
|
4077
4093
|
},
|
|
4094
|
+
{
|
|
4095
|
+
"kind": "js",
|
|
4096
|
+
"name": "setupSuggestionBlocks",
|
|
4097
|
+
"declaration": {
|
|
4098
|
+
"name": "setupSuggestionBlocks",
|
|
4099
|
+
"module": "./components/index.js"
|
|
4100
|
+
}
|
|
4101
|
+
},
|
|
4102
|
+
{
|
|
4103
|
+
"kind": "js",
|
|
4104
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
4105
|
+
"declaration": {
|
|
4106
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
4107
|
+
"module": "./components/index.js"
|
|
4108
|
+
}
|
|
4109
|
+
},
|
|
4078
4110
|
{
|
|
4079
4111
|
"kind": "js",
|
|
4080
4112
|
"name": "AparteSuggestion",
|
|
@@ -10657,6 +10689,22 @@
|
|
|
10657
10689
|
"module": "./suggestions/index.js"
|
|
10658
10690
|
}
|
|
10659
10691
|
},
|
|
10692
|
+
{
|
|
10693
|
+
"kind": "js",
|
|
10694
|
+
"name": "setupSuggestionBlocks",
|
|
10695
|
+
"declaration": {
|
|
10696
|
+
"name": "setupSuggestionBlocks",
|
|
10697
|
+
"module": "./suggestions/index.js"
|
|
10698
|
+
}
|
|
10699
|
+
},
|
|
10700
|
+
{
|
|
10701
|
+
"kind": "js",
|
|
10702
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
10703
|
+
"declaration": {
|
|
10704
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
10705
|
+
"module": "./suggestions/index.js"
|
|
10706
|
+
}
|
|
10707
|
+
},
|
|
10660
10708
|
{
|
|
10661
10709
|
"kind": "js",
|
|
10662
10710
|
"name": "AparteSuggestion",
|
|
@@ -29927,7 +29975,42 @@
|
|
|
29927
29975
|
"text": "void"
|
|
29928
29976
|
}
|
|
29929
29977
|
},
|
|
29930
|
-
"description": "Follow the transcript while `empty-only` is set, and stop following it when
|
|
29978
|
+
"description": "Follow the transcript while `empty-only` or `answers` is set, and stop following it when neither is."
|
|
29979
|
+
},
|
|
29980
|
+
{
|
|
29981
|
+
"kind": "field",
|
|
29982
|
+
"name": "_onTranscript",
|
|
29983
|
+
"privacy": "private"
|
|
29984
|
+
},
|
|
29985
|
+
{
|
|
29986
|
+
"kind": "method",
|
|
29987
|
+
"name": "_applyAnswers",
|
|
29988
|
+
"privacy": "private",
|
|
29989
|
+
"return": {
|
|
29990
|
+
"type": {
|
|
29991
|
+
"text": "void"
|
|
29992
|
+
}
|
|
29993
|
+
},
|
|
29994
|
+
"description": "`answers`: the replies the LAST message offered, written by a ```suggestions block\n(`setupSuggestionBlocks`) as a hidden `[data-aparte-suggestions]` mark in that\nmessage. A last message that is the person's, or that offers none, shows none: the\noffer was for the answer it came with."
|
|
29995
|
+
},
|
|
29996
|
+
{
|
|
29997
|
+
"kind": "method",
|
|
29998
|
+
"name": "_showAnswers",
|
|
29999
|
+
"privacy": "private",
|
|
30000
|
+
"return": {
|
|
30001
|
+
"type": {
|
|
30002
|
+
"text": "void"
|
|
30003
|
+
}
|
|
30004
|
+
},
|
|
30005
|
+
"parameters": [
|
|
30006
|
+
{
|
|
30007
|
+
"name": "list",
|
|
30008
|
+
"type": {
|
|
30009
|
+
"text": "AparteSuggestion[]"
|
|
30010
|
+
}
|
|
30011
|
+
}
|
|
30012
|
+
],
|
|
30013
|
+
"description": "Show these replies; the same ones already shown redraw nothing (a transcript mutation is frequent)."
|
|
29931
30014
|
},
|
|
29932
30015
|
{
|
|
29933
30016
|
"kind": "method",
|
|
@@ -30008,6 +30091,13 @@
|
|
|
30008
30091
|
},
|
|
30009
30092
|
"description": "Shows the row only while the conversation it serves is empty: hidden (`hidden`) once a message is in its transcript or on its way — a thread being loaded counts — and shown again when the transcript is cleared, by a new chat for instance. The composer's send hides it at once, before its message lands. The element sets and lifts `hidden` itself and never lifts one you set. With no transcript to read — a composer outside any chat — the first send hides it until the attribute is removed."
|
|
30010
30093
|
},
|
|
30094
|
+
{
|
|
30095
|
+
"name": "answers",
|
|
30096
|
+
"type": {
|
|
30097
|
+
"text": "boolean"
|
|
30098
|
+
},
|
|
30099
|
+
"description": "Shows the replies the LAST message offered instead of fixed starters: a code block in language `suggestions` in that answer (`setupSuggestionBlocks`), e.g. the free times a booking bot proposes. Empty until an answer offers some, emptied the moment a message is sent, and when the last message is the person's."
|
|
30100
|
+
},
|
|
30011
30101
|
{
|
|
30012
30102
|
"type": {
|
|
30013
30103
|
"text": "string"
|
|
@@ -30065,6 +30155,22 @@
|
|
|
30065
30155
|
"module": "./aparte-suggestions.js"
|
|
30066
30156
|
}
|
|
30067
30157
|
},
|
|
30158
|
+
{
|
|
30159
|
+
"kind": "js",
|
|
30160
|
+
"name": "setupSuggestionBlocks",
|
|
30161
|
+
"declaration": {
|
|
30162
|
+
"name": "setupSuggestionBlocks",
|
|
30163
|
+
"module": "./suggestion-blocks.js"
|
|
30164
|
+
}
|
|
30165
|
+
},
|
|
30166
|
+
{
|
|
30167
|
+
"kind": "js",
|
|
30168
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
30169
|
+
"declaration": {
|
|
30170
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
30171
|
+
"module": "./suggestion-blocks.js"
|
|
30172
|
+
}
|
|
30173
|
+
},
|
|
30068
30174
|
{
|
|
30069
30175
|
"kind": "js",
|
|
30070
30176
|
"name": "AparteSuggestion",
|
|
@@ -30083,6 +30189,58 @@
|
|
|
30083
30189
|
}
|
|
30084
30190
|
]
|
|
30085
30191
|
},
|
|
30192
|
+
{
|
|
30193
|
+
"kind": "javascript-module",
|
|
30194
|
+
"path": "src/components/suggestions/suggestion-blocks.ts",
|
|
30195
|
+
"declarations": [
|
|
30196
|
+
{
|
|
30197
|
+
"kind": "variable",
|
|
30198
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
30199
|
+
"type": {
|
|
30200
|
+
"text": "string"
|
|
30201
|
+
},
|
|
30202
|
+
"default": "'suggestions'",
|
|
30203
|
+
"description": "The language the block is written in."
|
|
30204
|
+
},
|
|
30205
|
+
{
|
|
30206
|
+
"kind": "function",
|
|
30207
|
+
"name": "setupSuggestionBlocks",
|
|
30208
|
+
"return": {
|
|
30209
|
+
"type": {
|
|
30210
|
+
"text": "() => void"
|
|
30211
|
+
}
|
|
30212
|
+
},
|
|
30213
|
+
"parameters": [
|
|
30214
|
+
{
|
|
30215
|
+
"name": "config",
|
|
30216
|
+
"default": "aparteGlobalConfig",
|
|
30217
|
+
"type": {
|
|
30218
|
+
"text": "AparteConfig"
|
|
30219
|
+
}
|
|
30220
|
+
}
|
|
30221
|
+
],
|
|
30222
|
+
"description": "Read the code blocks in language `suggestions` in replies as the replies that\n`<aparte-suggestions answers>` offers. Returns the function that stops it. Off until called: a block is then no longer\nshown as code, so it is the app's choice."
|
|
30223
|
+
}
|
|
30224
|
+
],
|
|
30225
|
+
"exports": [
|
|
30226
|
+
{
|
|
30227
|
+
"kind": "js",
|
|
30228
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
30229
|
+
"declaration": {
|
|
30230
|
+
"name": "SUGGESTIONS_BLOCK_LANGUAGE",
|
|
30231
|
+
"module": "src/components/suggestions/suggestion-blocks.ts"
|
|
30232
|
+
}
|
|
30233
|
+
},
|
|
30234
|
+
{
|
|
30235
|
+
"kind": "js",
|
|
30236
|
+
"name": "setupSuggestionBlocks",
|
|
30237
|
+
"declaration": {
|
|
30238
|
+
"name": "setupSuggestionBlocks",
|
|
30239
|
+
"module": "src/components/suggestions/suggestion-blocks.ts"
|
|
30240
|
+
}
|
|
30241
|
+
}
|
|
30242
|
+
]
|
|
30243
|
+
},
|
|
30086
30244
|
{
|
|
30087
30245
|
"kind": "javascript-module",
|
|
30088
30246
|
"path": "src/components/viewport/aparte-chat-viewport.ts",
|
|
@@ -33144,7 +33302,7 @@
|
|
|
33144
33302
|
"type": {
|
|
33145
33303
|
"text": "AparteSegmentRenderer<AparteTextSegment>"
|
|
33146
33304
|
},
|
|
33147
|
-
"default": "{ type: 'text', render: (segment) => `<div class=\"aparte-segment aparte-segment-text\" data-segment-id=\"${escapeHtml(segment.id)}\"><div class=\"aparte-segment-content\">${contextConfig().renderMarkdown(segment.content)}</div></div>`, /* * A fence in a settled text segment is highlighted, as the thinking renderer does for * its own. The parser turns a streamed fence into a `code` segment, so this only ever * mattered for text built by hand (`setSegments`, a restored message, a server's) — and * the bubble's own pass skips any message that has segments, so that fence stayed bare. */ setup: (el, segment) => { const contentEl = el.querySelector('.aparte-segment-content'); // Only a segment marked streaming is still being written: one with no flag at all — // `setSegments`, an `appendMessage` with segments — is finished, and is highlighted. if (!contentEl) return; renderCodeLanguages(contentEl, { streaming: segment.isStreaming === true }); if (segment.isStreaming !== true) highlightMarkdownFences(contentEl); renderCitations(contentEl as HTMLElement, segment); }, update: (el, segment) => { const contentEl = el.querySelector('.aparte-segment-content'); if (!contentEl) return; writeStreamedMarkdown( el as AparteMarkdownStreamHost, contentEl, segment.content, segment.isStreaming !== false, ); if (segment.isStreaming === false) highlightMarkdownFences(contentEl); // Every write: the text a chip sat in may have been written anew. renderCitations(contentEl as HTMLElement, segment); }, getStyles: () => `` }",
|
|
33305
|
+
"default": "{ type: 'text', render: (segment) => `<div class=\"aparte-segment aparte-segment-text\" data-segment-id=\"${escapeHtml(segment.id)}\"><div class=\"aparte-segment-content\" dir=\"auto\">${contextConfig().renderMarkdown(segment.content)}</div></div>`, /* * A fence in a settled text segment is highlighted, as the thinking renderer does for * its own. The parser turns a streamed fence into a `code` segment, so this only ever * mattered for text built by hand (`setSegments`, a restored message, a server's) — and * the bubble's own pass skips any message that has segments, so that fence stayed bare. */ setup: (el, segment) => { const contentEl = el.querySelector('.aparte-segment-content'); // Only a segment marked streaming is still being written: one with no flag at all — // `setSegments`, an `appendMessage` with segments — is finished, and is highlighted. if (!contentEl) return; renderCodeLanguages(contentEl, { streaming: segment.isStreaming === true }); if (segment.isStreaming !== true) highlightMarkdownFences(contentEl); renderCitations(contentEl as HTMLElement, segment); }, update: (el, segment) => { const contentEl = el.querySelector('.aparte-segment-content'); if (!contentEl) return; writeStreamedMarkdown( el as AparteMarkdownStreamHost, contentEl, segment.content, segment.isStreaming !== false, ); if (segment.isStreaming === false) highlightMarkdownFences(contentEl); // Every write: the text a chip sat in may have been written anew. renderCitations(contentEl as HTMLElement, segment); }, getStyles: () => `` }",
|
|
33148
33306
|
"description": "Text segment renderer.\n\nThe incremental-vs-one-shot Markdown machinery lives in\n`../markdown-stream.ts`, shared with the thinking renderer — see that file for\nwhy appending beats rebuilding, and what the settling update flushes."
|
|
33149
33307
|
}
|
|
33150
33308
|
],
|
|
@@ -33169,7 +33327,7 @@
|
|
|
33169
33327
|
"type": {
|
|
33170
33328
|
"text": "AparteSegmentRenderer<AparteThinkingSegment>"
|
|
33171
33329
|
},
|
|
33172
|
-
"default": "{ type: 'thinking', /* * Markdown, like every other prose surface. * * The reasoning was rendered as escaped plain text in a `white-space: pre-wrap` * box, so a model that formats its thinking — headings, lists, `**bold**`, a * fenced snippet, which is most of them — showed its own syntax as literal * characters. Nothing said that was deliberate; it read as one, because the * `pre-wrap` made it look like a chosen preformatted block. * * `renderMarkdown` sanitizes its provider's output before it reaches innerHTML, * so this is exactly the text renderer's path, with the same guarantees and no * new class of risk. With no Markdown provider registered it degrades to the * zero-dependency default (escape + `<br>`), which is what it used to be. */ /* * WEARS THE ACCORDION RECIPE. A reasoning block is a disclosure — `<details>`, a * `<summary>` you press, a panel, a chevron that turns — which is exactly what * `surface/accordion.css` already draws, and this renderer used to draw a second * time under four classes of its own. Two costs, both visible: it looked unrelated * to every other disclosure in the library, and its chevron was the CHARACTER `▼`, * a fourth way to draw a chevron here and the only one that is not a glyph — so it * could not take `--aparte-icon-size`, could not be replaced through the icon * provider, and rendered in whatever the platform font felt like. * * What stays thinking's own is the left rail and the quieter tone, which is the * only part that is genuinely about reasoning rather than about disclosure. * `.aparte-thinking-label` stays too: `relabel` below queries it. */ render: (segment) => `<details class=\"aparte-segment aparte-segment-thinking aparte-accordion__item\" data-segment-id=\"${escapeHtml(segment.id)}\" ${segment.collapsed === false ? 'open' : ''}><summary class=\"aparte-accordion__header aparte-thinking-header\"><span class=\"aparte-thinking-label${escapeAttr(arriving(segment) ? ' aparte-shimmer' : '')}\">${escapeHtml(labelOf(segment))}</span><span class=\"aparte-accordion__icon\">${contextConfig().getIcon('expand')}</span></summary><div class=\"aparte-accordion__panel aparte-thinking-content\" role=\"region\" tabindex=\"0\" aria-label=\"${escapeAttr(labelOf(segment))}\">${contextConfig().renderMarkdown(segment.content)}</div></details>`, /** * The default label is the only config-derived text here — and `segment.label` * still wins, exactly as in `render`, because that string is the app's. */ relabel: (el, segment) => setLabel(el, segment), /** A block restored from storage is drawn here: `update` only runs on one that changes. */ setup: (el, segment) => { const contentEl = el.querySelector('.aparte-thinking-content'); if (contentEl) renderCodeLanguages(contentEl, { streaming: arriving(segment) }); }, update: (el, segment) => { // The label follows the block: \"Thinking\" becomes its duration when it settles. setLabel(el, segment); // collapsed state is managed by _applySegmentUpdate based on explicit updates only — // never override what the user set by clicking <summary> const contentEl = el.querySelector('.aparte-thinking-content'); if (!contentEl) return; // Anchor to the bottom while the reasoning streams — but only if the reader // was already there. // // `.aparte-thinking-content` is its own scroll container (`max-height` + // `overflow-y: auto`), and this update replaced its text without touching // `scrollTop`. So every delta pushed the newest line below the fold and the // block sat frozen on the first 300px of a reasoning trace that kept // growing. Same rule as the transcript itself: follow the stream, unless the // reader has scrolled up to read — then leave their position alone. No // scroll-to-bottom button; being at the bottom is the whole signal. // // The measurement MUST happen before the write. Afterwards `scrollHeight` // has already grown by the new text, so the distance to the bottom is // whatever just arrived and the answer is always \"not at the bottom\" — the // block would then anchor exactly never. The transcript's own scroll // handling cost five wrong attempts on this ordering; it is written down // here so the sixth is not in this file. const wasAtBottom = contentEl.scrollHeight - contentEl.scrollTop - contentEl.clientHeight <= THINKING_ANCHOR_SLACK; const streaming = segment.isStreaming !== false; writeStreamedMarkdown(el as AparteMarkdownStreamHost, contentEl, segment.content, streaming); // Highlight on settle only, exactly like the code renderer: running a // highlighter on every token is the paint storm the incremental writer // exists to avoid. A fence inside reasoning is not a `code` SEGMENT — the // parser accumulates a thinking block raw until its closing delimiter — so // without this it would be the one code block in the transcript with no // highlighting. No copy button here: that would need real nested segments, // which is a design change and not this fix. if (!streaming) highlightMarkdownFences(contentEl); if (wasAtBottom) contentEl.scrollTop = contentEl.scrollHeight; }, getStyles: () => `` }"
|
|
33330
|
+
"default": "{ type: 'thinking', /* * Markdown, like every other prose surface. * * The reasoning was rendered as escaped plain text in a `white-space: pre-wrap` * box, so a model that formats its thinking — headings, lists, `**bold**`, a * fenced snippet, which is most of them — showed its own syntax as literal * characters. Nothing said that was deliberate; it read as one, because the * `pre-wrap` made it look like a chosen preformatted block. * * `renderMarkdown` sanitizes its provider's output before it reaches innerHTML, * so this is exactly the text renderer's path, with the same guarantees and no * new class of risk. With no Markdown provider registered it degrades to the * zero-dependency default (escape + `<br>`), which is what it used to be. */ /* * WEARS THE ACCORDION RECIPE. A reasoning block is a disclosure — `<details>`, a * `<summary>` you press, a panel, a chevron that turns — which is exactly what * `surface/accordion.css` already draws, and this renderer used to draw a second * time under four classes of its own. Two costs, both visible: it looked unrelated * to every other disclosure in the library, and its chevron was the CHARACTER `▼`, * a fourth way to draw a chevron here and the only one that is not a glyph — so it * could not take `--aparte-icon-size`, could not be replaced through the icon * provider, and rendered in whatever the platform font felt like. * * What stays thinking's own is the left rail and the quieter tone, which is the * only part that is genuinely about reasoning rather than about disclosure. * `.aparte-thinking-label` stays too: `relabel` below queries it. */ render: (segment) => `<details class=\"aparte-segment aparte-segment-thinking aparte-accordion__item\" data-segment-id=\"${escapeHtml(segment.id)}\" ${segment.collapsed === false ? 'open' : ''}><summary class=\"aparte-accordion__header aparte-thinking-header\"><span class=\"aparte-thinking-label${escapeAttr(arriving(segment) ? ' aparte-shimmer' : '')}\">${escapeHtml(labelOf(segment))}</span><span class=\"aparte-accordion__icon\">${contextConfig().getIcon('expand')}</span></summary><div class=\"aparte-accordion__panel aparte-thinking-content\" dir=\"auto\" role=\"region\" tabindex=\"0\" aria-label=\"${escapeAttr(labelOf(segment))}\">${contextConfig().renderMarkdown(segment.content)}</div></details>`, /** * The default label is the only config-derived text here — and `segment.label` * still wins, exactly as in `render`, because that string is the app's. */ relabel: (el, segment) => setLabel(el, segment), /** A block restored from storage is drawn here: `update` only runs on one that changes. */ setup: (el, segment) => { const contentEl = el.querySelector('.aparte-thinking-content'); if (contentEl) renderCodeLanguages(contentEl, { streaming: arriving(segment) }); }, update: (el, segment) => { // The label follows the block: \"Thinking\" becomes its duration when it settles. setLabel(el, segment); // collapsed state is managed by _applySegmentUpdate based on explicit updates only — // never override what the user set by clicking <summary> const contentEl = el.querySelector('.aparte-thinking-content'); if (!contentEl) return; // Anchor to the bottom while the reasoning streams — but only if the reader // was already there. // // `.aparte-thinking-content` is its own scroll container (`max-height` + // `overflow-y: auto`), and this update replaced its text without touching // `scrollTop`. So every delta pushed the newest line below the fold and the // block sat frozen on the first 300px of a reasoning trace that kept // growing. Same rule as the transcript itself: follow the stream, unless the // reader has scrolled up to read — then leave their position alone. No // scroll-to-bottom button; being at the bottom is the whole signal. // // The measurement MUST happen before the write. Afterwards `scrollHeight` // has already grown by the new text, so the distance to the bottom is // whatever just arrived and the answer is always \"not at the bottom\" — the // block would then anchor exactly never. The transcript's own scroll // handling cost five wrong attempts on this ordering; it is written down // here so the sixth is not in this file. const wasAtBottom = contentEl.scrollHeight - contentEl.scrollTop - contentEl.clientHeight <= THINKING_ANCHOR_SLACK; const streaming = segment.isStreaming !== false; writeStreamedMarkdown(el as AparteMarkdownStreamHost, contentEl, segment.content, streaming); // Highlight on settle only, exactly like the code renderer: running a // highlighter on every token is the paint storm the incremental writer // exists to avoid. A fence inside reasoning is not a `code` SEGMENT — the // parser accumulates a thinking block raw until its closing delimiter — so // without this it would be the one code block in the transcript with no // highlighting. No copy button here: that would need real nested segments, // which is a design change and not this fix. if (!streaming) highlightMarkdownFences(contentEl); if (wasAtBottom) contentEl.scrollTop = contentEl.scrollHeight; }, getStyles: () => `` }"
|
|
33173
33331
|
}
|
|
33174
33332
|
],
|
|
33175
33333
|
"exports": [
|