@superblocksteam/cli 2.0.79-next.0 → 2.0.79-next.2

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 (82) hide show
  1. package/README.md +1 -1
  2. package/dist/{acorn-TACXBBPA.js → acorn-SCSW4T3D.js} +3 -3
  3. package/dist/{angular-GKGLSLSR.js → angular-XT25TXIH.js} +3 -3
  4. package/dist/{api-STMWYRTZ.js → api-RPJNTUAD.js} +4 -4
  5. package/dist/{babel-5XMWRV7N.js → babel-ABDJB35R.js} +3 -3
  6. package/dist/{chunk-S6NUNJUG.js → chunk-2EA7ULJV.js} +4 -4
  7. package/dist/{chunk-JVYMDMWI.js → chunk-2FRKVIJA.js} +4 -4
  8. package/dist/{chunk-YZHJO7YP.js → chunk-2QINFPRG.js} +3 -3
  9. package/dist/{chunk-V4JWZRMM.js → chunk-AKV7XND5.js} +2 -2
  10. package/dist/{chunk-3AYHL6RU.js → chunk-CBYWNA2A.js} +3 -3
  11. package/dist/{chunk-N7QSWSHK.js → chunk-CHF45BIS.js} +3 -3
  12. package/dist/{chunk-762ZLIKG.js → chunk-JU7PWDGF.js} +3 -3
  13. package/dist/{chunk-IPJNELXA.js → chunk-MYDL4DTA.js} +3 -3
  14. package/dist/{chunk-NV7IVOC5.js → chunk-NVHLF4PT.js} +3 -3
  15. package/dist/{chunk-GX7JWIBC.js → chunk-RBUY3OK6.js} +3 -3
  16. package/dist/{cli-truncate-5OJSHIQ6.js → cli-truncate-OTZVCRZU.js} +5 -5
  17. package/dist/commands/dev-parent.js +2 -2
  18. package/dist/{embedded-playwright-mcp-server-AV5LRJEB.js → embedded-playwright-mcp-server-2ATRUAW5.js} +3 -3
  19. package/dist/{enquirer-W6BSEVWC.js → enquirer-HFDVJM65.js} +4 -4
  20. package/dist/{estree-RXDOBRMU.js → estree-IXBYU5MB.js} +3 -3
  21. package/dist/{flow-GD2EAHF3.js → flow-IOKQJN4K.js} +3 -3
  22. package/dist/{getMachineId-bsd-UC6ZRU3X.js → getMachineId-bsd-56PMH25X.js} +5 -5
  23. package/dist/{getMachineId-darwin-GSPZXX7L.js → getMachineId-darwin-XXG7Q7YK.js} +5 -5
  24. package/dist/{getMachineId-linux-6SXEREYR.js → getMachineId-linux-AL4YUR64.js} +4 -4
  25. package/dist/{getMachineId-unsupported-22RZT4PE.js → getMachineId-unsupported-FPCNZWK4.js} +4 -4
  26. package/dist/{getMachineId-win-ERRHLSVS.js → getMachineId-win-E677XMHM.js} +5 -5
  27. package/dist/{glimmer-FBZRCAYZ.js → glimmer-CNYCE7TO.js} +3 -3
  28. package/dist/{graphql-PJRL34NA.js → graphql-ZUMJTNWR.js} +3 -3
  29. package/dist/{html-K2GEBTIE.js → html-I43M7NYM.js} +3 -3
  30. package/dist/index.js +99 -56
  31. package/dist/index.js.map +1 -1
  32. package/dist/{jiti-DLFSBEAW.js → jiti-5F54GMJ5.js} +3 -3
  33. package/dist/{log-update-BHR32BCO.js → log-update-TS5FAAIG.js} +6 -6
  34. package/dist/{markdown-Y5J3M5ZA.js → markdown-I5AOD25L.js} +3 -3
  35. package/dist/{meriyah-YIOBGZWY.js → meriyah-IXOYBPSA.js} +3 -3
  36. package/dist/{postcss-C45V2POW.js → postcss-6GISMI36.js} +3 -3
  37. package/dist/{read-pkg-C7B42YSE.js → read-pkg-OIF6W6H7.js} +4 -4
  38. package/dist/{spans-H5RHIQ3L.js → spans-LY3D2KPY.js} +4 -4
  39. package/dist/{src-ZYYL75RL.js → src-BV2MLPVR.js} +3 -3
  40. package/dist/{typescript-KCTMJJAQ.js → typescript-HL3VGQEB.js} +3 -3
  41. package/dist/{wrap-ansi-KATP6QAX.js → wrap-ansi-7CFNPASQ.js} +5 -5
  42. package/dist/{yaml-UDEQAEQN.js → yaml-NLSEFZWV.js} +3 -3
  43. package/oclif.manifest.json +1 -1
  44. package/package.json +4 -4
  45. /package/dist/{acorn-TACXBBPA.js.map → acorn-SCSW4T3D.js.map} +0 -0
  46. /package/dist/{angular-GKGLSLSR.js.map → angular-XT25TXIH.js.map} +0 -0
  47. /package/dist/{api-STMWYRTZ.js.map → api-RPJNTUAD.js.map} +0 -0
  48. /package/dist/{babel-5XMWRV7N.js.map → babel-ABDJB35R.js.map} +0 -0
  49. /package/dist/{chunk-S6NUNJUG.js.map → chunk-2EA7ULJV.js.map} +0 -0
  50. /package/dist/{chunk-JVYMDMWI.js.map → chunk-2FRKVIJA.js.map} +0 -0
  51. /package/dist/{chunk-YZHJO7YP.js.map → chunk-2QINFPRG.js.map} +0 -0
  52. /package/dist/{chunk-V4JWZRMM.js.map → chunk-AKV7XND5.js.map} +0 -0
  53. /package/dist/{chunk-3AYHL6RU.js.map → chunk-CBYWNA2A.js.map} +0 -0
  54. /package/dist/{chunk-N7QSWSHK.js.map → chunk-CHF45BIS.js.map} +0 -0
  55. /package/dist/{chunk-762ZLIKG.js.map → chunk-JU7PWDGF.js.map} +0 -0
  56. /package/dist/{chunk-IPJNELXA.js.map → chunk-MYDL4DTA.js.map} +0 -0
  57. /package/dist/{chunk-NV7IVOC5.js.map → chunk-NVHLF4PT.js.map} +0 -0
  58. /package/dist/{chunk-GX7JWIBC.js.map → chunk-RBUY3OK6.js.map} +0 -0
  59. /package/dist/{cli-truncate-5OJSHIQ6.js.map → cli-truncate-OTZVCRZU.js.map} +0 -0
  60. /package/dist/{embedded-playwright-mcp-server-AV5LRJEB.js.map → embedded-playwright-mcp-server-2ATRUAW5.js.map} +0 -0
  61. /package/dist/{enquirer-W6BSEVWC.js.map → enquirer-HFDVJM65.js.map} +0 -0
  62. /package/dist/{estree-RXDOBRMU.js.map → estree-IXBYU5MB.js.map} +0 -0
  63. /package/dist/{flow-GD2EAHF3.js.map → flow-IOKQJN4K.js.map} +0 -0
  64. /package/dist/{getMachineId-bsd-UC6ZRU3X.js.map → getMachineId-bsd-56PMH25X.js.map} +0 -0
  65. /package/dist/{getMachineId-darwin-GSPZXX7L.js.map → getMachineId-darwin-XXG7Q7YK.js.map} +0 -0
  66. /package/dist/{getMachineId-linux-6SXEREYR.js.map → getMachineId-linux-AL4YUR64.js.map} +0 -0
  67. /package/dist/{getMachineId-unsupported-22RZT4PE.js.map → getMachineId-unsupported-FPCNZWK4.js.map} +0 -0
  68. /package/dist/{getMachineId-win-ERRHLSVS.js.map → getMachineId-win-E677XMHM.js.map} +0 -0
  69. /package/dist/{glimmer-FBZRCAYZ.js.map → glimmer-CNYCE7TO.js.map} +0 -0
  70. /package/dist/{graphql-PJRL34NA.js.map → graphql-ZUMJTNWR.js.map} +0 -0
  71. /package/dist/{html-K2GEBTIE.js.map → html-I43M7NYM.js.map} +0 -0
  72. /package/dist/{jiti-DLFSBEAW.js.map → jiti-5F54GMJ5.js.map} +0 -0
  73. /package/dist/{log-update-BHR32BCO.js.map → log-update-TS5FAAIG.js.map} +0 -0
  74. /package/dist/{markdown-Y5J3M5ZA.js.map → markdown-I5AOD25L.js.map} +0 -0
  75. /package/dist/{meriyah-YIOBGZWY.js.map → meriyah-IXOYBPSA.js.map} +0 -0
  76. /package/dist/{postcss-C45V2POW.js.map → postcss-6GISMI36.js.map} +0 -0
  77. /package/dist/{read-pkg-C7B42YSE.js.map → read-pkg-OIF6W6H7.js.map} +0 -0
  78. /package/dist/{spans-H5RHIQ3L.js.map → spans-LY3D2KPY.js.map} +0 -0
  79. /package/dist/{src-ZYYL75RL.js.map → src-BV2MLPVR.js.map} +0 -0
  80. /package/dist/{typescript-KCTMJJAQ.js.map → typescript-HL3VGQEB.js.map} +0 -0
  81. /package/dist/{wrap-ansi-KATP6QAX.js.map → wrap-ansi-7CFNPASQ.js.map} +0 -0
  82. /package/dist/{yaml-UDEQAEQN.js.map → yaml-NLSEFZWV.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = '122fd7fcf51bc8ca6d37ff2ef0c0aa98cf18826f';
4
+ process.env.DD_GIT_COMMIT_SHA = '77984cfcbf29e150961a1b5ff4c626b5f0a10613';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,17 +12,17 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  require_execAsync
15
- } from "./chunk-GX7JWIBC.js";
15
+ } from "./chunk-RBUY3OK6.js";
16
16
  import {
17
17
  esm_exports,
18
18
  init_esm
19
- } from "./chunk-3AYHL6RU.js";
19
+ } from "./chunk-CBYWNA2A.js";
20
20
  import {
21
21
  __commonJS,
22
22
  __require,
23
23
  __toCommonJS,
24
24
  init_cjs_shims
25
- } from "./chunk-V4JWZRMM.js";
25
+ } from "./chunk-AKV7XND5.js";
26
26
 
