@adhdev/daemon-standalone 1.0.24 → 1.0.26
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 +13 -12
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/public/assets/{index-CZHeDW5I.js → index-DLNB3eih.js} +5 -5
- package/public/index.html +1 -1
- package/vendor/mcp-server/index.js +1 -1
- package/vendor/mcp-server/index.js.map +1 -1
- package/vendor/mcp-server/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -33262,10 +33262,10 @@ var require_dist3 = __commonJS({
|
|
|
33262
33262
|
}
|
|
33263
33263
|
function getDaemonBuildInfo() {
|
|
33264
33264
|
if (cached2) return cached2;
|
|
33265
|
-
const commit = readInjected(true ? "
|
|
33266
|
-
const commitShort = readInjected(true ? "
|
|
33267
|
-
const version2 = readInjected(true ? "1.0.
|
|
33268
|
-
const builtAt = readInjected(true ? "2026-07-
|
|
33265
|
+
const commit = readInjected(true ? "bb9bc5a084a300fae7ea0e833dad7cbbc04c6419" : void 0) ?? "unknown";
|
|
33266
|
+
const commitShort = readInjected(true ? "bb9bc5a" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
33267
|
+
const version2 = readInjected(true ? "1.0.26" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
33268
|
+
const builtAt = readInjected(true ? "2026-07-24T17:20:16.731Z" : void 0);
|
|
33269
33269
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
33270
33270
|
return cached2;
|
|
33271
33271
|
}
|
|
@@ -89248,6 +89248,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
89248
89248
|
}
|
|
89249
89249
|
}
|
|
89250
89250
|
init_external_sources();
|
|
89251
|
+
init_config();
|
|
89251
89252
|
var fs29 = __toESM2(require("fs"));
|
|
89252
89253
|
var os26 = __toESM2(require("os"));
|
|
89253
89254
|
var path35 = __toESM2(require("path"));
|
|
@@ -90897,7 +90898,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
90897
90898
|
}
|
|
90898
90899
|
}
|
|
90899
90900
|
detectDefaultUserDir() {
|
|
90900
|
-
const fallback = path37.join(
|
|
90901
|
+
const fallback = path37.join(getConfigDir(), "providers");
|
|
90901
90902
|
const envOptIn = process.env[_ProviderLoader.SIBLING_ENV_VAR] === "1";
|
|
90902
90903
|
const visited = /* @__PURE__ */ new Set();
|
|
90903
90904
|
for (const start of this.probeStarts) {
|
|
@@ -90938,7 +90939,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
90938
90939
|
this.probeStarts = options?.probeStarts ?? [process.cwd(), __dirname];
|
|
90939
90940
|
this.registryBaseUrl = resolveRegistryBaseUrl(options?.registryUrl);
|
|
90940
90941
|
this.providerTarballUrl = resolveProviderTarballUrl(options?.providerTarballUrl);
|
|
90941
|
-
this.defaultProvidersDir = path37.join(
|
|
90942
|
+
this.defaultProvidersDir = path37.join(getConfigDir(), "providers");
|
|
90942
90943
|
const detected = this.detectDefaultUserDir();
|
|
90943
90944
|
this.userDir = detected.path;
|
|
90944
90945
|
this.userDirSource = detected.source;
|
|
@@ -90953,9 +90954,9 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
90953
90954
|
}
|
|
90954
90955
|
migrateMarketplaceDirToExternal() {
|
|
90955
90956
|
try {
|
|
90956
|
-
const
|
|
90957
|
-
const oldDir = path37.join(
|
|
90958
|
-
const newDir = path37.join(
|
|
90957
|
+
const configDir = getConfigDir();
|
|
90958
|
+
const oldDir = path37.join(configDir, "marketplace");
|
|
90959
|
+
const newDir = path37.join(configDir, "external");
|
|
90959
90960
|
if (!fs30.existsSync(oldDir)) return;
|
|
90960
90961
|
if (fs30.existsSync(newDir)) {
|
|
90961
90962
|
this.log(`Migration skipped: both ~/.adhdev/marketplace and ~/.adhdev/external exist (marketplace dir is now inert and can be removed manually).`);
|
|
@@ -90991,7 +90992,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
90991
90992
|
* Highest-priority editable overrides come first.
|
|
90992
90993
|
*/
|
|
90993
90994
|
getProviderRoots() {
|
|
90994
|
-
const externalDir = path37.join(
|
|
90995
|
+
const externalDir = path37.join(getConfigDir(), "external");
|
|
90995
90996
|
return [this.userDir, externalDir, this.upstreamDir];
|
|
90996
90997
|
}
|
|
90997
90998
|
getSourceConfig() {
|
|
@@ -91084,7 +91085,7 @@ Run 'adhdev doctor' for detailed diagnostics.`
|
|
|
91084
91085
|
} else if (this.disableUpstream) {
|
|
91085
91086
|
this.log("Upstream loading disabled (sourceMode=no-upstream)");
|
|
91086
91087
|
}
|
|
91087
|
-
const externalDir = path37.join(
|
|
91088
|
+
const externalDir = path37.join(getConfigDir(), "external");
|
|
91088
91089
|
if (fs30.existsSync(externalDir)) {
|
|
91089
91090
|
const rootEntries = (() => {
|
|
91090
91091
|
try {
|
|
@@ -92644,7 +92645,7 @@ ${formatManifestValidationIssues2(validation2.issues)}`);
|
|
|
92644
92645
|
this.log(`\u26A0 Failed to load scripts: ${scriptsPath}: ${e.message}`);
|
|
92645
92646
|
}
|
|
92646
92647
|
}
|
|
92647
|
-
const externalDirAbs = path37.join(
|
|
92648
|
+
const externalDirAbs = path37.join(getConfigDir(), "external");
|
|
92648
92649
|
const layer = d.startsWith(externalDirAbs) ? "external" : d.startsWith(this.userDir) && !d.includes(".upstream") ? "user" : "upstream";
|
|
92649
92650
|
try {
|
|
92650
92651
|
const { inspectManifestShape: inspectManifestShape2, classifyTrust: classifyTrust2 } = (init_provider_trust(), __toCommonJS2(provider_trust_exports));
|