@blade-hq/agent-client 2612.0.0-beta.97 → 2612.0.0-beta.98

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/index.js CHANGED
@@ -36,7 +36,7 @@ import {
36
36
  parseAskUserQuestion,
37
37
  transformSlashCommand,
38
38
  userFacingErrorText
39
- } from "./chunk-3XQ7HYKA.js";
39
+ } from "./chunk-6MCDDBTU.js";
40
40
  export {
41
41
  AgentSession,
42
42
  AgentSessionError,
package/dist/internal.js CHANGED
@@ -107,7 +107,7 @@ import {
107
107
  withTurns,
108
108
  workflowEntriesFromOutput,
109
109
  workflowNameFromArguments
110
- } from "./chunk-3XQ7HYKA.js";
110
+ } from "./chunk-6MCDDBTU.js";
111
111
 
112
112
  // src/polling-backoff.ts
113
113
  var MAX_BACKOFF_MS = 6e4;
@@ -129,6 +129,9 @@ export interface CreateSessionRequest {
129
129
  compaction_ratio?: number | null;
130
130
  compaction_preference?: CompactionPreference;
131
131
  chat_group_id?: string | null;
132
+ enabled_plugin_ids?: string[];
133
+ disabled_plugin_ids?: string[];
134
+ excluded_computers?: string[];
132
135
  }
133
136
  export interface McpSourceConfig {
134
137
  /** Source summary shown before lazy tool discovery. */
@@ -173,13 +173,10 @@ export declare class AgentSession {
173
173
  private disposed;
174
174
  private getAppContext;
175
175
  private readonly submissionWaits;
176
- private manualCompactionRequest;
176
+ private compactionAck;
177
177
  private epochReloadRequested;
178
178
  private epochReloadDone;
179
179
  private epochReloadRunning;
180
- private reconcileManualCompaction;
181
- private setManualCompactionRequest;
182
- private handleManualCompactionFinished;
183
180
  private readonly workflowRunToolCalls;
184
181
  private desiredStreamTokens;
185
182
  private joinedStreamTokens;
@@ -363,6 +360,7 @@ export declare class AgentSession {
363
360
  _handleSystemNotification(loopId: string, notification: Record<string, unknown>): void;
364
361
  _handleBackgroundTask(task: AgentSessionEvents["backgroundTask"]): void;
365
362
  _handleArtifact(data: Record<string, unknown>, kind: "created" | "updated", replayed?: boolean): void;
363
+ private hasPendingQuestion;
366
364
  _applyRunningState(isRunning: boolean, liveRevisionAtJoin?: number): void;
367
365
  private markRunningIfIdle;
368
366
  private finishStreaming;
@@ -53,6 +53,7 @@ export declare class ToolProvider {
53
53
  private socket?;
54
54
  private timer?;
55
55
  private registrationTimer?;
56
+ private heartbeat?;
56
57
  private disposed;
57
58
  private registered;
58
59
  private attempts;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-client",
3
- "version": "2612.0.0-beta.97",
3
+ "version": "2612.0.0-beta.98",
4
4
  "description": "Blade Agent 框架无关客户端:会话实时状态机、REST 通道、弹窗登录、页面协作。浏览器与 Node.js 通用。",
5
5
  "repository": {
6
6
  "type": "git",
package/public-api.md CHANGED
@@ -886,8 +886,11 @@ chat_group_id: string | null | undefined
886
886
  compaction_preference: CompactionPreference | undefined
887
887
  compaction_ratio: number | null | undefined
888
888
  disable_tools: string[] | null | undefined
889
+ disabled_plugin_ids: string[] | undefined
889
890
  enable_thinking: boolean | null | undefined
891
+ enabled_plugin_ids: string[] | undefined
890
892
  env: Record<string, string> | undefined
893
+ excluded_computers: string[] | undefined
891
894
  initiator: "ui" | "sdk" | undefined
892
895
  intent: string | undefined
893
896
  mcp_sources: McpSourceConfig[] | undefined