@next-bricks/ai-portal 0.60.2 → 0.60.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.
- package/dist/bricks.json +26 -26
- package/dist/chunks/{5712.827c2e04.js → 5712.f692e3f5.js} +2 -2
- package/dist/chunks/5712.f692e3f5.js.map +1 -0
- package/dist/chunks/chat-box.a8e58e50.js +3 -0
- package/dist/chunks/chat-box.a8e58e50.js.map +1 -0
- package/dist/chunks/{main.65f1d0be.js → main.fc9fd5d4.js} +2 -2
- package/dist/chunks/{main.65f1d0be.js.map → main.fc9fd5d4.js.map} +1 -1
- package/dist/examples.json +12 -12
- package/dist/{index.9833ba26.js → index.f2850973.js} +2 -2
- package/dist/{index.9833ba26.js.map → index.f2850973.js.map} +1 -1
- package/dist/manifest.json +227 -227
- package/dist/types.json +5946 -4006
- package/dist-types/shared/interfaces.d.ts +40 -2
- package/package.json +2 -2
- package/dist/chunks/5712.827c2e04.js.map +0 -1
- package/dist/chunks/chat-box.ca4c62c9.js +0 -3
- package/dist/chunks/chat-box.ca4c62c9.js.map +0 -1
- /package/dist/chunks/{chat-box.ca4c62c9.js.LICENSE.txt → chat-box.a8e58e50.js.LICENSE.txt} +0 -0
|
@@ -165,8 +165,46 @@ export interface ConversationError {
|
|
|
165
165
|
taskId?: string;
|
|
166
166
|
error?: string;
|
|
167
167
|
}
|
|
168
|
-
export type CommandPayload =
|
|
169
|
-
export interface
|
|
168
|
+
export type CommandPayload = CommandPayloadServiceFlowStart | CommandPayloadServiceFlowCreate | CommandPayloadServiceFlowEdit | CommandPayloadGoalPlan | LegacyCommandPayloadServiceFlowStarting;
|
|
169
|
+
export interface BaseCommandPayload {
|
|
170
|
+
type: string;
|
|
171
|
+
payload?: unknown;
|
|
172
|
+
}
|
|
173
|
+
export interface CommandPayloadServiceFlowStart extends BaseCommandPayload {
|
|
174
|
+
type: "serviceflow-start";
|
|
175
|
+
payload: {
|
|
176
|
+
spaceInstanceId: string;
|
|
177
|
+
spaceName?: string;
|
|
178
|
+
flowInstanceId?: string;
|
|
179
|
+
flowName?: string;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
export interface CommandPayloadServiceFlowCreate extends BaseCommandPayload {
|
|
183
|
+
type: "serviceflow-create";
|
|
184
|
+
payload: {
|
|
185
|
+
spaceInstanceId: string;
|
|
186
|
+
spaceName?: string;
|
|
187
|
+
};
|
|
188
|
+
}
|
|
189
|
+
export interface CommandPayloadServiceFlowEdit extends BaseCommandPayload {
|
|
190
|
+
type: "serviceflow-edit";
|
|
191
|
+
payload: {
|
|
192
|
+
spaceInstanceId: string;
|
|
193
|
+
spaceName?: string;
|
|
194
|
+
flowInstanceId: string;
|
|
195
|
+
flowName?: string;
|
|
196
|
+
};
|
|
197
|
+
}
|
|
198
|
+
export interface CommandPayloadGoalPlan extends BaseCommandPayload {
|
|
199
|
+
type: "goal-plan";
|
|
200
|
+
payload: {
|
|
201
|
+
goalId: string;
|
|
202
|
+
goalName?: string;
|
|
203
|
+
description?: string;
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
/** @deprecated Use `payload` instead */
|
|
207
|
+
export interface LegacyCommandPayloadServiceFlowStarting {
|
|
170
208
|
type: "serviceFlowStarting";
|
|
171
209
|
serviceFlowStarting: {
|
|
172
210
|
spaceInstanceId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-bricks/ai-portal",
|
|
3
|
-
"version": "0.60.
|
|
3
|
+
"version": "0.60.3",
|
|
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": "
|
|
52
|
+
"gitHead": "d3542d1e1dcffba3e041e88d9b9c398f8c782ad7"
|
|
53
53
|
}
|