27
27
  // ../../../../node_modules/.pnpm/@opentelemetry+resources@2.0.1_@opentelemetry+api@1.9.0/node_modules/@opentelemetry/resources/build/src/detectors/platform/node/machine-id/getMachineId-win.js
28
28
  var require_getMachineId_win = __commonJS({
@@ -54,4 +54,4 @@ var require_getMachineId_win = __commonJS({
54
54
  }
55
55
  });
56
56
  export default require_getMachineId_win();
57
- //# sourceMappingURL=getMachineId-win-ERRHLSVS.js.map
57
+ //# sourceMappingURL=getMachineId-win-E677XMHM.js.map
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = '122fd7fcf51bc8ca6d37ff2ef0c0aa98cf18826f';
4
+ process.env.DD_GIT_COMMIT_SHA = '77984cfcbf29e150961a1b5ff4c626b5f0a10613';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,7 +12,7 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-V4JWZRMM.js";
15
+ } from "./chunk-AKV7XND5.js";
16
16
 
17
17
  // ../../../../node_modules/.pnpm/prettier@3.7.4/node_modules/prettier/plugins/glimmer.mjs
18
18
  init_cjs_shims();
@@ -2907,4 +2907,4 @@ export {
2907
2907
  yr as parsers,
2908
2908
  Ai as printers
2909
2909
  };
