sap-ux-sap-systems-ext 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/extension.js CHANGED
@@ -4167,7 +4167,7 @@ var require_hybrid = __commonJS({
4167
4167
  var utils_1 = require_utils();
4168
4168
  var secure_store_1 = require_secure_store();
4169
4169
  var decorators_1 = require_decorators();
4170
- var util_1 = require("util");
4170
+ var node_util_1 = require("node:util");
4171
4171
  function getFullyQualifiedServiceName(name2) {
4172
4172
  return "fiori/v2/" + name2;
4173
4173
  }
@@ -4185,7 +4185,7 @@ var require_hybrid = __commonJS({
4185
4185
  if (!serialized) {
4186
4186
  this.logger.debug(`hybrid/read - id: [${id}], nothing on the filesystem`);
4187
4187
  } else {
4188
- this.logger.debug(`hybrid/read - id: [${id}], filesystem: ${(0, util_1.inspect)(serialized)}`);
4188
+ this.logger.debug(`hybrid/read - id: [${id}], filesystem: ${(0, node_util_1.inspect)(serialized)}`);
4189
4189
  }
4190
4190
  const sensitiveData = await this.secureStore.retrieve(getFullyQualifiedServiceName(entityName2), id);
4191
4191
  if (!sensitiveData) {
@@ -4229,17 +4229,17 @@ var require_hybrid = __commonJS({
4229
4229
  }
4230
4230
  const serializable = (0, utils_1.pick)(entity, ...serializableProps);
4231
4231
  if ((0, utils_1.hasAnyValue)(entity, serializableProps)) {
4232
- this.logger.debug(`hybrid/write - writing serializable properties: ${(0, util_1.inspect)(serializable)}`);
4232
+ this.logger.debug(`hybrid/write - writing serializable properties: ${(0, node_util_1.inspect)(serializable)}`);
4233
4233
  await this.filesystem.write({ entityName: entityName2, id, entity: serializable });
4234
4234
  } else {
4235
- this.logger.debug(`hybrid/write - no serializable properties found in ${(0, util_1.inspect)(serializable)}`);
4235
+ this.logger.debug(`hybrid/write - no serializable properties found in ${(0, node_util_1.inspect)(serializable)}`);
4236
4236
  }
4237
4237
  const sensitiveData = (0, utils_1.pick)(entity, ...sensitiveProps);
4238
4238
  if ((0, utils_1.hasAnyValue)(sensitiveData, sensitiveProps)) {
4239
4239
  this.logger.debug(`hybrid/write - writing sensitive properties to secure store. ID: [${id}]`);
4240
4240
  await this.secureStore.save(getFullyQualifiedServiceName(entityName2), id, sensitiveData);
4241
4241
  } else {
4242
- this.logger.debug(`hybrid/write - no sensitive properties found in ${(0, util_1.inspect)(entity)}`);
4242
+ this.logger.debug(`hybrid/write - no sensitive properties found in ${(0, node_util_1.inspect)(entity)}`);
4243
4243
  }
4244
4244
  return entity;
4245
4245
  }
@@ -19341,14 +19341,14 @@ var require_adapter = __commonJS({
19341
19341
  var transports_1 = require_transports();
19342
19342
  var null_transport_1 = require_null_transport();
19343
19343
  var vscode_output_channel_transport_1 = require_vscode_output_channel_transport();
19344
- var util_1 = require("util");
19344
+ var node_util_1 = require("node:util");
19345
19345
  var chalk_1 = __importDefault2(require_source());
19346
19346
  function toWinstonLogLevel(logLevel) {
19347
19347
  return logLevel === void 0 ? void 0 : types_1.LogLevel[logLevel].toLowerCase();
19348
19348
  }
19349
19349
  var toWinstonTransportOptions = (transportOptions) => {
19350
19350
  const { logLevel, ...opts } = transportOptions;
19351
- return Object.assign({}, opts, { level: toWinstonLogLevel(logLevel) });
19351
+ return { ...opts, level: toWinstonLogLevel(logLevel) };
19352
19352
  };
19353
19353
  var levelColor = {
19354
19354
  info: "green",
@@ -19367,7 +19367,7 @@ var require_adapter = __commonJS({
19367
19367
  }
19368
19368
  };
19369
19369
  var ui5ToolingFormat = (moduleName) => winston_1.format.combine(winston_1.format.colorize(), winston_1.format.label({ label: moduleName }), winston_1.format.printf(({ level, message, label }) => {
19370
- let msg = typeof message === "string" ? message : (0, util_1.inspect)(message);
19370
+ let msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
19371
19371
  msg = msg.split(/\r?\n/).join(`
19372
19372
  ${level} ${chalk_1.default.magenta(label)} `);
19373
19373
  return `${level} ${chalk_1.default.magenta(label)} ${msg}`;
@@ -19393,9 +19393,9 @@ ${level} ${chalk_1.default.magenta(label)} `);
19393
19393
  return l;
19394
19394
  };
19395
19395
  var consoleFormat = winston_1.format.combine(winston_1.format.timestamp({ format: "YYYY-MM-DD HH:mm:ss" }), winston_1.format.printf(({ timestamp, level, message, label, labelColor, ...meta }) => {
19396
- const msg = typeof message === "string" ? message : (0, util_1.inspect)(message);
19396
+ const msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
19397
19397
  const lvl = decorateLevel(level);
19398
- return `${timestamp} ${lvl} ${decorateLabel(label, labelColor)}: ${msg} ${Object.keys(meta).length ? (0, util_1.inspect)(meta) : ""}`;
19398
+ return `${timestamp} ${lvl} ${decorateLabel(label, labelColor)}: ${msg} ${Object.keys(meta).length ? (0, node_util_1.inspect)(meta) : ""}`;
19399
19399
  }));
19400
19400
  function toWinstonTransport(transport) {
19401
19401
  if (transport instanceof transports_1.NullTransport) {
@@ -19493,7 +19493,7 @@ var require_logger2 = __commonJS({
19493
19493
  var winston_1 = __importStar2(require_winston());
19494
19494
  var adapter_1 = require_adapter();
19495
19495
  var utils_1 = require_utils2();
19496
- var util_1 = require("util");
19496
+ var node_util_1 = require("node:util");
19497
19497
  var defaultLoggerOptions = {
19498
19498
  transports: [new transports_1.ConsoleTransport()]
19499
19499
  };
@@ -19536,7 +19536,7 @@ var require_logger2 = __commonJS({
19536
19536
  }
19537
19537
  }
19538
19538
  winstonLog({ level, message, metadata }) {
19539
- const msg = typeof message === "string" ? message : (0, util_1.inspect)(message);
19539
+ const msg = typeof message === "string" ? message : (0, node_util_1.inspect)(message);
19540
19540
  this._logger.log(level, msg, metadata);
19541
19541
  }
19542
19542
  addToMap(transportMap, transport) {
@@ -54154,7 +54154,7 @@ var require_package6 = __commonJS({
54154
54154
  "../telemetry/package.json"(exports2, module2) {
54155
54155
  module2.exports = {
54156
54156
  name: "@sap-ux/telemetry",
54157
- version: "0.6.48",
54157
+ version: "0.6.49",
54158
54158
  description: "Library for sending usage telemetry data",
54159
54159
  repository: {
54160
54160
  type: "git",
@@ -94366,7 +94366,7 @@ var require_commandRunner = __commonJS({
94366
94366
  "use strict";
94367
94367
  Object.defineProperty(exports2, "__esModule", { value: true });
94368
94368
  exports2.CommandRunner = void 0;
94369
- var child_process_1 = require("child_process");
94369
+ var node_child_process_1 = require("node:child_process");
94370
94370
  var CommandRunner = class {
94371
94371
  /**
94372
94372
  * Run a command with arguments.
@@ -94385,7 +94385,7 @@ var require_commandRunner = __commonJS({
94385
94385
  return new Promise((resolve2, reject) => {
94386
94386
  const stack = [];
94387
94387
  const spawnOpts = process.platform === "win32" ? { ...opts, shell: true } : opts;
94388
- const spawnedCmd = (0, child_process_1.spawn)(cmd, args, spawnOpts);
94388
+ const spawnedCmd = (0, node_child_process_1.spawn)(cmd, args, spawnOpts);
94389
94389
  spawnedCmd.stdout.setEncoding("utf8");
94390
94390
  let response;
94391
94391
  spawnedCmd.stdout.on("data", (data) => {
@@ -105768,13 +105768,13 @@ var require_httpsUtils = __commonJS({
105768
105768
  };
105769
105769
  Object.defineProperty(exports2, "__esModule", { value: true });
105770
105770
  exports2.setGlobalRejectUnauthorized = setGlobalRejectUnauthorized;
105771
- var https_1 = __importDefault2(require("https"));
105771
+ var node_https_1 = __importDefault2(require("node:https"));
105772
105772
  function setGlobalRejectUnauthorized(rejectUnauthorized) {
105773
- if (https_1.default.globalAgent.options) {
105774
- https_1.default.globalAgent.options.rejectUnauthorized = rejectUnauthorized;
105773
+ if (node_https_1.default.globalAgent.options) {
105774
+ node_https_1.default.globalAgent.options.rejectUnauthorized = rejectUnauthorized;
105775
105775
  }
105776
- if (https_1.default.globalAgent.fallbackAgent?.options) {
105777
- https_1.default.globalAgent.fallbackAgent.options.rejectUnauthorized = rejectUnauthorized;
105776
+ if (node_https_1.default.globalAgent.fallbackAgent?.options) {
105777
+ node_https_1.default.globalAgent.fallbackAgent.options.rejectUnauthorized = rejectUnauthorized;
105778
105778
  }
105779
105779
  }
105780
105780
  }
@@ -123176,7 +123176,7 @@ var require_ui5config = __commonJS({
123176
123176
  var constants_1 = require_constants10();
123177
123177
  var ajv_1 = __importDefault2(require_ajv());
123178
123178
  var node_path_1 = require("node:path");
123179
- var promises_1 = require("fs/promises");
123179
+ var promises_1 = require("node:fs/promises");
123180
123180
  var js_yaml_1 = __importDefault2(require_js_yaml());
123181
123181
  var UI5Config = class _UI5Config {
123182
123182
  document;
@@ -131782,7 +131782,7 @@ var require_npm_command = __commonJS({
131782
131782
  "use strict";
131783
131783
  Object.defineProperty(exports2, "__esModule", { value: true });
131784
131784
  exports2.execNpmCommand = execNpmCommand;
131785
- var child_process_1 = require("child_process");
131785
+ var node_child_process_1 = require("node:child_process");
131786
131786
  async function execNpmCommand(commandArguments, options2) {
131787
131787
  return new Promise((resolve2, reject) => {
131788
131788
  const isWin = process.platform.startsWith("win");
@@ -131791,7 +131791,7 @@ var require_npm_command = __commonJS({
131791
131791
  const logger2 = options2?.logger;
131792
131792
  const cwd = options2?.cwd;
131793
131793
  const spawnOptions = typeof cwd === "string" ? { ...defaultSpawnOptions, cwd } : defaultSpawnOptions;
131794
- const spawnProcess = (0, child_process_1.spawn)(npmCommand, commandArguments, spawnOptions);
131794
+ const spawnProcess = (0, node_child_process_1.spawn)(npmCommand, commandArguments, spawnOptions);
131795
131795
  let stdOut = "";
131796
131796
  let stdErr = "";
131797
131797
  spawnProcess.stdout.on("data", (data) => {
@@ -131881,7 +131881,7 @@ var require_module_loader = __commonJS({
131881
131881
  exports2.getModule = getModule;
131882
131882
  exports2.deleteModule = deleteModule;
131883
131883
  var node_fs_1 = require("node:fs");
131884
- var promises_1 = require("fs/promises");
131884
+ var promises_1 = require("node:fs/promises");
131885
131885
  var node_path_1 = require("node:path");
131886
131886
  var dependencies_1 = require_dependencies2();
131887
131887
  var constants_1 = require_constants11();
@@ -139175,7 +139175,7 @@ var require_cap = __commonJS({
139175
139175
  exports2.getWorkspaceInfo = getWorkspaceInfo;
139176
139176
  exports2.satisfiesMinCdsVersion = satisfiesMinCdsVersion;
139177
139177
  exports2.hasMinCdsVersion = hasMinCdsVersion;
139178
- var child_process_1 = require("child_process");
139178
+ var node_child_process_1 = require("node:child_process");
139179
139179
  var node_path_1 = require("node:path");
139180
139180
  var constants_1 = require_constants11();
139181
139181
  var file_1 = require_file4();
@@ -139523,7 +139523,7 @@ var require_cap = __commonJS({
139523
139523
  async function getCdsVersionInfo(cwd) {
139524
139524
  return new Promise((resolve2, reject) => {
139525
139525
  let out = "";
139526
- const cdsVersionInfo = (0, child_process_1.spawn)("cds", ["--version"], { cwd, shell: true });
139526
+ const cdsVersionInfo = (0, node_child_process_1.spawn)("cds", ["--version"], { cwd, shell: true });
139527
139527
  cdsVersionInfo.stdout.on("data", (data) => {
139528
139528
  out += data.toString();
139529
139529
  });
@@ -145636,7 +145636,7 @@ var require_write4 = __commonJS({
145636
145636
  var __1 = require_project();
145637
145637
  var node_path_1 = require("node:path");
145638
145638
  var file_1 = require_file4();
145639
- var promises_1 = require("fs/promises");
145639
+ var promises_1 = require("node:fs/promises");
145640
145640
  async function createCapI18nEntries(root, filePath, newI18nEntries, fs3) {
145641
145641
  const env3 = await (0, __1.getCapEnvironment)(root);
145642
145642
  return (0, i18n_1.createCapI18nEntries)(root, filePath, newI18nEntries, env3, fs3);
@@ -145958,7 +145958,7 @@ var require_specification = __commonJS({
145958
145958
  exports2.refreshSpecificationDistTags = refreshSpecificationDistTags;
145959
145959
  exports2.getSpecificationPath = getSpecificationPath;
145960
145960
  var node_fs_1 = require("node:fs");
145961
- var promises_1 = require("fs/promises");
145961
+ var promises_1 = require("node:fs/promises");
145962
145962
  var node_path_1 = require("node:path");
145963
145963
  var semver_1 = require_semver5();
145964
145964
  var module_loader_1 = require_module_loader();
@@ -149865,7 +149865,7 @@ var require_param_processing = __commonJS({
149865
149865
  } else {
149866
149866
  val2 = param;
149867
149867
  }
149868
- if (!isNaN(val2)) {
149868
+ if (typeof val2 === "number" && !Number.isNaN(val2)) {
149869
149869
  processedMeasurements[key] = val2;
149870
149870
  } else {
149871
149871
  processedDimensions[key] = val2;
@@ -153323,7 +153323,7 @@ var require_redirect = __commonJS({
153323
153323
  };
153324
153324
  Object.defineProperty(exports2, "__esModule", { value: true });
153325
153325
  exports2.setupRedirectHandling = setupRedirectHandling;
153326
- var http_1 = __importDefault2(require("http"));
153326
+ var node_http_1 = __importDefault2(require("node:http"));
153327
153327
  var error_1 = require_error5();
153328
153328
  var message_1 = require_message();
153329
153329
  var static_1 = require_static();
@@ -153335,7 +153335,7 @@ var require_redirect = __commonJS({
153335
153335
  reject(new error_1.TimeoutError(`Timeout. Did not get a response within ${(0, message_1.prettyPrintTimeInMs)(timeout)}`));
153336
153336
  };
153337
153337
  const timer = setTimeout(handleTimeout, timeout);
153338
- server = http_1.default.createServer((req, res) => {
153338
+ server = node_http_1.default.createServer((req, res) => {
153339
153339
  const reqUrl = new URL(req.url, `http://${req.headers.host}`);
153340
153340
  if (reqUrl.pathname === REDIRECT_PATH) {
153341
153341
  if (timer) {
@@ -154967,7 +154967,7 @@ var require_uaa = __commonJS({
154967
154967
  exports2.Uaa = void 0;
154968
154968
  var open = require_open();
154969
154969
  var axios_1 = __importDefault2(require_axios2());
154970
- var http_1 = __importDefault2(require("http"));
154970
+ var node_http_1 = __importDefault2(require("node:http"));
154971
154971
  var qs_1 = __importDefault2(require_lib9());
154972
154972
  var redirect_1 = require_redirect2();
154973
154973
  var message_1 = require_message();
@@ -155166,7 +155166,7 @@ var require_uaa = __commonJS({
155166
155166
  reject(new error_1.UAATimeoutError(`Timeout. Did not get a response within ${(0, message_1.prettyPrintTimeInMs)(timeout)}`));
155167
155167
  };
155168
155168
  const timer = setTimeout(handleTimeout, timeout);
155169
- server = http_1.default.createServer((req, res) => {
155169
+ server = node_http_1.default.createServer((req, res) => {
155170
155170
  const reqUrl = new URL(req.url, `http://${req.headers.host}`);
155171
155171
  if (reqUrl.pathname === redirect_1.Redirect.path) {
155172
155172
  res.writeHead(200, { "Content-Type": "text/html" });
@@ -155384,10 +155384,9 @@ var require_service_provider = __commonJS({
155384
155384
  * @returns axios config
155385
155385
  */
155386
155386
  generateServiceConfig(path3) {
155387
- const config = Object.assign({}, this.defaults);
155388
- const headers = Object.assign(this.defaults.headers?.common ?? {}, { Cookie: this.cookies.toString() });
155387
+ const headers = { ...this.defaults.headers?.common, Cookie: this.cookies.toString() };
155389
155388
  return {
155390
- ...config,
155389
+ ...this.defaults,
155391
155390
  baseURL: this.defaults.baseURL + path3,
155392
155391
  headers
155393
155392
  };
@@ -156264,7 +156263,7 @@ var require_app_index_service = __commonJS({
156264
156263
  * @returns list of applications
156265
156264
  */
156266
156265
  async search(searchParams = {}, resultFields) {
156267
- const params = Object.assign({}, searchParams);
156266
+ const params = { ...searchParams };
156268
156267
  if (resultFields) {
156269
156268
  params["fields"] = resultFields.join(",");
156270
156269
  }
@@ -166828,11 +166827,11 @@ var require_factory = __commonJS({
166828
166827
  exports2.createServiceForUrl = createServiceForUrl;
166829
166828
  var btp_utils_1 = require_dist6();
166830
166829
  var http_proxy_agent_1 = require_dist5();
166831
- var https_1 = require("https");
166830
+ var node_https_1 = require("node:https");
166832
166831
  var https_proxy_agent_1 = require_dist4();
166833
166832
  var cloneDeep_1 = __importDefault2(require_cloneDeep());
166834
166833
  var proxy_from_env_1 = require_proxy_from_env();
166835
- var util_1 = require("util");
166834
+ var node_util_1 = require("node:util");
166836
166835
  var abap_1 = require_abap();
166837
166836
  var auth_1 = require_auth();
166838
166837
  var patchTls_1 = require_patchTls();
@@ -166873,7 +166872,7 @@ var require_factory = __commonJS({
166873
166872
  providerConfig.proxy = false;
166874
166873
  }
166875
166874
  if (!providerConfig.httpsAgent) {
166876
- providerConfig.httpsAgent = new https_1.Agent(agentOptions);
166875
+ providerConfig.httpsAgent = new node_https_1.Agent(agentOptions);
166877
166876
  }
166878
166877
  delete providerConfig.ignoreCertErrors;
166879
166878
  providerConfig.withCredentials = providerConfig?.auth && Object.keys(providerConfig.auth).length > 0;
@@ -166952,7 +166951,7 @@ var require_factory = __commonJS({
166952
166951
  }
166953
166952
  default:
166954
166953
  const opts = options2;
166955
- throw new Error(`Unknown environment type supplied: ${(0, util_1.inspect)(opts)}`);
166954
+ throw new Error(`Unknown environment type supplied: ${(0, node_util_1.inspect)(opts)}`);
166956
166955
  }
166957
166956
  return provider;
166958
166957
  }
@@ -169467,7 +169466,7 @@ function getSystemTypeLabel(systemType) {
169467
169466
  var import_telemetry = __toESM(require_dist15());
169468
169467
 
169469
169468
  // package.json
169470
- var version = "0.1.2";
169469
+ var version = "0.1.4";
169471
169470
 
169472
169471
  // src/utils/telemetryHelper.ts
169473
169472
  var import_feature_toggle = __toESM(require_dist16());
@@ -169670,15 +169669,18 @@ var SapSystemsProvider = class {
169670
169669
  // src/views/sapSystems.ts
169671
169670
  var import_store2 = __toESM(require_dist2());
169672
169671
  function initSapSystemsView(context4) {
169673
- const systemsTreeDataProvider = new SapSystemsProvider(context4);
169674
- import_vscode3.window.registerTreeDataProvider("sap.ux.tools.sapSystems", systemsTreeDataProvider);
169672
+ const systemsTreeDataProvider = new SapSystemsProvider(context4.vscodeExtContext);
169673
+ context4.vscodeExtContext.subscriptions.push(
169674
+ import_vscode3.window.registerTreeDataProvider("sap.ux.tools.sapSystems", systemsTreeDataProvider)
169675
+ );
169676
+ context4.systemsTreeDataProvider = systemsTreeDataProvider;
169675
169677
  const storeWatcher = (0, import_store2.getFilesystemWatcherFor)(
169676
169678
  import_store2.Entity.BackendSystem,
169677
169679
  () => systemsTreeDataProvider.refresh(),
169678
169680
  { baseDirectory: (0, import_store2.getSapToolsDirectory)() }
169679
169681
  );
169680
169682
  if (storeWatcher) {
169681
- context4.subscriptions.push({ dispose: () => storeWatcher.close() });
169683
+ context4.vscodeExtContext.subscriptions.push({ dispose: () => storeWatcher.close() });
169682
169684
  }
169683
169685
  }
169684
169686
 
@@ -170394,7 +170396,7 @@ var createSystemCommandHandler = (context4) => async () => {
170394
170396
  await panel.reveal();
170395
170397
  };
170396
170398
  function createNewPanel(context4) {
170397
- const extensionPath = context4.extContext.extensionPath;
170399
+ const extensionPath = context4.extContext.vscodeExtContext.extensionPath;
170398
170400
  return new SystemPanel({
170399
170401
  extensionPath,
170400
170402
  systemPanelViewType: 0 /* Create */,
@@ -170450,7 +170452,7 @@ function openSystemPanel(context4, backendSystemKey, backendSystem, systemStatus
170450
170452
  const panel = panelManager.getOrCreateNewPanel(
170451
170453
  panelKey,
170452
170454
  () => new SystemPanel({
170453
- extensionPath: extContext.extensionPath,
170455
+ extensionPath: extContext.vscodeExtContext.extensionPath,
170454
170456
  systemPanelViewType: 1 /* View */,
170455
170457
  backendSystem,
170456
170458
  disposeCallback: () => panelManager.deleteAndDispose(panelKey),
@@ -170511,9 +170513,8 @@ function logTelemetry2(status, systemType = "") {
170511
170513
 
170512
170514
  // src/commands/system/refresh.ts
170513
170515
  var refreshSystemsCommandHandler = (commandContext) => async () => {
170514
- const systemsTreeDataProvider = new SapSystemsProvider(commandContext.extContext);
170515
170516
  SystemsLogger.logger.info(t2("info.refreshingSystems"));
170516
- systemsTreeDataProvider.refresh();
170517
+ commandContext.extContext.systemsTreeDataProvider?.refresh();
170517
170518
  };
170518
170519
 
170519
170520
  // src/commands/system/import.ts
@@ -170564,7 +170565,7 @@ function createNewPanel2(context4, panelKey, systemConfig, existingSystem) {
170564
170565
  password: existingSystem?.password
170565
170566
  });
170566
170567
  return new SystemPanel({
170567
- extensionPath: context4.extContext.extensionPath,
170568
+ extensionPath: context4.extContext.vscodeExtContext.extensionPath,
170568
170569
  systemPanelViewType: existingSystem ? 1 /* View */ : 3 /* Import */,
170569
170570
  disposeCallback: () => {
170570
170571
  context4.panelManager.deleteAndDispose(panelKey);
@@ -170667,7 +170668,7 @@ var registerSystemViewCommands = (context4) => {
170667
170668
  import_vscode14.commands.registerCommand("sap.ux.tools.sapSystems.refresh" /* Refresh */, commandHandlers.refresh(systemCommandContext)),
170668
170669
  import_vscode14.commands.registerCommand("sap.ux.tools.sapSystems.launchAppGen" /* LaunchAppGen */, commandHandlers.launchAppGen(systemCommandContext))
170669
170670
  ];
170670
- context4.subscriptions.push(...disposables);
170671
+ context4.vscodeExtContext.subscriptions.push(...disposables);
170671
170672
  };
170672
170673
 
170673
170674
  // src/commands/extension/index.ts
@@ -170684,7 +170685,7 @@ function registerExtensionCommands(context4) {
170684
170685
 
170685
170686
  // src/commands/registerCommands.ts
170686
170687
  function registerCommands(context4) {
170687
- registerExtensionCommands(context4);
170688
+ registerExtensionCommands(context4.vscodeExtContext);
170688
170689
  registerSystemViewCommands(context4);
170689
170690
  }
170690
170691
 
@@ -170692,8 +170693,11 @@ function registerCommands(context4) {
170692
170693
  async function activate(context4) {
170693
170694
  await initI18n();
170694
170695
  await TelemetryHelper.initTelemetrySettings();
170695
- registerCommands(context4);
170696
- registerViews(context4);
170696
+ const extContext = {
170697
+ vscodeExtContext: context4
170698
+ };
170699
+ registerCommands(extContext);
170700
+ registerViews(extContext);
170697
170701
  }
170698
170702
  function deactivate() {
170699
170703
  }