adhdev 0.6.52 → 0.6.53
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/cli/index.js +12 -16
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +4 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5830,7 +5830,7 @@ var init_provider_loader = __esm({
|
|
|
5830
5830
|
// ─── Private ───────────────────────────────────
|
|
5831
5831
|
/**
|
|
5832
5832
|
* Find the on-disk directory for a provider by type.
|
|
5833
|
-
*
|
|
5833
|
+
* Canonical shape: root/category/type.
|
|
5834
5834
|
*/
|
|
5835
5835
|
findProviderDirInternal(type) {
|
|
5836
5836
|
const provider = this.providers.get(type);
|
|
@@ -5839,9 +5839,8 @@ var init_provider_loader = __esm({
|
|
|
5839
5839
|
const searchRoots = this.getProviderRoots();
|
|
5840
5840
|
for (const root of searchRoots) {
|
|
5841
5841
|
if (!fs5.existsSync(root)) continue;
|
|
5842
|
-
|
|
5843
|
-
|
|
5844
|
-
}
|
|
5842
|
+
const candidate = this.getProviderDir(root, cat, type);
|
|
5843
|
+
if (fs5.existsSync(path6.join(candidate, "provider.json"))) return candidate;
|
|
5845
5844
|
const catDir = path6.join(root, cat);
|
|
5846
5845
|
if (fs5.existsSync(catDir)) {
|
|
5847
5846
|
try {
|
|
@@ -30983,7 +30982,7 @@ var init_adhdev_daemon = __esm({
|
|
|
30983
30982
|
fs11 = __toESM(require("fs"));
|
|
30984
30983
|
path14 = __toESM(require("path"));
|
|
30985
30984
|
import_chalk2 = __toESM(require("chalk"));
|
|
30986
|
-
pkgVersion = "0.6.
|
|
30985
|
+
pkgVersion = "0.6.53";
|
|
30987
30986
|
if (pkgVersion === "unknown") {
|
|
30988
30987
|
try {
|
|
30989
30988
|
const possiblePaths = [
|