@blueking/chat-helper 0.0.10-beta.5 → 0.0.10-dev.1

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.
@@ -1894,6 +1894,7 @@ export declare const useAgent: (mediator: IMediatorModule, protocol: ISSEProtoco
1894
1894
  getAgentInfo: () => Promise<void>;
1895
1895
  reset: (protocol: ISSEProtocol) => void;
1896
1896
  pollResumeSession: (sessionCode: string) => void;
1897
+ clearLongPollTimer: () => void;
1897
1898
  userOperationStreamRequest: (sessionCode: string, operation: UserOperation, payload: IUserOperationPayload, config?: IRequestConfig) => Promise<void>;
1898
1899
  streamRequest: ({ sessionCode, url, config, resume, input, }: {
1899
1900
  sessionCode: string;
@@ -401,6 +401,7 @@ import { SessionStatus } from '../session/type.ts.js';
401
401
  getAgentInfo,
402
402
  reset,
403
403
  pollResumeSession,
404
+ clearLongPollTimer,
404
405
  userOperationStreamRequest,
405
406
  streamRequest
406
407
  };
package/dist/index.d.ts CHANGED
@@ -1896,6 +1896,7 @@ export declare const useChatHelper: (options: IUseChatHelperOptions) => {
1896
1896
  getAgentInfo: () => Promise<void>;
1897
1897
  reset: (protocol: import("./http").ISSEProtocol) => void;
1898
1898
  pollResumeSession: (sessionCode: string) => void;
1899
+ clearLongPollTimer: () => void;
1899
1900
  userOperationStreamRequest: (sessionCode: string, operation: import("./message").UserOperation, payload: import("./message").IUserOperationPayload, config?: import("./http").IRequestConfig) => Promise<void>;
1900
1901
  streamRequest: ({ sessionCode, url, config, resume, input, }: {
1901
1902
  sessionCode: string;
package/package.json CHANGED
@@ -1,12 +1,9 @@
1
1
  {
2
2
  "name": "@blueking/chat-helper",
3
- "version": "0.0.10-beta.5",
3
+ "version": "0.0.10-dev.1",
4
4
  "description": "",
5
5
  "main": "./dist/index.ts.js",
6
6
  "types": "./dist/index.d.ts",
7
- "scripts": {
8
- "build": "bk-cli-service build && vue-tsc --emitDeclarationOnly"
9
- },
10
7
  "keywords": [
11
8
  "chat-helper"
12
9
  ],
@@ -20,7 +17,6 @@
20
17
  "url": "https://github.com/TencentBlueKing/bk-aidev-agent.git",
21
18
  "directory": "src/frontend/ai-blueking/packages/chat-helper"
22
19
  },
23
- "packageManager": "pnpm@10.17.1",
24
20
  "peerDependencies": {
25
21
  "vue": "^3.5.24"
26
22
  },
@@ -32,5 +28,8 @@
32
28
  },
33
29
  "dependencies": {
34
30
  "@types/json-schema": "^7.0.15"
31
+ },
32
+ "scripts": {
33
+ "build": "bk-cli-service build && vue-tsc --emitDeclarationOnly"
35
34
  }
36
- }
35
+ }