@blade-hq/agent-client 1.1.8 → 1.1.10

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.
@@ -50,6 +50,7 @@ export declare class ClientProjectionBuilder {
50
50
  private onChildPause;
51
51
  private onChatEnd;
52
52
  private onAgentEnd;
53
+ private dropIncompleteToolCalls;
53
54
  private onCompaction;
54
55
  private syncPatch;
55
56
  private finalize;
@@ -9,6 +9,7 @@ export interface TurnState {
9
9
  blocks: ContentBlock[];
10
10
  toolCalls: ToolCallProjection[];
11
11
  usage: Record<string, unknown> | null;
12
+ responseDone: boolean;
12
13
  memoryRefs: MemoryRef[] | null;
13
14
  parentForkToolCallId: string | null;
14
15
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "1.1.8",
3
+ "version": "1.1.10",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,8 +0,0 @@
1
- import type { components, paths } from "./rest";
2
- import type { ChatEndPayload, ChatSendPayload, ClientToServerEvents, ServerToClientEvents, SessionUpdatedPayload, SystemErrorPayload, SystemNotificationPayload } from "./socket-events";
3
- export type RestPaths = paths;
4
- export type RestComponents = components;
5
- export type Session = paths["/api/sessions/{session_id}"]["get"]["responses"]["200"]["content"]["application/json"];
6
- export type SessionList = paths["/api/sessions"]["get"]["responses"]["200"]["content"]["application/json"];
7
- export type SkillList = paths["/api/skills"]["get"]["responses"]["200"]["content"]["application/json"];
8
- export type { ChatEndPayload, ChatSendPayload, ClientToServerEvents, ServerToClientEvents, SessionUpdatedPayload, SystemErrorPayload, SystemNotificationPayload, };