@uipath/api-workflow-tool 1.202.0 → 1.203.0-preview.160

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.
@@ -2102,6 +2102,18 @@ var require_expression_handler = __commonJS(function(exports) {
2102
2102
  Object.defineProperty(exports, "__esModule", { value: true });
2103
2103
  });
2104
2104
 
2105
+ // ../../node_modules/@uipath/api-workflow-executor/dist/contracts/trace-context-provider.js
2106
+ var require_trace_context_provider = __commonJS(function(exports) {
2107
+ Object.defineProperty(exports, "__esModule", { value: true });
2108
+ exports.noopTraceContextProvider = undefined;
2109
+ exports.noopTraceContextProvider = {
2110
+ current: () => {
2111
+ return;
2112
+ },
2113
+ runInSpan: (_context, fn) => fn()
2114
+ };
2115
+ });
2116
+
2105
2117
  // ../../node_modules/@uipath/api-workflow-executor/dist/contracts/workflow-executor-options.js
2106
2118
  var require_workflow_executor_options = __commonJS(function(exports) {
2107
2119
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -2136,131 +2148,16 @@ var require_contracts = __commonJS(function(exports) {
2136
2148
  };
2137
2149
  Object.defineProperty(exports, "__esModule", { value: true });
2138
2150
  __exportStar(require_expression_handler(), exports);
2151
+ __exportStar(require_trace_context_provider(), exports);
2139
2152
  __exportStar(require_workflow_executor_options(), exports);
2140
2153
  __exportStar(require_workflow_logger(), exports);
2141
2154
  });
2142
2155
 
2143
- // ../../node_modules/@uipath/tracing/dist/cjs/src/utils/otel-id.js
2144
- var require_otel_id = __commonJS(function(exports) {
2145
- Object.defineProperty(exports, "__esModule", { value: true });
2146
- exports.SpanId = exports.TraceId = undefined;
2147
- function randomHex(byteLength) {
2148
- const webCrypto = globalThis.crypto;
2149
- if (webCrypto?.getRandomValues === undefined) {
2150
- throw new Error("Web Crypto API is unavailable; @uipath/tracing requires globalThis.crypto (browser, Node >= 20, or Deno).");
2151
- }
2152
- const bytes = new Uint8Array(byteLength);
2153
- webCrypto.getRandomValues(bytes);
2154
- return Array.from(bytes, (b) => b.toString(16).padStart(2, "0")).join("");
2155
- }
2156
- exports.TraceId = {
2157
- generate() {
2158
- return randomHex(16);
2159
- },
2160
- fromUuid(uuid) {
2161
- return uuid.replace(/-/g, "").toLowerCase();
2162
- },
2163
- toUuid(hex) {
2164
- if (hex.length !== 32)
2165
- throw new Error(`Invalid OTEL trace ID length: ${hex.length}`);
2166
- return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-${hex.slice(12, 16)}-${hex.slice(16, 20)}-${hex.slice(20)}`;
2167
- },
2168
- isValid(s) {
2169
- return s.length === 32 && /^[0-9a-fA-F]{32}$/.test(s);
2170
- }
2171
- };
2172
- exports.SpanId = {
2173
- generate() {
2174
- return randomHex(8);
2175
- },
2176
- fromUuid(uuid) {
2177
- return uuid.replace(/-/g, "").slice(16).toLowerCase();
2178
- },
2179
- toUuid(hex) {
2180
- if (hex.length !== 16)
2181
- throw new Error(`Invalid OTEL span ID length: ${hex.length}`);
2182
- const padded = hex.padStart(32, "0");
2183
- return `${padded.slice(0, 8)}-${padded.slice(8, 12)}-${padded.slice(12, 16)}-${padded.slice(16, 20)}-${padded.slice(20)}`;
2184
- },
2185
- isValid(s) {
2186
- return s.length === 16 && /^[0-9a-fA-F]{16}$/.test(s);
2187
- }
2188
- };
2189
- });
2190
-
2191
- // ../../node_modules/@uipath/tracing/dist/cjs/src/types/trace-parent.js
2192
- var require_trace_parent = __commonJS(function(exports) {
2193
- Object.defineProperty(exports, "__esModule", { value: true });
2194
- exports.TraceParent = exports.W3C_TRACE_PARENT_HEADER_NAME = exports.TRACE_PARENT_HEADER_NAME = undefined;
2195
- var otel_id_js_1 = require_otel_id();
2196
- exports.TRACE_PARENT_HEADER_NAME = "x-uipath-traceparent-id";
2197
- exports.W3C_TRACE_PARENT_HEADER_NAME = "traceparent";
2198
- var HEX_2 = /^[0-9a-fA-F]{2}$/;
2199
- function isAllZero(s) {
2200
- return /^0+$/.test(s);
2201
- }
2202
-
2203
- class TraceParent {
2204
- version;
2205
- traceId;
2206
- parentId;
2207
- traceFlags;
2208
- constructor(version, traceId, parentId, traceFlags) {
2209
- this.version = version;
2210
- this.traceId = traceId;
2211
- this.parentId = parentId;
2212
- this.traceFlags = traceFlags;
2213
- }
2214
- static create(traceId, parentId, traceFlags = "01") {
2215
- if (!otel_id_js_1.TraceId.isValid(traceId) || isAllZero(traceId)) {
2216
- throw new Error(`Invalid trace ID: '${traceId}'. Must be exactly 32 hex characters and not all-zero.`);
2217
- }
2218
- if (!otel_id_js_1.SpanId.isValid(parentId) || isAllZero(parentId)) {
2219
- throw new Error(`Invalid parent span ID: '${parentId}'. Must be exactly 16 hex characters and not all-zero.`);
2220
- }
2221
- if (!HEX_2.test(traceFlags)) {
2222
- throw new Error(`Invalid trace flags: '${traceFlags}'. Must be exactly 2 hex characters.`);
2223
- }
2224
- return new TraceParent("00", traceId, parentId, traceFlags);
2225
- }
2226
- static parse(headerValue) {
2227
- const result = TraceParent.tryParse(headerValue);
2228
- if (result === undefined) {
2229
- throw new Error(`Invalid traceparent header: '${headerValue}'. ` + "Expected format: {version}-{trace-id}-{parent-id}-{trace-flags} " + "(e.g. '00-4bf92f3577b34da6a3ce929d0e0e4736-00f067aa0ba902b7-01').");
2230
- }
2231
- return result;
2232
- }
2233
- static tryParse(headerValue) {
2234
- if (headerValue === null || headerValue === undefined || headerValue.trim() === "") {
2235
- return;
2236
- }
2237
- const parts = headerValue.split("-");
2238
- if (parts.length !== 4)
2239
- return;
2240
- const [version, traceId, parentId, traceFlags] = parts;
2241
- if (!HEX_2.test(version) || version.toLowerCase() === "ff")
2242
- return;
2243
- if (!otel_id_js_1.TraceId.isValid(traceId) || isAllZero(traceId))
2244
- return;
2245
- if (!otel_id_js_1.SpanId.isValid(parentId) || isAllZero(parentId))
2246
- return;
2247
- if (!HEX_2.test(traceFlags))
2248
- return;
2249
- return new TraceParent(version, traceId, parentId, traceFlags);
2250
- }
2251
- toHeaderValue() {
2252
- return `${this.version}-${this.traceId}-${this.parentId}-${this.traceFlags}`;
2253
- }
2254
- }
2255
- exports.TraceParent = TraceParent;
2256
- });
2257
-
2258
2156
  // ../../node_modules/@uipath/api-workflow-executor/dist/constants/constants.js
2259
2157
  var require_constants = __commonJS(function(exports) {
2260
2158
  Object.defineProperty(exports, "__esModule", { value: true });
2261
2159
  exports.OPTIONAL_INT_SVC_PARAMETERS = exports.SEMICOLON = exports.EXPR_SUFFIX = exports.EXPR_PREFIX = exports.DATASERVICE_ENTITY_FOLDER_KEY_QUERY_PARAM = exports.DATASERVICE_ENTITY_NAME_QUERY_PARAM = exports.DATASERVICE_ENTITY_RESOURCE_PREFIX = exports.DATASERVICE_CONNECTOR_KEY = exports.API_WORKFLOW_SOURCE = exports.ORCHESTRATOR_JOBS_ENDPOINT = exports.ORCHESTRATOR_QUEUE_ITEMS_ENDPOINT = exports.ORCHESTRATOR_CREDENTIALS_ENDPOINT = exports.ORCHESTRATOR_ASSETS_ENDPOINT = exports.ORCHESTRATOR_JOB_RESOURCE_PREFIX = exports.ORCHESTRATOR_QUEUE_ITEMS_RESOURCE_PREFIX = exports.ORCHESTRATOR_ASSET_RESOURCE_PREFIX = exports.ORCHESTRATOR_CONNECTOR_KEY = exports.X_UIPATH_LICENSING_CONTEXT = exports.X_UIPATH_IS_DESIGN_API = exports.X_UIPATH_FOLDERKEY = exports.X_UIPATH_JOB_ID = exports.X_UIPATH_JOBKEY = exports.X_UIPATH_CONNECTOR_KEY = exports.X_UIPATH_ORIGINATOR = exports.X_UIPATH_SOURCE = exports.X_UIPATH_TRACE_BAGGAGE = exports.X_UIPATH_TRACE_VIEW_PARENT_SPAN_ID = exports.X_UIPATH_TRACE_VIEW_TRACE_ID = exports.X_UIPATH_CORRELATION_ID = exports.X_UIPATH_INTERNAL_ORG_ID = exports.X_UIPATH_INTERNAL_TENANT_ID = exports.X_UIPATH_TRACEPARENT_ID = exports.TraceparentHeader = exports.BEARER = exports.UIPATH_WORKFLOW_RUNTIME_VERSION = exports.UIPATH_WORKFLOW_RUNTIME_NAME = exports.WORKFLOW_LEVEL_VARIABLES = exports.$INPUT = exports.$WORKFLOW = exports.$CONTEXT = exports.ERROR = exports.END = exports.EXIT = exports.INPUT = exports.WORKFLOW = exports.CONTEXT = exports.TASK_INVOKER = exports.EXTENSION_TYPE = exports.SCRIPT = exports.ApiWorkflowJobSource = undefined;
2262
2160
  exports.UTC_TIMEZONE_INDICATOR = exports.DEFAULT_TIMEZONE_OFFSET = undefined;
2263
- var trace_parent_1 = require_trace_parent();
2264
2161
  exports.ApiWorkflowJobSource = "UiPath.ApiWorkflow.Executor";
2265
2162
  exports.SCRIPT = "script";
2266
2163
  exports.EXTENSION_TYPE = "extensionType";
@@ -2278,8 +2175,8 @@ var require_constants = __commonJS(function(exports) {
2278
2175
  exports.UIPATH_WORKFLOW_RUNTIME_NAME = "UiPath.API.Workflow.Runtime";
2279
2176
  exports.UIPATH_WORKFLOW_RUNTIME_VERSION = "1.0.0";
2280
2177
  exports.BEARER = "Bearer";
2281
- exports.TraceparentHeader = trace_parent_1.W3C_TRACE_PARENT_HEADER_NAME;
2282
- exports.X_UIPATH_TRACEPARENT_ID = trace_parent_1.TRACE_PARENT_HEADER_NAME;
2178
+ exports.TraceparentHeader = "traceparent";
2179
+ exports.X_UIPATH_TRACEPARENT_ID = "x-uipath-traceparent-id";
2283
2180
  exports.X_UIPATH_INTERNAL_TENANT_ID = "x-uipath-internal-tenantid";
2284
2181
  exports.X_UIPATH_INTERNAL_ORG_ID = "x-uipath-internal-orgid";
2285
2182
  exports.X_UIPATH_CORRELATION_ID = "x-uipath-correlation-id";
@@ -12966,18 +12863,14 @@ const redactSecrets = (value, depth) => {
12966
12863
  var require_js_expression_handler = __commonJS(function(exports) {
12967
12864
  Object.defineProperty(exports, "__esModule", { value: true });
12968
12865
  exports.JsExpressionHandler = undefined;
12969
- var api_workflow_commons_1 = require_dist();
12970
12866
  var base_worker_expression_handler_1 = require_base_worker_expression_handler();
12971
12867
  var redact_secrets_snippet_1 = require_redact_secrets_snippet();
12972
12868
  var NodeWorker = null;
12973
12869
  try {
12974
- if (!(0, api_workflow_commons_1.isRunningInBrowser)()) {
12975
- const workerThreads = __require("worker_threads");
12976
- NodeWorker = workerThreads.Worker;
12870
+ if (true) {
12871
+ NodeWorker = __require("worker_threads").Worker ?? null;
12977
12872
  }
12978
- } catch (error) {
12979
- console.error("Failed to import worker_threads:", error);
12980
- }
12873
+ } catch {}
12981
12874
 
12982
12875
  class JsExpressionHandler extends base_worker_expression_handler_1.BaseWorkerExpressionHandler {
12983
12876
  static get EXPRESSION_EVALUATOR() {
@@ -13764,14 +13657,14 @@ var require_js_expression_handler = __commonJS(function(exports) {
13764
13657
  return JsExpressionHandler.EXPRESSION_EVALUATOR;
13765
13658
  }
13766
13659
  buildWorker(workerScript) {
13767
- if ((0, api_workflow_commons_1.isRunningInBrowser)()) {
13660
+ if (NodeWorker) {
13661
+ return { worker: new NodeWorker(workerScript, { eval: true }), workerUrl: null };
13662
+ }
13663
+ if (typeof Worker !== "undefined" && typeof Blob !== "undefined" && typeof URL !== "undefined" && typeof URL.createObjectURL === "function") {
13768
13664
  const blob = new Blob([workerScript], { type: "application/javascript" });
13769
13665
  const workerUrl = URL.createObjectURL(blob);
13770
13666
  return { worker: new Worker(workerUrl), workerUrl };
13771
13667
  }
13772
- if (NodeWorker) {
13773
- return { worker: new NodeWorker(workerScript, { eval: true }), workerUrl: null };
13774
- }
13775
13668
  throw new Error("No worker implementation available");
13776
13669
  }
13777
13670
  }
@@ -13962,39 +13855,58 @@ var require_telemetry_data_formatter = __commonJS(function(exports) {
13962
13855
  });
13963
13856
 
13964
13857
  // ../../node_modules/@uipath/api-workflow-executor/dist/utils/otel-id.js
13965
- var require_otel_id2 = __commonJS(function(exports) {
13858
+ var require_otel_id = __commonJS(function(exports) {
13966
13859
  Object.defineProperty(exports, "__esModule", { value: true });
13967
13860
  exports.newOtelSpanId = newOtelSpanId;
13968
13861
  exports.toOtelTraceIdOrUndefined = toOtelTraceIdOrUndefined;
13969
13862
  exports.toOtelTraceId = toOtelTraceId;
13970
13863
  exports.toOtelSpanId = toOtelSpanId;
13971
- var otel_id_1 = require_otel_id();
13864
+ var HEX32 = /^[0-9a-f]{32}$/;
13865
+ var HEX16 = /^[0-9a-f]{16}$/;
13866
+ function stripToHex(id) {
13867
+ return id.replace(/-/g, "").toLowerCase();
13868
+ }
13869
+ function randomHex(bytes) {
13870
+ if (!globalThis.crypto?.getRandomValues) {
13871
+ throw new Error("Web Crypto (globalThis.crypto.getRandomValues) is unavailable in this runtime.");
13872
+ }
13873
+ const arr = new Uint8Array(bytes);
13874
+ globalThis.crypto.getRandomValues(arr);
13875
+ return Array.from(arr, (b) => b.toString(16).padStart(2, "0")).join("");
13876
+ }
13877
+ function randomNonZeroHex(bytes) {
13878
+ for (;; ) {
13879
+ const hex = randomHex(bytes);
13880
+ if (!/^0+$/.test(hex))
13881
+ return hex;
13882
+ }
13883
+ }
13972
13884
  function newOtelSpanId() {
13973
- return otel_id_1.SpanId.generate();
13885
+ return randomNonZeroHex(8);
13974
13886
  }
13975
13887
  function toOtelTraceIdOrUndefined(id) {
13976
13888
  if (id) {
13977
- const hex = otel_id_1.TraceId.fromUuid(id);
13978
- if (otel_id_1.TraceId.isValid(hex) && !/^0+$/.test(hex))
13889
+ const hex = stripToHex(id);
13890
+ if (HEX32.test(hex) && hex !== "0".repeat(32))
13979
13891
  return hex;
13980
13892
  }
13981
13893
  return;
13982
13894
  }
13983
13895
  function toOtelTraceId(id) {
13984
- return toOtelTraceIdOrUndefined(id) ?? otel_id_1.TraceId.generate();
13896
+ return toOtelTraceIdOrUndefined(id) ?? randomNonZeroHex(16);
13985
13897
  }
13986
13898
  function toOtelSpanId(id) {
13987
13899
  if (id) {
13988
- const dashless = id.replace(/-/g, "").toLowerCase();
13989
- if (otel_id_1.SpanId.isValid(dashless) && !/^0+$/.test(dashless))
13990
- return dashless;
13991
- if (otel_id_1.TraceId.isValid(dashless)) {
13992
- const last16 = otel_id_1.SpanId.fromUuid(id);
13993
- if (!/^0+$/.test(last16))
13900
+ const hex = stripToHex(id);
13901
+ if (HEX16.test(hex) && hex !== "0".repeat(16))
13902
+ return hex;
13903
+ if (HEX32.test(hex)) {
13904
+ const last16 = hex.slice(16);
13905
+ if (last16 !== "0".repeat(16))
13994
13906
  return last16;
13995
13907
  }
13996
13908
  }
13997
- return otel_id_1.SpanId.generate();
13909
+ return newOtelSpanId();
13998
13910
  }
13999
13911
  });
14000
13912
 
@@ -14006,7 +13918,7 @@ var require_trace_view_data_formatter = __commonJS(function(exports) {
14006
13918
  var models_1 = require_models2();
14007
13919
  var utils_1 = require_utils3();
14008
13920
  var generic_utils_1 = require_generic_utils2();
14009
- var otel_id_1 = require_otel_id2();
13921
+ var otel_id_1 = require_otel_id();
14010
13922
 
14011
13923
  class TraceViewDataFormatter {
14012
13924
  constructor(workflowConfig, workflowName, apiWorkflowSpanId) {
@@ -14446,18 +14358,22 @@ var require_script_task_handler = __commonJS(function(exports) {
14446
14358
  exports.DefaultScriptTaskHandler = DefaultScriptTaskHandler;
14447
14359
  });
14448
14360
 
14449
- // ../../node_modules/@uipath/api-workflow-executor/dist/utils/current-span-store.js
14450
- var require_current_span_store = __commonJS(function(exports) {
14361
+ // ../../node_modules/@uipath/api-workflow-executor/dist/utils/trace-context.js
14362
+ var require_trace_context = __commonJS(function(exports) {
14451
14363
  Object.defineProperty(exports, "__esModule", { value: true });
14452
- exports.runWithSpan = runWithSpan;
14453
- exports.getCurrentTraceParent = getCurrentTraceParent;
14454
- var node_async_hooks_1 = __require("node:async_hooks");
14455
- var currentSpanStorage = new node_async_hooks_1.AsyncLocalStorage;
14456
- function runWithSpan(traceParent, fn) {
14457
- return currentSpanStorage.run(traceParent, fn);
14364
+ exports.setTraceContextProvider = setTraceContextProvider;
14365
+ exports.currentTraceContext = currentTraceContext;
14366
+ exports.runInTraceSpan = runInTraceSpan;
14367
+ var trace_context_provider_1 = require_trace_context_provider();
14368
+ var provider = trace_context_provider_1.noopTraceContextProvider;
14369
+ function setTraceContextProvider(next) {
14370
+ provider = next ?? trace_context_provider_1.noopTraceContextProvider;
14458
14371
  }
14459
- function getCurrentTraceParent() {
14460
- return currentSpanStorage.getStore();
14372
+ function currentTraceContext() {
14373
+ return provider.current();
14374
+ }
14375
+ function runInTraceSpan(context, fn) {
14376
+ return provider.runInSpan(context, fn);
14461
14377
  }
14462
14378
  });
14463
14379
 
@@ -14467,19 +14383,23 @@ var require_trace_header_util = __commonJS(function(exports) {
14467
14383
  exports.buildTraceparent = buildTraceparent;
14468
14384
  exports.isFirstPartyHost = isFirstPartyHost;
14469
14385
  exports.applyOutboundTraceHeaders = applyOutboundTraceHeaders;
14470
- var trace_parent_1 = require_trace_parent();
14471
14386
  var constants_1 = require_constants2();
14472
- var current_span_store_1 = require_current_span_store();
14473
14387
  var internal_service_detector_1 = require_internal_service_detector();
14388
+ var trace_context_1 = require_trace_context();
14389
+ var TRACE_ID_PATTERN = /^[0-9a-fA-F]{32}$/;
14390
+ var PARENT_SPAN_ID_PATTERN = /^[0-9a-fA-F]{16}$/;
14391
+ function isAllZero(hex) {
14392
+ return /^0+$/.test(hex);
14393
+ }
14474
14394
  function buildTraceparent(telemetryConfig) {
14475
- if (!telemetryConfig?.traceId || !telemetryConfig?.parentSpanId) {
14395
+ const { traceId, parentSpanId } = telemetryConfig ?? {};
14396
+ if (!traceId || !parentSpanId) {
14476
14397
  return;
14477
14398
  }
14478
- try {
14479
- return trace_parent_1.TraceParent.create(telemetryConfig.traceId, telemetryConfig.parentSpanId).toHeaderValue();
14480
- } catch {
14399
+ if (!TRACE_ID_PATTERN.test(traceId) || isAllZero(traceId) || !PARENT_SPAN_ID_PATTERN.test(parentSpanId) || isAllZero(parentSpanId)) {
14481
14400
  return;
14482
14401
  }
14402
+ return `00-${traceId.toLowerCase()}-${parentSpanId.toLowerCase()}-01`;
14483
14403
  }
14484
14404
  function isFirstPartyHost(targetUrl, baseUrl) {
14485
14405
  if (!targetUrl) {
@@ -14510,7 +14430,8 @@ var require_trace_header_util = __commonJS(function(exports) {
14510
14430
  if (!opts.firstParty) {
14511
14431
  return headers;
14512
14432
  }
14513
- const traceparent = getHeader(headers, constants_1.TraceparentHeader) ?? (0, current_span_store_1.getCurrentTraceParent)()?.toHeaderValue() ?? buildTraceparent(opts.telemetryConfig);
14433
+ const active = (0, trace_context_1.currentTraceContext)();
14434
+ const traceparent = getHeader(headers, constants_1.TraceparentHeader) ?? buildTraceparent(active ? { traceId: active.traceId, parentSpanId: active.spanId } : undefined) ?? buildTraceparent(opts.telemetryConfig);
14514
14435
  if (traceparent) {
14515
14436
  if (!hasHeader(headers, constants_1.TraceparentHeader)) {
14516
14437
  headers[constants_1.TraceparentHeader] = traceparent;
@@ -25786,9 +25707,9 @@ var require_intsvc_task_handler_util = __commonJS(function(exports) {
25786
25707
  Object.defineProperty(exports, "__esModule", { value: true });
25787
25708
  exports.IntSvcTaskHandlerUtil = undefined;
25788
25709
  var constants_1 = require_constants2();
25789
- var current_span_store_1 = require_current_span_store();
25790
25710
  var date_format_utils_1 = require_date_format_utils();
25791
25711
  var resource_override_resolver_1 = require_resource_override_resolver();
25712
+ var trace_context_1 = require_trace_context();
25792
25713
  var trace_header_util_1 = require_trace_header_util();
25793
25714
 
25794
25715
  class IntSvcTaskHandlerUtil {
@@ -25799,7 +25720,7 @@ var require_intsvc_task_handler_util = __commonJS(function(exports) {
25799
25720
  headers[constants_1.X_UIPATH_CORRELATION_ID] = workflowConfig.telemetryConfig?.traceId || workflowRunId;
25800
25721
  if (workflowConfig?.tracingConfig) {
25801
25722
  headers[constants_1.X_UIPATH_TRACE_VIEW_TRACE_ID] = workflowConfig?.tracingConfig?.traceId;
25802
- headers[constants_1.X_UIPATH_TRACE_VIEW_PARENT_SPAN_ID] = (0, current_span_store_1.getCurrentTraceParent)()?.parentId ?? workflowConfig?.tracingConfig?.parentSpanId;
25723
+ headers[constants_1.X_UIPATH_TRACE_VIEW_PARENT_SPAN_ID] = (0, trace_context_1.currentTraceContext)()?.spanId ?? workflowConfig?.tracingConfig?.parentSpanId;
25803
25724
  }
25804
25725
  (0, trace_header_util_1.applyOutboundTraceHeaders)(headers, {
25805
25726
  telemetryConfig: workflowConfig?.telemetryConfig,
@@ -26220,7 +26141,7 @@ var require_orchestrator_override_applier = __commonJS(function(exports) {
26220
26141
  }
26221
26142
  static replacePathSegment(url, pathPrefix, resourceName) {
26222
26143
  const regex = new RegExp(`${pathPrefix}[^\\/\\?#]+`, "g");
26223
- return url.replace(regex, `${pathPrefix}${encodeURIComponent(resourceName)}`);
26144
+ return url.replace(regex, `${pathPrefix}${resourceName}`);
26224
26145
  }
26225
26146
  static isByteStringSafe(value) {
26226
26147
  for (let i = 0;i < value.length; i++) {
@@ -27145,15 +27066,14 @@ var require_task_invoker = __commonJS(function(exports) {
27145
27066
  var require_task_executor_helper = __commonJS(function(exports) {
27146
27067
  Object.defineProperty(exports, "__esModule", { value: true });
27147
27068
  exports.TaskExecutorHelper = undefined;
27148
- var trace_parent_1 = require_trace_parent();
27149
27069
  var rxjs_1 = require_cjs();
27150
27070
  var constants_1 = require_constants();
27151
27071
  var localization_1 = require_localization();
27152
27072
  var models_1 = require_models2();
27153
27073
  var http_call_mode_1 = require_http_call_mode();
27154
27074
  var utils_1 = require_utils3();
27155
- var current_span_store_1 = require_current_span_store();
27156
- var otel_id_1 = require_otel_id2();
27075
+ var otel_id_1 = require_otel_id();
27076
+ var trace_context_1 = require_trace_context();
27157
27077
  var debug_manager_1 = require_debug_manager();
27158
27078
  var logging_helper_1 = require_logging_helper();
27159
27079
  var serverless_workflow_executor_1 = require_serverless_workflow_executor();
@@ -27254,15 +27174,8 @@ var require_task_executor_helper = __commonJS(function(exports) {
27254
27174
  let result = { success: true, data: {} };
27255
27175
  const taskSpanId = (0, otel_id_1.newOtelSpanId)();
27256
27176
  const platformTraceId = (0, otel_id_1.toOtelTraceIdOrUndefined)(workflowConfig.tracingConfig?.traceId);
27257
- let taskParent;
27258
- if (platformTraceId) {
27259
- try {
27260
- taskParent = trace_parent_1.TraceParent.create(platformTraceId, taskSpanId);
27261
- } catch {
27262
- taskParent = undefined;
27263
- }
27264
- }
27265
- const runInTaskSpan = (fn) => taskParent ? (0, current_span_store_1.runWithSpan)(taskParent, fn) : fn();
27177
+ const taskParent = platformTraceId ? { traceId: platformTraceId, spanId: taskSpanId } : undefined;
27178
+ const runInTaskSpan = (fn) => taskParent ? (0, trace_context_1.runInTraceSpan)(taskParent, fn) : fn();
27266
27179
  try {
27267
27180
  const taskLogParams = {
27268
27181
  taskId: task.name,
@@ -27378,6 +27291,7 @@ var require_serverless_workflow_executor = __commonJS(function(exports) {
27378
27291
  var localization_1 = require_localization();
27379
27292
  var models_1 = require_models2();
27380
27293
  var utils_1 = require_utils3();
27294
+ var trace_context_1 = require_trace_context();
27381
27295
  var debug_manager_1 = require_debug_manager();
27382
27296
  var default_logger_1 = require_default_logger();
27383
27297
  var executor_utils_1 = require_executor_utils();
@@ -27396,6 +27310,9 @@ var require_serverless_workflow_executor = __commonJS(function(exports) {
27396
27310
  this.workflowRunId = workflowRunId || (0, api_workflow_commons_1.getNewGuid)();
27397
27311
  this.workflowExecutionResults = new models_1.WorkflowExecutionResults(this.workflowRunId, workflowConfig.debugConfig?.enableTaskTracking === true);
27398
27312
  this.expressionHandler = (0, expression_handler_factory_1.getExpressionHandler)(workflow, options);
27313
+ if (options?.traceContextProvider) {
27314
+ (0, trace_context_1.setTraceContextProvider)(options.traceContextProvider);
27315
+ }
27399
27316
  this.runtimeExpressionArgs = (0, executor_utils_1.createRuntimeExpressionArgs)(workflow, workflowConfig, this.workflowStartedAt, this.workflowRunId, input);
27400
27317
  this.customTaskHandlerFactories = options?.taskHandlerFactories ?? {};
27401
27318
  }
@@ -28088,7 +28005,7 @@ var UUID_PATTERN = /\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{1
28088
28005
  var EMAIL_PATTERN = /\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}\b/g;
28089
28006
  var JWT_PATTERN = /\beyJ[A-Za-z0-9_-]{10,}\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+/g;
28090
28007
  var LONG_TOKEN_PATTERN = /\b[A-Za-z0-9_-]{40,}\b/g;
28091
- var PADDED_BASE64_PATTERN = /[A-Za-z0-9+/]{16,}={1,2}(?![A-Za-z0-9+/=])/g;
28008
+ var PADDED_BASE64_PATTERN = /(?<![A-Za-z0-9+/])[A-Za-z0-9+/]{16,}={1,2}(?![A-Za-z0-9+/=])/g;
28092
28009
  var BASE64_WITH_PLUS_PATTERN = /[A-Za-z0-9+/]{40,}/g;
28093
28010
  var USER_HOME_PATTERN = /(?<![A-Za-z0-9._-])([/\\])(Users|home|Profiles)([/\\])([^/\\]+)/gi;
28094
28011
  var UNC_PATH_PATTERN = /(^|[\s"'<>|=,;([{])(\\\\[^\s"'<>|]+)/g;
@@ -28135,7 +28052,7 @@ var QUOTED_LITERAL_PATTERN = new RegExp([
28135
28052
  `(?<![A-Za-z0-9])"(?:[^\\
28136
28053
  ]|\\.){2,${QUOTED_LITERAL_MAX_SPAN}}?"(?![A-Za-z0-9])`
28137
28054
  ].join("|"), "g");
28138
- var JSON_BODY_PATTERN = /[{[][^{}[\]]*[:,][^{}[\]]*[\]}]/g;
28055
+ var JSON_BODY_PATTERN = /[{[][^{}[\]:,]*[:,][^{}[\]]*[\]}]/g;
28139
28056
  var COLLAPSED_BODY = "{…}";
28140
28057
  var COLLAPSED_BODY_MARKER = "\x01body\x01";
28141
28058
  var MAX_BODY_NESTING = 8;
@@ -28150,10 +28067,13 @@ function collapseJsonBodies(text) {
28150
28067
  }
28151
28068
  return out.split(COLLAPSED_BODY_MARKER).join(COLLAPSED_BODY);
28152
28069
  }
28153
- var TRAILING_PROSE_PUNCT = /[.,;:!?)\]}>'"]+$/;
28070
+ var TRAILING_PROSE_PUNCT = `.,;:!?)]}>'"`;
28154
28071
  function peelTrailingPunctuation(match) {
28155
- const trailing = match.match(TRAILING_PROSE_PUNCT)?.[0] ?? "";
28156
- return trailing ? [match.slice(0, -trailing.length), trailing] : [match, ""];
28072
+ let end = match.length;
28073
+ while (end > 0 && TRAILING_PROSE_PUNCT.includes(match[end - 1])) {
28074
+ end -= 1;
28075
+ }
28076
+ return [match.slice(0, end), match.slice(end)];
28157
28077
  }
28158
28078
  function redactUrl(raw) {
28159
28079
  try {
@@ -28830,7 +28750,8 @@ function readRegistryValue(keyPath, valueName) {
28830
28750
  }
28831
28751
  const [error, output] = catchError(() => execFileSync("reg", ["query", keyPath, "/v", valueName], {
28832
28752
  encoding: "utf-8",
28833
- stdio: ["pipe", "pipe", "pipe"]
28753
+ stdio: ["pipe", "pipe", "pipe"],
28754
+ windowsHide: true
28834
28755
  }));
28835
28756
  if (error) {
28836
28757
  return "";
@@ -29562,28 +29483,32 @@ function isPlainRecord(value) {
29562
29483
  const prototype = Object.getPrototypeOf(value);
29563
29484
  return prototype === Object.prototype || prototype === null;
29564
29485
  }
29565
- function extractPagedRows(value) {
29486
+ function splitPagedEnvelope(value) {
29566
29487
  if (Array.isArray(value) || !isPlainRecord(value))
29567
29488
  return null;
29568
- const entries = Object.values(value);
29489
+ const entries = Object.entries(value);
29569
29490
  if (entries.length === 0)
29570
29491
  return null;
29571
- let rows = null;
29572
- let hasScalarSibling = false;
29573
- for (const entry of entries) {
29492
+ let found = null;
29493
+ const meta = Object.create(null);
29494
+ for (const [key, entry] of entries) {
29574
29495
  if (Array.isArray(entry)) {
29575
- if (rows !== null)
29496
+ if (found !== null)
29576
29497
  return null;
29577
- rows = entry;
29498
+ found = { key, rows: entry };
29578
29499
  } else if (entry !== null && typeof entry === "object") {
29579
29500
  return null;
29580
29501
  } else {
29581
- hasScalarSibling = true;
29502
+ meta[key] = entry;
29582
29503
  }
29583
29504
  }
29584
- if (rows === null || !hasScalarSibling)
29505
+ if (found === null || Object.keys(meta).length === 0)
29585
29506
  return null;
29586
- return rows;
29507
+ return { ...found, meta };
29508
+ }
29509
+ function extractPagedRows(value) {
29510
+ const paged = splitPagedEnvelope(value);
29511
+ return paged === null ? null : paged.rows;
29587
29512
  }
29588
29513
  function toLowerCamelCaseKey(key) {
29589
29514
  if (!key)
@@ -29687,6 +29612,9 @@ function printOutput(data, format = "json", logFn, asciiSafe = false, tableRowSt
29687
29612
  }
29688
29613
  break;
29689
29614
  }
29615
+ case "markdown":
29616
+ logFn(renderMarkdown(data));
29617
+ break;
29690
29618
  default: {
29691
29619
  const hasData = "Data" in data && data.Data != null;
29692
29620
  const pagedRows = hasData ? extractPagedRows(data.Data) : null;
@@ -29711,6 +29639,10 @@ function logOutput(data, format = "json", tableRowStyle) {
29711
29639
  printOutput(data, format, (msg) => sink.writeOut(`${msg}
29712
29640
  `), needsAsciiSafeJson(sink), styleFn);
29713
29641
  }
29642
+ var PLUMBING_KEYS = new Set(["code", "log"]);
29643
+ function isPlumbingKey(key) {
29644
+ return PLUMBING_KEYS.has(key.toLowerCase());
29645
+ }
29714
29646
  function cellToString(val) {
29715
29647
  return val != null && typeof val === "object" ? JSON.stringify(val) : String(val ?? "");
29716
29648
  }
@@ -29726,7 +29658,7 @@ function wrapText(text, width) {
29726
29658
  function printTable(data, logFn, externalLogValue, tableRowStyle) {
29727
29659
  if (data.length === 0)
29728
29660
  return;
29729
- const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
29661
+ const keys = Object.keys(data[0]).filter((key) => !isPlumbingKey(key));
29730
29662
  const maxWidths = keys.map((key) => Math.max(key.length, ...data.map((item) => cellToString(item[key]).length)));
29731
29663
  const header = keys.map((key, i) => key.padEnd(maxWidths[i])).join(" | ");
29732
29664
  logFn(header);
@@ -29748,7 +29680,7 @@ function isNonEmptyPlainObject(value) {
29748
29680
  }
29749
29681
  var NESTED_INDENT = " ";
29750
29682
  function printVerticalTable(data, logFn = console.log, externalLogValue) {
29751
- const keys = Object.keys(data).filter((key) => !["code", "log"].includes(key.toLowerCase()));
29683
+ const keys = Object.keys(data).filter((key) => !isPlumbingKey(key));
29752
29684
  if (keys.length === 0)
29753
29685
  return;
29754
29686
  const isBlockValue = (value) => isPlainObjectArray(value) || isNonEmptyPlainObject(value);
@@ -29779,7 +29711,7 @@ function printVerticalTable(data, logFn = console.log, externalLogValue) {
29779
29711
  function printResizableTable(data, logFn = console.log, externalLogValue, availableWidth, tableRowStyle) {
29780
29712
  if (data.length === 0)
29781
29713
  return;
29782
- const keys = Object.keys(data[0]).filter((key) => !["code", "log"].includes(key.toLowerCase()));
29714
+ const keys = Object.keys(data[0]).filter((key) => !isPlumbingKey(key));
29783
29715
  if (keys.length === 0)
29784
29716
  return;
29785
29717
  if (!process.stdout.isTTY) {
@@ -29853,6 +29785,220 @@ function printResizableTable(data, logFn = console.log, externalLogValue, availa
29853
29785
  logFn(`Log: ${externalLogValue}`);
29854
29786
  }
29855
29787
  }
29788
+ var MARKDOWN_MAX_CELL = 200;
29789
+ var MARKDOWN_MAX_DEPTH = 3;
29790
+ function markdownHeading(depth) {
29791
+ return "#".repeat(Math.min(3 + depth, 6));
29792
+ }
29793
+ var BACKTICK_RUN = /`+/g;
29794
+ function fencedBlock(text) {
29795
+ const first = text.trimStart()[0];
29796
+ const language = first === "<" ? "xml" : first === "{" || first === "[" ? "json" : "";
29797
+ const longestRun = Math.max(0, ...Array.from(text.matchAll(BACKTICK_RUN), (match) => match[0].length));
29798
+ const fence = "`".repeat(Math.max(3, longestRun + 1));
29799
+ return `${fence}${language}
29800
+ ${text}
29801
+ ${fence}`;
29802
+ }
29803
+ function collapseNewlineRuns(text) {
29804
+ return text.split(/(\s+)/).map((part, index) => index % 2 === 1 && part.includes(`
29805
+ `) ? " " : part).join("");
29806
+ }
29807
+ function markdownCell(value) {
29808
+ const text = value instanceof Date ? value.toISOString() : cellToString(value);
29809
+ return collapseNewlineRuns(text).replace(/\|/g, "\\|");
29810
+ }
29811
+ function markdownLabel(key) {
29812
+ return collapseNewlineRuns(key).replace(/[\\`*|]/g, "\\$&");
29813
+ }
29814
+ function withoutPlumbing(record) {
29815
+ const kept = Object.create(null);
29816
+ for (const [key, value] of Object.entries(record)) {
29817
+ if (!isPlumbingKey(key))
29818
+ kept[key] = value;
29819
+ }
29820
+ return kept;
29821
+ }
29822
+ function rowsWithoutPlumbing(rows) {
29823
+ return rows.map((row) => isPlainRecord(row) ? withoutPlumbing(row) : row);
29824
+ }
29825
+ function markdownTable(rows) {
29826
+ const columns = [];
29827
+ const seen = new Set;
29828
+ for (const row of rows) {
29829
+ for (const key of Object.keys(row)) {
29830
+ if (!seen.has(key)) {
29831
+ seen.add(key);
29832
+ columns.push(key);
29833
+ }
29834
+ }
29835
+ }
29836
+ if (columns.length === 0)
29837
+ return null;
29838
+ const cells = rows.map((row) => columns.map((key) => markdownCell(row[key])));
29839
+ if (cells.some((row) => row.some((c) => c.length > MARKDOWN_MAX_CELL))) {
29840
+ return null;
29841
+ }
29842
+ return [
29843
+ `| ${columns.map(markdownLabel).join(" | ")} |`,
29844
+ `| ${columns.map(() => "---").join(" | ")} |`,
29845
+ ...cells.map((row) => `| ${row.join(" | ")} |`)
29846
+ ].join(`
29847
+ `);
29848
+ }
29849
+ function extractMessageSequence(rows) {
29850
+ const messages = [];
29851
+ for (const row of rows) {
29852
+ const message = extractSingleMessage(row);
29853
+ if (message === null)
29854
+ return null;
29855
+ messages.push(message);
29856
+ }
29857
+ return messages.join(`
29858
+
29859
+ `);
29860
+ }
29861
+ function markdownRows(rows, depth) {
29862
+ if (rows.length === 0)
29863
+ return "(none)";
29864
+ if (!isPlainObjectArray(rows)) {
29865
+ return rows.map((item) => `- ${markdownCell(item)}`).join(`
29866
+ `);
29867
+ }
29868
+ const prose = extractMessageSequence(rows);
29869
+ if (prose !== null)
29870
+ return prose;
29871
+ const table = markdownTable(rows);
29872
+ if (table !== null)
29873
+ return table;
29874
+ if (depth >= MARKDOWN_MAX_DEPTH) {
29875
+ return fencedBlock(JSON.stringify(rows, null, 2));
29876
+ }
29877
+ return rows.map((row, index) => [
29878
+ `${markdownHeading(depth)} ${index + 1}`,
29879
+ markdownObject(row, depth + 1)
29880
+ ].join(`
29881
+
29882
+ `)).join(`
29883
+
29884
+ `);
29885
+ }
29886
+ function markdownObject(obj, depth) {
29887
+ const scalars = [];
29888
+ const blocks = [];
29889
+ for (const [key, value] of Object.entries(obj)) {
29890
+ if (value === undefined)
29891
+ continue;
29892
+ const label = markdownLabel(key);
29893
+ if (Array.isArray(value)) {
29894
+ blocks.push(`${markdownHeading(depth)} ${label}
29895
+
29896
+ ${markdownRows(value, depth + 1)}`);
29897
+ } else if (isNonEmptyPlainObject(value)) {
29898
+ const nested = depth < MARKDOWN_MAX_DEPTH ? markdownObject(value, depth + 1) : fencedBlock(JSON.stringify(value, null, 2));
29899
+ if (nested !== "") {
29900
+ blocks.push(`${markdownHeading(depth)} ${label}
29901
+
29902
+ ${nested}`);
29903
+ }
29904
+ } else if (typeof value === "string" && value.includes(`
29905
+ `)) {
29906
+ blocks.push(`**${label}:**
29907
+
29908
+ ${fencedBlock(value)}`);
29909
+ } else {
29910
+ scalars.push(`**${label}:** ${markdownCell(value)}`);
29911
+ }
29912
+ }
29913
+ const sections = scalars.length > 0 ? [scalars.join(`
29914
+ `)] : [];
29915
+ sections.push(...blocks);
29916
+ return sections.join(`
29917
+
29918
+ `);
29919
+ }
29920
+ function extractSingleMessage(payload) {
29921
+ if (!isPlainRecord(payload))
29922
+ return null;
29923
+ const keys = Object.keys(payload);
29924
+ if (keys.length !== 1 || keys[0].toLowerCase() !== "message")
29925
+ return null;
29926
+ const value = payload[keys[0]];
29927
+ return typeof value === "string" ? value : null;
29928
+ }
29929
+ function markdownPayload(payload) {
29930
+ const message = extractSingleMessage(payload);
29931
+ if (message !== null)
29932
+ return message;
29933
+ if (Array.isArray(payload)) {
29934
+ return markdownRows(rowsWithoutPlumbing(payload), 0);
29935
+ }
29936
+ const visible = withoutPlumbing(payload);
29937
+ const paged = splitPagedEnvelope(visible);
29938
+ if (paged !== null) {
29939
+ const meta = markdownObject(paged.meta, 0);
29940
+ const rows = `${markdownHeading(0)} ${markdownLabel(paged.key)}
29941
+
29942
+ ${markdownRows(rowsWithoutPlumbing(paged.rows), 1)}`;
29943
+ return meta === "" ? rows : `${meta}
29944
+
29945
+ ${rows}`;
29946
+ }
29947
+ return markdownObject(visible, 0);
29948
+ }
29949
+ function isPaginationWorthShowing(value) {
29950
+ if (typeof value !== "object" || value === null)
29951
+ return false;
29952
+ const page = value;
29953
+ return page.HasMore === true || typeof page.Offset === "number" && page.Offset > 0;
29954
+ }
29955
+ function markdownEnvelopeNotes(data) {
29956
+ const envelope = data;
29957
+ const notes = [];
29958
+ const warning = envelope.Warning;
29959
+ if (typeof warning === "string" && warning !== "") {
29960
+ notes.push(`> **Warning:** ${warning}`);
29961
+ }
29962
+ const instructions = envelope.Instructions;
29963
+ if (typeof instructions === "string" && instructions !== "") {
29964
+ notes.push(`> ${instructions}`);
29965
+ }
29966
+ const pagination = envelope.Pagination;
29967
+ if (isPaginationWorthShowing(pagination)) {
29968
+ const body = markdownObject(pagination, 1);
29969
+ if (body !== "") {
29970
+ notes.push(`${markdownHeading(0)} Pagination
29971
+
29972
+ ${body}`);
29973
+ }
29974
+ }
29975
+ const log = envelope.Log;
29976
+ if (typeof log === "string" && log !== "") {
29977
+ notes.push(`**Log:** ${log}`);
29978
+ }
29979
+ return notes;
29980
+ }
29981
+ function renderMarkdown(data) {
29982
+ if (data.Result !== RESULTS.Success) {
29983
+ const failure = data;
29984
+ const sections = [`**Failed:** ${failure.Message}`];
29985
+ if (failure.Data != null) {
29986
+ sections.push(markdownPayload(failure.Data));
29987
+ }
29988
+ if (failure.Instructions) {
29989
+ sections.push(`> ${failure.Instructions}`);
29990
+ }
29991
+ return sections.filter((section) => section !== "").join(`
29992
+
29993
+ `);
29994
+ }
29995
+ if (!("Data" in data) || data.Data == null) {
29996
+ return markdownObject(withoutPlumbing(data), 0);
29997
+ }
29998
+ return [markdownPayload(data.Data), ...markdownEnvelopeNotes(data)].filter((section) => section !== "").join(`
29999
+
30000
+ `);
30001
+ }
29856
30002
  function toYaml(data) {
29857
30003
  const codec = getYamlCodec();
29858
30004
  if (!codec) {
@@ -31687,16 +31833,7 @@ var resolveEnvFilePathAsync = async (envFilePath = DEFAULT_ENV_FILENAME, opts) =
31687
31833
  errorMessage: location.source === "absolute" ? `Environment file not found: ${envFilePath}` : `Unable to locate environment file: ${envFilePath}. Run 'uip login' to authenticate.`
31688
31834
  };
31689
31835
  };
31690
- var loadEnvFileAsync = async ({ envPath }) => {
31691
- const fs2 = getFileSystem();
31692
- const absolutePath = fs2.path.isAbsolute(envPath) ? envPath : fs2.path.join(fs2.env.cwd(), envPath);
31693
- if (!await fs2.exists(absolutePath)) {
31694
- throw new Error(`Environment file not found: ${envPath}`);
31695
- }
31696
- const content = await fs2.readFile(absolutePath, "utf-8");
31697
- if (content === null) {
31698
- throw new Error(`Environment file not found: ${envPath}`);
31699
- }
31836
+ var parseEnvContent = (content) => {
31700
31837
  const env = {};
31701
31838
  for (const line of content.split(`
31702
31839
  `)) {
@@ -31717,6 +31854,18 @@ var loadEnvFileAsync = async ({ envPath }) => {
31717
31854
  }
31718
31855
  return env;
31719
31856
  };
31857
+ var loadEnvFileAsync = async ({ envPath }) => {
31858
+ const fs2 = getFileSystem();
31859
+ const absolutePath = fs2.path.isAbsolute(envPath) ? envPath : fs2.path.join(fs2.env.cwd(), envPath);
31860
+ if (!await fs2.exists(absolutePath)) {
31861
+ throw new Error(`Environment file not found: ${envPath}`);
31862
+ }
31863
+ const content = await fs2.readFile(absolutePath, "utf-8");
31864
+ if (content === null) {
31865
+ throw new Error(`Environment file not found: ${envPath}`);
31866
+ }
31867
+ return parseEnvContent(content);
31868
+ };
31720
31869
  var saveEnvFileAsync = async ({
31721
31870
  envPath,
31722
31871
  data,
@@ -32870,4 +33019,4 @@ Running workflow: ${fs2.path.basename(resolvedPath)}`);
32870
33019
 
32871
33020
  export { getFileSystem, catchError, logger, RESULTS, SuccessOutput, FailureOutput, OutputFormatter, Command, processContext, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, getLoginStatusAsync, getAuthContext, WorkflowRunService };
32872
33021
 
32873
- //# debugId=9FD712BF6D0C50D164756E2164756E21
33022
+ //# debugId=755819A287F9A86164756E2164756E21