@aintela/chat 0.14.7 → 0.14.8
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/agent-team.d.ts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/components.js +1 -1
- package/dist/components.js.map +1 -1
- package/dist/hooks.d.ts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/interfaces.d.ts +1 -1
- package/dist/models.d.ts +1 -1
- package/dist/services.d.ts +1 -1
- package/dist/src/ErrorBondary.d.ts +1 -1
- package/dist/src/components/AgentTeam/BillingLimitBanner.d.ts +1 -1
- package/dist/src/components/AgentTeam/ChatAgentHeader.d.ts +4 -4
- package/dist/src/components/AgentTeam/HandoffDivider.d.ts +1 -1
- package/dist/src/components/AgentTeam/PersonaAvatar.d.ts +2 -2
- package/dist/src/components/AiChat/ChatPane/AgentAvatar.d.ts +2 -2
- package/dist/src/components/AiChat/ChatPane/FloatingConnectionStatus.d.ts +1 -1
- package/dist/src/components/AiChat/ChatPane/GuestIcon.d.ts +2 -2
- package/dist/src/components/AiChat/ChatPane/parts/ReadOnlyGuard.d.ts +1 -1
- package/dist/src/components/Library/LinearBackgroundProgress.d.ts +1 -1
- package/dist/src/components/Library/LinearProgressBarWithMarkers.d.ts +1 -1
- package/dist/src/components/Library/SessionUsagePanel.d.ts +1 -1
- package/dist/src/components/Library/TurnAwareButton.d.ts +1 -1
- package/dist/src/components/v2/DetachedRunTaskBox.d.ts +1 -1
- package/dist/src/components/v2/DetachedRunTranscript.d.ts +1 -1
- package/dist/src/components/v2/MentionPickerPanel.d.ts +1 -1
- package/dist/src/components/v2/PromptDateMarkers.d.ts +1 -1
- package/dist/src/components/v2/PromptGhostHint.d.ts +1 -1
- package/dist/src/components/v2/SharedSessionTranscript.d.ts +1 -1
- package/dist/src/components/v2/TriggerDropdown.d.ts +1 -1
- package/dist/utils.d.ts +1 -1
- package/package.json +2 -2
package/dist/hooks.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/hooks/index'
|
|
1
|
+
export * from './src/hooks/index.js'
|
|
2
2
|
export {}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/index'
|
|
1
|
+
export * from './src/index.js'
|
|
2
2
|
export {}
|
package/dist/interfaces.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/interfaces/index'
|
|
1
|
+
export * from './src/interfaces/index.js'
|
|
2
2
|
export {}
|
package/dist/models.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/models/index'
|
|
1
|
+
export * from './src/models/index.js'
|
|
2
2
|
export {}
|
package/dist/services.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/services/index'
|
|
1
|
+
export * from './src/services/index.js'
|
|
2
2
|
export {}
|
|
@@ -5,6 +5,6 @@ declare class ErrorBoundary extends Component {
|
|
|
5
5
|
hasError: boolean;
|
|
6
6
|
};
|
|
7
7
|
componentDidCatch(error: any, errorInfo: any): void;
|
|
8
|
-
render(): string | number | boolean | Iterable<import('react').ReactNode> | import(
|
|
8
|
+
render(): string | number | boolean | Iterable<import('react').ReactNode> | import('react/jsx-runtime').JSX.Element | null | undefined;
|
|
9
9
|
}
|
|
10
10
|
export default ErrorBoundary;
|
|
@@ -4,4 +4,4 @@
|
|
|
4
4
|
* reached or the renewal failed. Dismissable until the notice changes. A host replaces it with `renderBillingLimit`
|
|
5
5
|
* or hides it with `showBillingLimit={false}`.
|
|
6
6
|
*/
|
|
7
|
-
export declare function BillingLimitBanner(): import(
|
|
7
|
+
export declare function BillingLimitBanner(): import('react/jsx-runtime').JSX.Element | null;
|
|
@@ -10,14 +10,14 @@ export interface ChatAgentHeaderProps {
|
|
|
10
10
|
/** "agosto" — "Cuida das suas viagens desde agosto." */
|
|
11
11
|
since?: string;
|
|
12
12
|
}
|
|
13
|
-
export declare function ChatAgentHeader({ personaId, role, org, mobile, trip, since }: ChatAgentHeaderProps): import(
|
|
13
|
+
export declare function ChatAgentHeader({ personaId, role, org, mobile, trip, since }: ChatAgentHeaderProps): import('react/jsx-runtime').JSX.Element | null;
|
|
14
14
|
/** Cartão da persona: rosto 64, nome, papel, "Agente autônoma da {org}", o que faz, desde quando. */
|
|
15
15
|
export declare function PersonaCard({ personaId, role, org, since }: {
|
|
16
16
|
personaId: PersonaId;
|
|
17
17
|
role: AgentRole;
|
|
18
18
|
org: string;
|
|
19
19
|
since?: string;
|
|
20
|
-
}): import(
|
|
20
|
+
}): import('react/jsx-runtime').JSX.Element | null;
|
|
21
21
|
/**
|
|
22
22
|
* Rótulo da sequência de mensagens do agente: avatar (28 desktop / 24 mobile) + "ANA · 09:42" em mono.
|
|
23
23
|
* Aparece uma vez por sequência; raciocínio, ferramenta e resposta ficam na mesma coluna.
|
|
@@ -26,9 +26,9 @@ export declare function AgentRunLabel({ personaId, time, mobile }: {
|
|
|
26
26
|
personaId: PersonaId;
|
|
27
27
|
time?: string;
|
|
28
28
|
mobile?: boolean;
|
|
29
|
-
}): import(
|
|
29
|
+
}): import('react/jsx-runtime').JSX.Element | null;
|
|
30
30
|
/** "Ana está escrevendo" — avatar + três pontos pulsando. */
|
|
31
31
|
export declare function AgentTyping({ personaId, mobile }: {
|
|
32
32
|
personaId: PersonaId;
|
|
33
33
|
mobile?: boolean;
|
|
34
|
-
}): import(
|
|
34
|
+
}): import('react/jsx-runtime').JSX.Element | null;
|
|
@@ -17,10 +17,10 @@ export interface PersonaAvatarProps {
|
|
|
17
17
|
ring?: boolean;
|
|
18
18
|
dimmed?: boolean;
|
|
19
19
|
}
|
|
20
|
-
export declare function PersonaAvatar({ persona, size, role, pin, ring, dimmed }: PersonaAvatarProps): import(
|
|
20
|
+
export declare function PersonaAvatar({ persona, size, role, pin, ring, dimmed }: PersonaAvatarProps): import('react/jsx-runtime').JSX.Element;
|
|
21
21
|
/** Pilha de avatares sobrepostos (linha "quem entra" do formulário de contratação). */
|
|
22
22
|
export declare function AvatarStack({ ids, size, max }: {
|
|
23
23
|
ids: PersonaId[];
|
|
24
24
|
size?: number;
|
|
25
25
|
max?: number;
|
|
26
|
-
}): import(
|
|
26
|
+
}): import('react/jsx-runtime').JSX.Element;
|
|
@@ -7,7 +7,7 @@ export interface AgentIconProps {
|
|
|
7
7
|
color?: string;
|
|
8
8
|
style?: React.CSSProperties;
|
|
9
9
|
}
|
|
10
|
-
export declare function AgentIcon({ variant, size, strokeWidth, color, style, }: AgentIconProps): import(
|
|
10
|
+
export declare function AgentIcon({ variant, size, strokeWidth, color, style, }: AgentIconProps): import('react/jsx-runtime').JSX.Element;
|
|
11
11
|
export type AgentAvatarTone = 'lime' | 'ink' | 'chrome';
|
|
12
12
|
export interface AgentAvatarProps {
|
|
13
13
|
variant?: AgentIconVariant;
|
|
@@ -15,5 +15,5 @@ export interface AgentAvatarProps {
|
|
|
15
15
|
size?: number;
|
|
16
16
|
style?: React.CSSProperties;
|
|
17
17
|
}
|
|
18
|
-
export declare function AgentAvatar({ variant, tone, size, style, }: AgentAvatarProps): import(
|
|
18
|
+
export declare function AgentAvatar({ variant, tone, size, style, }: AgentAvatarProps): import('react/jsx-runtime').JSX.Element;
|
|
19
19
|
export default AgentAvatar;
|
|
@@ -4,5 +4,5 @@ interface FloatingConnectionStatusProps {
|
|
|
4
4
|
attemps?: number;
|
|
5
5
|
connectionState?: ConnectionState;
|
|
6
6
|
}
|
|
7
|
-
declare function FloatingConnectionStatus({ isStreamOpen, attemps, connectionState }: FloatingConnectionStatusProps): import(
|
|
7
|
+
declare function FloatingConnectionStatus({ isStreamOpen, attemps, connectionState }: FloatingConnectionStatusProps): import('react/jsx-runtime').JSX.Element;
|
|
8
8
|
export default FloatingConnectionStatus;
|
|
@@ -7,7 +7,7 @@ export interface GuestIconProps {
|
|
|
7
7
|
color?: string;
|
|
8
8
|
style?: React.CSSProperties;
|
|
9
9
|
}
|
|
10
|
-
export declare function GuestIcon({ variant, size, strokeWidth, color, style, }: GuestIconProps): import(
|
|
10
|
+
export declare function GuestIcon({ variant, size, strokeWidth, color, style, }: GuestIconProps): import('react/jsx-runtime').JSX.Element;
|
|
11
11
|
export type GuestAvatarTone = 'ink' | 'soft' | 'empty' | 'revertedInk';
|
|
12
12
|
export interface GuestAvatarProps {
|
|
13
13
|
variant?: GuestIconVariant;
|
|
@@ -15,5 +15,5 @@ export interface GuestAvatarProps {
|
|
|
15
15
|
size?: number;
|
|
16
16
|
style?: React.CSSProperties;
|
|
17
17
|
}
|
|
18
|
-
export declare function GuestAvatar({ variant, tone, size, style, }: GuestAvatarProps): import(
|
|
18
|
+
export declare function GuestAvatar({ variant, tone, size, style, }: GuestAvatarProps): import('react/jsx-runtime').JSX.Element;
|
|
19
19
|
export default GuestIcon;
|
|
@@ -4,5 +4,5 @@ export interface LinerBackgroundProgressProps {
|
|
|
4
4
|
unCompletedColor: string;
|
|
5
5
|
children: React.ReactNode;
|
|
6
6
|
}
|
|
7
|
-
declare function LinerBackgroundProgress({ value, children, completedColor, unCompletedColor }: LinerBackgroundProgressProps): import(
|
|
7
|
+
declare function LinerBackgroundProgress({ value, children, completedColor, unCompletedColor }: LinerBackgroundProgressProps): import('react/jsx-runtime').JSX.Element;
|
|
8
8
|
export default LinerBackgroundProgress;
|
|
@@ -10,5 +10,5 @@ export interface LinearProgressBarWithMarkersProps {
|
|
|
10
10
|
markers: Marker[];
|
|
11
11
|
sx: SxProps;
|
|
12
12
|
}
|
|
13
|
-
declare function LinearProgressBarWithMarkers({ value, valueBuffer, markers, sx }: LinearProgressBarWithMarkersProps): import(
|
|
13
|
+
declare function LinearProgressBarWithMarkers({ value, valueBuffer, markers, sx }: LinearProgressBarWithMarkersProps): import('react/jsx-runtime').JSX.Element;
|
|
14
14
|
export default LinearProgressBarWithMarkers;
|
|
@@ -10,5 +10,5 @@
|
|
|
10
10
|
* a shortcut) because a token gauge is noise to a traveller booking a flight and gold to
|
|
11
11
|
* whoever is testing compaction.
|
|
12
12
|
*/
|
|
13
|
-
export declare function SessionUsagePanel(): import(
|
|
13
|
+
export declare function SessionUsagePanel(): import('react/jsx-runtime').JSX.Element;
|
|
14
14
|
export default SessionUsagePanel;
|
|
@@ -42,5 +42,5 @@ export interface TurnAwareButtonProps extends Omit<ButtonProps, 'onClick'> {
|
|
|
42
42
|
* The decision logic lives in `turnAwareButtonState.ts` (pure, unit-tested);
|
|
43
43
|
* this component is the React/MUI shell around it.
|
|
44
44
|
*/
|
|
45
|
-
export declare function TurnAwareButton({ onClick, waitingTitle, hideSpinner, disabled, children, endIcon, sx, ...buttonProps }: TurnAwareButtonProps): import(
|
|
45
|
+
export declare function TurnAwareButton({ onClick, waitingTitle, hideSpinner, disabled, children, endIcon, sx, ...buttonProps }: TurnAwareButtonProps): import('react/jsx-runtime').JSX.Element;
|
|
46
46
|
export default TurnAwareButton;
|
|
@@ -61,7 +61,7 @@ export interface DetachedRunTaskBoxProps extends DetachedRunStreamAuth {
|
|
|
61
61
|
* stopped to ask, and the answer resumes it on the same id, so the box keeps reading it, slowly. A failed read is
|
|
62
62
|
* shown quietly and retried — a box that goes blank because one request failed reads as the task having vanished.</p>
|
|
63
63
|
*/
|
|
64
|
-
export declare function DetachedRunTaskBox({ runId, name, initialStatus, fetchRun, pollIntervalMs, waitingPollMs, renderConclusion, label, onSettled, baseUrl, fetchImpl, getToken, onUnauthorized, user, getUser, uiTools, partRenderers, transcriptProps, transcriptHeight, }: DetachedRunTaskBoxProps): import(
|
|
64
|
+
export declare function DetachedRunTaskBox({ runId, name, initialStatus, fetchRun, pollIntervalMs, waitingPollMs, renderConclusion, label, onSettled, baseUrl, fetchImpl, getToken, onUnauthorized, user, getUser, uiTools, partRenderers, transcriptProps, transcriptHeight, }: DetachedRunTaskBoxProps): import('react/jsx-runtime').JSX.Element;
|
|
65
65
|
type StepEntry = {
|
|
66
66
|
item: TodoItem;
|
|
67
67
|
} | {
|
|
@@ -85,5 +85,5 @@ export interface DetachedRunTranscriptProps extends UseDetachedRunTranscriptOpti
|
|
|
85
85
|
*
|
|
86
86
|
* <p>Give it a definite height, like `ChatPane`: the transcript scrolls inside it.</p>
|
|
87
87
|
*/
|
|
88
|
-
export declare function DetachedRunTranscript(props: DetachedRunTranscriptProps): import(
|
|
88
|
+
export declare function DetachedRunTranscript(props: DetachedRunTranscriptProps): import('react/jsx-runtime').JSX.Element;
|
|
89
89
|
export default DetachedRunTranscript;
|
|
@@ -40,4 +40,4 @@ export interface MentionPickerPanelProps {
|
|
|
40
40
|
*/
|
|
41
41
|
placement?: 'auto' | 'below';
|
|
42
42
|
}
|
|
43
|
-
export declare function MentionPickerPanel({ open, anchorEl, startAtTopOfEl, items, loading, onSelect, personLabel, locationLabel, hotelLabel, emptyLabel, slotLabel, maxHeightVh, bottomInset, placement, }: MentionPickerPanelProps): import(
|
|
43
|
+
export declare function MentionPickerPanel({ open, anchorEl, startAtTopOfEl, items, loading, onSelect, personLabel, locationLabel, hotelLabel, emptyLabel, slotLabel, maxHeightVh, bottomInset, placement, }: MentionPickerPanelProps): import('react/jsx-runtime').JSX.Element | null;
|
|
@@ -14,4 +14,4 @@ export interface PromptGhostHintProps {
|
|
|
14
14
|
/** Match the host textarea's font size so the phantom sits on the text baseline. */
|
|
15
15
|
fontSize?: number;
|
|
16
16
|
}
|
|
17
|
-
export declare function PromptGhostHint({ kind, onAccept, compact, midSentence, fontSize }: PromptGhostHintProps): import(
|
|
17
|
+
export declare function PromptGhostHint({ kind, onAccept, compact, midSentence, fontSize }: PromptGhostHintProps): import('react/jsx-runtime').JSX.Element;
|
|
@@ -72,5 +72,5 @@ export interface SharedSessionTranscriptProps extends UseSharedSessionTranscript
|
|
|
72
72
|
* answer — with no prompt. Presentation props (`uiTools`, `partRenderers`, `showPersona`, …) pass through to
|
|
73
73
|
* `<AiChat>`. Give it a definite height, like `ChatPane`.
|
|
74
74
|
*/
|
|
75
|
-
export declare function SharedSessionTranscript(props: SharedSessionTranscriptProps): import(
|
|
75
|
+
export declare function SharedSessionTranscript(props: SharedSessionTranscriptProps): import('react/jsx-runtime').JSX.Element;
|
|
76
76
|
export default SharedSessionTranscript;
|
|
@@ -61,4 +61,4 @@ export interface TriggerDropdownProps<T extends DropdownItem = DropdownItem> {
|
|
|
61
61
|
* the browser fires `pointercancel` the moment it claims the gesture for scrolling, which is the authoritative
|
|
62
62
|
* "this was a scroll, not a tap" signal. The slop check is a belt-and-braces for a shaky finger.
|
|
63
63
|
*/
|
|
64
|
-
export declare function TriggerDropdown<T extends DropdownItem = DropdownItem>({ items, highlight, onHighlight, onSelect, loading, personLabel, locationLabel, hotelLabel, touch, emptyLabel, keyHints, queryEcho, slotLabel, trailingNote, sx, }: TriggerDropdownProps<T>): import(
|
|
64
|
+
export declare function TriggerDropdown<T extends DropdownItem = DropdownItem>({ items, highlight, onHighlight, onSelect, loading, personLabel, locationLabel, hotelLabel, touch, emptyLabel, keyHints, queryEcho, slotLabel, trailingNote, sx, }: TriggerDropdownProps<T>): import('react/jsx-runtime').JSX.Element;
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './src/utils/index'
|
|
1
|
+
export * from './src/utils/index.js'
|
|
2
2
|
export {}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aintela/chat",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.8",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"recharts": "^3.10.1",
|
|
141
141
|
"typescript": "~5.8.3",
|
|
142
142
|
"vite": "^6.4.5",
|
|
143
|
-
"vite-plugin-dts": "^
|
|
143
|
+
"vite-plugin-dts": "^5.1.2",
|
|
144
144
|
"vitest": "^4.1.11"
|
|
145
145
|
}
|
|
146
146
|
}
|