@next-bricks/ai-portal 0.64.1 → 0.64.2

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,8 +1,8 @@
1
1
  import React from "react";
2
2
  import { ReactNextElement } from "@next-core/react-element";
3
3
  import "@next-core/theme";
4
- import type { ChatPayload, CommandPayload, FileInfo, UploadOptions } from "../shared/interfaces";
5
4
  import type { UseBrickConf } from "@next-core/types";
5
+ import type { ChatPayload, CommandPayload, FileInfo, UploadOptions } from "../shared/interfaces";
6
6
  export interface ChatPanelProps {
7
7
  panelTitle?: string;
8
8
  aiEmployeeId?: string;
@@ -2,9 +2,11 @@ import React from "react";
2
2
  import type { ConversationState, JobState, TaskState } from "../../shared/interfaces.js";
3
3
  import type { MessageChunk } from "../interfaces";
4
4
  export interface AssistantMessageProps {
5
- chunks: MessageChunk[];
6
- scopeState: ConversationState | TaskState | JobState | undefined;
5
+ chunks?: MessageChunk[];
6
+ scopeState?: ConversationState | TaskState | JobState | undefined;
7
7
  isLatest?: boolean;
8
8
  isSubTask?: boolean;
9
+ finished?: boolean;
10
+ earlyFinished?: boolean;
9
11
  }
10
- export declare function AssistantMessage({ chunks, scopeState, isLatest, isSubTask, }: AssistantMessageProps): React.JSX.Element;
12
+ export declare function AssistantMessage({ chunks, scopeState, isLatest, isSubTask, finished, earlyFinished, }: AssistantMessageProps): React.JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/ai-portal",
3
- "version": "0.64.1",
3
+ "version": "0.64.2",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/ai-portal",
5
5
  "repository": {
6
6
  "type": "git",
@@ -49,5 +49,5 @@
49
49
  "@next-bricks/presentational": "*",
50
50
  "@next-bricks/vs": "*"
51
51
  },
52
- "gitHead": "d049e2649f0a1c8fb4cd6a6e8f51fdc1656a61ff"
52
+ "gitHead": "faa75ba09f8219c78502ae7876ffcc26d3c30e63"
53
53
  }