@blade-hq/agent-client 2610.0.0-beta.73 → 2610.0.0-beta.75

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
@@ -3288,8 +3288,9 @@ var ChatGroupsResource = class {
3288
3288
  update(groupId, payload) {
3289
3289
  return this.client.json("PATCH", `/api/chat-groups/${encodeURIComponent(groupId)}`, payload);
3290
3290
  }
3291
- delete(groupId) {
3292
- return this.client.json("DELETE", `/api/chat-groups/${encodeURIComponent(groupId)}`);
3291
+ delete(groupId, options) {
3292
+ const query = options?.deleteWorkspace ? "?delete_workspace=true" : "";
3293
+ return this.client.json("DELETE", `/api/chat-groups/${encodeURIComponent(groupId)}${query}`);
3293
3294
  }
3294
3295
  };
3295
3296
 
@@ -5311,6 +5312,8 @@ var AgentSession = class _AgentSession {
5311
5312
  this.update((s) => ({ ...s, replay }));
5312
5313
  }
5313
5314
  this.emitter.emit("sessionUpdated", {
5315
+ workspacePath: data.workspace_path,
5316
+ chatGroupId: data.chat_group_id,
5314
5317
  intent: data.intent,
5315
5318
  status: data.status,
5316
5319
  model: data.model,
@@ -6793,7 +6796,7 @@ function resolveServiceUrl(endpoints, name, path = "") {
6793
6796
 
6794
6797
  // src/version.ts
6795
6798
  var SDK_NAME = "agent-client";
6796
- var SDK_VERSION = true ? "2610.0.0-beta.73" : "1.1.1";
6799
+ var SDK_VERSION = true ? "2610.0.0-beta.75" : "1.1.1";
6797
6800
 
6798
6801
  // src/commands/protocol.ts
6799
6802
  function isCommandEnvelope(value) {