@blade-hq/agent-kit 0.4.23 → 0.5.0
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/{chunk-WZT2DOBJ.js → chunk-2FTEBWEM.js} +2 -2
- package/dist/{chunk-LKNU4NUC.js → chunk-C7VSMOXN.js} +20 -2
- package/dist/chunk-C7VSMOXN.js.map +1 -0
- package/dist/{chunk-47YVQZQ7.js → chunk-CFZDKYT3.js} +2 -2
- package/dist/{chunk-WQYDTSSV.js → chunk-M2ZCTKY7.js} +2 -2
- package/dist/{chunk-LKOBHTL7.js → chunk-ZGM3H24C.js} +6 -5
- package/dist/chunk-ZGM3H24C.js.map +1 -0
- package/dist/react/api/vibe-coding.js +1 -1
- package/dist/react/components/chat/index.js +4 -4
- package/dist/react/components/plan/index.js +2 -2
- package/dist/react/components/session/index.js +2 -2
- package/dist/react/components/workspace/index.js +48 -23
- package/dist/react/components/workspace/index.js.map +1 -1
- package/dist/react/index.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-LKNU4NUC.js.map +0 -1
- package/dist/chunk-LKOBHTL7.js.map +0 -1
- /package/dist/{chunk-WZT2DOBJ.js.map → chunk-2FTEBWEM.js.map} +0 -0
- /package/dist/{chunk-47YVQZQ7.js.map → chunk-CFZDKYT3.js.map} +0 -0
- /package/dist/{chunk-WQYDTSSV.js.map → chunk-M2ZCTKY7.js.map} +0 -0
|
@@ -8,13 +8,13 @@ import {
|
|
|
8
8
|
getCodeLanguageFromFilename,
|
|
9
9
|
parseAskUserQuestion,
|
|
10
10
|
useHighlightedCodeHtml
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-2FTEBWEM.js";
|
|
12
12
|
import {
|
|
13
13
|
Collapsible,
|
|
14
14
|
CollapsibleContent,
|
|
15
15
|
CollapsibleTrigger,
|
|
16
16
|
resolveSessionFilePreviewTarget
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-CFZDKYT3.js";
|
|
18
18
|
import {
|
|
19
19
|
buildMessageContent,
|
|
20
20
|
buildToolPreviewKey,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
useUiBridgeStore,
|
|
57
57
|
useUiStore,
|
|
58
58
|
writeFile
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-C7VSMOXN.js";
|
|
60
60
|
import {
|
|
61
61
|
registerBridgeIframe,
|
|
62
62
|
tapBridgeEvent
|
|
@@ -3091,7 +3091,8 @@ function ChatInput({
|
|
|
3091
3091
|
if (fileRef) {
|
|
3092
3092
|
try {
|
|
3093
3093
|
const { path, name } = JSON.parse(fileRef);
|
|
3094
|
-
const
|
|
3094
|
+
const normalizedPath = path.replace(/^\.?\//, "");
|
|
3095
|
+
const sandboxPath = path.startsWith("/") ? path : activeSessionId ? `/root/\u667A\u80FD\u52A9\u624B\u5DE5\u4F5C\u7A7A\u95F4/${activeSessionId}/${normalizedPath}` : normalizedPath;
|
|
3095
3096
|
const editor2 = editorRef.current;
|
|
3096
3097
|
if (editor2) {
|
|
3097
3098
|
editor2.commands.focus("end");
|
|
@@ -8172,4 +8173,4 @@ use-stick-to-bottom/dist/StickToBottom.js:
|
|
|
8172
8173
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
8173
8174
|
*--------------------------------------------------------------------------------------------*)
|
|
8174
8175
|
*/
|
|
8175
|
-
//# sourceMappingURL=chunk-
|
|
8176
|
+
//# sourceMappingURL=chunk-ZGM3H24C.js.map
|