@gendive/chatllm 0.17.24 → 0.17.26

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.
@@ -248,6 +248,31 @@ interface PollBlock {
248
248
  /** 현재 질문 인덱스 */
249
249
  currentIndex: number;
250
250
  }
251
+ /**
252
+ * @description 체크리스트 항목
253
+ * @Todo vibecode - AI 자동 실행형 체크리스트
254
+ */
255
+ interface ChecklistItem {
256
+ id: string;
257
+ /** 항목 제목 */
258
+ title: string;
259
+ /** 실행 상태 */
260
+ status: 'pending' | 'in_progress' | 'done' | 'error';
261
+ /** 각 단계의 AI 실행 결과 (접이식 표시용) */
262
+ result?: string;
263
+ }
264
+ /**
265
+ * @description 체크리스트 블록 (메시지에 첨부)
266
+ * @Todo vibecode - AI가 복잡한 요청을 단계별로 분해하여 자동 실행
267
+ */
268
+ interface ChecklistBlock {
269
+ id: string;
270
+ items: ChecklistItem[];
271
+ /** 현재 실행 중인 단계 인덱스 (-1: 미시작, items.length: 전체 완료) */
272
+ currentStep: number;
273
+ /** 전체 완료 여부 */
274
+ completed: boolean;
275
+ }
251
276
  /**
252
277
  * @description 폴 응답 (사용자 선택 결과)
253
278
  * @Todo vibecode - AI 주도 선택지 기능
@@ -440,6 +465,11 @@ interface ChatMessage {
440
465
  * @Todo vibecode - contentParts가 있으면 content 대신 렌더링
441
466
  */
442
467
  contentParts?: MessageContentPart[];
468
+ /**
469
+ * @description 체크리스트 블록 (AI 자동 실행형 단계별 작업)
470
+ * @Todo vibecode - 복잡한 요청 시 AI가 단계별로 분해하여 순차 실행
471
+ */
472
+ checklistBlock?: ChecklistBlock;
443
473
  }
