@adhdev/daemon-standalone 1.0.56-rc.15 → 1.0.56-rc.16
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 +14 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/vendor/mcp-server/index.js.map +1 -1
package/dist/index.js
CHANGED
|
@@ -36620,10 +36620,10 @@ var require_dist3 = __commonJS({
|
|
|
36620
36620
|
}
|
|
36621
36621
|
function getDaemonBuildInfo() {
|
|
36622
36622
|
if (cached2) return cached2;
|
|
36623
|
-
const commit = readInjected(true ? "
|
|
36624
|
-
const commitShort = readInjected(true ? "
|
|
36625
|
-
const version2 = readInjected(true ? "1.0.56-rc.
|
|
36626
|
-
const builtAt = readInjected(true ? "2026-08-
|
|
36623
|
+
const commit = readInjected(true ? "c852fab0cc75bb87987f691208882a171351755d" : void 0) ?? "unknown";
|
|
36624
|
+
const commitShort = readInjected(true ? "c852fab0" : void 0) ?? (commit !== "unknown" ? commit.slice(0, 7) : "unknown");
|
|
36625
|
+
const version2 = readInjected(true ? "1.0.56-rc.16" : void 0) ?? readInjected(typeof process !== "undefined" ? process.env?.ADHDEV_PKG_VERSION : void 0) ?? "unknown";
|
|
36626
|
+
const builtAt = readInjected(true ? "2026-08-20T09:06:05.030Z" : void 0);
|
|
36627
36627
|
cached2 = builtAt ? { commit, commitShort, version: version2, builtAt } : { commit, commitShort, version: version2 };
|
|
36628
36628
|
return cached2;
|
|
36629
36629
|
}
|
|
@@ -38622,6 +38622,11 @@ var require_dist3 = __commonJS({
|
|
|
38622
38622
|
init_config();
|
|
38623
38623
|
}
|
|
38624
38624
|
});
|
|
38625
|
+
function antigravityUserAgent() {
|
|
38626
|
+
const os31 = process.platform === "win32" ? "windows" : process.platform;
|
|
38627
|
+
const arch2 = process.arch === "x64" ? "amd64" : process.arch;
|
|
38628
|
+
return `antigravity/${ANTIGRAVITY_USER_AGENT_VERSION} ${os31}/${arch2}`;
|
|
38629
|
+
}
|
|
38625
38630
|
function baseUrl(env2) {
|
|
38626
38631
|
const override = env2.ANTIGRAVITY_CLOUDCODE_BASE_URL?.trim();
|
|
38627
38632
|
return (override ? override : DEFAULT_BASE_URL).replace(/\/+$/, "");
|
|
@@ -38975,7 +38980,8 @@ var require_dist3 = __commonJS({
|
|
|
38975
38980
|
headers: {
|
|
38976
38981
|
Authorization: `Bearer ${credentials.accessToken}`,
|
|
38977
38982
|
"Content-Type": "application/json",
|
|
38978
|
-
Accept: "application/json"
|
|
38983
|
+
Accept: "application/json",
|
|
38984
|
+
"User-Agent": antigravityUserAgent()
|
|
38979
38985
|
},
|
|
38980
38986
|
// ★MUST stay `{}` — verified live that sending `project` or
|
|
38981
38987
|
// `metadata` makes the server answer 429/400.
|
|
@@ -39015,6 +39021,7 @@ var require_dist3 = __commonJS({
|
|
|
39015
39021
|
}
|
|
39016
39022
|
}
|
|
39017
39023
|
var DEFAULT_BASE_URL;
|
|
39024
|
+
var ANTIGRAVITY_USER_AGENT_VERSION;
|
|
39018
39025
|
var REQUEST_TIMEOUT_MS;
|
|
39019
39026
|
var EXPIRY_SKEW_MS;
|
|
39020
39027
|
var CRED_STORE_TIMEOUT_MS;
|
|
@@ -39028,7 +39035,8 @@ var require_dist3 = __commonJS({
|
|
|
39028
39035
|
"use strict";
|
|
39029
39036
|
init_types();
|
|
39030
39037
|
init_deps();
|
|
39031
|
-
DEFAULT_BASE_URL = "https://cloudcode-pa.googleapis.com/v1internal";
|
|
39038
|
+
DEFAULT_BASE_URL = "https://daily-cloudcode-pa.googleapis.com/v1internal";
|
|
39039
|
+
ANTIGRAVITY_USER_AGENT_VERSION = "1.1.16";
|
|
39032
39040
|
REQUEST_TIMEOUT_MS = 1e4;
|
|
39033
39041
|
EXPIRY_SKEW_MS = 5e3;
|
|
39034
39042
|
CRED_STORE_TIMEOUT_MS = 5e3;
|