@blade-hq/agent-kit 0.5.26 → 0.5.27

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.
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  apiFetchResponse,
3
3
  getAuthedUrl
4
- } from "./chunk-UNO53NPU.js";
4
+ } from "./chunk-OF7ZBBTH.js";
5
5
 
6
6
  // src/react/lib/session-file-preview.ts
7
7
  var IMAGE_EXTS = /* @__PURE__ */ new Set(["png", "jpg", "jpeg", "gif", "svg", "webp", "ico", "bmp"]);
@@ -97,4 +97,4 @@ export {
97
97
  resolveTextPreviewType,
98
98
  resolveSessionFilePreviewTarget
99
99
  };
100
- //# sourceMappingURL=chunk-4FCXKLXT.js.map
100
+ //# sourceMappingURL=chunk-JIPDSO26.js.map
@@ -2810,6 +2810,12 @@ var AgentSocket = class {
2810
2810
  this.socket.off("agent-board:board-task:changed", handler);
2811
2811
  };
2812
2812
  }
2813
+ onAgentBoardFileOp(handler) {
2814
+ this.socket.on("agent-board:file-op", handler);
2815
+ return () => {
2816
+ this.socket.off("agent-board:file-op", handler);
2817
+ };
2818
+ }
2813
2819
  unsubscribe() {
2814
2820
  const previousSessionId = this.subscribedSession;
2815
2821
  if (previousSessionId) {
@@ -3228,4 +3234,4 @@ export {
3228
3234
  bootstrapBladeClient,
3229
3235
  getBootstrappedClient
3230
3236
  };
3231
- //# sourceMappingURL=chunk-UNO53NPU.js.map
3237
+ //# sourceMappingURL=chunk-OF7ZBBTH.js.map