@blade-hq/agent-kit 0.5.27 → 0.5.29

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.
@@ -5,12 +5,12 @@ import {
5
5
  import {
6
6
  getSessionFilePath,
7
7
  resolveSessionFilePreviewTarget
8
- } from "./chunk-JIPDSO26.js";
8
+ } from "./chunk-XLQZDSJ5.js";
9
9
  import {
10
10
  formatToolName,
11
11
  getAuthedUrl,
12
12
  useUiStore
13
- } from "./chunk-OF7ZBBTH.js";
13
+ } from "./chunk-JWHBUVSM.js";
14
14
  import {
15
15
  cn,
16
16
  copyToClipboard
@@ -1933,4 +1933,4 @@ export {
1933
1933
  PlanSummaryCard,
1934
1934
  extractLatestPlanMessages
1935
1935
  };
1936
- //# sourceMappingURL=chunk-3HFYDOHY.js.map
1936
+ //# sourceMappingURL=chunk-NIWUUKD4.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getCodeLanguageFromFilename,
9
9
  parseAskUserQuestion,
10
10
  useHighlightedCodeHtml
11
- } from "./chunk-3HFYDOHY.js";
11
+ } from "./chunk-NIWUUKD4.js";
12
12
  import {
13
13
  Collapsible,
14
14
  CollapsibleContent,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-H62LH2AG.js";
17
17
  import {
18
18
  resolveSessionFilePreviewTarget
19
- } from "./chunk-JIPDSO26.js";
19
+ } from "./chunk-XLQZDSJ5.js";
20
20
  import {
21
21
  apiFetchResponse,
22
22
  buildMessageContent,
@@ -60,7 +60,7 @@ import {
60
60
  useUiBridgeStore,
61
61
  useUiStore,
62
62
  writeFile
63
- } from "./chunk-OF7ZBBTH.js";
63
+ } from "./chunk-JWHBUVSM.js";
64
64
  import {
65
65
  registerBridgeIframe,
66
66
  tapBridgeEvent
@@ -8534,4 +8534,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
8534
8534
  * Licensed under the MIT License. See License.txt in the project root for license information.
8535
8535
  *--------------------------------------------------------------------------------------------*)
8536
8536
  */
8537
- //# sourceMappingURL=chunk-CTNH3GZY.js.map
8537
+ //# sourceMappingURL=chunk-UIQ35OUJ.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  apiFetchResponse,
3
3
  getAuthedUrl
4
- } from "./chunk-OF7ZBBTH.js";
4
+ } from "./chunk-JWHBUVSM.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-JIPDSO26.js.map
100
+ //# sourceMappingURL=chunk-XLQZDSJ5.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getClient
3
- } from "../../chunk-OF7ZBBTH.js";
3
+ } from "../../chunk-JWHBUVSM.js";
4
4
  import "../../chunk-J3XVFPOV.js";
5
5
  import "../../chunk-ZWO6YBLA.js";
6
6
  import "../../chunk-JCJFFJ42.js";
@@ -16,14 +16,14 @@ import {
16
16
  isErrorMessage,
17
17
  isUserMessage,
18
18
  useWhatIfQuoteContext
19
- } from "../../../chunk-CTNH3GZY.js";
19
+ } from "../../../chunk-UIQ35OUJ.js";
20
20
  import {
21
21
  AskUserQuestionBlock
22
- } from "../../../chunk-3HFYDOHY.js";
22
+ } from "../../../chunk-NIWUUKD4.js";
23
23
  import "../../../chunk-2UP7MG3J.js";
24
24
  import "../../../chunk-H62LH2AG.js";
25
- import "../../../chunk-JIPDSO26.js";
26
- import "../../../chunk-OF7ZBBTH.js";
25
+ import "../../../chunk-XLQZDSJ5.js";
26
+ import "../../../chunk-JWHBUVSM.js";
27
27
  import "../../../chunk-J3XVFPOV.js";
28
28
  import "../../../chunk-ZWO6YBLA.js";
29
29
  import "../../../chunk-7LEKQI47.js";
@@ -3,10 +3,10 @@ import {
3
3
  PlanSummaryCard,
4
4
  extractLatestPlanMessages,
5
5
  parsePlanMessages
6
- } from "../../../chunk-3HFYDOHY.js";
6
+ } from "../../../chunk-NIWUUKD4.js";
7
7
  import "../../../chunk-2UP7MG3J.js";
