@huyooo/ai-chat-frontend-react 0.2.22 → 0.2.24

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/index.css CHANGED
@@ -3702,6 +3702,24 @@ body {
3702
3702
  color: var(--chat-text-muted, #888);
3703
3703
  flex-shrink: 0;
3704
3704
  }
3705
+ .at-picker-empty {
3706
+ padding: 16px;
3707
+ text-align: center;
3708
+ color: var(--chat-text-muted, #888);
3709
+ font-size: 13px;
3710
+ }
3711
+ .at-picker-skill .at-picker-item-name {
3712
+ flex: 1;
3713
+ max-width: none;
3714
+ }
3715
+ .at-picker-skill-check {
3716
+ display: flex;
3717
+ align-items: center;
3718
+ flex-shrink: 0;
3719
+ }
3720
+ .at-picker-skill-enabled {
3721
+ color: var(--chat-primary, #54a9ff);
3722
+ }
3705
3723
  .at-picker-footer {
3706
3724
  padding: 8px 12px;
3707
3725
  border-top: 1px solid var(--chat-border, rgba(0, 0, 0, 0.12));
package/dist/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ import { SkillRecord } from '@huyooo/ai-chat-types';
1
2
  export { ChatAdapter, ChatEvent, ChatEventType, ChatMode, ChatOptions, MessageRecord, ModelOption, ProviderType, SessionRecord, ThinkingMode } from '@huyooo/ai-chat-types';
2
- import { ChatMode as ChatMode$1, ThinkingMode, ModelOption as ModelOption$1, SessionRecord as SessionRecord$1, ChatAdapter, AutoRunConfig, SkillRecord } from '@huyooo/ai-chat-bridge-electron/renderer';
3
+ import { ChatMode as ChatMode$1, ThinkingMode, ModelOption as ModelOption$1, SessionRecord as SessionRecord$1, ChatAdapter, AutoRunConfig } from '@huyooo/ai-chat-bridge-electron/renderer';
3
4
  import * as react from 'react';
4
5
  import { FC, ReactNode, ComponentType } from 'react';
5
6
  export { CodeBlock as CodeBlockType, ContentBlock, ContentBlockType, SearchResultItem, TextBlock as TextBlockType, WeatherData, getLanguageDisplayName, highlightCode, parseContent, renderMarkdown } from '@huyooo/ai-chat-shared';
@@ -325,7 +326,7 @@ interface ChatInputContextValue {
325
326
  isLoading: boolean;
326
327
  /** Electron adapter(用于 @ 文件选择) */
327
328
  adapter?: ChatAdapter;
328
- /** Skills 列表 */
329
+ /** Skills 列表(用于 @ 选择器 Skills 视图) */
329
330
  skills?: SkillRecord[];
330
331
  /** 切换 Skill 启用状态 */
331
332
  toggleSkill?: (id: string) => void;