hermes-agent-web-chat 0.2.0 → 0.3.0
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/hermes-agent-web-chat.js +1 -1
- package/dist/hermes-agent-web-chat.umd.cjs +1 -1
- package/dist/types/components/HermesChat.vue.d.ts +1 -1
- package/dist/types/components/MessageItem.vue.d.ts +1 -1
- package/dist/types/components/ProcessPanel.vue.d.ts +2 -1
- package/dist/types/sdk.d.ts +4 -0
- package/dist/types/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HermesChatProps } from
|
|
1
|
+
import type { HermesChatProps } from "../types";
|
|
2
2
|
declare const _default: import("vue").DefineComponent<HermesChatProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<HermesChatProps> & Readonly<{}>, {
|
|
3
3
|
model: string;
|
|
4
4
|
title: string;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import type { ProcessStep } from
|
|
1
|
+
import type { ProcessStep } from "../types";
|
|
2
2
|
type __VLS_Props = {
|
|
3
3
|
steps: ProcessStep[];
|
|
4
4
|
reasoning: string;
|
|
5
5
|
streaming: boolean;
|
|
6
|
+
expanded?: boolean;
|
|
6
7
|
};
|
|
7
8
|
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
8
9
|
export default _default;
|
package/dist/types/sdk.d.ts
CHANGED
|
@@ -31,5 +31,9 @@ export declare class HermesChat {
|
|
|
31
31
|
/** 响应式更新配置(baseUrl/token/model/title/instructions/uploadHandler 等) */
|
|
32
32
|
update(patch: Partial<HermesChatProps>): void;
|
|
33
33
|
/** 销毁实例,卸载组件并清理监听 */
|
|
34
|
+
/**
|
|
35
|
+
* 销毁应用实例的方法
|
|
36
|
+
* 该方法会卸载当前的应用实例,并将其引用置为null
|
|
37
|
+
*/
|
|
34
38
|
destroy(): void;
|
|
35
39
|
}
|
package/dist/types/types.d.ts
CHANGED