444
474
  interface ChatSession {
445
475
  id: string;
@@ -958,6 +988,21 @@ interface MessageListProps {
958
988
  * @Todo vibecode - 사용자가 선택지 선택 완료 시 호출
959
989
  */
960
990
  onPollSubmit?: (messageId: string, responses: PollResponse[]) => void;
991
+ /**
992
+ * @description 체크리스트 자동 실행 중단 핸들러
993
+ * @Todo vibecode - ChecklistCard 중단 버튼 → useChatUI
994
+ */
995
+ onChecklistAbort?: () => void;
996
+ /**
997
+ * @description 체크리스트 항목 재시도 핸들러
998
+ * @Todo vibecode - error 항목 재실행
999
+ */
1000
+ onChecklistRetry?: (messageId: string, stepIndex: number) => void;
1001
+ /**
1002
+ * @description 체크리스트 항목 건너뛰기 핸들러
1003
+ * @Todo vibecode - pending 항목 스킵
1004
+ */
1005
+ onChecklistSkip?: (messageId: string, stepIndex: number) => void;
961
1006
  }
962
1007
  interface MessageBubbleProps {
963
1008
  message: ChatMessage;
@@ -995,6 +1040,21 @@ interface MessageBubbleProps {
995
1040
  * @Todo vibecode - 사용자가 선택지 선택 완료 시 호출
996
1041
  */
997
1042
  onPollSubmit?: (responses: PollResponse[]) => void;
1043
+ /**
1044
+ * @description 체크리스트 중단 핸들러
1045
+ * @Todo vibecode - 자동 실행 중단
1046
+ */
1047
+ onChecklistAbort?: () => void;
1048
+ /**
1049
+ * @description 체크리스트 항목 재시도 핸들러
1050
+ * @Todo vibecode - error 상태 항목부터 재실행
1051
+ */
1052
+ onChecklistRetry?: (stepIndex: number) => void;
1053
+ /**
1054
+ * @description 체크리스트 항목 건너뛰기 핸들러
1055
+ * @Todo vibecode - pending 항목 스킵
1056
+ */
1057
+ onChecklistSkip?: (stepIndex: number) => void;
998
1058
  }
999
1059
  interface InputProps {
1000
1060
  value: string;
@@ -1257,6 +1317,21 @@ interface UseChatUIReturn {
1257
1317
  closeProjectSettings: () => void;
1258
1318
  /** @Todo vibecode - 프로젝트 메모리 (계층형 3-tier 중 프로젝트 레벨) */
1259
1319
  projectMemory: UseGlobalMemoryReturn | null;
1320
+ /**
1321
+ * @description 체크리스트 자동 실행 중단
1322
+ * @Todo vibecode - 진행 중인 단계 abort + error 표시
1323
+ */
1324
+ handleChecklistAbort: () => void;
1325
+ /**
1326
+ * @description 체크리스트 error 항목 재시도
1327
+ * @Todo vibecode - 해당 단계부터 자동 실행 재개
1328
+ */
1329
+ handleChecklistRetry: (messageId: string, stepIndex: number) => void;
1330
+ /**
1331
+ * @description 체크리스트 pending 항목 건너뛰기
1332
+ * @Todo vibecode - 항목을 done(건너뜀)으로 마킹 후 다음 단계 진행
1333
+ */
1334
+ handleChecklistSkip: (messageId: string, stepIndex: number) => void;
1260
1335
  }
1261
1336
 
1262
1337
  /**
@@ -1912,6 +1987,28 @@ interface FileContentCardProps {
1912
1987
  */
1913
1988
  declare const FileContentCard: React$1.FC<FileContentCardProps>;
1914
1989
 
1990
+ /**
1991
+ * @description AI 자동 실행형 체크리스트 카드
1992
+ * @Todo vibecode - 단계별 진행 상황 표시, 접이식 결과, 중단/재시도/건너뛰기 인터랙션
1993
+ */
1994
+
1995
+ interface ChecklistCardProps {
1996
+ /** 체크리스트 항목 배열 */
1997
+ items: ChecklistItem[];
1998
+ /** 현재 실행 중인 단계 인덱스 */
1999
+ currentStep: number;
2000
+ /** 전체 완료 여부 */
2001
+ completed: boolean;
2002
+ /** 자동 실행 중단 */
2003
+ onAbort?: () => void;
2004
+ /** 실패 항목 재시도 */
2005
+ onRetryStep?: (stepIndex: number) => void;
2006
+ /** 항목 건너뛰기 */
2007
+ onSkipStep?: (stepIndex: number) => void;
2008
+ }
2009
+ /** @Todo vibecode - 체크리스트 카드 컴포넌트 */
2010
+ declare const ChecklistCard: React$1.FC<ChecklistCardProps>;
2011
+
1915
2012
  /**
1916
2013
  * @description 프로젝트 선택 드롭다운 - 사이드바 상단에 배치
1917
2014
  * @Todo vibecode - 프로젝트 전환, 생성, 설정 접근
@@ -1975,4 +2072,4 @@ declare const DEFAULT_PROJECT_TITLE = "\uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8";
1975
2072
  */
1976
2073
  declare const migrateSessionsToProjects: (storageKey: string) => void;
1977
2074
 
1978
- export { type ActionItem, type ActionMenuProps, type AdvancedResearchOptions, type AlternativeResponse, type ChatAttachment, ChatHeader, ChatInput, type ChatMessage, type ChatProject, type ChatSession, ChatSidebar, type ChatToolDefinition, type ChatToolParameter, ChatUI, type ChatUIComponents, type ChatUIProps, ContentPartRenderer, type ContentPartRendererProps, DEFAULT_PROJECT_ID, DEFAULT_PROJECT_TITLE, type DeepResearchCallbacks, type DeepResearchProgress, DeepResearchProgressUI, EmptyState, type EmptyStateProps, type ErrorContentPart, FileContentCard, type FileContentCardProps, type FileContentPart, type HeaderProps, Icon, type IconName, type IconProps, IconSvg, ImageContentCard, type ImageContentCardProps, type ImageContentPart, type InputProps, LinkChip, type LinkChipProps, type ManualSkillItem, MarkdownRenderer, type MarkdownRendererProps, type MemoryItem, MemoryPanel, type MemoryPanelProps, MessageBubble, type MessageBubbleProps, type MessageContentPart, MessageList, type MessageListProps, type ModelConfig, type ModelSelectorProps, type PersonalizationConfig, type PollBlock, PollCard, type PollCardProps, type PollOption, type PollQuestion, type PollResponse, type PollState, type ProjectFile, ProjectSelector, type ProjectSelectorProps, ProjectSettingsModal, type ProjectSettingsModalProps, type PromptTemplate, type ProviderType, type ResponseStyle, type SearchResult, type SearchResultContentPart, type SendMessageParams, type SendMessageResponse, SettingsModal, type SettingsModalProps, type SettingsTab, type SidebarProps, type SkillConfig, type SkillExecuteCallbacks, type SkillExecution, type SkillExecutionResult, type SkillProgress, SkillProgressUI, type SkillProgressUIProps, type SkillTrigger, type SourceItem, type SubAgentProgress, type SuggestedPrompt, type TextContentPart, type ThemeConfig, type ThemeMode, type ToolCallResult, type ToolLoadingContentPart, type ToolResultContentPart, type UseChatUIOptions, type UseChatUIReturn, type UseDeepResearchOptions, type UseProjectOptions, type UseProjectReturn, type UseSkillsOptions, type UseSkillsReturn, type UserProfile, convertToolsToSkills, createAdvancedResearchSkill, createDeepResearchSkill, migrateSessionsToProjects, useChatUI, useDeepResearch, useProject, useSkills };
2075
+ export { type ActionItem, type ActionMenuProps, type AdvancedResearchOptions, type AlternativeResponse, type ChatAttachment, ChatHeader, ChatInput, type ChatMessage, type ChatProject, type ChatSession, ChatSidebar, type ChatToolDefinition, type ChatToolParameter, ChatUI, type ChatUIComponents, type ChatUIProps, type ChecklistBlock, ChecklistCard, type ChecklistCardProps, type ChecklistItem, ContentPartRenderer, type ContentPartRendererProps, DEFAULT_PROJECT_ID, DEFAULT_PROJECT_TITLE, type DeepResearchCallbacks, type DeepResearchProgress, DeepResearchProgressUI, EmptyState, type EmptyStateProps, type ErrorContentPart, FileContentCard, type FileContentCardProps, type FileContentPart, type HeaderProps, Icon, type IconName, type IconProps, IconSvg, ImageContentCard, type ImageContentCardProps, type ImageContentPart, type InputProps, LinkChip, type LinkChipProps, type ManualSkillItem, MarkdownRenderer, type MarkdownRendererProps, type MemoryItem, MemoryPanel, type MemoryPanelProps, MessageBubble, type MessageBubbleProps, type MessageContentPart, MessageList, type MessageListProps, type ModelConfig, type ModelSelectorProps, type PersonalizationConfig, type PollBlock, PollCard, type PollCardProps, type PollOption, type PollQuestion, type PollResponse, type PollState, type ProjectFile, ProjectSelector, type ProjectSelectorProps, ProjectSettingsModal, type ProjectSettingsModalProps, type PromptTemplate, type ProviderType, type ResponseStyle, type SearchResult, type SearchResultContentPart, type SendMessageParams, type SendMessageResponse, SettingsModal, type SettingsModalProps, type SettingsTab, type SidebarProps, type SkillConfig, type SkillExecuteCallbacks, type SkillExecution, type SkillExecutionResult, type SkillProgress, SkillProgressUI, type SkillProgressUIProps, type SkillTrigger, type SourceItem, type SubAgentProgress, type SuggestedPrompt, type TextContentPart, type ThemeConfig, type ThemeMode, type ToolCallResult, type ToolLoadingContentPart, type ToolResultContentPart, type UseChatUIOptions, type UseChatUIReturn, type UseDeepResearchOptions, type UseProjectOptions, type UseProjectReturn, type UseSkillsOptions, type UseSkillsReturn, type UserProfile, convertToolsToSkills, createAdvancedResearchSkill, createDeepResearchSkill, migrateSessionsToProjects, useChatUI, useDeepResearch, useProject, useSkills };
@@ -248,6 +248,31 @@ interface PollBlock {
248
248
  /** 현재 질문 인덱스 */
249
249
  currentIndex: number;
250
250
  }
251
+ /**
252
+ * @description 체크리스트 항목
253
+ * @Todo vibecode - AI 자동 실행형 체크리스트
254
+ */
255
+ interface ChecklistItem {
256
+ id: string;
257
+ /** 항목 제목 */
258
+ title: string;
259
+ /** 실행 상태 */
260
+ status: 'pending' | 'in_progress' | 'done' | 'error';
261
+ /** 각 단계의 AI 실행 결과 (접이식 표시용) */
262
+ result?: string;
263
+ }
264
+ /**
265
+ * @description 체크리스트 블록 (메시지에 첨부)
266
+ * @Todo vibecode - AI가 복잡한 요청을 단계별로 분해하여 자동 실행
267
+ */
268
+ interface ChecklistBlock {
269
+ id: string;
270
+ items: ChecklistItem[];
271
+ /** 현재 실행 중인 단계 인덱스 (-1: 미시작, items.length: 전체 완료) */
272
+ currentStep: number;
273
+ /** 전체 완료 여부 */
274
+ completed: boolean;
275
+ }
251
276
  /**
252
277
  * @description 폴 응답 (사용자 선택 결과)
253
278
  * @Todo vibecode - AI 주도 선택지 기능
@@ -440,6 +465,11 @@ interface ChatMessage {
440
465
  * @Todo vibecode - contentParts가 있으면 content 대신 렌더링
441
466
  */
442
467
  contentParts?: MessageContentPart[];
468
+ /**
469
+ * @description 체크리스트 블록 (AI 자동 실행형 단계별 작업)
470
+ * @Todo vibecode - 복잡한 요청 시 AI가 단계별로 분해하여 순차 실행
471
+ */
472
+ checklistBlock?: ChecklistBlock;
443
473
  }
444
474
  interface ChatSession {
445
475
  id: string;
@@ -958,6 +988,21 @@ interface MessageListProps {
958
988
  * @Todo vibecode - 사용자가 선택지 선택 완료 시 호출
959
989
  */
960
990
  onPollSubmit?: (messageId: string, responses: PollResponse[]) => void;
991
+ /**
992
+ * @description 체크리스트 자동 실행 중단 핸들러
993
+ * @Todo vibecode - ChecklistCard 중단 버튼 → useChatUI
994
+ */
995
+ onChecklistAbort?: () => void;
996
+ /**
997
+ * @description 체크리스트 항목 재시도 핸들러
998
+ * @Todo vibecode - error 항목 재실행
999
+ */
1000
+ onChecklistRetry?: (messageId: string, stepIndex: number) => void;
1001
+ /**
1002
+ * @description 체크리스트 항목 건너뛰기 핸들러
1003
+ * @Todo vibecode - pending 항목 스킵
1004
+ */
1005
+ onChecklistSkip?: (messageId: string, stepIndex: number) => void;
961
1006
  }
962
1007
  interface MessageBubbleProps {
963
1008
  message: ChatMessage;
@@ -995,6 +1040,21 @@ interface MessageBubbleProps {
995
1040
  * @Todo vibecode - 사용자가 선택지 선택 완료 시 호출
996
1041
  */
997
1042
  onPollSubmit?: (responses: PollResponse[]) => void;
1043
+ /**
1044
+ * @description 체크리스트 중단 핸들러
1045
+ * @Todo vibecode - 자동 실행 중단
1046
+ */
1047
+ onChecklistAbort?: () => void;
1048
+ /**
1049
+ * @description 체크리스트 항목 재시도 핸들러
1050
+ * @Todo vibecode - error 상태 항목부터 재실행
1051
+ */
1052
+ onChecklistRetry?: (stepIndex: number) => void;
1053
+ /**
1054
+ * @description 체크리스트 항목 건너뛰기 핸들러
1055
+ * @Todo vibecode - pending 항목 스킵
1056
+ */
1057
+ onChecklistSkip?: (stepIndex: number) => void;
998
1058
  }
999
1059
  interface InputProps {
1000
1060
  value: string;
@@ -1257,6 +1317,21 @@ interface UseChatUIReturn {
1257
1317
  closeProjectSettings: () => void;
1258
1318
  /** @Todo vibecode - 프로젝트 메모리 (계층형 3-tier 중 프로젝트 레벨) */
1259
1319
  projectMemory: UseGlobalMemoryReturn | null;
1320
+ /**
1321
+ * @description 체크리스트 자동 실행 중단
1322
+ * @Todo vibecode - 진행 중인 단계 abort + error 표시
1323
+ */
1324
+ handleChecklistAbort: () => void;
1325
+ /**
1326
+ * @description 체크리스트 error 항목 재시도
1327
+ * @Todo vibecode - 해당 단계부터 자동 실행 재개
1328
+ */
1329
+ handleChecklistRetry: (messageId: string, stepIndex: number) => void;
1330
+ /**
1331
+ * @description 체크리스트 pending 항목 건너뛰기
1332
+ * @Todo vibecode - 항목을 done(건너뜀)으로 마킹 후 다음 단계 진행
1333
+ */
1334
+ handleChecklistSkip: (messageId: string, stepIndex: number) => void;
1260
1335
  }
1261
1336
 
1262
1337
  /**
@@ -1912,6 +1987,28 @@ interface FileContentCardProps {
1912
1987
  */
1913
1988
  declare const FileContentCard: React$1.FC<FileContentCardProps>;
1914
1989
 
1990
+ /**
1991
+ * @description AI 자동 실행형 체크리스트 카드
1992
+ * @Todo vibecode - 단계별 진행 상황 표시, 접이식 결과, 중단/재시도/건너뛰기 인터랙션
1993
+ */
1994
+
1995
+ interface ChecklistCardProps {
1996
+ /** 체크리스트 항목 배열 */
1997
+ items: ChecklistItem[];
1998
+ /** 현재 실행 중인 단계 인덱스 */
1999
+ currentStep: number;
2000
+ /** 전체 완료 여부 */
2001
+ completed: boolean;
2002
+ /** 자동 실행 중단 */
2003
+ onAbort?: () => void;
2004
+ /** 실패 항목 재시도 */
2005
+ onRetryStep?: (stepIndex: number) => void;
2006
+ /** 항목 건너뛰기 */
2007
+ onSkipStep?: (stepIndex: number) => void;
2008
+ }
2009
+ /** @Todo vibecode - 체크리스트 카드 컴포넌트 */
2010
+ declare const ChecklistCard: React$1.FC<ChecklistCardProps>;
2011
+
1915
2012
  /**
1916
2013
  * @description 프로젝트 선택 드롭다운 - 사이드바 상단에 배치
1917
2014
  * @Todo vibecode - 프로젝트 전환, 생성, 설정 접근
@@ -1975,4 +2072,4 @@ declare const DEFAULT_PROJECT_TITLE = "\uAE30\uBCF8 \uD504\uB85C\uC81D\uD2B8";
1975
2072
  */
1976
2073
  declare const migrateSessionsToProjects: (storageKey: string) => void;
1977
2074
 
1978
- export { type ActionItem, type ActionMenuProps, type AdvancedResearchOptions, type AlternativeResponse, type ChatAttachment, ChatHeader, ChatInput, type ChatMessage, type ChatProject, type ChatSession, ChatSidebar, type ChatToolDefinition, type ChatToolParameter, ChatUI, type ChatUIComponents, type ChatUIProps, ContentPartRenderer, type ContentPartRendererProps, DEFAULT_PROJECT_ID, DEFAULT_PROJECT_TITLE, type DeepResearchCallbacks, type DeepResearchProgress, DeepResearchProgressUI, EmptyState, type EmptyStateProps, type ErrorContentPart, FileContentCard, type FileContentCardProps, type FileContentPart, type HeaderProps, Icon, type IconName, type IconProps, IconSvg, ImageContentCard, type ImageContentCardProps, type ImageContentPart, type InputProps, LinkChip, type LinkChipProps, type ManualSkillItem, MarkdownRenderer, type MarkdownRendererProps, type MemoryItem, MemoryPanel, type MemoryPanelProps, MessageBubble, type MessageBubbleProps, type MessageContentPart, MessageList, type MessageListProps, type ModelConfig, type ModelSelectorProps, type PersonalizationConfig, type PollBlock, PollCard, type PollCardProps, type PollOption, type PollQuestion, type PollResponse, type PollState, type ProjectFile, ProjectSelector, type ProjectSelectorProps, ProjectSettingsModal, type ProjectSettingsModalProps, type PromptTemplate, type ProviderType, type ResponseStyle, type SearchResult, type SearchResultContentPart, type SendMessageParams, type SendMessageResponse, SettingsModal, type SettingsModalProps, type SettingsTab, type SidebarProps, type SkillConfig, type SkillExecuteCallbacks, type SkillExecution, type SkillExecutionResult, type SkillProgress, SkillProgressUI, type SkillProgressUIProps, type SkillTrigger, type SourceItem, type SubAgentProgress, type SuggestedPrompt, type TextContentPart, type ThemeConfig, type ThemeMode, type ToolCallResult, type ToolLoadingContentPart, type ToolResultContentPart, type UseChatUIOptions, type UseChatUIReturn, type UseDeepResearchOptions, type UseProjectOptions, type UseProjectReturn, type UseSkillsOptions, type UseSkillsReturn, type UserProfile, convertToolsToSkills, createAdvancedResearchSkill, createDeepResearchSkill, migrateSessionsToProjects, useChatUI, useDeepResearch, useProject, useSkills };
2075
+ export { type ActionItem, type ActionMenuProps, type AdvancedResearchOptions, type AlternativeResponse, type ChatAttachment, ChatHeader, ChatInput, type ChatMessage, type ChatProject, type ChatSession, ChatSidebar, type ChatToolDefinition, type ChatToolParameter, ChatUI, type ChatUIComponents, type ChatUIProps, type ChecklistBlock, ChecklistCard, type ChecklistCardProps, type ChecklistItem, ContentPartRenderer, type ContentPartRendererProps, DEFAULT_PROJECT_ID, DEFAULT_PROJECT_TITLE, type DeepResearchCallbacks, type DeepResearchProgress, DeepResearchProgressUI, EmptyState, type EmptyStateProps, type ErrorContentPart, FileContentCard, type FileContentCardProps, type FileContentPart, type HeaderProps, Icon, type IconName, type IconProps, IconSvg, ImageContentCard, type ImageContentCardProps, type ImageContentPart, type InputProps, LinkChip, type LinkChipProps, type ManualSkillItem, MarkdownRenderer, type MarkdownRendererProps, type MemoryItem, MemoryPanel, type MemoryPanelProps, MessageBubble, type MessageBubbleProps, type MessageContentPart, MessageList, type MessageListProps, type ModelConfig, type ModelSelectorProps, type PersonalizationConfig, type PollBlock, PollCard, type PollCardProps, type PollOption, type PollQuestion, type PollResponse, type PollState, type ProjectFile, ProjectSelector, type ProjectSelectorProps, ProjectSettingsModal, type ProjectSettingsModalProps, type PromptTemplate, type ProviderType, type ResponseStyle, type SearchResult, type SearchResultContentPart, type SendMessageParams, type SendMessageResponse, SettingsModal, type SettingsModalProps, type SettingsTab, type SidebarProps, type SkillConfig, type SkillExecuteCallbacks, type SkillExecution, type SkillExecutionResult, type SkillProgress, SkillProgressUI, type SkillProgressUIProps, type SkillTrigger, type SourceItem, type SubAgentProgress, type SuggestedPrompt, type TextContentPart, type ThemeConfig, type ThemeMode, type ToolCallResult, type ToolLoadingContentPart, type ToolResultContentPart, type UseChatUIOptions, type UseChatUIReturn, type UseDeepResearchOptions, type UseProjectOptions, type UseProjectReturn, type UseSkillsOptions, type UseSkillsReturn, type UserProfile, convertToolsToSkills, createAdvancedResearchSkill, createDeepResearchSkill, migrateSessionsToProjects, useChatUI, useDeepResearch, useProject, useSkills };