ather-code 0.34.3 → 0.34.5
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 +26 -25
- 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.5";
|
|
10130
10130
|
} catch {
|
|
10131
10131
|
return "0.0.0";
|
|
10132
10132
|
}
|
|
@@ -71313,7 +71313,7 @@ function getAttributionHeader(fingerprint, policy) {
|
|
|
71313
71313
|
if (!policy.generate) {
|
|
71314
71314
|
return "";
|
|
71315
71315
|
}
|
|
71316
|
-
const version2 = `${"0.34.
|
|
71316
|
+
const version2 = `${"0.34.5"}.${fingerprint}`;
|
|
71317
71317
|
const entrypoint = process.env.ATHER_CODE_ENTRYPOINT ?? "unknown";
|
|
71318
71318
|
const cch = "";
|
|
71319
71319
|
const workload = getWorkload();
|
|
@@ -104330,7 +104330,7 @@ var init_metadata = __esm(() => {
|
|
|
104330
104330
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
104331
104331
|
WHITESPACE_REGEX = /\s+/;
|
|
104332
104332
|
getVersionBase = memoize_default(() => {
|
|
104333
|
-
const match = "0.34.
|
|
104333
|
+
const match = "0.34.5".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
104334
104334
|
return match ? match[0] : undefined;
|
|
104335
104335
|
});
|
|
104336
104336
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -104370,9 +104370,9 @@ var init_metadata = __esm(() => {
|
|
|
104370
104370
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
104371
104371
|
isAtherCodeAction: isEnvTruthy(process.env.ATHER_CODE_ACTION),
|
|
104372
104372
|
isAtherCodeAiAuth: isAtherSubscriber(),
|
|
104373
|
-
version: "0.34.
|
|
104373
|
+
version: "0.34.5",
|
|
104374
104374
|
versionBase: getVersionBase(),
|
|
104375
|
-
buildTime: "2026-10-
|
|
104375
|
+
buildTime: "2026-10-19T07:18:54.205Z",
|
|
104376
104376
|
deploymentEnvironment: env3.detectDeploymentEnvironment(),
|
|
104377
104377
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
104378
104378
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -112587,7 +112587,7 @@ var init_effort = __esm(() => {
|
|
|
112587
112587
|
// src/utils/userAgent.ts
|
|
112588
112588
|
function getAtherCodeUserAgent() {
|
|
112589
112589
|
try {
|
|
112590
|
-
return `ather-code/${"0.34.
|
|
112590
|
+
return `ather-code/${"0.34.5"}`;
|
|
112591
112591
|
} catch {
|
|
112592
112592
|
return "ather-code/0.0.0";
|
|
112593
112593
|
}
|
|
@@ -112599,7 +112599,7 @@ function getUserAgent() {
|
|
|
112599
112599
|
const clientApp = process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}` : "";
|
|
112600
112600
|
const workload = getWorkload();
|
|
112601
112601
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
112602
|
-
return `ather-code/${"0.34.
|
|
112602
|
+
return `ather-code/${"0.34.5"} (${"external"}, ${process.env.ATHER_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
112603
112603
|
}
|
|
112604
112604
|
function getMCPUserAgent() {
|
|
112605
112605
|
const parts = [];
|
|
@@ -112613,7 +112613,7 @@ function getMCPUserAgent() {
|
|
|
112613
112613
|
parts.push(`client-app/${process.env.ATHER_CODE_AGENT_SDK_CLIENT_APP}`);
|
|
112614
112614
|
}
|
|
112615
112615
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
112616
|
-
return `ather-code/${"0.34.
|
|
112616
|
+
return `ather-code/${"0.34.5"}${suffix}`;
|
|
112617
112617
|
}
|
|
112618
112618
|
function getWebFetchUserAgent() {
|
|
112619
112619
|
const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/Atharva/ather-code";
|
|
@@ -149980,7 +149980,7 @@ function computeFingerprint(messageText2, version2) {
|
|
|
149980
149980
|
}
|
|
149981
149981
|
function computeFingerprintFromMessages(messages) {
|
|
149982
149982
|
const firstMessageText = extractFirstMessageText(messages);
|
|
149983
|
-
return computeFingerprint(firstMessageText, "0.34.
|
|
149983
|
+
return computeFingerprint(firstMessageText, "0.34.5");
|
|
149984
149984
|
}
|
|
149985
149985
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
149986
149986
|
var init_fingerprint = () => {};
|
|
@@ -150022,7 +150022,7 @@ async function sideQuery(opts) {
|
|
|
150022
150022
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
150023
150023
|
}
|
|
150024
150024
|
const messageText2 = extractFirstUserMessageText(messages);
|
|
150025
|
-
const fingerprint = computeFingerprint(messageText2, "0.34.
|
|
150025
|
+
const fingerprint = computeFingerprint(messageText2, "0.34.5");
|
|
150026
150026
|
const attributionPolicy = resolveCurrentAnthropicAttributionPolicy({
|
|
150027
150027
|
attributionEnabled: isAttributionHeaderEnabled()
|
|
150028
150028
|
});
|
|
@@ -151319,7 +151319,7 @@ var init_client2 = __esm(() => {
|
|
|
151319
151319
|
const client = new Client({
|
|
151320
151320
|
name: "ather-code-code",
|
|
151321
151321
|
title: "Ather Code",
|
|
151322
|
-
version: "0.34.
|
|
151322
|
+
version: "0.34.5",
|
|
151323
151323
|
description: "Ather Code — a terminal coding agent that works with any model provider",
|
|
151324
151324
|
websiteUrl: PRODUCT_URL
|
|
151325
151325
|
}, {
|
|
@@ -229748,7 +229748,7 @@ function getAnthropicEnvMetadata() {
|
|
|
229748
229748
|
function getBuildAgeMinutes() {
|
|
229749
229749
|
if (false)
|
|
229750
229750
|
;
|
|
229751
|
-
const buildTime = new Date("2026-10-
|
|
229751
|
+
const buildTime = new Date("2026-10-19T07:18:54.205Z").getTime();
|
|
229752
229752
|
if (isNaN(buildTime))
|
|
229753
229753
|
return;
|
|
229754
229754
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -259118,7 +259118,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
259118
259118
|
init_slowOperations();
|
|
259119
259119
|
init_transcriptFileLock();
|
|
259120
259120
|
init_uuid();
|
|
259121
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.34.
|
|
259121
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.34.5" : "unknown";
|
|
259122
259122
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
259123
259123
|
TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
|
|
259124
259124
|
transcriptRewriteHooksForTesting = {};
|
|
@@ -260585,7 +260585,7 @@ var init_filesystem = __esm(() => {
|
|
|
260585
260585
|
});
|
|
260586
260586
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
260587
260587
|
const nonce = randomBytes10(16).toString("hex");
|
|
260588
|
-
return join95(getAtherCodeTempDir(), "bundled-skills", "0.34.
|
|
260588
|
+
return join95(getAtherCodeTempDir(), "bundled-skills", "0.34.5", nonce);
|
|
260589
260589
|
});
|
|
260590
260590
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
260591
260591
|
});
|
|
@@ -275092,7 +275092,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
275092
275092
|
slash_commands: inputs.commands.filter((c7) => c7.userInvocable !== false).map((c7) => c7.name),
|
|
275093
275093
|
apiKeySource: getAtherApiKeyWithSource().source,
|
|
275094
275094
|
betas: getSdkBetas(),
|
|
275095
|
-
ather_code_code_version: "0.34.
|
|
275095
|
+
ather_code_code_version: "0.34.5",
|
|
275096
275096
|
output_style: outputStyle,
|
|
275097
275097
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
275098
275098
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|