adhdev 0.6.10 → 0.6.11

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/index.js CHANGED
@@ -26073,6 +26073,7 @@ ${installInfo}`
26073
26073
  } else {
26074
26074
  meta3.inputMethod = "cdp-type-and-send";
26075
26075
  meta3.inputSelector = '[contenteditable="true"][role="textbox"]';
26076
+ if (cli) meta3.versionCommand = `${cli} --version`;
26076
26077
  meta3.providerVersion = "1.0.0";
26077
26078
  meta3.compatibility = [
26078
26079
  { ideVersion: `>=${version2}.0`, scriptDir }
@@ -29142,6 +29143,20 @@ data: ${JSON.stringify(msg.data)}
29142
29143
  }
29143
29144
  providerLoader.loadAll();
29144
29145
  providerLoader.registerToDetector();
29146
+ LOG5.info("Init", "Detecting provider versions...");
29147
+ const versionArchive = new VersionArchive2();
29148
+ providerLoader.setVersionArchive(versionArchive);
29149
+ const versionResults = await detectAllVersions2(providerLoader, versionArchive);
29150
+ const installedProviders = versionResults.filter((v) => v.installed);
29151
+ const withVersion = installedProviders.filter((v) => v.version);
29152
+ LOG5.info("Init", `Provider versions: ${installedProviders.length} installed, ${withVersion.length} versioned`);
29153
+ for (const v of withVersion) {
29154
+ LOG5.info("Init", ` ${v.type} (${v.category}): v${v.version}${v.warning ? " \u26A0 " + v.warning : ""}`);
29155
+ }
29156
+ const noVersion = installedProviders.filter((v) => !v.version);
29157
+ if (noVersion.length > 0) {
29158
+ LOG5.warn("Init", ` ${noVersion.length} installed but version unknown: ${noVersion.map((v) => v.type).join(", ")}`);
29159
+ }
29145
29160
  const instanceManager = new ProviderInstanceManager();
29146
29161
  const cdpManagers = /* @__PURE__ */ new Map();
29147
29162
  const instanceIdMap = /* @__PURE__ */ new Map();
@@ -30524,7 +30539,7 @@ var init_adhdev_daemon = __esm({
30524
30539
  fs2 = __toESM(require("fs"));
30525
30540
  path2 = __toESM(require("path"));
30526
30541
  import_chalk = __toESM(require("chalk"));
30527
- pkgVersion = "0.6.10";
30542
+ pkgVersion = "0.6.11";
30528
30543
  if (pkgVersion === "unknown") {
30529
30544
  try {
30530
30545
  const possiblePaths = [