2910
- //# sourceMappingURL=glimmer-FBZRCAYZ.js.map
2910
+ //# sourceMappingURL=glimmer-CNYCE7TO.js.map
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = '122fd7fcf51bc8ca6d37ff2ef0c0aa98cf18826f';
4
+ process.env.DD_GIT_COMMIT_SHA = '77984cfcbf29e150961a1b5ff4c626b5f0a10613';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,7 +12,7 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-V4JWZRMM.js";
15
+ } from "./chunk-AKV7XND5.js";
16
16
 
17
17
  // ../../../../node_modules/.pnpm/prettier@3.7.4/node_modules/prettier/plugins/graphql.mjs
18
18
  init_cjs_shims();
@@ -1279,4 +1279,4 @@ export {
1279
1279
  he as parsers,
1280
1280
  nn as printers
1281
1281
  };
1282
- //# sourceMappingURL=graphql-PJRL34NA.js.map
1282
+ //# sourceMappingURL=graphql-ZUMJTNWR.js.map
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = '122fd7fcf51bc8ca6d37ff2ef0c0aa98cf18826f';
4
+ process.env.DD_GIT_COMMIT_SHA = '77984cfcbf29e150961a1b5ff4c626b5f0a10613';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -12,7 +12,7 @@ globalThis.__dirname ??= $dd_dirname(globalThis.__filename);
12
12
 
