@glodon-aiot/agent-cli-ui 3.3.2-beta.2 → 3.3.2-beta.3

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,6 +1,7 @@
1
1
  import { default as React } from 'react';
2
2
  import { IHistory, IApplication } from '@glodon-aiot/apis';
3
3
  import { Session } from '@glodon-aiot/bot-client-sdk';
4
+ import { MarkdownProps } from '@glodon-aiot/react-components/dist/src/components/Markdown';
4
5
  interface HistoryItemProps {
5
6
  application: IApplication;
6
7
  currentSession?: Session;
@@ -12,6 +13,7 @@ interface HistoryItemProps {
12
13
  isLoading?: boolean;
13
14
  docViewerUrl?: string;
14
15
  actions?: boolean;
16
+ markdown?: Partial<MarkdownProps>;
15
17
  }
16
18
  export declare const isResultExec: (result?: string) => boolean;
17
19
  declare const HistoryItem: React.FC<HistoryItemProps>;
@@ -2,6 +2,7 @@ import { BotClient, AgentPluginMap, Session, MCPConfig } from '@glodon-aiot/bot-
2
2
  import { BotClientApi, ICommentParam, ISession, IChatMessage, IHistory, IKnowledge, ISessionPrompt, ISearchReference } from '@glodon-aiot/apis';
3
3
  import { Theme } from 'antd/es/config-provider/context';
4
4
  import { CSSProperties } from 'react';
5
+ import { MarkdownProps } from '@glodon-aiot/react-components/dist/src/components/Markdown';
5
6
  export type Env = 'dev' | 'test' | 'prod' | 'local';
6
7
  export type AgentClientMode = 'float' | 'inlay';
7
8
  export declare enum ApiUrl {
@@ -87,6 +88,7 @@ export interface AgentFeaturesConfig {
87
88
  visible?: boolean;
88
89
  default?: ISessionPrompt[];
89
90
  };
91
+ markdown?: Partial<MarkdownProps>;
90
92
  }
91
93
  type CommentListener = (payload: {
92
94
  applicationId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/agent-cli-ui",
3
- "version": "3.3.2-beta.2",
3
+ "version": "3.3.2-beta.3",
4
4
  "module": "./dist/es/index.mjs",
5
5
  "main": "./dist/lib/index.js",
6
6
  "typings": "./dist/src/index.d.ts",
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@ant-design/icons": "^5.3.4",
37
- "@glodon-aiot/apis": "^3.3.2-beta.2",
38
- "@glodon-aiot/bot-client-sdk": "^3.3.2-beta.2",
37
+ "@glodon-aiot/apis": "^3.3.2-beta.3",
38
+ "@glodon-aiot/bot-client-sdk": "^3.3.2-beta.3",
39
39
  "@matejmazur/react-mathjax": "^0.1.10",
40
40
  "@react-pdf-viewer/core": "^3.12.0",
41
41
  "@react-pdf-viewer/default-layout": "^3.12.0",