@burdenoff/fe-libs 2026.1029.7 → 2026.1029.9
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/shared/assistant/appControls/grammar.js +21 -21
- package/dist/shared/assistant/appControls/registry.js +1 -1
- package/dist/shared/assistant/commandCompletions.js +87 -86
- package/dist/shared/assistant/i18nManifest.d.ts +27 -0
- package/dist/shared/assistant/i18nManifest.js +27 -0
- package/dist/shared/assistant/index.d.ts +9 -0
- package/dist/shared/assistant/localUiCommands.js +106 -112
- package/dist/shared/assistant/localeCommands/languageNames.js +13 -13
- package/dist/shared/assistant/ui/AIAssistantPanel.d.ts +11 -0
- package/dist/shared/assistant/ui/AIAssistantPanel.js +233 -127
- package/dist/shared/assistant/ui/AssistantChatArea.d.ts +13 -1
- package/dist/shared/assistant/ui/AssistantChatArea.js +1632 -1605
- package/dist/shared/assistant/ui/AssistantConversationList.d.ts +17 -1
- package/dist/shared/assistant/ui/AssistantConversationList.js +304 -274
- package/dist/shared/assistant/ui/AssistantOverlay.d.ts +11 -0
- package/dist/shared/assistant/ui/AssistantOverlay.js +106 -90
- package/dist/shared/assistant/ui/closeGuard.d.ts +21 -0
- package/dist/shared/assistant/ui/closeGuard.js +8 -0
- package/dist/shared/assistant/ui/compact/AssistantCompactHeader.d.ts +38 -0
- package/dist/shared/assistant/ui/compact/AssistantCompactHeader.js +89 -0
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.d.ts +29 -0
- package/dist/shared/assistant/ui/compact/AssistantConversationMenu.js +87 -0
- package/dist/shared/assistant/ui/compact/AssistantDiscardDraftDialog.d.ts +19 -0
- package/dist/shared/assistant/ui/compact/AssistantDiscardDraftDialog.js +38 -0
- package/dist/shared/assistant/ui/compact/AssistantMenuView.d.ts +42 -0
- package/dist/shared/assistant/ui/compact/AssistantMenuView.js +285 -0
- package/dist/shared/assistant/ui/compact/AssistantVoiceLanguageSettings.d.ts +24 -0
- package/dist/shared/assistant/ui/compact/AssistantVoiceLanguageSettings.js +68 -0
- package/dist/shared/assistant/ui/compact/AssistantWaitingChangeRow.d.ts +21 -0
- package/dist/shared/assistant/ui/compact/AssistantWaitingChangeRow.js +34 -0
- package/dist/shared/assistant/ui/compact/compactChrome.d.ts +75 -0
- package/dist/shared/assistant/ui/compact/compactChrome.js +39 -0
- package/dist/shared/assistant/ui/compact/waitingChange.d.ts +49 -0
- package/dist/shared/assistant/ui/compact/waitingChange.js +12 -0
- package/dist/shared/assistant/ui/composer/AssistantComposer.d.ts +19 -18
- package/dist/shared/assistant/ui/composer/AssistantComposer.js +261 -224
- package/dist/shared/assistant/useAssistantKeyboardShortcuts.d.ts +16 -2
- package/dist/shared/assistant/useAssistantKeyboardShortcuts.js +28 -16
- package/dist/shared-assistant.js +51 -42
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
1
|
+
import { FC, ReactNode, Ref } from 'react';
|
|
2
2
|
import { AssistantModeConfig } from '../../conversation';
|
|
3
3
|
import { AssistantMode } from '../../types';
|
|
4
4
|
import { AssistantAttachment } from '../../attachments';
|
|
@@ -95,8 +95,26 @@ interface Props {
|
|
|
95
95
|
* none was running; only a stopped turn is announced.
|
|
96
96
|
*/
|
|
97
97
|
onStop?: () => string | null;
|
|
98
|
+
/**
|
|
99
|
+
* The id of the reply in flight (what `onStop` returns for it), or null. Lets
|
|
100
|
+
* Stop tell "the reply I stopped is still ending" from "another reply has
|
|
101
|
+
* begun": a parked send is replayed in the stopped turn's own `finally`, so
|
|
102
|
+
* `turnInFlight` can stay true across the two. Absent: Stop goes by
|
|
103
|
+
* `turnInFlight` alone.
|
|
104
|
+
*/
|
|
105
|
+
turnId?: string | null;
|
|
98
106
|
/** Why the Mode menu is disabled; absent while it is disabled: `busy`. */
|
|
99
107
|
modeDisabledReason?: AssistantModeDisabledReason | null;
|
|
108
|
+
/**
|
|
109
|
+
* The message box, for the panel's `/` shortcut (BOFF-10177, compact only).
|
|
110
|
+
* Classic never reads it: its box is exactly as before.
|
|
111
|
+
*/
|
|
112
|
+
inputRef?: Ref<HTMLTextAreaElement>;
|
|
113
|
+
/**
|
|
114
|
+
* Compact only (BOFF-10177, N6): what sits pinned just above the card, the
|
|
115
|
+
* "change waiting" row. Classic never draws it.
|
|
116
|
+
*/
|
|
117
|
+
aboveCard?: ReactNode;
|
|
100
118
|
}
|
|
101
119
|
/** A local draft snapshot; no files are uploaded by observing it. */
|
|
102
120
|
export interface AssistantComposerDraft {
|
|
@@ -109,22 +127,5 @@ export interface AssistantComposerVoiceState {
|
|
|
109
127
|
readonly committing: boolean;
|
|
110
128
|
readonly dictating: boolean;
|
|
111
129
|
}
|
|
112
|
-
/**
|
|
113
|
-
* AssistantComposer — the v2 input surface (per the ai-assistant-v2 mockups).
|
|
114
|
-
*
|
|
115
|
-
* A rounded card with, on the input row: a leading circular "+" attach control,
|
|
116
|
-
* an auto-growing textarea, a microphone, and a prominent filled forest-green
|
|
117
|
-
* circular send button. BELOW the input sit the mode pills ("Ask" active-green /
|
|
118
|
-
* "Take action" outline); ABOVE it, chips for any pending attachments.
|
|
119
|
-
*
|
|
120
|
-
* Multimodal input (Workstreams 2–3) arrives through three converging paths —
|
|
121
|
-
* the attach button, drag-and-drop onto the card, and paste (a screenshot from
|
|
122
|
-
* the clipboard is the single most common way a user shares one) — plus voice
|
|
123
|
-
* dictation, which appends recognised speech to the draft so it can still be
|
|
124
|
-
* edited before sending.
|
|
125
|
-
*
|
|
126
|
-
* Fully controlled (React state for the text) with auto-grow via a layout
|
|
127
|
-
* effect. Enter sends, Shift+Enter inserts a newline.
|
|
128
|
-
*/
|
|
129
130
|
export declare const AssistantComposer: FC<Props>;
|
|
130
131
|
export {};
|