13
13
  import {
14
14
  init_cjs_shims
15
- } from "./chunk-V4JWZRMM.js";
15
+ } from "./chunk-AKV7XND5.js";
16
16
 
17
17
  // ../../../../node_modules/.pnpm/prettier@3.7.4/node_modules/prettier/plugins/html.mjs
18
18
  init_cjs_shims();
@@ -2939,4 +2939,4 @@ export {
2939
2939
  Qr as parsers,
2940
2940
  xl as printers
2941
2941
  };
2942
- //# sourceMappingURL=html-K2GEBTIE.js.map
2942
+ //# sourceMappingURL=html-I43M7NYM.js.map
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  if (typeof process === 'object' && process !== null &&
2
2
  process.env !== null && typeof process.env === 'object') {
3
3
  process.env.DD_GIT_REPOSITORY_URL = 'https://token@github.com/superblocksteam/superblocks.git';
4
- process.env.DD_GIT_COMMIT_SHA = '122fd7fcf51bc8ca6d37ff2ef0c0aa98cf18826f';
4
+ process.env.DD_GIT_COMMIT_SHA = '77984cfcbf29e150961a1b5ff4c626b5f0a10613';
5
5
  }
6
6
  import { createRequire as $dd_createRequire } from 'module';
7
7
  import { fileURLToPath as $dd_fileURLToPath } from 'url';
@@ -23,10 +23,10 @@ import {
23
23
  require_re,
24
24
  require_semver,
25
25
  require_valid
26
- } from "./chunk-762ZLIKG.js";
26
+ } from "./chunk-JU7PWDGF.js";
27
27
  import {
28
28
  require_enquirer
29
- } from "./chunk-NV7IVOC5.js";
29
+ } from "./chunk-NVHLF4PT.js";
30
30
  import {
31
31
  debounce_default,
32
32
  get_default,
@@ -40,7 +40,7 @@ import {
40
40
  require_dist,
41
41
  require_lib,
42
42
  require_slugify
43
- } from "./chunk-YZHJO7YP.js";
43
+ } from "./chunk-2QINFPRG.js";
44
44
  import {
45
45
  SpanKind,
46
46
  SpanStatusCode,
@@ -48,7 +48,7 @@ import {
48
48
  esm_exports,
49
49
  init_esm,
50
50
  trace
51
- } from "./chunk-3AYHL6RU.js";
51
+ } from "./chunk-CBYWNA2A.js";
52
52
  import {
53
53
  require_agent_info_exporter,
54
54
  require_base,
@@ -77,7 +77,7 @@ import {
77
77
  require_utils,
78
78
  require_writer,
79
79
  require_writers
80
- } from "./chunk-N7QSWSHK.js";
80
+ } from "./chunk-CHF45BIS.js";
81
81
  import {
82
82
  __commonJS,
83
83
  __esm,
@@ -86,7 +86,7 @@ import {
86
86
  __toCommonJS,
87
87
  __toESM,
88
88
  init_cjs_shims
89
- } from "./chunk-V4JWZRMM.js";
89
+ } from "./chunk-AKV7XND5.js";
90
90
 
91
91
  // ../../../../node_modules/.pnpm/common-tags@1.8.2/node_modules/common-tags/lib/TemplateTag/TemplateTag.js
