@blueking/chat-x 0.0.34 → 0.0.36
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/ag-ui/types/contents.d.ts +12 -11
- package/dist/composables/use-message-group.d.ts +3 -3
- package/dist/index.js +1939 -1873
- package/dist/index.js.map +1 -1
- package/dist/mcp/generated/docs/activity-message.md +67 -61
- package/dist/mcp/generated/docs/markdown-content.md +25 -7
- package/dist/mcp/generated/docs/shortcut-render.md +4 -0
- package/dist/mcp/generated/docs/use-message-group.md +1 -1
- package/dist/mcp/generated/index.json +1 -1
- package/dist/utils/css-sanitizer.d.ts +7 -0
- package/dist/utils/html-sanitizer.d.ts +7 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/tokens-to-vnodes.d.ts +6 -0
- package/package.json +2 -2
|
@@ -35,17 +35,7 @@ declare global {
|
|
|
35
35
|
interface AIBluekingContentMap {
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
export type BkFlowMessageContent =
|
|
39
|
-
nodes: Record<string, BkFlowNode>;
|
|
40
|
-
statistics: {
|
|
41
|
-
state_counts: Record<string, number>;
|
|
42
|
-
total: number;
|
|
43
|
-
};
|
|
44
|
-
task_id: number;
|
|
45
|
-
task_name: string;
|
|
46
|
-
task_outputs: unknown;
|
|
47
|
-
task_state: string;
|
|
48
|
-
};
|
|
38
|
+
export type BkFlowMessageContent = BkFlowTask[];
|
|
49
39
|
export type BkFlowNode = {
|
|
50
40
|
elapsed_time: number;
|
|
51
41
|
finish_time: string;
|
|
@@ -58,6 +48,17 @@ export type BkFlowNode = {
|
|
|
58
48
|
state: string;
|
|
59
49
|
type: string;
|
|
60
50
|
};
|
|
51
|
+
export type BkFlowTask = {
|
|
52
|
+
nodes: Record<string, BkFlowNode>;
|
|
53
|
+
statistics: {
|
|
54
|
+
state_counts: Record<string, number>;
|
|
55
|
+
total: number;
|
|
56
|
+
};
|
|
57
|
+
task_id: number;
|
|
58
|
+
task_name: string;
|
|
59
|
+
task_outputs: unknown;
|
|
60
|
+
task_state: string;
|
|
61
|
+
};
|
|
61
62
|
export type KnowledgeRagMessageContent = {
|
|
62
63
|
content: string;
|
|
63
64
|
referenceDocument: ReferenceDocumentContent[];
|
|
@@ -30,7 +30,7 @@ export declare const useMessageGroup: (options: {
|
|
|
30
30
|
task_name: string;
|
|
31
31
|
task_outputs: unknown;
|
|
32
32
|
task_state: string;
|
|
33
|
-
} | {
|
|
33
|
+
}[] | {
|
|
34
34
|
content: string;
|
|
35
35
|
referenceDocument: {
|
|
36
36
|
name: string;
|
|
@@ -12394,7 +12394,7 @@ export declare const useMessageGroup: (options: {
|
|
|
12394
12394
|
task_name: string;
|
|
12395
12395
|
task_outputs: unknown;
|
|
12396
12396
|
task_state: string;
|
|
12397
|
-
} | {
|
|
12397
|
+
}[] | {
|
|
12398
12398
|
content: string;
|
|
12399
12399
|
referenceDocument: {
|
|
12400
12400
|
name: string;
|
|
@@ -24761,7 +24761,7 @@ export declare const useMessageGroup: (options: {
|
|
|
24761
24761
|
task_name: string;
|
|
24762
24762
|
task_outputs: unknown;
|
|
24763
24763
|
task_state: string;
|
|
24764
|
-
} | {
|
|
24764
|
+
}[] | {
|
|
24765
24765
|
content: string;
|
|
24766
24766
|
referenceDocument: {
|
|
24767
24767
|
name: string;
|