dsh-vscode-mode 0.15.2 → 0.15.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/lib/index.js CHANGED
@@ -7693,7 +7693,7 @@ var ContentSearcher = class {
7693
7693
  excludeKey,
7694
7694
  PROVIDER_VERSION
7695
7695
  ].join("|");
7696
- const cached = this.cache.get(key);
7696
+ const cached = request.force ? void 0 : this.cache.get(key);
7697
7697
  if (cached) return {
7698
7698
  matches: cached.matches,
7699
7699
  truncated: cached.truncated,
@@ -7721,7 +7721,7 @@ var ContentSearcher = class {
7721
7721
  matches: [],
7722
7722
  truncated: false
7723
7723
  };
7724
- this.cache.set(key, result);
7724
+ if (!request.force) this.cache.set(key, result);
7725
7725
  return {
7726
7726
  matches: result.matches,
7727
7727
  truncated: result.truncated,
@@ -12364,7 +12364,8 @@ function buildHandlers(ctx, registry, searcher = newSearcher(ctx), contentSearch
12364
12364
  regex: args.regex,
12365
12365
  maxResults: args.maxResults,
12366
12366
  include: args.include,
12367
- exclude: args.exclude
12367
+ exclude: args.exclude,
12368
+ force: args.force
12368
12369
  })
12369
12370
  };
12370
12371
  } catch (error) {