ather-code 0.34.7 → 0.34.8
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
|
@@ -10126,7 +10126,7 @@ var init_version = __esm(() => {
|
|
|
10126
10126
|
import_semver = __toESM(require_semver2(), 1);
|
|
10127
10127
|
fallbackBuildVersion = (() => {
|
|
10128
10128
|
try {
|
|
10129
|
-
return "0.34.
|
|
10129
|
+
return "0.34.8";
|
|
10130
10130
|
} catch {
|
|
10131
10131
|
return "0.0.0";
|
|
10132
10132
|
}
|
|
@@ -71402,7 +71402,7 @@ function getAttributionHeader(fingerprint, policy) {
|
|
|
71402
71402
|
if (!policy.generate) {
|
|
71403
71403
|
return "";
|
|
71404
71404
|
}
|
|
71405
|
-
const version2 = `${"0.34.
|
|
71405
|
+
const version2 = `${"0.34.8"}.${fingerprint}`;
|
|
71406
71406
|
const entrypoint = process.env.ATHER_CODE_ENTRYPOINT ?? "unknown";
|
|
71407
71407
|
const cch = "";
|
|
71408
71408
|
const workload = getWorkload();
|
|
@@ -104419,7 +104419,7 @@ var init_metadata = __esm(() => {
|
|
|
104419
104419
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
104420
104420
|
WHITESPACE_REGEX = /\s+/;
|
|
104421
104421
|
getVersionBase = memoize_default(() => {
|
|
104422
|
-
const match = "0.34.
|
|
104422
|
+
const match = "0.34.8".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
104423
104423
|
return match ? match[0] : undefined;
|
|
104424
104424
|
});
|
|
104425
104425
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -104459,9 +104459,9 @@ var init_metadata = __esm(() => {
|
|
|
104459
104459
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
104460
104460
|
isAtherCodeAction: isEnvTruthy(process.env.ATHER_CODE_ACTION),
|
|
104461
104461
|
isAtherCodeAiAuth: isAtherSubscriber(),
|
|
104462
|
-
version: "0.34.
|
|
104462
|
+
version: "0.34.8",
|
|
104463
104463
|
versionBase: getVersionBase(),
|
|
104464
|
-
buildTime: "2026-10-
|
|
104464
|
+
buildTime: "2026-10-21T05:16:51.855Z",
|
|
104465
104465
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
104466
104466
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
104467
104467
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -112676,7 +112676,7 @@ var init_effort = __esm(() => {
|
|
|
112676
112676
|
// src/utils/userAgent.ts
|
|
112677
112677
|
function getAtherCodeUserAgent() {
|
|
112678
112678
|
try {
|
|
112679
|
-
return `ather-code/${"0.34.
|
|
112679
|
+
return `ather-code/${"0.34.8"}`;
|
|
112680
112680
|
} catch {
|
|
112681
112681
|
return "ather-code/0.0.0";
|
|
112682
112682
|
}
|
|
@@ -112688,7 +112688,7 @@ function getUserAgent() {
|
|
|
112688
112688
|
const clientApp = process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}` : "";
|
|
112689
112689
|
const workload = getWorkload();
|
|
112690
112690
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
112691
|
-
return `ather-code/${"0.34.
|
|
112691
|
+
return `ather-code/${"0.34.8"} (${"external"}, ${process.env.ATHER_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
112692
112692
|
}
|
|
112693
112693
|
function getMCPUserAgent() {
|
|
112694
112694
|
const parts = [];
|
|
@@ -112702,7 +112702,7 @@ function getMCPUserAgent() {
|
|
|
112702
112702
|
parts.push(`client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}`);
|
|
112703
112703
|
}
|
|
112704
112704
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
112705
|
-
return `ather-code/${"0.34.
|
|
112705
|
+
return `ather-code/${"0.34.8"}${suffix}`;
|
|
112706
112706
|
}
|
|
112707
112707
|
function getWebFetchUserAgent() {
|
|
112708
112708
|
const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/Atharva/ather-code";
|
|
@@ -150069,7 +150069,7 @@ function computeFingerprint(messageText2, version2) {
|
|
|
150069
150069
|
}
|
|
150070
150070
|
function computeFingerprintFromMessages(messages) {
|
|
150071
150071
|
const firstMessageText = extractFirstMessageText(messages);
|
|
150072
|
-
return computeFingerprint(firstMessageText, "0.34.
|
|
150072
|
+
return computeFingerprint(firstMessageText, "0.34.8");
|
|
150073
150073
|
}
|
|
150074
150074
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
150075
150075
|
var init_fingerprint = () => {};
|
|
@@ -150111,7 +150111,7 @@ async function sideQuery(opts) {
|
|
|
150111
150111
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
150112
150112
|
}
|
|
150113
150113
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
150114
|
-
const fingerprint = computeFingerprint(messageText2, "0.34.
|
|
150114
|
+
const fingerprint = computeFingerprint(messageText2, "0.34.8");
|
|
150115
150115
|
const attributionPolicy = resolveCurrentAnthropicAttributionPolicy({
|
|
150116
150116
|
attributionEnabled: isAttributionHeaderEnabled()
|
|
150117
150117
|
});
|
|
@@ -151408,7 +151408,7 @@ var init_client2 = __esm(() => {
|
|
|
151408
151408
|
const client = new Client({
|
|
151409
151409
|
name: "ather-code-code",
|
|
151410
151410
|
title: "Ather Code",
|
|
151411
|
-
version: "0.34.
|
|
151411
|
+
version: "0.34.8",
|
|
151412
151412
|
description: "Ather Code — a terminal coding agent that works with any model provider",
|
|
151413
151413
|
websiteUrl: PRODUCT_URL
|
|
151414
151414
|
}, {
|
|
@@ -230132,7 +230132,7 @@ function getAnthropicEnvMetadata() {
|
|
|
230132
230132
|
function getBuildAgeMinutes() {
|
|
230133
230133
|
if (false)
|
|
230134
230134
|
;
|
|
230135
|
-
const buildTime = new Date("2026-10-
|
|
230135
|
+
const buildTime = new Date("2026-10-21T05:16:51.855Z").getTime();
|
|
230136
230136
|
if (isNaN(buildTime))
|
|
230137
230137
|
return;
|
|
230138
230138
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -259508,7 +259508,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
259508
259508
|
init_slowOperations();
|
|
259509
259509
|
init_transcriptFileLock();
|
|
259510
259510
|
init_uuid();
|
|
259511
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.34.
|
|
259511
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.34.8" : "unknown";
|
|
259512
259512
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
259513
259513
|
TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
|
|
259514
259514
|
transcriptRewriteHooksForTesting = {};
|
|
@@ -260975,7 +260975,7 @@ var init_filesystem = __esm(() => {
|
|
|
260975
260975
|
});
|
|
260976
260976
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
260977
260977
|
const nonce = randomBytes10(16).toString("hex");
|
|
260978
|
-
return join95(getAtherCodeTempDir(), "bundled-skills", "0.34.
|
|
260978
|
+
return join95(getAtherCodeTempDir(), "bundled-skills", "0.34.8", nonce);
|
|
260979
260979
|
});
|
|
260980
260980
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
260981
260981
|
});
|
|
@@ -275482,7 +275482,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
275482
275482
|
slash_commands: inputs.commands.filter((c7) => c7.userInvocable !== false).map((c7) => c7.name),
|
|
275483
275483
|
apiKeySource: getAtherApiKeyWithSource().source,
|
|
275484
275484
|
betas: getSdkBetas(),
|
|
275485
|
-
ather_code_code_version: "0.34.
|
|
275485
|
+
ather_code_code_version: "0.34.8",
|
|
275486
275486
|
output_style: outputStyle,
|
|
275487
275487
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
275488
275488
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|