@tailor-platform/sdk 1.47.0 → 1.48.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +91 -0
  2. package/dist/{actor-DhXSqWTW.d.mts → actor-BeIEiPYM.d.mts} +3 -3
  3. package/dist/application-BNkNt47b.mjs +4 -0
  4. package/dist/{application-TasSqBTD.mjs → application-DUENhx4Y.mjs} +124 -79
  5. package/dist/application-DUENhx4Y.mjs.map +1 -0
  6. package/dist/{brand-Ll48SMXe.mjs → brand-D-d15jx3.mjs} +1 -1
  7. package/dist/{brand-Ll48SMXe.mjs.map → brand-D-d15jx3.mjs.map} +1 -1
  8. package/dist/cli/index.mjs +15 -15
  9. package/dist/cli/index.mjs.map +1 -1
  10. package/dist/cli/lib.d.mts +6 -6
  11. package/dist/cli/lib.mjs +4 -4
  12. package/dist/cli/lib.mjs.map +1 -1
  13. package/dist/cli/skills.mjs.map +1 -1
  14. package/dist/{client-DYSkSLRr.mjs → client-CPW1N1Rs.mjs} +1 -1
  15. package/dist/client-_kHh0Pip.mjs +1061 -0
  16. package/dist/client-_kHh0Pip.mjs.map +1 -0
  17. package/dist/configure/index.d.mts +4 -4
  18. package/dist/configure/index.mjs +54 -6
  19. package/dist/configure/index.mjs.map +1 -1
  20. package/dist/{crashreport-CKJwnWsX.mjs → crashreport-CvmdFs4i.mjs} +5 -5
  21. package/dist/crashreport-CvmdFs4i.mjs.map +1 -0
  22. package/dist/{crashreport-B8lVOx0U.mjs → crashreport-DHJuSmUc.mjs} +1 -1
  23. package/dist/enum-constants-C3KSpsYj.mjs.map +1 -1
  24. package/dist/{errors-wNQxQQBH.mjs → errors-pMPXghkO.mjs} +1 -1
  25. package/dist/{errors-wNQxQQBH.mjs.map → errors-pMPXghkO.mjs.map} +1 -1
  26. package/dist/{field-BY2vbJ8f.mjs → field-DLSIuMTu.mjs} +1 -1
  27. package/dist/{field-BY2vbJ8f.mjs.map → field-DLSIuMTu.mjs.map} +1 -1
  28. package/dist/file-utils-DjNi_3U_.mjs.map +1 -1
  29. package/dist/index-BQ4oi0AI.d.mts +48 -0
  30. package/dist/{index-BbOTbZFf.d.mts → index-BjXN1SdY.d.mts} +2 -2
  31. package/dist/{index-BoU_52Du.d.mts → index-C--7W0UO.d.mts} +8 -16
  32. package/dist/{index-BRvNi5q9.d.mts → index-VJW98BSy.d.mts} +2 -2
  33. package/dist/{index-iy-hNfGp.d.mts → index-nV4ZC_Ve.d.mts} +2 -2
  34. package/dist/{interceptor-CBsqEWDK.mjs → interceptor-DTNS0EtF.mjs} +1 -1
  35. package/dist/{interceptor-CBsqEWDK.mjs.map → interceptor-DTNS0EtF.mjs.map} +1 -1
  36. package/dist/{job-BOvKyNdT.mjs → job-M3Avv_SV.mjs} +5 -5
  37. package/dist/job-M3Avv_SV.mjs.map +1 -0
  38. package/dist/kysely/index.mjs.map +1 -1
  39. package/dist/kysely-type-B8aRz_oC.mjs.map +1 -1
  40. package/dist/logger-DTNAMYGy.mjs.map +1 -1
  41. package/dist/{mock-BP-9O5On.mjs → mock-BfL09ULZ.mjs} +1 -1
  42. package/dist/{mock-BP-9O5On.mjs.map → mock-BfL09ULZ.mjs.map} +1 -1
  43. package/dist/multiline-e3IpANmS.mjs.map +1 -1
  44. package/dist/package-json-6Px8bDpG.mjs.map +1 -1
  45. package/dist/plugin/builtin/enum-constants/index.d.mts +1 -1
  46. package/dist/plugin/builtin/file-utils/index.d.mts +1 -1
  47. package/dist/plugin/builtin/kysely-type/index.d.mts +1 -1
  48. package/dist/plugin/builtin/seed/index.d.mts +1 -1
  49. package/dist/plugin/builtin/seed/index.mjs +1 -1
  50. package/dist/plugin/index.d.mts +2 -2
  51. package/dist/plugin/index.mjs.map +1 -1
  52. package/dist/{repl-editor-CZpLlOBj.mjs → repl-editor-jZ493eQI.mjs} +1 -1
  53. package/dist/{repl-editor-CZpLlOBj.mjs.map → repl-editor-jZ493eQI.mjs.map} +1 -1
  54. package/dist/{runtime-DDYL2Zf1.mjs → runtime-CNg0w27y.mjs} +400 -126
  55. package/dist/runtime-CNg0w27y.mjs.map +1 -0
  56. package/dist/{tailordb-Bg9-TZj1.mjs → schema-C5QjYEc-.mjs} +4 -44
  57. package/dist/schema-C5QjYEc-.mjs.map +1 -0
  58. package/dist/secret-file-BHpxGyNf.mjs +65 -0
  59. package/dist/secret-file-BHpxGyNf.mjs.map +1 -0
  60. package/dist/seed/index.mjs.map +1 -1
  61. package/dist/{seed-DrKY5yIF.mjs → seed-DjfAn0BC.mjs} +44 -19
  62. package/dist/seed-DjfAn0BC.mjs.map +1 -0
  63. package/dist/{service-obEU5gSM.mjs → service-DCgJxdg1.mjs} +2 -2
  64. package/dist/{service-obEU5gSM.mjs.map → service-DCgJxdg1.mjs.map} +1 -1
  65. package/dist/{tailor-db-field-Bn8ZC5lK.d.mts → tailor-db-field-4bMLe25-.d.mts} +5 -1
  66. package/dist/telemetry-C13VIFpT.mjs +4 -0
  67. package/dist/{telemetry-DcL8Fsm_.mjs → telemetry-C1Y56L5E.mjs} +1 -1
  68. package/dist/{telemetry-DcL8Fsm_.mjs.map → telemetry-C1Y56L5E.mjs.map} +1 -1
  69. package/dist/types-DoIG6Nij.mjs +5 -0
  70. package/dist/{types-Duhhsx3R.mjs → types-sir9UPht.mjs} +2 -2
  71. package/dist/{types-Duhhsx3R.mjs.map → types-sir9UPht.mjs.map} +1 -1
  72. package/dist/utils/test/index.d.mts +3 -3
  73. package/dist/utils/test/index.mjs +1 -1
  74. package/dist/utils/test/index.mjs.map +1 -1
  75. package/dist/vitest/environment.mjs +1 -1
  76. package/dist/vitest/environment.mjs.map +1 -1
  77. package/dist/vitest/index.mjs +1 -1
  78. package/dist/vitest/index.mjs.map +1 -1
  79. package/dist/vitest/setup.mjs +1 -1
  80. package/dist/vitest/setup.mjs.map +1 -1
  81. package/dist/{workflow.generated-i7PK4fg-.d.mts → workflow.generated-OYAu_6zX.d.mts} +12 -2
  82. package/docs/cli/application.md +4 -0
  83. package/docs/configuration.md +4 -0
  84. package/docs/generator/builtin.md +35 -4
  85. package/docs/services/workflow.md +0 -5
  86. package/package.json +15 -14
  87. package/postinstall.mjs +1 -1
  88. package/dist/application-CN9Htzup.mjs +0 -4
  89. package/dist/application-TasSqBTD.mjs.map +0 -1
  90. package/dist/client-COfsXV69.mjs +0 -16447
  91. package/dist/client-COfsXV69.mjs.map +0 -1
  92. package/dist/crashreport-CKJwnWsX.mjs.map +0 -1
  93. package/dist/index-BXyS7xKC.d.mts +0 -21
  94. package/dist/job-BOvKyNdT.mjs.map +0 -1
  95. package/dist/runtime-DDYL2Zf1.mjs.map +0 -1
  96. package/dist/seed-DrKY5yIF.mjs.map +0 -1
  97. package/dist/tailordb-Bg9-TZj1.mjs.map +0 -1
  98. package/dist/telemetry-21afNV9_.mjs +0 -4
  99. package/dist/types-BnphjkIJ.mjs +0 -5
