@blade-hq/agent-kit 0.5.19 → 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.
Files changed (30) hide show
  1. package/dist/{SkillStatusBar-DR-R6Mpa.d.ts → SkillStatusBar-CxQCMH1U.d.ts} +1 -1
  2. package/dist/{blade-client-ByosYYkS.d.ts → blade-client-CVT77eg3.d.ts} +4 -0
  3. package/dist/{chunk-GIY3MV6F.js → chunk-7ATUCEPR.js} +2 -2
  4. package/dist/{chunk-AN45BWO7.js → chunk-FQSLHSA4.js} +50 -31
  5. package/dist/chunk-FQSLHSA4.js.map +1 -0
  6. package/dist/{chunk-SPHQXYME.js → chunk-ML3IOWX4.js} +6 -6
  7. package/dist/chunk-ML3IOWX4.js.map +1 -0
  8. package/dist/{chunk-SZKVEYL6.js → chunk-TCHV7UF4.js} +1 -1
  9. package/dist/chunk-TCHV7UF4.js.map +1 -0
  10. package/dist/{chunk-MEAVJOEQ.js → chunk-TIUG3ZHJ.js} +2 -2
  11. package/dist/{chunk-RQUD3FGD.js → chunk-V5ZO5YX2.js} +2 -2
  12. package/dist/client/index.d.ts +6 -1
  13. package/dist/client/index.js +1 -1
  14. package/dist/react/api/vibe-coding.d.ts +2 -2
  15. package/dist/react/api/vibe-coding.js +2 -2
  16. package/dist/react/components/chat/index.d.ts +3 -3
  17. package/dist/react/components/chat/index.js +5 -5
  18. package/dist/react/components/plan/index.js +3 -3
  19. package/dist/react/components/session/index.js +3 -3
  20. package/dist/react/components/workspace/index.js +3 -3
  21. package/dist/react/index.d.ts +4 -4
  22. package/dist/react/index.js +6 -6
  23. package/dist/style.css +1 -1
  24. package/package.json +1 -1
  25. package/dist/chunk-AN45BWO7.js.map +0 -1
  26. package/dist/chunk-SPHQXYME.js.map +0 -1
  27. package/dist/chunk-SZKVEYL6.js.map +0 -1
  28. /package/dist/{chunk-GIY3MV6F.js.map → chunk-7ATUCEPR.js.map} +0 -0
  29. /package/dist/{chunk-MEAVJOEQ.js.map → chunk-TIUG3ZHJ.js.map} +0 -0
  30. /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-SZKVEYL6.js";
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, "").trim(),
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, "").trim();
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").trim(), attachments, contexts };
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-SPHQXYME.js.map
3144
+ //# sourceMappingURL=chunk-ML3IOWX4.js.map