92
92
  var require_TemplateTag = __commonJS({
@@ -68519,19 +68519,19 @@ var require_getMachineId = __commonJS({
68519
68519
  if (!getMachineIdImpl) {
68520
68520
  switch (process5.platform) {
68521
68521
  case "darwin":
68522
- getMachineIdImpl = (await import("./getMachineId-darwin-GSPZXX7L.js")).getMachineId;
68522
+ getMachineIdImpl = (await import("./getMachineId-darwin-XXG7Q7YK.js")).getMachineId;
68523
68523
  break;
68524
68524
  case "linux":
68525
- getMachineIdImpl = (await import("./getMachineId-linux-6SXEREYR.js")).getMachineId;
68525
+ getMachineIdImpl = (await import("./getMachineId-linux-AL4YUR64.js")).getMachineId;
68526
68526
  break;
68527
68527
  case "freebsd":
68528
- getMachineIdImpl = (await import("./getMachineId-bsd-UC6ZRU3X.js")).getMachineId;
68528
+ getMachineIdImpl = (await import("./getMachineId-bsd-56PMH25X.js")).getMachineId;
68529
68529
  break;
68530
68530
  case "win32":
68531
- getMachineIdImpl = (await import("./getMachineId-win-ERRHLSVS.js")).getMachineId;
68531
+ getMachineIdImpl = (await import("./getMachineId-win-E677XMHM.js")).getMachineId;
68532
68532
  break;
68533
68533
  default:
68534
- getMachineIdImpl = (await import("./getMachineId-unsupported-22RZT4PE.js")).getMachineId;
68534
+ getMachineIdImpl = (await import("./getMachineId-unsupported-FPCNZWK4.js")).getMachineId;
68535
68535
  break;
68536
68536
  }
68537
68537
  }
@@ -304088,15 +304088,15 @@ var require_api_files = __commonJS({
304088
304088
  exports2.readAppApiYamlFile = readAppApiYamlFile4;
304089
304089
  exports2.resolveLanguageSpecificStepContentFromBlocks = resolveLanguageSpecificStepContentFromBlocks2;
304090
304090
  async function writeApiFiles3(...args) {
304091
- const esmFunction = await import("./api-STMWYRTZ.js");
304091
+ const esmFunction = await import("./api-RPJNTUAD.js");
304092
304092
  return esmFunction.writeApiFiles(...args);
304093
304093
  }
304094
304094
  async function readAppApiYamlFile4(...args) {
304095
- const esmFunction = await import("./api-STMWYRTZ.js");
304095
+ const esmFunction = await import("./api-RPJNTUAD.js");
304096
304096
  return esmFunction.readAppApiYamlFile(...args);
304097
304097
  }
304098
304098
  async function resolveLanguageSpecificStepContentFromBlocks2(...args) {
304099
- const esmFunction = await import("./api-STMWYRTZ.js");
304099
+ const esmFunction = await import("./api-RPJNTUAD.js");
304100
304100
  return esmFunction.resolveLanguageSpecificStepContentFromBlocks(...args);
304101
304101
  }
304102
304102
  }
@@ -451403,7 +451403,7 @@ var require_config_loader = __commonJS({
451403
451403
  * @returns {Promise<{createJiti: Function|undefined, version: string;}>} A promise that fulfills with an object containing the jiti module's createJiti function and version.
451404
451404
  */
451405
451405
  static async loadJiti() {
451406
- const { createJiti } = await import("./jiti-DLFSBEAW.js");
451406
+ const { createJiti } = await import("./jiti-5F54GMJ5.js");
451407
451407
  const version5 = require_package7().version;
451408
451408
  return { createJiti, version: version5 };
451409
451409
  }
@@ -451732,7 +451732,7 @@ var require_eslint_helpers = __commonJS({
451732
451732
  }
451733
451733
  async function globMatch({ basePath, pattern }) {
451734
451734
  let found = false;
451735
- const { hfs } = await import("./src-ZYYL75RL.js");
451735
+ const { hfs } = await import("./src-BV2MLPVR.js");
451736
451736
  const patternToUse = normalizeToPosix(path84.relative(basePath, pattern));
451737
451737
  const matcher = new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
451738
451738
  const walkSettings = {
@@ -451772,7 +451772,7 @@ var require_eslint_helpers = __commonJS({
451772
451772
  return new Minimatch2(patternToUse, MINIMATCH_OPTIONS);
451773
451773
  });
451774
451774
  const unmatchedPatterns = /* @__PURE__ */ new Set([...relativeToPatterns.keys()]);
451775
- const { hfs } = await import("./src-ZYYL75RL.js");
451775
+ const { hfs } = await import("./src-BV2MLPVR.js");
451776
451776
  const walk2 = hfs.walk(basePath, {
451777
451777
  async directoryFilter(entry) {
451778
451778
  if (!matchers.some((matcher) => matcher.match(entry.path, true))) {
@@ -583951,7 +583951,7 @@ import os2 from "node:os";
583951
583951
  // ../sdk/package.json
583952
583952
  var package_default = {
583953
583953
  name: "@superblocksteam/sdk",
583954
- version: "2.0.79-next.0",
583954
+ version: "2.0.79-next.2",
583955
583955
  type: "module",
583956
583956
  description: "Superblocks JS SDK",
583957
583957
  homepage: "https://www.superblocks.com",
@@ -637407,7 +637407,7 @@ init_esm();
637407
637407
  var LLMObsSpanWriter = null;
637408
637408
  async function loadLLMObsSpanWriter() {
637409
637409
  if (!LLMObsSpanWriter) {
637410
- const module2 = await import("./spans-H5RHIQ3L.js");
637410
+ const module2 = await import("./spans-LY3D2KPY.js");
637411
637411
  LLMObsSpanWriter = module2.default;
637412
637412
  }
637413
637413
  return LLMObsSpanWriter;
@@ -657875,31 +657875,71 @@ function getProviderId(model) {
657875
657875
  return model.provider ?? "unknown";
657876
657876
  }
657877
657877
  var logger3 = getPrefixedLogger("[phase2-session-summarizer]");
657878
- function stripImagesFromMessages(messages3) {
657879
- return messages3.map((msg) => {
657880
- if (!Array.isArray(msg.content)) {
657881
- return msg;
657878
+ function getMediaType(value2) {
657879
+ if (value2.mediaType) {
657880
+ return value2.mediaType;
657881
+ }
657882
+ if (value2.type === "media" && value2.data?.startsWith("data:")) {
657883
+ const match2 = value2.data.match(/^data:([^;,]+)/);
657884
+ return match2?.[1] ?? null;
657885
+ }
657886
+ return null;
657887
+ }
657888
+ function formatMediaTag(mediaType) {
657889
+ if (!mediaType)
657890
+ return "[media]";
657891
+ if (mediaType.startsWith("image/"))
657892
+ return "[image]";
657893
+ if (mediaType.startsWith("video/"))
657894
+ return "[video]";
657895
+ if (mediaType.startsWith("audio/"))
657896
+ return "[audio]";
657897
+ if (mediaType === "application/pdf")
657898
+ return "[pdf]";
657899
+ return `[media: ${mediaType}]`;
657900
+ }
657901
+ function stripMedia(msg) {
657902
+ if (!Array.isArray(msg.content)) {
657903
+ return msg;
657904
+ }
657905
+ const strippedContent = msg.content.map((part) => {
657906
+ if (typeof part === "object" && part !== null && "type" in part && part.type === "image") {
657907
+ return { type: "text", text: "[image]" };
657882
657908
  }
657883
- const strippedContent = msg.content.map((part) => {
657884
- if (typeof part === "object" && part !== null && "type" in part && part.type === "image") {
657885
- return { type: "text", text: "[image]" };
657886
- }
657887
- if (part.type === "tool-result" && part.output?.type === "content" && part.output.value?.some((value2) => value2.type === "media" && value2.data?.startsWith("data:image/"))) {
657888
- return { type: "text", text: "[image]" };
657909
+ if (part.type === "tool-result" && part.output?.type === "content" && Array.isArray(part.output.value)) {
657910
+ const firstMediaType = part.output.value.map(getMediaType).find((t16) => t16 !== null);
657911
+ if (firstMediaType) {
657912
+ const tag = formatMediaTag(firstMediaType);
657913
+ return { type: "text", text: tag };
657889
657914
  }
657890
- return part;
657891
- });
657892
- return { ...msg, content: strippedContent };
657915
+ }
657916
+ return part;
657917
+ });
657918
+ return { ...msg, content: strippedContent };
657919
+ }
657920
+ function stripProviderOptions(msg) {
657921
+ if (!Array.isArray(msg.content)) {
657922
+ return msg;
657923
+ }
657924
+ const strippedContent = msg.content.map((part) => {
657925
+ if (part.type === "reasoning") {
657926
+ const { providerOptions, ...rest } = part;
657927
+ return rest;
657928
+ }
657929
+ return part;
657893
657930
  });
657931
+ return { ...msg, content: strippedContent };
657932
+ }
657933
+ function stripSuperblocksMeta({ _superblocks, ...msg }) {
657934
+ return msg;
657894
657935
  }
657895
657936
  async function summarizeSession(options8) {
657896
657937
  const { messages: messages3, model, targetTokens, abortSignal, tracer: tracer4 = LLMObsTracer.instance } = options8;
657897
657938
  return tracer4.trace({ name: "session.summarize", kind: "task" }, async (summarizeSpan) => {
657898
657939
  async function callLLM(msgs) {
657899
657940
  return tracer4.trace({ name: "session.summarize.llm", kind: "task" }, async (llmSpan) => {
657900
- const strippedMessages = stripImagesFromMessages(msgs);
657901
- const cleanMessages = strippedMessages.map(({ _superblocks, ...msg }) => msg);
657902
- const messagesJson = JSON.stringify(cleanMessages, null, 2);
657941
+ const cleanedMessages = msgs.map(stripMedia).map(stripProviderOptions).map(stripSuperblocksMeta);
657942
+ const messagesJson = JSON.stringify(cleanedMessages, null, 2);
657903
657943
  const userMessage = formatCompactionRequest(messagesJson);
657904
657944
  let capturedError = null;
657905
657945
  const inputMetadata = {
@@ -660785,6 +660825,9 @@ var ContextObserver = class {
660785
660825
  });
660786
660826
  }
660787
660827
  async onStepComplete(step, _session) {
660828
+ if (step.finishReason === "unknown") {
660829
+ return;
660830
+ }
660788
660831
  if (step.response?.messages) {
660789
660832
  await this.contextHandle.context.endStep(step.response.messages, step.usage);
660790
660833
  }
@@ -678084,7 +678127,7 @@ var PlaywrightMcpServerManager = class {
678084
678127
  this.logger.info(`Starting embedded Playwright MCP server: browser=${options8?.browser || "chromium"}, headless=${options8?.headless !== false}`);
678085
678128
  }
678086
678129
  try {
678087
- const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-AV5LRJEB.js");
678130
+ const { startEmbeddedPlaywrightMcpServer } = await import("./embedded-playwright-mcp-server-2ATRUAW5.js");
678088
678131
  this.server = await startEmbeddedPlaywrightMcpServer({
678089
678132
  storageStatePath: options8?.storageStatePath,
678090
678133
  jwt: options8?.jwt,
@@ -744112,7 +744155,7 @@ var parseYaml;
744112
744155
  async function loadYaml(file2) {
744113
744156
  const content2 = await read_file_default(file2);
744114
744157
  if (!parseYaml) {
744115
- ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-UDEQAEQN.js"));
744158
+ ({ __parsePrettierYamlConfig: parseYaml } = await import("./yaml-NLSEFZWV.js"));
744116
744159
  }
744117
744160
  try {
744118
744161
  return parseYaml(content2);
@@ -749506,7 +749549,7 @@ function createParsersAndPrinters(modules) {
749506
749549
  }
749507
749550
  var estreePlugin = createParsersAndPrinters([
749508
749551
  {
749509
- importPlugin: () => import("./estree-RXDOBRMU.js"),
749552
+ importPlugin: () => import("./estree-IXBYU5MB.js"),
749510
749553
  printers: ["estree", "estree-json"]
749511
749554
  }
749512
749555
  ]);
@@ -749530,11 +749573,11 @@ var languages = [
749530
749573
  ];
749531
749574
  var { parsers, printers } = createParsersAndPrinters([
749532
749575
  {
749533
- importPlugin: () => import("./acorn-TACXBBPA.js"),
749576
+ importPlugin: () => import("./acorn-SCSW4T3D.js"),
749534
749577
  parsers: ["acorn", "espree"]
749535
749578
  },
749536
749579
  {
749537
- importPlugin: () => import("./angular-GKGLSLSR.js"),
749580
+ importPlugin: () => import("./angular-XT25TXIH.js"),
749538
749581
  parsers: [
749539
749582
  "__ng_action",
749540
749583
  "__ng_binding",
@@ -749543,7 +749586,7 @@ var { parsers, printers } = createParsersAndPrinters([
749543
749586
  ]
749544
749587
  },
749545
749588
  {
749546
- importPlugin: () => import("./babel-5XMWRV7N.js"),
749589
+ importPlugin: () => import("./babel-ABDJB35R.js"),
749547
749590
  parsers: [
749548
749591
  "babel",
749549
749592
  "babel-flow",
@@ -749562,44 +749605,44 @@ var { parsers, printers } = createParsersAndPrinters([
749562
749605
  ]
749563
749606
  },
749564
749607
  {
749565
- importPlugin: () => import("./flow-GD2EAHF3.js"),
749608
+ importPlugin: () => import("./flow-IOKQJN4K.js"),
749566
749609
  parsers: ["flow"]
749567
749610
  },
749568
749611
  {
749569
- importPlugin: () => import("./glimmer-FBZRCAYZ.js"),
749612
+ importPlugin: () => import("./glimmer-CNYCE7TO.js"),
749570
749613
  parsers: ["glimmer"],
749571
749614
  printers: ["glimmer"]
749572
749615
  },
749573
749616
  {
749574
- importPlugin: () => import("./graphql-PJRL34NA.js"),
749617
+ importPlugin: () => import("./graphql-ZUMJTNWR.js"),
749575
749618
  parsers: ["graphql"],
749576
749619
  printers: ["graphql"]
749577
749620
  },
749578
749621
  {
749579
- importPlugin: () => import("./html-K2GEBTIE.js"),
749622
+ importPlugin: () => import("./html-I43M7NYM.js"),
749580
749623
  parsers: ["html", "angular", "vue", "lwc", "mjml"],
749581
749624
  printers: ["html"]
749582
749625
  },
749583
749626
  {
749584
- importPlugin: () => import("./markdown-Y5J3M5ZA.js"),
749627
+ importPlugin: () => import("./markdown-I5AOD25L.js"),
749585
749628
  parsers: ["markdown", "mdx", "remark"],
749586
749629
  printers: ["mdast"]
749587
749630
  },
749588
749631
  {
749589
- importPlugin: () => import("./meriyah-YIOBGZWY.js"),
749632
+ importPlugin: () => import("./meriyah-IXOYBPSA.js"),
749590
749633
  parsers: ["meriyah"]
749591
749634
  },
749592
749635
  {
749593
- importPlugin: () => import("./postcss-C45V2POW.js"),
749636
+ importPlugin: () => import("./postcss-6GISMI36.js"),
749594
749637
  parsers: ["css", "less", "scss"],
749595
749638
  printers: ["postcss"]
749596
749639
  },
749597
749640
  {
749598
- importPlugin: () => import("./typescript-KCTMJJAQ.js"),
749641
+ importPlugin: () => import("./typescript-HL3VGQEB.js"),
749599
749642
  parsers: ["typescript"]
749600
749643
  },
749601
749644
  {
749602
- importPlugin: () => import("./yaml-UDEQAEQN.js"),
749645
+ importPlugin: () => import("./yaml-NLSEFZWV.js"),
749603
749646
  parsers: ["yaml"],
749604
749647
  printers: ["yaml"]
749605
749648
  }
@@ -765228,7 +765271,7 @@ async function handleLockConflict(error40, lockSvc, span, logger12) {
765228
765271
  }
765229
765272
  async function readPkgJson(cwd) {
765230
765273
  try {
765231
- const { readPackage } = await import("./read-pkg-C7B42YSE.js");
765274
+ const { readPackage } = await import("./read-pkg-OIF6W6H7.js");
765232
765275
  return await readPackage({ cwd });
765233
765276
  } catch {
765234
765277
  return null;
@@ -766365,7 +766408,7 @@ async function createPrompt(options8, settings) {
766365
766408
  enquirer3 = settings.enquirer;
766366
766409
  } else {
766367
766410
  try {
766368
- enquirer3 = await import("./enquirer-W6BSEVWC.js").then((imported) => imported.default ? new imported.default() : new imported());
766411
+ enquirer3 = await import("./enquirer-HFDVJM65.js").then((imported) => imported.default ? new imported.default() : new imported());
766369
766412
  } catch (e) {
766370
766413
  if (this instanceof TaskWrapper) {
766371
766414
  this.task.prompt = new PromptError("Enquirer is a peer dependency that must be installed separately.");
@@ -766573,9 +766616,9 @@ var _DefaultRenderer = class {
766573
766616
  return typeof bottomBar === "number" && bottomBar !== 0 || typeof bottomBar === "boolean" && bottomBar !== false || !task.hasTitle();
766574
766617
  }
766575
766618
  async render() {
766576
- const { createLogUpdate } = await import("./log-update-BHR32BCO.js");
766577
- const { default: truncate } = await import("./cli-truncate-5OJSHIQ6.js");
766578
- const { default: wrap2 } = await import("./wrap-ansi-KATP6QAX.js");
766619
+ const { createLogUpdate } = await import("./log-update-TS5FAAIG.js");
766620
+ const { default: truncate } = await import("./cli-truncate-OTZVCRZU.js");
766621
+ const { default: wrap2 } = await import("./wrap-ansi-7CFNPASQ.js");
766579
766622
  this.updater = createLogUpdate(this.logger.process.stdout);
766580
766623
  this.truncate = truncate;
766581
766624
  this.wrap = wrap2;