@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.
- package/dist/{SkillStatusBar-qjGb3eKD.d.ts → SkillStatusBar-CvgcEiSi.d.ts} +1 -1
- package/dist/{blade-client-DA2h2P5I.d.ts → blade-client-DoodJJDz.d.ts} +29 -0
- package/dist/{chunk-Y7FRTBUT.js → chunk-3HFYDOHY.js} +3 -3
- package/dist/{chunk-6L6JFSR5.js → chunk-CDL6Y4W7.js} +2 -2
- package/dist/{chunk-QCDNRR74.js → chunk-CTNH3GZY.js} +7 -6
- package/dist/chunk-CTNH3GZY.js.map +1 -0
- package/dist/{chunk-4FCXKLXT.js → chunk-JIPDSO26.js} +2 -2
- package/dist/{chunk-UNO53NPU.js → chunk-OF7ZBBTH.js} +7 -1
- package/dist/chunk-OF7ZBBTH.js.map +1 -0
- package/dist/client/index.d.ts +364 -1
- package/dist/react/api/vibe-coding.d.ts +2 -2
- package/dist/react/api/vibe-coding.js +1 -1
- package/dist/react/components/chat/index.d.ts +3 -3
- package/dist/react/components/chat/index.js +4 -4
- package/dist/react/components/plan/index.js +3 -3
- package/dist/react/components/session/index.js +2 -2
- package/dist/react/components/workspace/index.d.ts +2 -2
- package/dist/react/components/workspace/index.js +2 -2
- package/dist/react/index.d.ts +19 -5
- package/dist/react/index.js +5 -5
- package/dist/{sessions-BZ3y17sP.d.ts → sessions-DFGsAOPa.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-QCDNRR74.js.map +0 -1
- package/dist/chunk-UNO53NPU.js.map +0 -1
- /package/dist/{chunk-Y7FRTBUT.js.map → chunk-3HFYDOHY.js.map} +0 -0
- /package/dist/{chunk-6L6JFSR5.js.map → chunk-CDL6Y4W7.js.map} +0 -0
- /package/dist/{chunk-4FCXKLXT.js.map → chunk-JIPDSO26.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import { ComponentType, ReactNode } from 'react';
|
|
|
4
4
|
import { C as ChatMessage, A as AskUserAnswerData, T as ToolCallInfo, M as MessageContent } from './AskUserQuestionBlock---kOTouk.js';
|
|
5
5
|
import * as zustand from 'zustand';
|
|
6
6
|
import { M as ModeId, a as SessionInfo, b as SessionStatus } from './session-B5v5KkVd.js';
|
|
7
|
-
import { v as BladeClient } from './blade-client-
|
|
7
|
+
import { v as BladeClient } from './blade-client-DoodJJDz.js';
|
|
8
8
|
import { C as ContentBlock } from './projection-BWYEFYNn.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -1577,6 +1577,34 @@ declare namespace AgentBoardBoardTaskChangedPayloadSchema {
|
|
|
1577
1577
|
}
|
|
1578
1578
|
}
|
|
1579
1579
|
type AgentBoardBoardTaskChangedPayload = AgentBoardBoardTaskChangedPayloadSchema.AgentBoardBoardTaskChangedPayload;
|
|
1580
|
+
declare namespace AgentBoardFileOpPayloadSchema {
|
|
1581
|
+
type ProjectId = number;
|
|
1582
|
+
type SessionId = string;
|
|
1583
|
+
type ToolCallId = (string | null);
|
|
1584
|
+
type Action = string;
|
|
1585
|
+
type FilePath = string;
|
|
1586
|
+
type Description = (string | null);
|
|
1587
|
+
type ContentPreview = (string | null);
|
|
1588
|
+
type FinalContent = (string | null);
|
|
1589
|
+
type ContentDelta = (boolean | null);
|
|
1590
|
+
type IsFinal = (boolean | null);
|
|
1591
|
+
type CreatedAt = string;
|
|
1592
|
+
interface AgentBoardFileOpPayload {
|
|
1593
|
+
project_id: ProjectId;
|
|
1594
|
+
session_id: SessionId;
|
|
1595
|
+
tool_call_id?: ToolCallId;
|
|
1596
|
+
action: Action;
|
|
1597
|
+
file_path: FilePath;
|
|
1598
|
+
description?: Description;
|
|
1599
|
+
content_preview?: ContentPreview;
|
|
1600
|
+
final_content?: FinalContent;
|
|
1601
|
+
content_delta?: ContentDelta;
|
|
1602
|
+
is_final?: IsFinal;
|
|
1603
|
+
created_at: CreatedAt;
|
|
1604
|
+
[k: string]: unknown;
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
type AgentBoardFileOpPayload = AgentBoardFileOpPayloadSchema.AgentBoardFileOpPayload;
|
|
1580
1608
|
declare namespace ChatStopAckSchema {
|
|
1581
1609
|
type Status = string;
|
|
1582
1610
|
type Message = (string | null);
|
|
@@ -1645,6 +1673,7 @@ interface ServerToClientEvents {
|
|
|
1645
1673
|
"vibe:logs:end": (payload: VibeLogsEndPayload) => void;
|
|
1646
1674
|
"replay:input_mismatch": (payload: unknown) => void;
|
|
1647
1675
|
"agent-board:board-task:changed": (payload: AgentBoardBoardTaskChangedPayload) => void;
|
|
1676
|
+
"agent-board:file-op": (payload: AgentBoardFileOpPayload) => void;
|
|
1648
1677
|
}
|
|
1649
1678
|
|
|
1650
1679
|
type TypedSocket = Socket<ServerToClientEvents, ClientToServerEvents>;
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
getSessionFilePath,
|
|
7
7
|
resolveSessionFilePreviewTarget
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-JIPDSO26.js";
|
|
9
9
|
import {
|
|
10
10
|
formatToolName,
|
|
11
11
|
getAuthedUrl,
|
|
12
12
|
useUiStore
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OF7ZBBTH.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-
|
|
1936
|
+
//# sourceMappingURL=chunk-3HFYDOHY.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSessionStore
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OF7ZBBTH.js";
|
|
4
4
|
|
|
5
5
|
// src/react/hooks/use-session.ts
|
|
6
6
|
function useSession() {
|
|
@@ -27,4 +27,4 @@ function useSession() {
|
|
|
27
27
|
export {
|
|
28
28
|
useSession
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-CDL6Y4W7.js.map
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
getCodeLanguageFromFilename,
|
|
9
9
|
parseAskUserQuestion,
|
|
10
10
|
useHighlightedCodeHtml
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3HFYDOHY.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-
|
|
19
|
+
} from "./chunk-JIPDSO26.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-
|
|
63
|
+
} from "./chunk-OF7ZBBTH.js";
|
|
64
64
|
import {
|
|
65
65
|
registerBridgeIframe,
|
|
66
66
|
tapBridgeEvent
|
|
@@ -3152,12 +3152,13 @@ function ChatInput({
|
|
|
3152
3152
|
}
|
|
3153
3153
|
editor.chain().focus("end").insertContent(text).run();
|
|
3154
3154
|
});
|
|
3155
|
+
const editorReady = editor != null;
|
|
3155
3156
|
useEffect7(() => {
|
|
3156
|
-
if (!draftAppends?.length) {
|
|
3157
|
+
if (!editorReady || !draftAppends?.length) {
|
|
3157
3158
|
return;
|
|
3158
3159
|
}
|
|
3159
3160
|
applyDraftAppends();
|
|
3160
|
-
}, [applyDraftAppends, draftAppends,
|
|
3161
|
+
}, [applyDraftAppends, draftAppends, editorReady]);
|
|
3161
3162
|
const applySendRequests = useEffectEvent2(() => {
|
|
3162
3163
|
if (!activeSessionId) {
|
|
3163
3164
|
return;
|
|
@@ -8533,4 +8534,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
|
|
|
8533
8534
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8534
8535
|
*--------------------------------------------------------------------------------------------*)
|
|
8535
8536
|
*/
|
|
8536
|
-
//# sourceMappingURL=chunk-
|
|
8537
|
+
//# sourceMappingURL=chunk-CTNH3GZY.js.map
|