@makerbi/openclaude 0.14.7 → 0.14.9
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 +266 -158
- package/dist/sdk.mjs +15 -15
- package/package.json +1 -1
package/dist/sdk.mjs
CHANGED
|
@@ -35454,7 +35454,7 @@ function getAttributionHeader(fingerprint) {
|
|
|
35454
35454
|
if (!isAttributionHeaderEnabled()) {
|
|
35455
35455
|
return "";
|
|
35456
35456
|
}
|
|
35457
|
-
const version = `${"0.14.
|
|
35457
|
+
const version = `${"0.14.9"}.${fingerprint}`;
|
|
35458
35458
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
35459
35459
|
const cch = "";
|
|
35460
35460
|
const workload = getWorkload();
|
|
@@ -193039,7 +193039,7 @@ var init_metadata = __esm(() => {
|
|
|
193039
193039
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
193040
193040
|
WHITESPACE_REGEX = /\s+/;
|
|
193041
193041
|
getVersionBase = memoize_default(() => {
|
|
193042
|
-
const match = "0.14.
|
|
193042
|
+
const match = "0.14.9".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
193043
193043
|
return match ? match[0] : undefined;
|
|
193044
193044
|
});
|
|
193045
193045
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -193079,9 +193079,9 @@ var init_metadata = __esm(() => {
|
|
|
193079
193079
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
193080
193080
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
193081
193081
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
193082
|
-
version: "0.14.
|
|
193082
|
+
version: "0.14.9",
|
|
193083
193083
|
versionBase: getVersionBase(),
|
|
193084
|
-
buildTime: "2026-05-26T10:
|
|
193084
|
+
buildTime: "2026-05-26T10:36:28.963Z",
|
|
193085
193085
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
193086
193086
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
193087
193087
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -201290,7 +201290,7 @@ var init_effort = __esm(() => {
|
|
|
201290
201290
|
|
|
201291
201291
|
// src/utils/userAgent.ts
|
|
201292
201292
|
function getClaudeCodeUserAgent() {
|
|
201293
|
-
return `claude-code/${"0.14.
|
|
201293
|
+
return `claude-code/${"0.14.9"}`;
|
|
201294
201294
|
}
|
|
201295
201295
|
|
|
201296
201296
|
// src/utils/http.ts
|
|
@@ -201299,7 +201299,7 @@ function getUserAgent() {
|
|
|
201299
201299
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
201300
201300
|
const workload = getWorkload();
|
|
201301
201301
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
201302
|
-
return `claude-cli/${"0.14.
|
|
201302
|
+
return `claude-cli/${"0.14.9"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
201303
201303
|
}
|
|
201304
201304
|
function getMCPUserAgent() {
|
|
201305
201305
|
const parts = [];
|
|
@@ -201313,7 +201313,7 @@ function getMCPUserAgent() {
|
|
|
201313
201313
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
201314
201314
|
}
|
|
201315
201315
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
201316
|
-
return `claude-code/${"0.14.
|
|
201316
|
+
return `claude-code/${"0.14.9"}${suffix}`;
|
|
201317
201317
|
}
|
|
201318
201318
|
function getWebFetchUserAgent() {
|
|
201319
201319
|
const supportUrl = getAPIProvider() === "firstParty" ? "https://support.anthropic.com/" : "https://github.com/AndersonBY/openclaude";
|
|
@@ -236719,7 +236719,7 @@ function computeFingerprint(messageText, version2) {
|
|
|
236719
236719
|
}
|
|
236720
236720
|
function computeFingerprintFromMessages(messages) {
|
|
236721
236721
|
const firstMessageText = extractFirstMessageText(messages);
|
|
236722
|
-
return computeFingerprint(firstMessageText, "0.14.
|
|
236722
|
+
return computeFingerprint(firstMessageText, "0.14.9");
|
|
236723
236723
|
}
|
|
236724
236724
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
236725
236725
|
var init_fingerprint = () => {};
|
|
@@ -236761,7 +236761,7 @@ async function sideQuery(opts) {
|
|
|
236761
236761
|
betas.push(STRUCTURED_OUTPUTS_BETA_HEADER);
|
|
236762
236762
|
}
|
|
236763
236763
|
const messageText = extractFirstUserMessageText(messages);
|
|
236764
|
-
const fingerprint = computeFingerprint(messageText, "0.14.
|
|
236764
|
+
const fingerprint = computeFingerprint(messageText, "0.14.9");
|
|
236765
236765
|
const attributionHeader = getAttributionHeader(fingerprint);
|
|
236766
236766
|
const systemBlocks = [
|
|
236767
236767
|
attributionHeader ? { type: "text", text: attributionHeader } : null,
|
|
@@ -238006,7 +238006,7 @@ var init_client2 = __esm(() => {
|
|
|
238006
238006
|
const client = new Client({
|
|
238007
238007
|
name: "claude-code",
|
|
238008
238008
|
title: "OpenClaude",
|
|
238009
|
-
version: "0.14.
|
|
238009
|
+
version: "0.14.9",
|
|
238010
238010
|
description: "OpenClaude — coding-agent CLI for any LLM provider",
|
|
238011
238011
|
websiteUrl: PRODUCT_URL
|
|
238012
238012
|
}, {
|
|
@@ -313314,7 +313314,7 @@ function getAnthropicEnvMetadata() {
|
|
|
313314
313314
|
function getBuildAgeMinutes() {
|
|
313315
313315
|
if (false)
|
|
313316
313316
|
;
|
|
313317
|
-
const buildTime = new Date("2026-05-26T10:
|
|
313317
|
+
const buildTime = new Date("2026-05-26T10:36:28.963Z").getTime();
|
|
313318
313318
|
if (isNaN(buildTime))
|
|
313319
313319
|
return;
|
|
313320
313320
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -347217,7 +347217,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
347217
347217
|
init_settings2();
|
|
347218
347218
|
init_slowOperations();
|
|
347219
347219
|
init_uuid();
|
|
347220
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.14.
|
|
347220
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.14.9" : "unknown";
|
|
347221
347221
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
347222
347222
|
SKIP_FIRST_PROMPT_PATTERN2 = /^(?:\s*<[a-z][\w-]*[\s>]|\[Request interrupted by user[^\]]*\])/;
|
|
347223
347223
|
EPHEMERAL_PROGRESS_TYPES = new Set([
|
|
@@ -348519,7 +348519,7 @@ var init_filesystem = __esm(() => {
|
|
|
348519
348519
|
});
|
|
348520
348520
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
348521
348521
|
const nonce = randomBytes7(16).toString("hex");
|
|
348522
|
-
return join80(getClaudeTempDir(), "bundled-skills", "0.14.
|
|
348522
|
+
return join80(getClaudeTempDir(), "bundled-skills", "0.14.9", nonce);
|
|
348523
348523
|
});
|
|
348524
348524
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
348525
348525
|
});
|
|
@@ -363693,7 +363693,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
363693
363693
|
slash_commands: inputs.commands.filter((c7) => c7.userInvocable !== false).map((c7) => c7.name),
|
|
363694
363694
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
363695
363695
|
betas: getSdkBetas2(),
|
|
363696
|
-
claude_code_version: "0.14.
|
|
363696
|
+
claude_code_version: "0.14.9",
|
|
363697
363697
|
output_style: outputStyle,
|
|
363698
363698
|
agents: inputs.agents.map((agent2) => agent2.agentType),
|
|
363699
363699
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -367745,4 +367745,4 @@ export {
|
|
|
367745
367745
|
AbortError
|
|
367746
367746
|
};
|
|
367747
367747
|
|
|
367748
|
-
//# debugId=
|
|
367748
|
+
//# debugId=FA2711202E59EAD264756E2164756E21
|