@aparte/core 0.16.11 → 0.17.1
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/README.md +11 -4
- package/dist/client/aparte-client.d.ts +42 -3
- package/dist/client/aparte-client.d.ts.map +1 -1
- package/dist/components/bubble/aparte-chat-bubble.d.ts +22 -0
- package/dist/components/bubble/aparte-chat-bubble.d.ts.map +1 -1
- package/dist/components/chat/aparte-chat.d.ts +55 -14
- package/dist/components/chat/aparte-chat.d.ts.map +1 -1
- package/dist/components/composer/aparte-composer-action.d.ts +5 -3
- package/dist/components/composer/aparte-composer-action.d.ts.map +1 -1
- package/dist/components/composer/aparte-composer-toolbar.d.ts +5 -2
- package/dist/components/composer/aparte-composer-toolbar.d.ts.map +1 -1
- package/dist/components/composer/aparte-composer.d.ts +27 -0
- package/dist/components/composer/aparte-composer.d.ts.map +1 -1
- package/dist/components/context/aparte-context.d.ts +8 -0
- package/dist/components/context/aparte-context.d.ts.map +1 -1
- package/dist/components/conversation-list/aparte-conversation-list.d.ts +82 -17
- package/dist/components/conversation-list/aparte-conversation-list.d.ts.map +1 -1
- package/dist/components/scroll-rail/aparte-scroll-rail.d.ts.map +1 -1
- package/dist/components/sidebar/aparte-sidebar.d.ts.map +1 -1
- package/dist/components/split/aparte-split.d.ts.map +1 -1
- package/dist/components/suggestions/aparte-suggestions.d.ts +37 -3
- package/dist/components/suggestions/aparte-suggestions.d.ts.map +1 -1
- package/dist/components/viewport/aparte-chat-viewport.d.ts +55 -1
- package/dist/components/viewport/aparte-chat-viewport.d.ts.map +1 -1
- package/dist/config/action-provider.d.ts +14 -14
- package/dist/config/action-provider.d.ts.map +1 -1
- package/dist/config/aparte-config.d.ts +109 -14
- package/dist/config/aparte-config.d.ts.map +1 -1
- package/dist/config/bubble-shell-renderer.d.ts +50 -12
- package/dist/config/bubble-shell-renderer.d.ts.map +1 -1
- package/dist/config/locale.d.ts +33 -1
- package/dist/config/locale.d.ts.map +1 -1
- package/dist/config/sanitize.d.ts.map +1 -1
- package/dist/conversations/conversation-controller.d.ts +14 -0
- package/dist/conversations/conversation-controller.d.ts.map +1 -1
- package/dist/conversations/conversation-manager.d.ts +57 -19
- package/dist/conversations/conversation-manager.d.ts.map +1 -1
- package/dist/conversations/types.d.ts +18 -11
- package/dist/conversations/types.d.ts.map +1 -1
- package/dist/custom-elements.json +12007 -11027
- package/dist/{dialog-triggers-cYGTlfZf.js → dialog-triggers-CJWw0P3l.js} +652 -161
- package/dist/dialog-triggers-CJWw0P3l.js.map +1 -0
- package/dist/generated/element-attributes.d.ts +15 -9
- package/dist/generated/element-attributes.d.ts.map +1 -1
- package/dist/host/aparte-chat-host.d.ts +30 -0
- package/dist/host/aparte-chat-host.d.ts.map +1 -1
- package/dist/index.css +1 -8393
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +644 -111
- package/dist/index.js.map +1 -1
- package/dist/index.node.d.ts +1 -1
- package/dist/index.node.d.ts.map +1 -1
- package/dist/index.node.js +1 -1
- package/dist/index.node.js.map +1 -1
- package/dist/interop/element-props.d.ts +1 -1
- package/dist/primitives/select/aparte-optgroup.d.ts +1 -0
- package/dist/primitives/select/aparte-optgroup.d.ts.map +1 -1
- package/dist/primitives/select/aparte-select.d.ts +12 -1
- package/dist/primitives/select/aparte-select.d.ts.map +1 -1
- package/dist/renderers/markdown-stream.d.ts.map +1 -1
- package/dist/renderers/segments/tool-call.d.ts.map +1 -1
- package/dist/runtime/message-repository.d.ts +16 -3
- package/dist/runtime/message-repository.d.ts.map +1 -1
- package/dist/types/chat.d.ts +41 -46
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/event-map.d.ts +7 -7
- package/dist/types/event-map.d.ts.map +1 -1
- package/dist/types/events.d.ts +7 -6
- package/dist/types/events.d.ts.map +1 -1
- package/dist/types/imperative-api.d.ts +16 -0
- package/dist/types/imperative-api.d.ts.map +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/models.d.ts +9 -0
- package/dist/types/models.d.ts.map +1 -1
- package/dist/types/segments.d.ts +56 -13
- package/dist/types/segments.d.ts.map +1 -1
- package/dist/types/tools.d.ts +14 -0
- package/dist/types/tools.d.ts.map +1 -1
- package/dist/utils/event-target.d.ts +31 -0
- package/dist/utils/event-target.d.ts.map +1 -0
- package/dist/utils/transcript.d.ts +13 -0
- package/dist/utils/transcript.d.ts.map +1 -0
- package/package.json +2 -2
- package/dist/dialog-triggers-cYGTlfZf.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-conversation-list.d.ts","sourceRoot":"","sources":["../../../src/components/conversation-list/aparte-conversation-list.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aparte-conversation-list.d.ts","sourceRoot":"","sources":["../../../src/components/conversation-list/aparte-conversation-list.ts"],"names":[],"mappings":"AAQA,MAAM,WAAW,0BAA0B;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,6EAA6E;IAC7E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,qFAAqF;IACrF,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,8BAA8B;IAC3C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC3C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,+BAA+B;IAC5C,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,2BAA2B;IACxC,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,8BAA8B;IAC3C,EAAE,EAAE,MAAM,CAAC;IACX,0FAA0F;IAC1F,KAAK,EAAE,MAAM,CAAC;CACjB;AAkCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AS;IAE7B,OAAO,CAAC,oBAAoB,CAE1B;IAEF,OAAO,CAAC,sBAAsB,CAW5B;IAEF,OAAO,CAAC,eAAe,CAErB;IAEF,OAAO,CAAC,WAAW,CAWjB;IAEF;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,OAAO;IAkBf,OAAO,CAAC,aAAa;IAsGrB,OAAO,CAAC,eAAe;IAMvB,OAAO,CAAC,cAAc;IA6BtB,OAAO,CAAC,YAAY;IAsBpB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,aAAa;IAwBrB,OAAO,CAAC,QAAQ,CA2Bd;IAEF,OAAO,CAAC,UAAU,CAYhB;IAEF,sEAAsE;IACtE,OAAO,CAAC,kBAAkB;CAQ7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-scroll-rail.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-rail/aparte-scroll-rail.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aparte-scroll-rail.d.ts","sourceRoot":"","sources":["../../../src/components/scroll-rail/aparte-scroll-rail.ts"],"names":[],"mappings":"AAIA,yEAAyE;AACzE,MAAM,WAAW,0BAA0B;IACvC,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,qFAAqF;AACrF,MAAM,MAAM,qBAAqB,GAAG,MAAM,GAAG,SAAS,CAAC;AAYvD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,gBAAiB,SAAQ,WAAW;IAC7C,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,OAAO,CAAC,KAAK,CAA4B;IACzC,OAAO,CAAC,UAAU,CAAiC;IACnD,OAAO,CAAC,QAAQ,CAA+B;IAC/C,OAAO,CAAC,cAAc,CAAqC;IAC3D,oHAAoH;IACpH,OAAO,CAAC,gBAAgB,CAAqB;IAC7C,mFAAmF;IACnF,OAAO,CAAC,gBAAgB,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WAAW;IAanB,0FAA0F;IAC1F,OAAO,CAAC,OAAO;IAWf,0FAA0F;IAC1F,OAAO,CAAC,MAAM;IAOd;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,OAAO;IA2Cf,OAAO,CAAC,QAAQ,CAMd;IAEF,sEAAsE;IACtE,OAAO,CAAC,UAAU,CAchB;IAEF;;;;;;;;;;;;;OAaG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAe/B,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,SAAS;IAKjB,qFAAqF;IACrF,OAAO,CAAC,KAAK;IAUb,OAAO,CAAC,WAAW;IAKnB,iGAAiG;IACjG,OAAO,CAAC,OAAO;IAiBf,OAAO,CAAC,QAAQ;CAOnB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/aparte-sidebar.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aparte-sidebar.d.ts","sourceRoot":"","sources":["../../../src/components/sidebar/aparte-sidebar.ts"],"names":[],"mappings":"AAIA,iEAAiE;AACjE,MAAM,WAAW,yBAAyB;IACtC,SAAS,EAAE,OAAO,CAAC;IACnB,+EAA+E;IAC/E,MAAM,EAAE,OAAO,CAAC;CACnB;AAKD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8EG;AACH,qBAAa,aAAc,SAAQ,WAAW;IAC1C,MAAM,KAAK,kBAAkB,IAAI,MAAM,EAAE,CAExC;IAED,OAAO,CAAC,MAAM,CAA+B;IAC7C,OAAO,CAAC,MAAM,CAA4B;IAC1C,0EAA0E;IAC1E,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,cAAc,CAAwB;IAE9C;;;;;;;;;OASG;IACH,OAAO,CAAC,MAAM,CAAS;IAEvB;;;;OAIG;IACH,OAAO,CA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H,OAAO,CAAC,gBAAgB;IAexB,OAAO,CAAC,cAAc,CAAmE;IAEzF;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,aAAa;IAoBrB;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB,CAmBtB;IAIF,OAAO,CAAC,eAAe,CAA+B;IAEtD;;;;OAIG;IACH,OAAO,CAAC,QAAQ;CASnB"}
|
|
@@ -42,8 +42,13 @@ export interface AparteSuggestionEventDetail {
|
|
|
42
42
|
* The `suggestions` PROPERTY takes the same shape without the JSON.
|
|
43
43
|
* @attr {string} mode - `send` (default): the click fills the composer and submits.
|
|
44
44
|
* `fill`: the click fills the composer and focuses it, so the reader edits first.
|
|
45
|
-
* @attr {boolean} empty-only -
|
|
46
|
-
*
|
|
45
|
+
* @attr {boolean} empty-only - Shows the row only while the conversation it serves is
|
|
46
|
+
* empty: hidden (`hidden`) once a message is in its transcript or on its way — a
|
|
47
|
+
* thread being loaded counts — and shown again when the transcript is cleared, by a
|
|
48
|
+
* new chat for instance. The composer's send hides it at once, before its message
|
|
49
|
+
* lands. The element sets and lifts `hidden` itself and never lifts one you set.
|
|
50
|
+
* With no transcript to read — a composer outside any chat — the first send hides it
|
|
51
|
+
* until the attribute is removed.
|
|
47
52
|
* @attr {string} target - The id of the `<aparte-chat>` whose composer should receive
|
|
48
53
|
* the click, when the element is not inside that composer.
|
|
49
54
|
* @attr {boolean} data-empty - Reflected BY the element while it has no suggestion to
|
|
@@ -71,11 +76,29 @@ export declare class AparteSuggestions extends HTMLElement {
|
|
|
71
76
|
static get observedAttributes(): string[];
|
|
72
77
|
private _suggestions;
|
|
73
78
|
private _composer;
|
|
79
|
+
/** The viewport of the chat this row serves, while `empty-only` follows it. */
|
|
80
|
+
private _transcript;
|
|
81
|
+
private _transcriptObserver;
|
|
82
|
+
/** The composer sent since the transcript was last seen empty. */
|
|
83
|
+
private _sent;
|
|
84
|
+
private _wasEmpty;
|
|
85
|
+
/** `hidden` was written by this element, so it is this element's to lift. */
|
|
86
|
+
private _hidOwn;
|
|
74
87
|
private _onSend;
|
|
88
|
+
private _applyEmptyOnly;
|
|
75
89
|
private _onConfigChange;
|
|
76
90
|
/** The starters. Setting it re-renders; the `suggestions` attribute is the JSON form. */
|
|
77
91
|
get suggestions(): AparteSuggestion[];
|
|
78
|
-
|
|
92
|
+
/**
|
|
93
|
+
* Takes the array, or the JSON string the attribute documents.
|
|
94
|
+
*
|
|
95
|
+
* Both, because both arrive: React 19 and Svelte assign the PROPERTY whenever the
|
|
96
|
+
* element has one of that name, so `<aparte-suggestions suggestions='[…]'>` — the
|
|
97
|
+
* documented spelling, typed valid by both wrappers — reached this setter as a
|
|
98
|
+
* string, `Array.isArray` said no, and the row rendered nothing while the attribute
|
|
99
|
+
* (and so `attributeChangedCallback`) was never written.
|
|
100
|
+
*/
|
|
101
|
+
set suggestions(value: AparteSuggestion[] | string);
|
|
79
102
|
connectedCallback(): void;
|
|
80
103
|
disconnectedCallback(): void;
|
|
81
104
|
attributeChangedCallback(name: string): void;
|
|
@@ -95,6 +118,17 @@ export declare class AparteSuggestions extends HTMLElement {
|
|
|
95
118
|
*/
|
|
96
119
|
private _resolveComposer;
|
|
97
120
|
private _watchComposer;
|
|
121
|
+
/**
|
|
122
|
+
* The transcript of the chat the click goes to: the chat around the composer, else
|
|
123
|
+
* the one around this element, else the one `target` names (here, or on that
|
|
124
|
+
* composer). No last resort on the page, unlike the composer's: following another
|
|
125
|
+
* chat's transcript would be worse than following none, which falls back to the send.
|
|
126
|
+
*/
|
|
127
|
+
private _resolveTranscript;
|
|
128
|
+
/** Follow the transcript while `empty-only` is set, and stop following it when it is not. */
|
|
129
|
+
private _watchTranscript;
|
|
130
|
+
/** Set `hidden`, or lift it only when this element set it: a `hidden` the page wrote stays. */
|
|
131
|
+
private _setHidden;
|
|
98
132
|
private _render;
|
|
99
133
|
private _activate;
|
|
100
134
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/aparte-suggestions.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"aparte-suggestions.d.ts","sourceRoot":"","sources":["../../../src/components/suggestions/aparte-suggestions.ts"],"names":[],"mappings":"AAKA;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0DG;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;IAYxB,OAAO,CAAC,OAAO,CAMb;IAEF,OAAO,CAAC,eAAe,CAKrB;IAEF,OAAO,CAAC,eAAe,CAGrB;IAEF,yFAAyF;IACzF,IAAI,WAAW,IAAI,gBAAgB,EAAE,CAEpC;IAED;;;;;;;;OAQG;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;IAgB5C,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,6FAA6F;IAC7F,OAAO,CAAC,gBAAgB;IAkBxB,+FAA+F;IAC/F,OAAO,CAAC,UAAU;IAWlB,OAAO,CAAC,OAAO;IAyBf,OAAO,CAAC,SAAS;CAkBpB"}
|
|
@@ -51,6 +51,11 @@ import type { ExportedMessageRepository } from '../../runtime/message-repository
|
|
|
51
51
|
* this mode only. All four wrappers set it.
|
|
52
52
|
* @attr {number} scroll-threshold - How close to the bottom still counts as "at the bottom".
|
|
53
53
|
* @attr {number} max-rendered-bubbles - Caps how many bubbles stay in the DOM; older ones are released.
|
|
54
|
+
* @attr {boolean} loading - The transcript is on its way: a conversation was chosen and its messages
|
|
55
|
+
* are being fetched. The element draws two skeleton turns, marks its scroll surface
|
|
56
|
+
* `aria-busy` and names the wait for a screen reader; `aparte-chat[center-empty]`
|
|
57
|
+
* does not count a loading viewport as empty. Set by `AparteConversationController`
|
|
58
|
+
* through its binding, or by hand from a loop of your own (`setLoading(true)`).
|
|
54
59
|
* @attr {boolean} data-busy - Reflected BY the element while a turn streams: the transcript is
|
|
55
60
|
* read-only meanwhile, and every bubble inside reads it (at connect, and when it changes). The
|
|
56
61
|
* vanilla path derives it from the repository; a framework host sets it through
|
|
@@ -130,6 +135,11 @@ export declare class AparteChatViewport extends HTMLElement {
|
|
|
130
135
|
private _lastScrollTop;
|
|
131
136
|
/** The scroll height at the last scroll event: how much it moved since bounds what churn can do. */
|
|
132
137
|
private _lastScrollHeight;
|
|
138
|
+
/** When the transcript last mutated under our observer — an engine's settle adjustment follows one. */
|
|
139
|
+
private _lastMutationAt;
|
|
140
|
+
/** How long after a mutation an engine's settle adjustment can arrive, and how far it moves. */
|
|
141
|
+
private readonly _settleShadowMs;
|
|
142
|
+
private readonly _settleBoundPx;
|
|
133
143
|
/** When this component last moved `scrollTop` itself — see `_handleScroll`. "Never" is
|
|
134
144
|
* -Infinity rather than 0: `performance.now()` can be under a second old. */
|
|
135
145
|
private _ownScrollAt;
|
|
@@ -191,6 +201,19 @@ export declare class AparteChatViewport extends HTMLElement {
|
|
|
191
201
|
*/
|
|
192
202
|
private _frameworkManagedDOM;
|
|
193
203
|
static get observedAttributes(): string[];
|
|
204
|
+
/**
|
|
205
|
+
* The transcript is on its way: a conversation was chosen and its messages are
|
|
206
|
+
* being fetched. Two skeleton turns stand where they will be, the scroll surface
|
|
207
|
+
* is `aria-busy`, and a visually hidden line names the wait. Reflected as the
|
|
208
|
+
* `loading` attribute — `AparteConversationController` sets it through its
|
|
209
|
+
* binding; a loop of your own sets it by hand. Not the same thing as `data-busy`,
|
|
210
|
+
* which is a reply streaming into a transcript that is already there.
|
|
211
|
+
*/
|
|
212
|
+
get loading(): boolean;
|
|
213
|
+
set loading(value: boolean);
|
|
214
|
+
setLoading(loading: boolean): void;
|
|
215
|
+
/** Draw or remove the wait, from the attribute. Safe before the structure exists. */
|
|
216
|
+
private _syncLoading;
|
|
194
217
|
constructor();
|
|
195
218
|
connectedCallback(): void;
|
|
196
219
|
/**
|
|
@@ -253,7 +276,23 @@ export declare class AparteChatViewport extends HTMLElement {
|
|
|
253
276
|
* framework wrapper's host element.
|
|
254
277
|
*/
|
|
255
278
|
private _activeMessageId;
|
|
256
|
-
/**
|
|
279
|
+
/**
|
|
280
|
+
* The id of the message currently streaming, if any — searched across the whole
|
|
281
|
+
* TREE, and answering with an OFF-HEAD one first when there are two.
|
|
282
|
+
*
|
|
283
|
+
* It used to scan `getMessages()`, the active path. A retry or an edit on an
|
|
284
|
+
* earlier bubble calls `addSiblingOf`, which switches the branch to the new pending
|
|
285
|
+
* reply: the turn still being written leaves the path, the scan found nothing, and
|
|
286
|
+
* the rest of that turn was appended to the message that had just replaced it.
|
|
287
|
+
*
|
|
288
|
+
* A new pending reply is itself marked streaming, so "the first one found" would
|
|
289
|
+
* answer the head and let the write through — the very case this exists to refuse.
|
|
290
|
+
* Answering the off-head one instead makes `_activeMessageId` refuse while ANY turn
|
|
291
|
+
* elsewhere in the tree is still open. That also refuses the new turn's own first
|
|
292
|
+
* deltas for as long as the superseded one has not settled, which is the trade this
|
|
293
|
+
* whole path already makes: losing the tail is visible, writing it onto someone
|
|
294
|
+
* else's message is not.
|
|
295
|
+
*/
|
|
257
296
|
private _streamingMessageId;
|
|
258
297
|
/**
|
|
259
298
|
* While a reply streams, the transcript is read-only except for Stop.
|
|
@@ -333,6 +372,12 @@ export declare class AparteChatViewport extends HTMLElement {
|
|
|
333
372
|
/**
|
|
334
373
|
* Atomic update for a message by ID
|
|
335
374
|
* Supports updating content, status, segments, and other metadata
|
|
375
|
+
*
|
|
376
|
+
* An id the tree does not hold is a silent no-op, deliberately: the message may have
|
|
377
|
+
* been truncated away by an edit while a turn was still writing to it, and inventing
|
|
378
|
+
* it back would put a message the reader deleted on screen. It does mean a late error
|
|
379
|
+
* card can have nowhere to land — `aparte-message-error` still fires, so a host that
|
|
380
|
+
* wants to show one has the event.
|
|
336
381
|
*/
|
|
337
382
|
updateMessage(messageId: string, updates: Partial<AparteMessage>): void;
|
|
338
383
|
/**
|
|
@@ -529,6 +574,15 @@ export declare class AparteChatViewport extends HTMLElement {
|
|
|
529
574
|
* 1 run in 6: the rebuild's height churn moved scrollTop within the second after
|
|
530
575
|
* the click, and the click made that look like the reader's).
|
|
531
576
|
*/
|
|
577
|
+
/**
|
|
578
|
+
* Is a pointer pressed on the surface right now? A press on the TEXT is not a scroll
|
|
579
|
+
* gesture (`_noteReaderInput` counts only the gutter), but a hand that is down and
|
|
580
|
+
* dragging a selection past the edge scrolls the container all the same — and that
|
|
581
|
+
* decrease is the reader's. Held from the press to its release, wherever it lands.
|
|
582
|
+
*/
|
|
583
|
+
private _pointerHeld;
|
|
584
|
+
private readonly _holdPointer;
|
|
585
|
+
private readonly _releasePointer;
|
|
532
586
|
private readonly _noteReaderInput;
|
|
533
587
|
private readonly _onBranchNavigate;
|
|
534
588
|
private _setupEventListeners;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aparte-chat-viewport.d.ts","sourceRoot":"","sources":["../../../src/components/viewport/aparte-chat-viewport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EAIb,WAAW,EACd,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"aparte-chat-viewport.d.ts","sourceRoot":"","sources":["../../../src/components/viewport/aparte-chat-viewport.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,aAAa,EACb,oBAAoB,EACpB,aAAa,EAIb,WAAW,EACd,MAAM,sBAAsB,CAAC;AAM9B,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,qCAAqC,CAAC;AA+DrF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkHG;AACH,qBAAa,kBAAmB,SAAQ,WAAW;IAG/C,OAAO,CAAC,UAAU,CAA4B;IAC9C,OAAO,CAAC,UAAU,CAAkC;IACpD,OAAO,CAAC,aAAa,CAA+B;IACpD;;;;;OAKG;IACH,OAAO,CAAC,eAAe,CAAK;IAC5B,OAAO,CAAC,YAAY,CAAuB;IAC3C,OAAO,CAAC,kBAAkB,CAAa;IACvC,OAAO,CAAC,mBAAmB,CAAa;IACxC,OAAO,CAAC,KAAK,CAAiC;IAC9C,OAAO,CAAC,oBAAoB,CAAiB;IAC7C,6EAA6E;IAC7E,OAAO,CAAC,cAAc,CAAK;IAC3B,oGAAoG;IACpG,OAAO,CAAC,iBAAiB,CAAK;IAC9B,uGAAuG;IACvG,OAAO,CAAC,eAAe,CAA4B;IACnD,gGAAgG;IAChG,OAAO,CAAC,QAAQ,CAAC,eAA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C,iBAAiB,CAIhC;IAEF;;;;;;;OAOG;IACH;;;;;OAKG;IACH,OAAO,CAAC,YAAY,CAAS;IAC7B,OAAO,CAAC,QAAQ,CAAC,YAAY,CAA6C;IAC1E,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA8C;IAE9E,OAAO,CAAC,QAAQ,CAAC,gBAAgB,CAkC/B;IAEF,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAIhC;IAEF,OAAO,CAAC,oBAAoB;IAiB5B,OAAO,CAAC,eAAe;IA2IvB;;;;;;;OAOG;IACH,OAAO,CAAC,aAAa;IAQrB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,mBAAmB;IAc3B;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,sBAAsB;IAe9B,gFAAgF;IAChF,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,aAAa;IAmIrB,OAAO,CAAC,eAAe;IAmBvB,OAAO,CAAC,QAAQ;IAIhB,gFAAgF;IAChF,OAAO,CAAC,cAAc;IAMtB;;;;;;;OAOG;IACH,OAAO,CAAC,gBAAgB;IAMxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAkCG;IACH,OAAO,CAAC,eAAe;IAwBvB,OAAO,CAAC,qBAAqB;IA0B7B,OAAO,CAAC,qBAAqB;IAK7B;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,mBAAmB;IA2B3B;;;;;;;;OAQG;IACH,OAAO,CAAC,kBAAkB;IA0E1B;;;;;;;;;OASG;IACH,OAAO,CAAC,qBAAqB;IAW7B;;;;;;;;OAQG;IACH,OAAO,CAAC,qBAAqB;IAW7B,OAAO,CAAC,QAAQ;CAkCnB"}
|
|
@@ -1,9 +1,16 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Zones where a custom action can appear — the message (bubble) toolbar, and only it.
|
|
3
|
+
*
|
|
4
|
+
* The type is a single member on purpose: a composer button is an element the consumer
|
|
5
|
+
* writes in their own markup (`<aparte-composer-action>`), not a registry entry, so the
|
|
6
|
+
* composer never asked the registry for anything. The zone stays a named type rather
|
|
7
|
+
* than the bare literal because `getActions(zone)` reads as a lookup, and a second zone
|
|
8
|
+
* (a toolbar of core's own, say) would be added here.
|
|
9
|
+
*/
|
|
10
|
+
export type AparteActionZone = 'bubble';
|
|
3
11
|
/**
|
|
4
12
|
* A custom action button, registered once via `aparteGlobalConfig.registerAction(...)`
|
|
5
|
-
* and placed in
|
|
6
|
-
* (bubble) toolbar — via `zones`.
|
|
13
|
+
* and placed in the message (bubble) toolbar via `zones`.
|
|
7
14
|
*
|
|
8
15
|
* Declarative and framework-agnostic: clicking it emits an `aparte-action`
|
|
9
16
|
* CustomEvent (bubbles, composed) carrying `{ actionId, zone, … }`, exactly like
|
|
@@ -11,6 +18,9 @@ export type AparteActionZone = 'composer' | 'bubble';
|
|
|
11
18
|
* React/Vue/Svelte/Angular and in vanilla. An optional `onClick` callback fires
|
|
12
19
|
* alongside the event for imperative convenience.
|
|
13
20
|
*
|
|
21
|
+
* For a button in the composer, write an `<aparte-composer-action>` in your markup and
|
|
22
|
+
* listen for `aparte-action-click` — see that element's docs.
|
|
23
|
+
*
|
|
14
24
|
* @example
|
|
15
25
|
* aparteGlobalConfig.registerAction({
|
|
16
26
|
* id: 'share', icon: '<svg>…</svg>', label: 'Share',
|
|
@@ -38,16 +48,6 @@ export interface AparteAction {
|
|
|
38
48
|
order?: number;
|
|
39
49
|
/** Which zones this action appears in. */
|
|
40
50
|
zones: AparteActionZone[];
|
|
41
|
-
/** Composer-toolbar placement (used when `zones` includes `'composer'`). */
|
|
42
|
-
composer?: {
|
|
43
|
-
/** Toolbar side. Default: `'left'`. */
|
|
44
|
-
position?: 'left' | 'right';
|
|
45
|
-
/**
|
|
46
|
-
* When `true`, the button is hidden from the composer toolbar.
|
|
47
|
-
* Toggle at runtime with `aparteGlobalConfig.setActionHidden(id, hidden)`.
|
|
48
|
-
*/
|
|
49
|
-
hidden?: boolean;
|
|
50
|
-
};
|
|
51
51
|
/** Bubble-toolbar placement (used when `zones` includes `'bubble'`). */
|
|
52
52
|
bubble?: {
|
|
53
53
|
/** Bubble roles this action shows on. Default: both user and assistant. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-provider.d.ts","sourceRoot":"","sources":["../../src/config/action-provider.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"action-provider.d.ts","sourceRoot":"","sources":["../../src/config/action-provider.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,MAAM,MAAM,gBAAgB,GAAG,QAAQ,CAAC;AAExC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAM,WAAW,YAAY;IACzB,qEAAqE;IACrE,EAAE,EAAE,MAAM,CAAC;IACX;;;;;OAKG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,iFAAiF;IACjF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,qFAAqF;IACrF,KAAK,EAAE,MAAM,CAAC;IACd,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0CAA0C;IAC1C,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,wEAAwE;IACxE,MAAM,CAAC,EAAE;QACL,2EAA2E;QAC3E,KAAK,CAAC,EAAE,CAAC,MAAM,GAAG,WAAW,CAAC,EAAE,CAAC;KACpC,CAAC;IACF,+EAA+E;IAC/E,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,OAAO,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;CACvD"}
|
|
@@ -19,7 +19,7 @@ import type { AparteSiblingNavRenderer } from './sibling-nav-renderer.js';
|
|
|
19
19
|
import type { AparteBubbleShellRenderer } from './bubble-shell-renderer.js';
|
|
20
20
|
import type { AparteAIProvider, AparteAIModel, AparteModelConfig } from '../types/model-provider.js';
|
|
21
21
|
import type { AparteTransport } from '../transport/index.js';
|
|
22
|
-
import type { AparteTool, AparteToolHandler, AparteToolRenderer, AparteToolCall, AparteApprovalPolicy, AparteApprovalRuling } from '../types/tools.js';
|
|
22
|
+
import type { AparteTool, AparteToolHandler, AparteToolRenderer, AparteToolSummary, AparteToolCall, AparteApprovalPolicy, AparteApprovalRuling } from '../types/tools.js';
|
|
23
23
|
import type { AparteSegmentDefaults } from '../types/segments.js';
|
|
24
24
|
import type { AparteStreamBlock } from '../types/stream-blocks.js';
|
|
25
25
|
import type { AparteBubbleActionsConfig, AparteBubbleActionName, AparteHostHandlersConfig } from '../types/models.js';
|
|
@@ -30,7 +30,17 @@ export type AparteMarkdownProvider = (raw: string) => string;
|
|
|
30
30
|
export type AparteHighlightProvider = ((code: string, lang: string) => string) | ((code: string, lang: string) => Promise<string>);
|
|
31
31
|
export type AparteSystemPromptVarsProvider = () => Record<string, string>;
|
|
32
32
|
export type AparteLocaleProvider = AparteLocale;
|
|
33
|
-
|
|
33
|
+
/**
|
|
34
|
+
* How the page answers "what are this provider's credentials?".
|
|
35
|
+
*
|
|
36
|
+
* A bare key, or the same `{ apiKey, endpoint }` record the transport reads
|
|
37
|
+
* (`readAuth`) and `fetchModels` accepts. The record is not a nicety: a consumer
|
|
38
|
+
* who points a preset at their own host — a corporate proxy, a self-hosted vLLM,
|
|
39
|
+
* an LM Studio box — configures it as `endpoint`, and while this channel could
|
|
40
|
+
* only carry a string, `refreshProviderModels` sent `GET {vendor default}/models`
|
|
41
|
+
* with the key that host had been given.
|
|
42
|
+
*/
|
|
43
|
+
export type AparteKeyProvider = (providerId: string) => string | Record<string, string> | undefined | null | Promise<string | Record<string, string> | undefined | null>;
|
|
34
44
|
/**
|
|
35
45
|
* The bubble-action defaults — `copy` on, everything else off.
|
|
36
46
|
*
|
|
@@ -105,6 +115,11 @@ export declare class AparteConfig {
|
|
|
105
115
|
private _iconProvider?;
|
|
106
116
|
private _avatarProvider?;
|
|
107
117
|
private _keyProvider?;
|
|
118
|
+
/**
|
|
119
|
+
* Sources added with `registerKeyProvider` — consulted before `_keyProvider`,
|
|
120
|
+
* newest first (see `getKey`).
|
|
121
|
+
*/
|
|
122
|
+
private _extraKeyProviders;
|
|
108
123
|
private _locale;
|
|
109
124
|
private _actions;
|
|
110
125
|
private _listeners;
|
|
@@ -158,26 +173,23 @@ export declare class AparteConfig {
|
|
|
158
173
|
private _elicitationQueue;
|
|
159
174
|
private _tools;
|
|
160
175
|
private _toolRenderers;
|
|
176
|
+
private _toolSummaries;
|
|
161
177
|
/** Tagged blocks the stream parser recognises in the prose — see {@link registerStreamBlock}. */
|
|
162
178
|
private _streamBlocks;
|
|
163
179
|
private _segmentDefaults;
|
|
164
180
|
private _hostHandlers;
|
|
165
181
|
private _bubbleActionsConfig;
|
|
166
182
|
/**
|
|
167
|
-
* Register a custom action button. `zones` places it in the
|
|
168
|
-
*
|
|
169
|
-
*
|
|
183
|
+
* Register a custom action button. `zones` places it in the message (bubble)
|
|
184
|
+
* toolbar. Re-registering the same id overwrites it. Notifies mounted elements
|
|
185
|
+
* so they re-render. A button in the composer is an `<aparte-composer-action>`
|
|
186
|
+
* element you write in your markup, not a registry entry.
|
|
170
187
|
*/
|
|
171
188
|
registerAction(action: AparteAction): void;
|
|
172
189
|
/** All registered actions for a zone, sorted by `order` (lower first). */
|
|
173
190
|
getActions(zone: AparteActionZone): AparteAction[];
|
|
174
191
|
/** Remove a custom action by id (from every zone); notifies mounted elements if it existed. */
|
|
175
192
|
unregisterAction(id: string): void;
|
|
176
|
-
/**
|
|
177
|
-
* Show or hide a composer action button by id.
|
|
178
|
-
* Triggers a config update so all mounted composer elements react immediately.
|
|
179
|
-
*/
|
|
180
|
-
setActionHidden(id: string, hidden: boolean): void;
|
|
181
193
|
/**
|
|
182
194
|
* Configure which action buttons appear in message bubbles.
|
|
183
195
|
* Unset keys keep their defaults — see {@link APARTE_DEFAULT_BUBBLE_ACTIONS}: `copy`
|
|
@@ -219,8 +231,11 @@ export declare class AparteConfig {
|
|
|
219
231
|
* Set an incremental (streaming) Markdown renderer provider. Optional —
|
|
220
232
|
* when set, the chat bubble uses it to render the assistant message
|
|
221
233
|
* token-by-token DURING streaming (incremental parse + DOM append, O(n)),
|
|
222
|
-
* instead of re-parsing the whole string on every token.
|
|
223
|
-
* `setMarkdownProvider`
|
|
234
|
+
* instead of re-parsing the whole string on every token. When the turn ends,
|
|
235
|
+
* a registered one-shot `setMarkdownProvider` re-renders the finished message
|
|
236
|
+
* at full fidelity; with no one-shot provider registered, what the streaming
|
|
237
|
+
* renderer drew is kept (sanitised), rather than replaced by the built-in
|
|
238
|
+
* escape-and-line-break fallback.
|
|
224
239
|
*/
|
|
225
240
|
setStreamingMarkdownProvider(fn: AparteStreamingMarkdownProvider): void;
|
|
226
241
|
/**
|
|
@@ -391,9 +406,45 @@ export declare class AparteConfig {
|
|
|
391
406
|
*/
|
|
392
407
|
setKeyProvider(provider: AparteKeyProvider): void;
|
|
393
408
|
/**
|
|
394
|
-
*
|
|
409
|
+
* Add a key source, without replacing the one `setKeyProvider` holds. Returns a
|
|
410
|
+
* teardown.
|
|
411
|
+
*
|
|
412
|
+
* This is how `AparteClient({ keyResolver })` — the channel the docs teach as
|
|
413
|
+
* primary — reaches everything that needs a key rather than the chat alone. It
|
|
414
|
+
* used to reach the chat ONLY, so the model selector, whose one data path is
|
|
415
|
+
* `refreshProviderModels`, showed an empty list on every cloud provider while
|
|
416
|
+
* the chat worked: `fetchModels` returns `[]` without a key, so there was
|
|
417
|
+
* nothing to see and nothing said.
|
|
418
|
+
*
|
|
419
|
+
* The direction matters (decision #9): the client registers a source ON the
|
|
420
|
+
* config, so the capability is never hostage to the client — a page that only
|
|
421
|
+
* ever calls `setKeyProvider` is unchanged, and a page that constructs no
|
|
422
|
+
* client at all still lists models.
|
|
423
|
+
*
|
|
424
|
+
* Every call is its own source, even when the same function is handed in
|
|
425
|
+
* twice: two panes sharing one module-level resolver are two mounts, and the
|
|
426
|
+
* first one to unmount must not take the second one's key with it. A `Set`
|
|
427
|
+
* keyed by the function itself made them one entry, which either teardown
|
|
428
|
+
* removed.
|
|
429
|
+
*/
|
|
430
|
+
registerKeyProvider(provider: AparteKeyProvider): () => void;
|
|
431
|
+
/**
|
|
432
|
+
* The credentials for a provider: a key, or the `{ apiKey, endpoint }` record
|
|
433
|
+
* the transport and `fetchModels` both read.
|
|
434
|
+
*
|
|
435
|
+
* ONE resolution order, so the chat and the model list cannot disagree about
|
|
436
|
+
* what an endpoint is: a registered resolver (`AparteClient`'s `keyResolver`)
|
|
437
|
+
* first — which is the precedence the client has always documented — then
|
|
438
|
+
* `setKeyProvider`.
|
|
439
|
+
*
|
|
440
|
+
* Registered sources answer NEWEST first. A page that mounts a second chat, or
|
|
441
|
+
* remounts one to swap its options — the swap the wrappers document — leaves
|
|
442
|
+
* more than one source here, and insertion order made the first resolver the
|
|
443
|
+
* page ever registered answer for every later one, so the key could not be
|
|
444
|
+
* changed. The snapshot is deliberate too: a source torn down while an earlier
|
|
445
|
+
* one is being awaited must not shift the iteration underneath it.
|
|
395
446
|
*/
|
|
396
|
-
getKey(providerId: string): Promise<string | undefined>;
|
|
447
|
+
getKey(providerId: string): Promise<string | Record<string, string> | undefined>;
|
|
397
448
|
/**
|
|
398
449
|
* Refresh models for a specific provider
|
|
399
450
|
* Orchestrates: Key Retrieval -> Fetch -> Return
|
|
@@ -613,6 +664,13 @@ export declare class AparteConfig {
|
|
|
613
664
|
* Controls what appears in the chat bubble when the AI calls this tool.
|
|
614
665
|
* Use this instead of the generic `tool_call` segment renderer for tool-specific UI.
|
|
615
666
|
*
|
|
667
|
+
* A renderer that needs a popover (a `<aparte-select>`, a menu) cannot open one
|
|
668
|
+
* inside the row: the bubble is `content-visibility: auto`, which makes it the
|
|
669
|
+
* containing block for `position: fixed` descendants and clips a popover to its
|
|
670
|
+
* own box. Mount it on `document.body` and position it from the trigger's rect
|
|
671
|
+
* instead — see [Custom tool
|
|
672
|
+
* renderer](https://apartejs.dev/guides/tools/#custom-tool-renderer).
|
|
673
|
+
*
|
|
616
674
|
* @example
|
|
617
675
|
* // Hide the segment entirely (UI-only tool like ask_user)
|
|
618
676
|
* aparteGlobalConfig.registerToolRenderer('ask_user', { render: () => '' });
|
|
@@ -658,6 +716,31 @@ export declare class AparteConfig {
|
|
|
658
716
|
unregisterToolRenderer(toolName: string): void;
|
|
659
717
|
/** Get the renderer for a specific tool name. Returns undefined if none registered. */
|
|
660
718
|
getToolRenderer(toolName: string): AparteToolRenderer | undefined;
|
|
719
|
+
/**
|
|
720
|
+
* Say what a call targets, in the default row, after the tool's name.
|
|
721
|
+
*
|
|
722
|
+
* The default row names the tool and keeps its arguments behind a disclosure, so a
|
|
723
|
+
* reader saw that a file was read, not which one. Replacing the row with
|
|
724
|
+
* `registerToolRenderer` for that one line meant re-implementing its six states,
|
|
725
|
+
* the spinner, the disclosure and the relabel contract. This keeps all of them and
|
|
726
|
+
* adds the line. A tool with its own renderer draws its own row, so its summary is
|
|
727
|
+
* never read.
|
|
728
|
+
*
|
|
729
|
+
* The text is written as text, never parsed as HTML. It is read when the row
|
|
730
|
+
* renders, on every update to the call (its arguments may still be arriving), and
|
|
731
|
+
* on every config change — so registering one after a row is on screen shows up on
|
|
732
|
+
* that row's next update.
|
|
733
|
+
*
|
|
734
|
+
* @example
|
|
735
|
+
* // read_file skills.json
|
|
736
|
+
* aparteGlobalConfig.registerToolSummary('read_file', (segment) =>
|
|
737
|
+
* String(segment.toolCall.input['path'] ?? ''));
|
|
738
|
+
*/
|
|
739
|
+
registerToolSummary(toolName: string, summary: AparteToolSummary): void;
|
|
740
|
+
/** Unregister a per-tool summary. */
|
|
741
|
+
unregisterToolSummary(toolName: string): void;
|
|
742
|
+
/** Get the summary for a specific tool name. Returns undefined if none registered. */
|
|
743
|
+
getToolSummary(toolName: string): AparteToolSummary | undefined;
|
|
661
744
|
/**
|
|
662
745
|
* Teach the stream parser a tagged block: `<tag attr="…">…</tag>` in the model's
|
|
663
746
|
* prose becomes the segment `toSegment` builds, streamed delta by delta.
|
|
@@ -753,6 +836,18 @@ export declare class AparteConfig {
|
|
|
753
836
|
* "installs itself — nothing to register", which is how that was found.
|
|
754
837
|
*/
|
|
755
838
|
requestUserInput(request: AparteElicitationRequest): Promise<AparteElicitationResult>;
|
|
839
|
+
/**
|
|
840
|
+
* Which queue a request waits in: its own chat's.
|
|
841
|
+
*
|
|
842
|
+
* The wait exists so a second question cannot take the panel away from the one on
|
|
843
|
+
* screen — a property of ONE panel, and `_present` routes by target, so a chat is
|
|
844
|
+
* the right unit. It used to be one queue for the whole config: two chats on the
|
|
845
|
+
* global config shared it, and an approval waiting for an answer in the first (which
|
|
846
|
+
* is all an approval does) held the second's question behind it for ever, with
|
|
847
|
+
* nothing on screen to answer. Requests that name no chat keep sharing the `null`
|
|
848
|
+
* queue, because they all reach the same presenter — the top of the stack.
|
|
849
|
+
*/
|
|
850
|
+
private _elicitationQueueKey;
|
|
756
851
|
/** Hand ONE request to the presenter. Called only from the queue. */
|
|
757
852
|
private _present;
|
|
758
853
|
/**
|
|
@@ -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,cAAc,EAAiC,MAAM,oBAAoB,CAAC;AACvG,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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