8
- import "../../../chunk-JIPDSO26.js";
9
- import "../../../chunk-OF7ZBBTH.js";
8
+ import "../../../chunk-XLQZDSJ5.js";
9
+ import "../../../chunk-JWHBUVSM.js";
10
10
  import "../../../chunk-J3XVFPOV.js";
11
11
  import "../../../chunk-ZWO6YBLA.js";
12
12
  import {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useSession
3
- } from "../../../chunk-CDL6Y4W7.js";
3
+ } from "../../../chunk-EP5LVNO3.js";
4
4
  import {
5
5
  checkoutSession,
6
6
  getSessionCheckpoints,
7
7
  useChatStore,
8
8
  useSessionStore
9
- } from "../../../chunk-OF7ZBBTH.js";
9
+ } from "../../../chunk-JWHBUVSM.js";
10
10
  import "../../../chunk-J3XVFPOV.js";
11
11
  import "../../../chunk-ZWO6YBLA.js";
12
12
  import {
@@ -5,7 +5,7 @@ import {
5
5
  } from "../../../chunk-H62LH2AG.js";
6
6
  import {
7
7
  resolveSessionFilePreviewTarget
8
- } from "../../../chunk-JIPDSO26.js";
8
+ } from "../../../chunk-XLQZDSJ5.js";
9
9
  import {
10
10
  apiFetchText,
11
11
  copyFile,
@@ -19,7 +19,7 @@ import {
19
19
  useChatStore,
20
20
  useSessionStore,
21
21
  useUiStore
22
- } from "../../../chunk-OF7ZBBTH.js";
22
+ } from "../../../chunk-JWHBUVSM.js";
23
23
  import "../../../chunk-J3XVFPOV.js";
24
24
  import "../../../chunk-ZWO6YBLA.js";
25
25
  import {
@@ -1105,6 +1105,7 @@ declare class AgentSocket {
1105
1105
  */
1106
1106
  attachSession(sessionId: string): void;
1107
1107
  private _ensureJoined;
1108
+ private _refreshRunningState;
1108
1109
  private _shouldWaitForJoinBeforeSend;
1109
1110
  send(sessionId: string, message: MessageContent, mode?: string, askuserAnswer?: Record<string, unknown>, extras?: {
1110
1111
  model?: string;
@@ -30,7 +30,7 @@ import {
30
30
  useTiptapVoiceInput,
31
31
  useVoiceInput,
32
32
  user_preferences_exports
33
- } from "../chunk-CTNH3GZY.js";
33
+ } from "../chunk-UIQ35OUJ.js";
34
34
  import {
35
35
  CardCodeBlock,
36
36
  CardContext,
@@ -39,20 +39,20 @@ import {
39
39
  normalizeCodeLanguage,
40
40
  useCardContext,
41
41
  useHighlightedCodeHtml
42
- } from "../chunk-3HFYDOHY.js";
42
+ } from "../chunk-NIWUUKD4.js";
43
43
  import {
44
44
  CardJSON,
45
45
  cardRegistry
46
46
  } from "../chunk-2UP7MG3J.js";
47
47
  import {
48
48
  useSession
49
- } from "../chunk-CDL6Y4W7.js";
49
+ } from "../chunk-EP5LVNO3.js";
50
50
  import "../chunk-H62LH2AG.js";
51
51
  import {
52
52
  buildSessionBinaryPreviewTarget,
53
53
  resolveSessionFilePreviewTarget,
54
54
  resolveTextPreviewType
55
- } from "../chunk-JIPDSO26.js";
55
+ } from "../chunk-XLQZDSJ5.js";
56
56
  import {
57
57
  PartnerSkillFile,
58
58
  PartnerSkillInstallPayload,
@@ -107,7 +107,7 @@ import {
107
107
  useTaskStore,
108
108
  useUiBridgeStore,
109
109
  useUiStore
110
- } from "../chunk-OF7ZBBTH.js";
110
+ } from "../chunk-JWHBUVSM.js";
111
111
  import "../chunk-J3XVFPOV.js";
112
112
  import {
113
113
  REGISTRY_PREFIX,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blade-hq/agent-kit",
3
- "version": "0.5.27",
3
+ "version": "0.5.29",
4
4
  "type": "module",
5
5
  "main": "./dist/react/index.js",
6
6
  "types": "./dist/react/index.d.ts",