@blade-hq/agent-kit 0.4.6 → 0.4.7

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.
@@ -1,5 +1,5 @@
1
- import { P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-DItrW2vv.js';
2
- export { C as ChatInput, a as ChatView, F as FileComposerAttachment, b as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar } from '../../../SkillStatusBar-DItrW2vv.js';
1
+ import { C as ChatViewCustomization, P as ParsedWhatIfPrompt } from '../../../SkillStatusBar-DQyipdzn.js';
2
+ export { A as AssistantTurnComponentProps, a as ChatInput, b as ChatView, c as ChatViewClassNames, d as ChatViewComponents, e as ChatViewProps, f as ChatViewRenderers, E as ErrorMessageBlock, F as FileComposerAttachment, g as FileSizeLimitDialog, M as MessageList, S as SkillStatusBar, h as SkillStatusBarComponentProps, T as ToolCallComponentProps, i as ToolRendererProps, U as UserMessageBubble, j as isErrorMessage, k as isUserMessage } from '../../../SkillStatusBar-DQyipdzn.js';
3
3
  import * as react from 'react';
4
4
  import { ReactNode } from 'react';
5
5
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -67,24 +67,9 @@ interface Props$2 {
67
67
  sessionStatus?: string;
68
68
  level?: 1 | 2;
69
69
  forceExpanded?: boolean;
70
+ customization?: ChatViewCustomization;
70
71
  }
71
- declare function AssistantTurnBlock({ sessionId, messages: rawMessages, isStreaming, askAnswers, onAnswer, sessionStatus, level, forceExpanded, }: Props$2): react_jsx_runtime.JSX.Element;
72
-
73
- type UserChatMessage = ChatMessage & {
74
- role: "user";
75
- };
76
- type ErrorChatMessage = ChatMessage & {
77
- role: "error";
78
- };
79
- declare function isUserMessage(message: ChatMessage): message is UserChatMessage;
80
- declare function isErrorMessage(message: ChatMessage): message is ErrorChatMessage;
81
- interface UserMessageProps {
82
- message: UserChatMessage;
83
- }
84
- declare function UserMessageBubble({ message }: UserMessageProps): react_jsx_runtime.JSX.Element;
85
- declare function ErrorMessageBlock({ message }: {
86
- message: ErrorChatMessage;
87
- }): react_jsx_runtime.JSX.Element;
72
+ declare function AssistantTurnBlock({ sessionId, messages: rawMessages, isStreaming, askAnswers, onAnswer, sessionStatus, level, forceExpanded, customization, }: Props$2): react_jsx_runtime.JSX.Element;
88
73
 
89
74
  interface Props$1 {
90
75
  toolCall: ToolCallInfo;
@@ -96,8 +81,9 @@ interface Props$1 {
96
81
  level?: 1 | 2;
97
82
  turnBlocks?: ContentBlock[];
98
83
  reasoning?: string;
84
+ customization?: ChatViewCustomization;
99
85
  }
100
- declare function ToolCallBlock({ toolCall, onAnswer, answered, answerData, sessionId: providedSessionId, sessionStatus, level, turnBlocks, reasoning, }: Props$1): react_jsx_runtime.JSX.Element;
86
+ declare function ToolCallBlock({ toolCall, onAnswer, answered, answerData, sessionId: providedSessionId, sessionStatus, level, turnBlocks, reasoning, customization, }: Props$1): react_jsx_runtime.JSX.Element;
101
87
 
102
88
  interface Props {
103
89
  parsed: ParsedWhatIfPrompt;
@@ -125,4 +111,4 @@ declare function WhatIfQuoteProvider({ onJumpToStep, children, }: {
125
111
  }): react_jsx_runtime.JSX.Element;
126
112
  declare function useWhatIfQuoteContext(): WhatIfQuoteContextValue;
127
113
 
128
- export { AssistantTurnBlock, AttachmentPreviewDialog, CompactionCard, ErrorMessageBlock, ImageLightbox, ToolCallBlock, UserMessageBubble, WhatIfQuoteProvider, WhatIfUserBubble, isErrorMessage, isUserMessage, useWhatIfQuoteContext };
114
+ export { AssistantTurnBlock, AttachmentPreviewDialog, ChatViewCustomization, CompactionCard, ImageLightbox, ToolCallBlock, WhatIfQuoteProvider, WhatIfUserBubble, useWhatIfQuoteContext };
@@ -16,7 +16,7 @@ import {
16
16
  isErrorMessage,
17
17
  isUserMessage,
18
18
  useWhatIfQuoteContext
19
- } from "../../../chunk-LIL4FIZP.js";
19
+ } from "../../../chunk-CGOQI7ZL.js";
20
20
  import "../../../chunk-VD4CKRMT.js";
21
21
  import {
22
22
  AskUserQuestionBlock
@@ -14,8 +14,8 @@ export { F as FileContentPart, I as ImageUrlContentPart, c as MessageContentPart
14
14
  import * as _tanstack_react_query from '@tanstack/react-query';
15
15
  import { Editor } from '@tiptap/react';
16
16
  import { ClassValue } from 'clsx';
17
- import { c as ClientAwareState } from '../SkillStatusBar-DItrW2vv.js';
18
- export { A as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, C as ChatInput, a as ChatView, b as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, d as buildWhatIfPrompt, f as formatFileSize, i as invalidateHomeSidebarSessions, p as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DItrW2vv.js';
17
+ import { l as ClientAwareState } from '../SkillStatusBar-DQyipdzn.js';
18
+ export { m as ATTACHMENT_SIZE_LIMIT_BYTES, B as BuildWhatIfPromptInput, a as ChatInput, b as ChatView, g as FileSizeLimitDialog, M as MessageList, O as OversizedFileInfo, P as ParsedWhatIfPrompt, S as SkillStatusBar, W as WhatIfQuote, n as buildWhatIfPrompt, o as formatFileSize, p as invalidateHomeSidebarSessions, q as parseWhatIfPrompt, s as splitFilesBySize, u as useSessionStore } from '../SkillStatusBar-DQyipdzn.js';
19
19
  import * as zustand from 'zustand';
20
20
  import { Streamdown, ExtraProps } from 'streamdown';
21
21
  import * as _tiptap_core from '@tiptap/core';
@@ -32,7 +32,7 @@ import {
32
32
  useTiptapVoiceInput,
33
33
  useVoiceInput,
34
34
  user_preferences_exports
35
- } from "../chunk-LIL4FIZP.js";
35
+ } from "../chunk-CGOQI7ZL.js";
36
36
  import {
37
37
  buildSessionBinaryPreviewTarget,
38
38
  resolveSessionFilePreviewTarget