ather-code 0.35.2 → 0.35.3
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.mjs +27 -27
- package/dist/sdk.mjs +15 -15
- package/package.json +1 -1
package/dist/sdk.mjs
CHANGED
|
@@ -10128,7 +10128,7 @@ var init_version = __esm(() => {
|
|
|
10128
10128
|
import_semver = __toESM(require_semver2(), 1);
|
|
10129
10129
|
fallbackBuildVersion = (() => {
|
|
10130
10130
|
try {
|
|
10131
|
-
return "0.35.
|
|
10131
|
+
return "0.35.3";
|
|
10132
10132
|
} catch {
|
|
10133
10133
|
return "0.0.0";
|
|
10134
10134
|
}
|
|
@@ -72268,7 +72268,7 @@ function getAttributionHeader(fingerprint, policy) {
|
|
|
72268
72268
|
if (!policy.generate) {
|
|
72269
72269
|
return "";
|
|
72270
72270
|
}
|
|
72271
|
-
const version2 = `${"0.35.
|
|
72271
|
+
const version2 = `${"0.35.3"}.${fingerprint}`;
|
|
72272
72272
|
const entrypoint = process.env.ATHER_CODE_ENTRYPOINT ?? "unknown";
|
|
72273
72273
|
const cch = "";
|
|
72274
72274
|
const workload = getWorkload();
|
|
@@ -105290,7 +105290,7 @@ var init_metadata = __esm(() => {
|
|
|
105290
105290
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
105291
105291
|
WHITESPACE_REGEX = /\s+/;
|
|
105292
105292
|
getVersionBase = memoize_default(() => {
|
|
105293
|
-
const match = "0.35.
|
|
105293
|
+
const match = "0.35.3".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
105294
105294
|
return match ? match[0] : undefined;
|
|
105295
105295
|
});
|
|
105296
105296
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -105330,9 +105330,9 @@ var init_metadata = __esm(() => {
|
|
|
105330
105330
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
105331
105331
|
isAtherCodeAction: isEnvTruthy(process.env.ATHER_CODE_ACTION),
|
|
105332
105332
|
isAtherCodeAiAuth: isAtherSubscriber(),
|
|
105333
|
-
version: "0.35.
|
|
105333
|
+
version: "0.35.3",
|
|
105334
105334
|
versionBase: getVersionBase(),
|
|
105335
|
-
buildTime: "2026-10-
|
|
105335
|
+
buildTime: "2026-10-21T17:34:21.535Z",
|
|
105336
105336
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
105337
105337
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
105338
105338
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -113547,7 +113547,7 @@ var init_effort = __esm(() => {
|
|
|
113547
113547
|
// src/utils/userAgent.ts
|
|
113548
113548
|
function getAtherCodeUserAgent() {
|
|
113549
113549
|
try {
|
|
113550
|
-
return `ather-code/${"0.35.
|
|
113550
|
+
return `ather-code/${"0.35.3"}`;
|
|
113551
113551
|
} catch {
|
|
113552
113552
|
return "ather-code/0.0.0";
|
|
113553
113553
|
}
|
|
@@ -113559,7 +113559,7 @@ function getUserAgent() {
|
|
|
113559
113559
|
const clientApp = process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}` : "";
|
|
113560
113560
|
const workload = getWorkload();
|
|
113561
113561
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
113562
|
-
return `ather-code/${"0.35.
|
|
113562
|
+
return `ather-code/${"0.35.3"} (${"external"}, ${process.env.ATHER_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
113563
113563
|
}
|
|
113564
113564
|
function getMCPUserAgent() {
|
|
113565
113565
|
const parts = [];
|
|
@@ -113573,7 +113573,7 @@ function getMCPUserAgent() {
|
|
|
113573
113573
|
parts.push(`client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}`);
|
|
113574
113574
|
}
|
|
113575
113575
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
113576
|
-
return `ather-code/${"0.35.
|
|
113576
|
+
return `ather-code/${"0.35.3"}${suffix}`;
|
|
113577
113577
|
}
|
|
113578
113578
|
function getWebFetchUserAgent() {
|
|
113579
113579
|
const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/Atharva/ather-code";
|
|
@@ -150946,7 +150946,7 @@ function computeFingerprint(messageText2, version2) {
|
|
|
150946
150946
|
}
|
|
150947
150947
|
function computeFingerprintFromMessages(messages) {
|
|
150948
150948
|
const firstMessageText = extractFirstMessageText(messages);
|
|
150949
|
-
return computeFingerprint(firstMessageText, "0.35.
|
|
150949
|
+
return computeFingerprint(firstMessageText, "0.35.3");
|
|
150950
150950
|
}
|
|
150951
150951
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
150952
150952
|
var init_fingerprint = () => {};
|
|
@@ -150988,7 +150988,7 @@ async function sideQuery(opts) {
|
|
|
150988
150988
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
150989
150989
|
}
|
|
150990
150990
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
150991
|
-
const fingerprint = computeFingerprint(messageText2, "0.35.
|
|
150991
|
+
const fingerprint = computeFingerprint(messageText2, "0.35.3");
|
|
150992
150992
|
const attributionPolicy = resolveCurrentAnthropicAttributionPolicy({
|
|
150993
150993
|
attributionEnabled: isAttributionHeaderEnabled()
|
|
150994
150994
|
});
|
|
@@ -152285,7 +152285,7 @@ var init_client2 = __esm(() => {
|
|
|
152285
152285
|
const client = new Client({
|
|
152286
152286
|
name: "ather-code-code",
|
|
152287
152287
|
title: "Ather Code",
|
|
152288
|
-
version: "0.35.
|
|
152288
|
+
version: "0.35.3",
|
|
152289
152289
|
description: "Ather Code — a terminal coding agent that works with any model provider",
|
|
152290
152290
|
websiteUrl: PRODUCT_URL
|
|
152291
152291
|
}, {
|
|
@@ -231403,7 +231403,7 @@ function getAnthropicEnvMetadata() {
|
|
|
231403
231403
|
function getBuildAgeMinutes() {
|
|
231404
231404
|
if (false)
|
|
231405
231405
|
;
|
|
231406
|
-
const buildTime = new Date("2026-10-
|
|
231406
|
+
const buildTime = new Date("2026-10-21T17:34:21.535Z").getTime();
|
|
231407
231407
|
if (isNaN(buildTime))
|
|
231408
231408
|
return;
|
|
231409
231409
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -260780,7 +260780,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
260780
260780
|
init_slowOperations();
|
|
260781
260781
|
init_transcriptFileLock();
|
|
260782
260782
|
init_uuid();
|
|
260783
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.35.
|
|
260783
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.35.3" : "unknown";
|
|
260784
260784
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
260785
260785
|
TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
|
|
260786
260786
|
transcriptRewriteHooksForTesting = {};
|
|
@@ -262247,7 +262247,7 @@ var init_filesystem = __esm(() => {
|
|
|
262247
262247
|
});
|
|
262248
262248
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
262249
262249
|
const nonce = randomBytes10(16).toString("hex");
|
|
262250
|
-
return join96(getAtherCodeTempDir(), "bundled-skills", "0.35.
|
|
262250
|
+
return join96(getAtherCodeTempDir(), "bundled-skills", "0.35.3", nonce);
|
|
262251
262251
|
});
|
|
262252
262252
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
262253
262253
|
});
|
|
@@ -276752,7 +276752,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
276752
276752
|
slash_commands: inputs.commands.filter((c7) => c7.userInvocable !== false).map((c7) => c7.name),
|
|
276753
276753
|
apiKeySource: getAtherApiKeyWithSource().source,
|
|
276754
276754
|
betas: getSdkBetas(),
|
|
276755
|
-
ather_code_code_version: "0.35.
|
|
276755
|
+
ather_code_code_version: "0.35.3",
|
|
276756
276756
|
output_style: outputStyle,
|
|
276757
276757
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
276758
276758
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|