@opensumi/sumi 3.2.3 → 3.2.4-next-1723542327.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/package.json +3 -3
- package/sumi.d.ts +8 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensumi/sumi",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4-next-1723542327.0",
|
|
4
4
|
"typings": "index.d.ts",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
"build": "tsx ./build.ts"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@opensumi/ide-components": "3.2.
|
|
15
|
+
"@opensumi/ide-components": "3.2.4-next-1723542327.0",
|
|
16
16
|
"vscode-uri": "3.0.2"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
19
|
"@types/react": "^18.2.0"
|
|
20
20
|
},
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "02695bc27b1628d8939ad5ae06af7746ccba494b"
|
|
22
22
|
}
|
package/sumi.d.ts
CHANGED
|
@@ -893,6 +893,11 @@ declare module 'sumi' {
|
|
|
893
893
|
token: CancellationToken,
|
|
894
894
|
) => ProviderResult<ChatAgentResult2>;
|
|
895
895
|
|
|
896
|
+
// proposed api
|
|
897
|
+
export interface InlineChatAgent {
|
|
898
|
+
dispose(): void;
|
|
899
|
+
}
|
|
900
|
+
|
|
896
901
|
export interface ChatAgent extends ChatAgent2 {
|
|
897
902
|
sampleQuestionProvider?: ChatAgentSampleQuestionProvider;
|
|
898
903
|
chatWelcomMessageProvider?: ChatAgentWelcomeMessageProvider;
|
|
@@ -909,5 +914,8 @@ declare module 'sumi' {
|
|
|
909
914
|
export function createChatAgent(name: string, handler: ChatAgentHandler): ChatAgent;
|
|
910
915
|
|
|
911
916
|
export function sendMessage(chunk: ChatAgentCustomReplyMessage): void;
|
|
917
|
+
|
|
918
|
+
// proposed api
|
|
919
|
+
export function createInlineChatAgent(name: string, handler: ChatAgentHandler): InlineChatAgent;
|
|
912
920
|
}
|
|
913
921
|
}
|