@blade-hq/agent-kit 0.5.17 → 0.5.20
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-DR-R6Mpa.d.ts → SkillStatusBar-CxQCMH1U.d.ts} +1 -1
- package/dist/{blade-client-ByosYYkS.d.ts → blade-client-CVT77eg3.d.ts} +4 -0
- package/dist/{chunk-GIY3MV6F.js → chunk-7ATUCEPR.js} +2 -2
- package/dist/{chunk-XKP32HXH.js → chunk-FQSLHSA4.js} +50 -31
- package/dist/chunk-FQSLHSA4.js.map +1 -0
- package/dist/{chunk-SPHQXYME.js → chunk-ML3IOWX4.js} +6 -6
- package/dist/chunk-ML3IOWX4.js.map +1 -0
- package/dist/{chunk-SZKVEYL6.js → chunk-TCHV7UF4.js} +1 -1
- package/dist/chunk-TCHV7UF4.js.map +1 -0
- package/dist/{chunk-MEAVJOEQ.js → chunk-TIUG3ZHJ.js} +2 -2
- package/dist/{chunk-RQUD3FGD.js → chunk-V5ZO5YX2.js} +2 -2
- package/dist/client/index.d.ts +6 -1
- package/dist/client/index.js +1 -1
- package/dist/react/api/vibe-coding.d.ts +2 -2
- package/dist/react/api/vibe-coding.js +2 -2
- package/dist/react/components/chat/index.d.ts +3 -3
- package/dist/react/components/chat/index.js +5 -5
- package/dist/react/components/plan/index.js +3 -3
- package/dist/react/components/session/index.js +3 -3
- package/dist/react/components/workspace/index.js +3 -3
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-SPHQXYME.js.map +0 -1
- package/dist/chunk-SZKVEYL6.js.map +0 -1
- package/dist/chunk-XKP32HXH.js.map +0 -1
- /package/dist/{chunk-GIY3MV6F.js.map → chunk-7ATUCEPR.js.map} +0 -0
- /package/dist/{chunk-MEAVJOEQ.js.map → chunk-TIUG3ZHJ.js.map} +0 -0
- /package/dist/{chunk-RQUD3FGD.js.map → chunk-V5ZO5YX2.js.map} +0 -0
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-J3XVFPOV.js";
|
|
4
4
|
import {
|
|
5
5
|
BladeClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TCHV7UF4.js";
|
|
7
7
|
import {
|
|
8
8
|
createClientActions,
|
|
9
9
|
useCardStateStore
|
|
@@ -447,7 +447,7 @@ function extractTextAttachments(content) {
|
|
|
447
447
|
});
|
|
448
448
|
}
|
|
449
449
|
return {
|
|
450
|
-
cleanText: working.replace(ATTACHMENT_TAG_RE, "")
|
|
450
|
+
cleanText: working.replace(ATTACHMENT_TAG_RE, ""),
|
|
451
451
|
attachments: attachments2,
|
|
452
452
|
contexts: contexts2
|
|
453
453
|
};
|
|
@@ -471,13 +471,13 @@ function extractTextAttachments(content) {
|
|
|
471
471
|
hasAttachment = true;
|
|
472
472
|
}
|
|
473
473
|
if (hasAttachment) {
|
|
474
|
-
const remaining = part.text.replace(ATTACHMENT_TAG_RE, "")
|
|
475
|
-
if (remaining) cleanParts.push(remaining);
|
|
474
|
+
const remaining = part.text.replace(ATTACHMENT_TAG_RE, "");
|
|
475
|
+
if (remaining.trim()) cleanParts.push(remaining);
|
|
476
476
|
} else {
|
|
477
477
|
cleanParts.push(part.text);
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
return { cleanText: cleanParts.join("\n")
|
|
480
|
+
return { cleanText: cleanParts.join("\n"), attachments, contexts };
|
|
481
481
|
}
|
|
482
482
|
function getImageParts(content) {
|
|
483
483
|
if (typeof content === "string") return [];
|
|
@@ -3141,4 +3141,4 @@ export {
|
|
|
3141
3141
|
bootstrapBladeClient,
|
|
3142
3142
|
getBootstrappedClient
|
|
3143
3143
|
};
|
|
3144
|
-
//# sourceMappingURL=chunk-
|
|
3144
|
+
//# sourceMappingURL=chunk-ML3IOWX4.js.map
|