@@ -34,4 +34,4 @@ function isSdkBranded(value, kind) {
34
34
 
35
35
  //#endregion
36
36
  export { isSdkBranded as n, brandValue as t };
37
- //# sourceMappingURL=brand-Ll48SMXe.mjs.map
37
+ //# sourceMappingURL=brand-D-d15jx3.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"brand-Ll48SMXe.mjs","names":[],"sources":["../src/utils/brand.ts"],"sourcesContent":["// Symbol.for ensures the same symbol is returned across different ESM module instances,\n// avoiding identity mismatches when multiple copies of the SDK are loaded.\nexport const SDK_BRAND: unique symbol = Symbol.for(\"tailor-platform/sdk\");\n\nexport type SdkBrandKind =\n | \"tailordb-type\"\n | \"resolver\"\n | \"executor\"\n | \"workflow\"\n | \"workflow-job\"\n | \"wait-point\";\n\n/**\n * Adds a non-enumerable SDK brand symbol to the given object (in-place).\n * The brand stores the kind so service loaders can distinguish between\n * different SDK object types (e.g. a type loader skips executors).\n * @param value - The object to brand\n * @param kind - The kind of SDK object\n * @returns The same object with the brand applied\n */\nexport function brandValue<T extends object>(value: T, kind: SdkBrandKind): T {\n Object.defineProperty(value, SDK_BRAND, {\n value: kind,\n enumerable: false,\n configurable: false,\n writable: false,\n });\n return value;\n}\n\n/**\n * Checks whether the given value has been branded by the SDK.\n * When kind is specified, only returns true if the brand matches that kind.\n * Accepts a single kind or an array of kinds for multi-kind matching.\n * @param value - The value to check\n * @param kind - Optional kind or kinds to match against\n * @returns True if the value has the SDK brand symbol (and matches kind if specified)\n */\nexport function isSdkBranded(\n value: unknown,\n kind?: SdkBrandKind | readonly SdkBrandKind[],\n): boolean {\n if (value === null || typeof value !== \"object\" || !(SDK_BRAND in value)) return false;\n const stored = (value as Record<symbol, unknown>)[SDK_BRAND];\n // No kind filter → any brand matches. Legacy `true` brand → matches any kind.\n return (\n kind === undefined ||\n stored === true ||\n (Array.isArray(kind) ? kind.includes(stored as SdkBrandKind) : stored === kind)\n );\n}\n"],"mappings":";;AAEA,MAAa,YAA2B,OAAO,IAAI,sBAAsB;;;;;;;;;AAkBzE,SAAgB,WAA6B,OAAU,MAAuB;AAC5E,QAAO,eAAe,OAAO,WAAW;EACtC,OAAO;EACP,YAAY;EACZ,cAAc;EACd,UAAU;EACX,CAAC;AACF,QAAO;;;;;;;;;;AAWT,SAAgB,aACd,OACA,MACS;AACT,KAAI,UAAU,QAAQ,OAAO,UAAU,YAAY,EAAE,aAAa,OAAQ,QAAO;CACjF,MAAM,SAAU,MAAkC;AAElD,QACE,SAAS,UACT,WAAW,SACV,MAAM,QAAQ,KAAK,GAAG,KAAK,SAAS,OAAuB,GAAG,WAAW"}
1
+ {"version":3,"file":"brand-D-d15jx3.mjs","names":[],"sources":["../src/utils/brand.ts"],"sourcesContent":["// Symbol.for ensures the same symbol is returned across different ESM module instances,\n// avoiding identity mismatches when multiple copies of the SDK are loaded.\nexport const SDK_BRAND: unique symbol = Symbol.for(\"tailor-platform/sdk\");\n\nexport type SdkBrandKind =\n | \"tailordb-type\"\n | \"resolver\"\n | \"executor\"\n | \"workflow\"\n | \"workflow-job\"\n | \"wait-point\";\n\n/**\n * Adds a non-enumerable SDK brand symbol to the given object (in-place).\n * The brand stores the kind so service loaders can distinguish between\n * different SDK object types (e.g. a type loader skips executors).\n * @param value - The object to brand\n * @param kind - The kind of SDK object\n * @returns The same object with the brand applied\n */\nexport function brandValue<T extends object>(value: T, kind: SdkBrandKind): T {\n Object.defineProperty(value, SDK_BRAND, {\n value: kind,\n enumerable: false,\n configurable: false,\n writable: false,\n });\n return value;\n}\n\n/**\n * Checks whether the given value has been branded by the SDK.\n * When kind is specified, only returns true if the brand matches that kind.\n * Accepts a single kind or an array of kinds for multi-kind matching.\n * @param value - The value to check\n * @param kind - Optional kind or kinds to match against\n * @returns True if the value has the SDK brand symbol (and matches kind if specified)\n */\nexport function isSdkBranded(\n value: unknown,\n kind?: SdkBrandKind | readonly SdkBrandKind[],\n): boolean {\n if (value === null || typeof value !== \"object\" || !(SDK_BRAND in value)) return false;\n const stored = (value as Record<symbol, unknown>)[SDK_BRAND];\n // No kind filter → any brand matches. Legacy `true` brand → matches any kind.\n return (\n kind === undefined ||\n stored === true ||\n (Array.isArray(kind) ? kind.includes(stored as SdkBrandKind) : stored === kind)\n );\n}\n"],"mappings":";;AAEA,MAAa,YAA2B,OAAO,IAAI,sBAAsB;;;;;;;;;AAkBzE,SAAgB,WAA6B,OAAU,MAAuB;CAC5E,OAAO,eAAe,OAAO,WAAW;EACtC,OAAO;EACP,YAAY;EACZ,cAAc;EACd,UAAU;EACX,CAAC;CACF,OAAO;;;;;;;;;;AAWT,SAAgB,aACd,OACA,MACS;CACT,IAAI,UAAU,QAAQ,OAAO,UAAU,YAAY,EAAE,aAAa,QAAQ,OAAO;CACjF,MAAM,SAAU,MAAkC;CAElD,OACE,SAAS,UACT,WAAW,SACV,MAAM,QAAQ,KAAK,GAAG,KAAK,SAAS,OAAuB,GAAG,WAAW"}
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { G as PATScope, R as AuthInvokerSchema, c as fetchUserInfo, d as initOperatorClient, h as userAgent, i as fetchAll, j as FunctionExecution_Type, n as closeConnectionPool, o as fetchPaged, s as fetchPlatformMachineUserToken, u as initOAuth2Client } from "../client-COfsXV69.mjs";
3
+ import { G as PATScope, R as AuthInvokerSchema, c as fetchUserInfo, d as initOperatorClient, h as userAgent, i as fetchAll, j as FunctionExecution_Type, n as closeConnectionPool, o as fetchPaged, s as fetchPlatformMachineUserToken, u as initOAuth2Client } from "../client-_kHh0Pip.mjs";
4
4
  import { n as logger, r as styles } from "../logger-DTNAMYGy.mjs";
5
- import { $ as deleteCommand$3, At as executionsCommand, C as listCommand$13, Cn as toPageDirection, Ct as jobsCommand, E as resumeCommand, Et as startCommand, F as showCommand, Ft as getCommand$1, G as getCommand$5, H as treeCommand, I as logBetaWarning, Lt as deploy, N as generateCommand$1, Nt as functionExecutionStatusToString, O as listCommand$12, Ot as getCommand$6, Pt as formatKeyValueTable, R as removeCommand$1, Rt as executeScript, Sn as paginationArgs, T as healthCommand, U as listCommand$11, Vt as parseMigrationLabelNumber, Y as listCommand$10, Z as getCommand$4, Zt as formatMigrationNumber, _n as commonArgs, _t as webhookCommand, at as getCommand$3, b as createCommand$4, bn as isVerbose, bt as listCommand$6, c as listCommand$14, ct as tokenCommand, dn as trnPrefix, dt as generate, en as getMigrationFilePath, f as restoreCommand, ft as listCommand$7, g as getCommand$7, gn as defineAppCommand, i as updateCommand$4, in as loadDiff, j as truncateCommand, ln as getNamespacesWithMigrations, lt as listCommand$8, m as listCommand$15, mn as apiCommand, mt as getCommand$2, o as removeCommand, pn as prompt, q as updateCommand$2, r as queryCommand, rn as isValidMigrationNumber, rt as listCommand$9, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, tt as createCommand$3, u as inviteCommand, un as sdkNameLabelKey, v as deleteCommand$4, vn as confirmationArgs, vt as triggerCommand, wn as workspaceArgs, xn as pagedLogArgs, yn as deploymentArgs, z as updateCommand$3 } from "../runtime-DDYL2Zf1.mjs";
6
- import { C as loadWorkspaceId, D as writePlatformConfig, E as saveUserTokens, S as loadAccessToken, T as resolveTokens, _ as getDistDir, a as WorkflowJobSchema, b as deleteUserTokens, c as ExecutorSchema, i as resolveInlineSourcemap, l as INVOKER_EXPR, o as ResolverSchema, w as readPlatformConfig, x as fetchLatestToken, y as loadConfig } from "../application-TasSqBTD.mjs";
5
+ import { $ as deleteCommand$3, At as executionsCommand, C as listCommand$13, Cn as toPageDirection, Ct as jobsCommand, E as resumeCommand, Et as startCommand, F as showCommand, Ft as getCommand$1, G as getCommand$5, H as treeCommand, I as logBetaWarning, Lt as deploy, N as generateCommand$1, Nt as functionExecutionStatusToString, O as listCommand$12, Ot as getCommand$6, Pt as formatKeyValueTable, R as removeCommand$1, Rt as executeScript, Sn as paginationArgs, T as healthCommand, U as listCommand$11, Vt as parseMigrationLabelNumber, Y as listCommand$10, Z as getCommand$4, Zt as formatMigrationNumber, _n as commonArgs, _t as webhookCommand, at as getCommand$3, b as createCommand$4, bn as isVerbose, bt as listCommand$6, c as listCommand$14, ct as tokenCommand, dn as trnPrefix, dt as generate, en as getMigrationFilePath, f as restoreCommand, ft as listCommand$7, g as getCommand$7, gn as defineAppCommand, i as updateCommand$4, in as loadDiff, j as truncateCommand, ln as getNamespacesWithMigrations, lt as listCommand$8, m as listCommand$15, mn as apiCommand, mt as getCommand$2, o as removeCommand, pn as prompt, q as updateCommand$2, r as queryCommand, rn as isValidMigrationNumber, rt as listCommand$9, t as isNativeTypeScriptRuntime, tn as getMigrationFiles, tt as createCommand$3, u as inviteCommand, un as sdkNameLabelKey, v as deleteCommand$4, vn as confirmationArgs, vt as triggerCommand, wn as workspaceArgs, xn as pagedLogArgs, yn as deploymentArgs, z as updateCommand$3 } from "../runtime-CNg0w27y.mjs";
6
+ import { D as saveUserTokens, E as resolveTokens, O as writePlatformConfig, S as loadAccessToken, T as readPlatformConfig, _ as getDistDir, a as WorkflowJobSchema, b as deleteUserTokens, c as ExecutorSchema, i as resolveInlineSourcemap, l as INVOKER_EXPR, o as ResolverSchema, w as loadWorkspaceId, x as fetchLatestToken, y as loadConfig } from "../application-DUENhx4Y.mjs";
7
7
  import { t as multiline } from "../multiline-e3IpANmS.mjs";
8
8
  import { t as readPackageJson } from "../package-json-6Px8bDpG.mjs";
9
- import { n as isCLIError } from "../errors-wNQxQQBH.mjs";
10
- import { a as JSON_FOOTER_MARKER, i as CRASH_LOG_EXTENSION, o as parseCrashReportConfig, r as sendCrashReport, t as initCrashReporting } from "../crashreport-CKJwnWsX.mjs";
9
+ import { n as isCLIError } from "../errors-pMPXghkO.mjs";
10
+ import { a as JSON_FOOTER_MARKER, i as CRASH_LOG_EXTENSION, o as parseCrashReportConfig, r as sendCrashReport, t as initCrashReporting } from "../crashreport-CvmdFs4i.mjs";
11
11
  import { createRequire } from "node:module";
12
12
  import { arg, defineCommand, runCommand, runMain } from "politty";
13
13
  import { withCompletionCommand } from "politty/completion";
@@ -19,10 +19,10 @@ import { dirname, resolve } from "pathe";
19
19
  import { pathToFileURL } from "node:url";
20
20
  import { generateCodeVerifier } from "@badgateway/oauth2-client";
21
21
  import { Code, ConnectError } from "@connectrpc/connect";
22
- import * as http from "node:http";
23
- import * as crypto from "node:crypto";
24
22
  import { resolvePackageJSON, resolveTSConfig } from "pkg-types";
25
23
  import { create } from "@bufbuild/protobuf";
24
+ import * as crypto from "node:crypto";
25
+ import * as http from "node:http";
26
26
  import open from "open";
27
27
  import * as rolldown from "rolldown";
28
28
  import { TraceMap, generatedPositionFor, originalPositionFor } from "@jridgewell/trace-mapping";
@@ -388,7 +388,7 @@ const deployCommand$1 = defineAppCommand({
388
388
  "clean-cache": arg(z.boolean().optional(), { description: "Clean the bundle cache before building" })
389
389
  }).strict(),
390
390
  run: async (args) => {
391
- const { initTelemetry } = await import("../telemetry-21afNV9_.mjs");
391
+ const { initTelemetry } = await import("../telemetry-C13VIFpT.mjs");
392
392
  await initTelemetry();
393
393
  await deploy({
394
394
  workspaceId: args["workspace-id"],
@@ -1192,7 +1192,7 @@ async function detectFunctionType(options) {
1192
1192
  const rawInput = module.default.input;
1193
1193
  let inputSchema;
1194
1194
  if (rawInput) {
1195
- const { t } = await import("../types-BnphjkIJ.mjs");
1195
+ const { t } = await import("../types-DoIG6Nij.mjs");
1196
1196
  inputSchema = t.object(rawInput);
1197
1197
  }
1198
1198
  return {
@@ -1565,7 +1565,7 @@ const generateCommand = defineAppCommand({
1565
1565
  })
1566
1566
  }).strict(),
1567
1567
  run: async (args) => {
1568
- const { initTelemetry } = await import("../telemetry-21afNV9_.mjs");
1568
+ const { initTelemetry } = await import("../telemetry-C13VIFpT.mjs");
1569
1569
  await initTelemetry();
1570
1570
  await generate({
1571
1571
  configPath: args.config,
@@ -2470,7 +2470,7 @@ var setup_npm_default = "- uses: actions/setup-node@53b83947a5a98c8d113130e56537
2470
2470
 
2471
2471
  //#endregion
2472
2472
  //#region src/cli/commands/setup/github/setup-pnpm.yml
2473
- var setup_pnpm_default = "- uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4.4.0\n- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0\n with:\n node-version-file: package.json\n cache: pnpm\n- run: pnpm install --frozen-lockfile\n";
2473
+ var setup_pnpm_default = "- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8\n- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0\n with:\n node-version-file: package.json\n cache: pnpm\n- run: pnpm install --frozen-lockfile\n";
2474
2474
 
2475
2475
  //#endregion
2476
2476
  //#region src/cli/commands/setup/github/setup-yarn.yml
@@ -3771,9 +3771,9 @@ const upgradeCommand = defineAppCommand({
3771
3771
  })
3772
3772
  }).strict(),
3773
3773
  run: async (args) => {
3774
- const { initTelemetry } = await import("../telemetry-21afNV9_.mjs");
3774
+ const { initTelemetry } = await import("../telemetry-C13VIFpT.mjs");
3775
3775
  await initTelemetry();
3776
- const { upgrade } = await import("../service-obEU5gSM.mjs");
3776
+ const { upgrade } = await import("../service-DCgJxdg1.mjs");
3777
3777
  await upgrade({
3778
3778
  from: args.from,
3779
3779
  dryRun: args["dry-run"],
@@ -4189,11 +4189,11 @@ runMain(mainCommand, {
4189
4189
  if (isVerbose() && error.stack) logger.debug(`\nStack trace:\n${error.stack}`);
4190
4190
  } else logger.error(`Unknown error: ${error}`);
4191
4191
  if (!isCLIError(error) && (!(error instanceof Error) || error instanceof TypeError || error instanceof RangeError)) {
4192
- const { reportCrash } = await import("../crashreport-B8lVOx0U.mjs");
4192
+ const { reportCrash } = await import("../crashreport-DHJuSmUc.mjs");
4193
4193
  await reportCrash(error, "handledError");
4194
4194
  }
4195
4195
  }
4196
- const { shutdownTelemetry } = await import("../telemetry-21afNV9_.mjs");
4196
+ const { shutdownTelemetry } = await import("../telemetry-C13VIFpT.mjs");
4197
4197
  await shutdownTelemetry();
4198
4198
  }
4199
4199
  });