@rayss-dev/openclaude 0.33.1-by-rayss → 0.33.2-by-rayss
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/acp.mjs +65 -45
- package/dist/cli.mjs +26 -26
- package/dist/sdk.mjs +39 -22
- package/package.json +1 -1
package/dist/acp.mjs
CHANGED
|
@@ -10106,14 +10106,14 @@ function getReleaseTagUrl(version = publicBuildVersion) {
|
|
|
10106
10106
|
return `${OPENCLAUDE_RELEASES_URL}/tag/v${normalizePublicVersion(version)}`;
|
|
10107
10107
|
}
|
|
10108
10108
|
function getPublicBuildVersion() {
|
|
10109
|
-
return "0.33.
|
|
10109
|
+
return "0.33.2-by-rayss";
|
|
10110
10110
|
}
|
|
10111
10111
|
var import_semver, OPENCLAUDE_RELEASES_URL = "https://github.com/rayss868/openclaude/releases", fallbackBuildVersion, publicBuildVersion;
|
|
10112
10112
|
var init_version = __esm(() => {
|
|
10113
10113
|
import_semver = __toESM(require_semver2(), 1);
|
|
10114
10114
|
fallbackBuildVersion = (() => {
|
|
10115
10115
|
try {
|
|
10116
|
-
return "0.33.
|
|
10116
|
+
return "0.33.2-by-rayss";
|
|
10117
10117
|
} catch {
|
|
10118
10118
|
return "0.0.0";
|
|
10119
10119
|
}
|
|
@@ -110969,7 +110969,7 @@ var init_metadata = __esm(() => {
|
|
|
110969
110969
|
COMPOUND_OPERATOR_REGEX = /\s*(?:&&|\|\||[;|])\s*/;
|
|
110970
110970
|
WHITESPACE_REGEX = /\s+/;
|
|
110971
110971
|
getVersionBase = memoize_default(() => {
|
|
110972
|
-
const match = "0.33.
|
|
110972
|
+
const match = "0.33.2-by-rayss".match(/^\d+\.\d+\.\d+(?:-[a-z]+)?/);
|
|
110973
110973
|
return match ? match[0] : undefined;
|
|
110974
110974
|
});
|
|
110975
110975
|
buildEnvContext = memoize_default(async () => {
|
|
@@ -111009,9 +111009,9 @@ var init_metadata = __esm(() => {
|
|
|
111009
111009
|
isGithubAction: isEnvTruthy(process.env.GITHUB_ACTIONS),
|
|
111010
111010
|
isClaudeCodeAction: isEnvTruthy(process.env.CLAUDE_CODE_ACTION),
|
|
111011
111011
|
isClaudeAiAuth: isClaudeAISubscriber(),
|
|
111012
|
-
version: "0.33.
|
|
111012
|
+
version: "0.33.2-by-rayss",
|
|
111013
111013
|
versionBase: getVersionBase(),
|
|
111014
|
-
buildTime: "2026-10-
|
|
111014
|
+
buildTime: "2026-10-23T01:50:03.307Z",
|
|
111015
111015
|
deploymentEnvironment: env2.detectDeploymentEnvironment(),
|
|
111016
111016
|
...isEnvTruthy(process.env.GITHUB_ACTIONS) && {
|
|
111017
111017
|
githubEventName: process.env.GITHUB_EVENT_NAME,
|
|
@@ -111813,6 +111813,12 @@ function tempPathFor(targetPath, writeId) {
|
|
|
111813
111813
|
const resolved = resolve13(targetPath);
|
|
111814
111814
|
return join29(dirname16(resolved), `${basename6(resolved)}.${writeId}.openclaude.tmp`);
|
|
111815
111815
|
}
|
|
111816
|
+
function unknownWriteIdError(writeId, targetPath) {
|
|
111817
|
+
const resolved = resolve13(targetPath);
|
|
111818
|
+
const active = [...states.values()].find((state) => state.targetPath === resolved);
|
|
111819
|
+
const recovery = active ? ` An active chunked write for this path uses write_id ` + `${active.writeId} and expects chunk index ${active.nextChunkIndex}; ` + `retry with that write_id.` : ` Restart with write_mode "start" and reuse the write_id returned in ` + `that tool result for the following append calls.`;
|
|
111820
|
+
return new ChunkedWriteError(`Unknown writeId: ${writeId}. The chunked write is no longer active — it ` + `may have been started in a different process, already finished, or ` + `discarded.${recovery}`);
|
|
111821
|
+
}
|
|
111816
111822
|
function enforceChunkLimit(content) {
|
|
111817
111823
|
if (content.length > MAX_FILE_WRITE_CHUNK_CHARS) {
|
|
111818
111824
|
throw new ChunkedWriteError(`Chunk is ${content.length} characters but must be at most ` + `${MAX_FILE_WRITE_CHUNK_CHARS} characters; split it into smaller chunks.`);
|
|
@@ -111822,6 +111828,11 @@ async function startChunkedWrite(targetPath, content, snapshot) {
|
|
|
111822
111828
|
enforceChunkLimit(content);
|
|
111823
111829
|
const fs2 = getFsImplementation();
|
|
111824
111830
|
const resolvedTarget = resolve13(targetPath);
|
|
111831
|
+
for (const [existingId, existing] of states) {
|
|
111832
|
+
if (existing.targetPath === resolvedTarget) {
|
|
111833
|
+
await clearChunkedWrite(existingId).catch(() => {});
|
|
111834
|
+
}
|
|
111835
|
+
}
|
|
111825
111836
|
const writeId = randomUUID3();
|
|
111826
111837
|
const tempPath = tempPathFor(resolvedTarget, writeId);
|
|
111827
111838
|
let initialMtimeMs = snapshot.expectedInitialMtimeMs;
|
|
@@ -111848,6 +111859,7 @@ async function startChunkedWrite(targetPath, content, snapshot) {
|
|
|
111848
111859
|
}
|
|
111849
111860
|
}
|
|
111850
111861
|
try {
|
|
111862
|
+
await fs2.mkdir(dirname16(resolvedTarget));
|
|
111851
111863
|
await fs2.writeFile(tempPath, content, { encoding: snapshot.encoding });
|
|
111852
111864
|
} catch (error40) {
|
|
111853
111865
|
await fs2.unlink(tempPath).catch(() => {});
|
|
@@ -111875,7 +111887,7 @@ async function appendChunkedWrite(targetPath, writeId, chunkIndex, content, resp
|
|
|
111875
111887
|
enforceChunkLimit(content);
|
|
111876
111888
|
const state = states.get(writeId);
|
|
111877
111889
|
if (!state) {
|
|
111878
|
-
throw
|
|
111890
|
+
throw unknownWriteIdError(writeId, targetPath);
|
|
111879
111891
|
}
|
|
111880
111892
|
if (resolve13(targetPath) !== state.targetPath) {
|
|
111881
111893
|
throw new ChunkedWriteError(`Target path ${targetPath} does not match the chunked write for ${writeId}`);
|
|
@@ -111906,7 +111918,7 @@ async function discardChunkedWriteState(writeId) {
|
|
|
111906
111918
|
async function commitChunkedWrite(targetPath, writeId) {
|
|
111907
111919
|
const state = states.get(writeId);
|
|
111908
111920
|
if (!state) {
|
|
111909
|
-
throw
|
|
111921
|
+
throw unknownWriteIdError(writeId, targetPath);
|
|
111910
111922
|
}
|
|
111911
111923
|
if (resolve13(targetPath) !== state.targetPath) {
|
|
111912
111924
|
throw new ChunkedWriteError(`Target path ${targetPath} does not match the chunked write for ${writeId}`);
|
|
@@ -150510,6 +150522,9 @@ function legacyModelSupportsEffort(model, context) {
|
|
|
150510
150522
|
if (modelUsesOpenAIEffort(model, context) && (context?.routeId === "custom" || resolveActiveRouteIdFromEnv(process.env) === "custom")) {
|
|
150511
150523
|
return true;
|
|
150512
150524
|
}
|
|
150525
|
+
if (context?.routeId === "custom" && getReasoningApiProvider(context) === "openai") {
|
|
150526
|
+
return true;
|
|
150527
|
+
}
|
|
150513
150528
|
if (modelUsesOpenAIEffort(model, context) && modelSupportsCodexReasoningEffort(model, context)) {
|
|
150514
150529
|
return true;
|
|
150515
150530
|
}
|
|
@@ -174784,11 +174799,11 @@ var init_codeIndexing = __esm(() => {
|
|
|
174784
174799
|
|
|
174785
174800
|
// src/utils/userAgent.ts
|
|
174786
174801
|
function getClaudeCodeUserAgent() {
|
|
174787
|
-
return `claude-code/${"0.33.
|
|
174802
|
+
return `claude-code/${"0.33.2-by-rayss"}`;
|
|
174788
174803
|
}
|
|
174789
174804
|
function getOpenClaudeUserAgent() {
|
|
174790
174805
|
try {
|
|
174791
|
-
return `openclaude/${"0.33.
|
|
174806
|
+
return `openclaude/${"0.33.2-by-rayss"}`;
|
|
174792
174807
|
} catch {
|
|
174793
174808
|
return "openclaude/0.0.0";
|
|
174794
174809
|
}
|
|
@@ -174810,7 +174825,7 @@ function getUserAgent() {
|
|
|
174810
174825
|
const clientApp = process.env.CLAUDE_AGENT_SDK_CLIENT_APP ? `, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}` : "";
|
|
174811
174826
|
const workload = getWorkload();
|
|
174812
174827
|
const workloadSuffix = workload ? `, workload/${workload}` : "";
|
|
174813
|
-
return `claude-cli/${"0.33.
|
|
174828
|
+
return `claude-cli/${"0.33.2-by-rayss"} (${process.env.USER_TYPE}, ${process.env.CLAUDE_CODE_ENTRYPOINT ?? "cli"}${agentSdkVersion}${clientApp}${workloadSuffix})`;
|
|
174814
174829
|
}
|
|
174815
174830
|
function getMCPUserAgent() {
|
|
174816
174831
|
const parts = [];
|
|
@@ -174824,7 +174839,7 @@ function getMCPUserAgent() {
|
|
|
174824
174839
|
parts.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);
|
|
174825
174840
|
}
|
|
174826
174841
|
const suffix = parts.length > 0 ? ` (${parts.join(", ")})` : "";
|
|
174827
|
-
return `claude-code/${"0.33.
|
|
174842
|
+
return `claude-code/${"0.33.2-by-rayss"}${suffix}`;
|
|
174828
174843
|
}
|
|
174829
174844
|
function getWebFetchUserAgent() {
|
|
174830
174845
|
const supportUrl = isFirstPartyAnthropicProvider() ? "https://support.anthropic.com/" : "https://github.com/rayss868/openclaude";
|
|
@@ -179899,7 +179914,7 @@ function getAttributionHeader(fingerprint, policy) {
|
|
|
179899
179914
|
if (!policy.generate) {
|
|
179900
179915
|
return "";
|
|
179901
179916
|
}
|
|
179902
|
-
const version2 = `${"0.33.
|
|
179917
|
+
const version2 = `${"0.33.2-by-rayss"}.${fingerprint}`;
|
|
179903
179918
|
const entrypoint = process.env.CLAUDE_CODE_ENTRYPOINT ?? "unknown";
|
|
179904
179919
|
const cch = "";
|
|
179905
179920
|
const workload = getWorkload();
|
|
@@ -188104,7 +188119,7 @@ function computeFingerprint(messageText2, version2) {
|
|
|
188104
188119
|
}
|
|
188105
188120
|
function computeFingerprintFromMessages(messages) {
|
|
188106
188121
|
const firstMessageText = extractFirstMessageText(messages);
|
|
188107
|
-
return computeFingerprint(firstMessageText, "0.33.
|
|
188122
|
+
return computeFingerprint(firstMessageText, "0.33.2-by-rayss");
|
|
188108
188123
|
}
|
|
188109
188124
|
var FINGERPRINT_SALT = "59cf53e54c78";
|
|
188110
188125
|
var init_fingerprint = () => {};
|
|
@@ -189587,7 +189602,7 @@ var init_client3 = __esm(() => {
|
|
|
189587
189602
|
const client = new Client({
|
|
189588
189603
|
name: "claude-code",
|
|
189589
189604
|
title: "OpenClaude",
|
|
189590
|
-
version: "0.33.
|
|
189605
|
+
version: "0.33.2-by-rayss",
|
|
189591
189606
|
description: "OpenClaude — coding-agent CLI for any LLM provider",
|
|
189592
189607
|
websiteUrl: PRODUCT_URL
|
|
189593
189608
|
}, {
|
|
@@ -257281,7 +257296,7 @@ var init_FileWriteTool = __esm(() => {
|
|
|
257281
257296
|
file_path: exports_external.string().describe("The absolute path to the file to write (must be absolute, not relative)"),
|
|
257282
257297
|
write_mode: exports_external.enum(["replace", "start", "append", "finish"]).default("replace").describe("Write lifecycle mode"),
|
|
257283
257298
|
write_id: exports_external.string().optional().describe("Chunked write identifier"),
|
|
257284
|
-
chunk_index: exports_external.number().int().nonnegative().optional().describe("
|
|
257299
|
+
chunk_index: exports_external.number().int().nonnegative().optional().describe("Chunk sequence index; the first append after start must be 1"),
|
|
257285
257300
|
content: exports_external.string().optional().describe("Content to write to the file")
|
|
257286
257301
|
}).superRefine((value, ctx) => {
|
|
257287
257302
|
if (value.write_mode === "finish") {
|
|
@@ -257600,14 +257615,14 @@ var init_FileWriteTool = __esm(() => {
|
|
|
257600
257615
|
return {
|
|
257601
257616
|
tool_use_id: toolUseID,
|
|
257602
257617
|
type: "tool_result",
|
|
257603
|
-
content: `Started chunked write for ${output.filePath}; next chunk index is ${output.nextChunkIndex}.`
|
|
257618
|
+
content: `Started chunked write for ${output.filePath}; write_id is ` + `${output.writeId}; next chunk index is ${output.nextChunkIndex}.`
|
|
257604
257619
|
};
|
|
257605
257620
|
}
|
|
257606
257621
|
if (output.type === "chunked_append") {
|
|
257607
257622
|
return {
|
|
257608
257623
|
tool_use_id: toolUseID,
|
|
257609
257624
|
type: "tool_result",
|
|
257610
|
-
content: `Appended chunk to ${output.filePath}; next chunk index is ${output.nextChunkIndex}.`
|
|
257625
|
+
content: `Appended chunk to ${output.filePath}; write_id is ` + `${output.writeId}; next chunk index is ${output.nextChunkIndex}.`
|
|
257611
257626
|
};
|
|
257612
257627
|
}
|
|
257613
257628
|
if (output.type === "chunked_finish") {
|
|
@@ -288926,7 +288941,7 @@ function getAnthropicEnvMetadata() {
|
|
|
288926
288941
|
function getBuildAgeMinutes() {
|
|
288927
288942
|
if (false)
|
|
288928
288943
|
;
|
|
288929
|
-
const buildTime = new Date("2026-10-
|
|
288944
|
+
const buildTime = new Date("2026-10-23T01:50:03.307Z").getTime();
|
|
288930
288945
|
if (isNaN(buildTime))
|
|
288931
288946
|
return;
|
|
288932
288947
|
return Math.floor((Date.now() - buildTime) / 60000);
|
|
@@ -299430,7 +299445,7 @@ function Feedback({
|
|
|
299430
299445
|
platform: env2.platform,
|
|
299431
299446
|
gitRepo: envInfo.isGit,
|
|
299432
299447
|
terminal: env2.terminal,
|
|
299433
|
-
version: "0.33.
|
|
299448
|
+
version: "0.33.2-by-rayss",
|
|
299434
299449
|
transcript: normalizeMessagesForAPI(messages),
|
|
299435
299450
|
errors: sanitizedErrors,
|
|
299436
299451
|
lastApiRequest: getLastAPIRequest(),
|
|
@@ -299619,7 +299634,7 @@ function Feedback({
|
|
|
299619
299634
|
", ",
|
|
299620
299635
|
env2.terminal,
|
|
299621
299636
|
", v",
|
|
299622
|
-
"0.33.
|
|
299637
|
+
"0.33.2-by-rayss"
|
|
299623
299638
|
]
|
|
299624
299639
|
}, undefined, true, undefined, this)
|
|
299625
299640
|
]
|
|
@@ -299727,7 +299742,7 @@ ${sanitizedDescription}
|
|
|
299727
299742
|
` + `**Environment Info**
|
|
299728
299743
|
` + `- Platform: ${env2.platform}
|
|
299729
299744
|
` + `- Terminal: ${env2.terminal}
|
|
299730
|
-
` + `- Version: ${"0.33.
|
|
299745
|
+
` + `- Version: ${"0.33.2-by-rayss"}
|
|
299731
299746
|
` + feedbackIdLine + `
|
|
299732
299747
|
**Errors**
|
|
299733
299748
|
\`\`\`json
|
|
@@ -305630,7 +305645,7 @@ var init_user = __esm(() => {
|
|
|
305630
305645
|
deviceId,
|
|
305631
305646
|
sessionId: getSessionId(),
|
|
305632
305647
|
email: getEmail(),
|
|
305633
|
-
appVersion: "0.33.
|
|
305648
|
+
appVersion: "0.33.2-by-rayss",
|
|
305634
305649
|
platform: getHostPlatformForAnalytics(),
|
|
305635
305650
|
organizationUuid,
|
|
305636
305651
|
accountUuid,
|
|
@@ -306764,7 +306779,7 @@ function detectLinuxGlobPatternWarnings() {
|
|
|
306764
306779
|
}
|
|
306765
306780
|
async function getDoctorDiagnostic() {
|
|
306766
306781
|
const installationType = await getCurrentInstallationType();
|
|
306767
|
-
const version2 = typeof MACRO !== "undefined" ? "0.33.
|
|
306782
|
+
const version2 = typeof MACRO !== "undefined" ? "0.33.2-by-rayss" : "unknown";
|
|
306768
306783
|
const installationPath = await getInstallationPath();
|
|
306769
306784
|
const invokedBinary = getInvokedBinary();
|
|
306770
306785
|
const multipleInstallations = await detectMultipleInstallations();
|
|
@@ -307475,8 +307490,8 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
307475
307490
|
const maxVersion = await getMaxVersion();
|
|
307476
307491
|
if (maxVersion && gt(version2, maxVersion)) {
|
|
307477
307492
|
logForDebugging(`Native installer: maxVersion ${maxVersion} is set, capping update from ${version2} to ${maxVersion}`);
|
|
307478
|
-
if (gte("0.33.
|
|
307479
|
-
logForDebugging(`Native installer: current version ${"0.33.
|
|
307493
|
+
if (gte("0.33.2-by-rayss", maxVersion)) {
|
|
307494
|
+
logForDebugging(`Native installer: current version ${"0.33.2-by-rayss"} is already at or above maxVersion ${maxVersion}, skipping update`);
|
|
307480
307495
|
logEvent("tengu_native_update_skipped_max_version", {
|
|
307481
307496
|
latency_ms: Date.now() - startTime,
|
|
307482
307497
|
max_version: maxVersion,
|
|
@@ -307487,7 +307502,7 @@ async function updateLatest(channelOrVersion, forceReinstall = false) {
|
|
|
307487
307502
|
version2 = maxVersion;
|
|
307488
307503
|
}
|
|
307489
307504
|
}
|
|
307490
|
-
if (!forceReinstall && version2 === "0.33.
|
|
307505
|
+
if (!forceReinstall && version2 === "0.33.2-by-rayss" && await versionIsAvailable(version2) && await isPossibleClaudeBinary(executablePath)) {
|
|
307491
307506
|
logForDebugging(`Found ${version2} at ${executablePath}, skipping install`);
|
|
307492
307507
|
logEvent("tengu_native_update_complete", {
|
|
307493
307508
|
latency_ms: Date.now() - startTime,
|
|
@@ -352820,7 +352835,7 @@ function buildPrimarySection() {
|
|
|
352820
352835
|
}, undefined, false, undefined, this);
|
|
352821
352836
|
return [{
|
|
352822
352837
|
label: "Version",
|
|
352823
|
-
value: "0.33.
|
|
352838
|
+
value: "0.33.2-by-rayss"
|
|
352824
352839
|
}, {
|
|
352825
352840
|
label: "Session name",
|
|
352826
352841
|
value: nameValue
|
|
@@ -360342,7 +360357,7 @@ function Config2({
|
|
|
360342
360357
|
}
|
|
360343
360358
|
}, undefined, false, undefined, this)
|
|
360344
360359
|
}, undefined, false, undefined, this) : showSubmenu === "ChannelDowngrade" ? /* @__PURE__ */ jsxDEV162(ChannelDowngradeDialog, {
|
|
360345
|
-
currentVersion: "0.33.
|
|
360360
|
+
currentVersion: "0.33.2-by-rayss",
|
|
360346
360361
|
onChoice: (choice) => {
|
|
360347
360362
|
setShowSubmenu(null);
|
|
360348
360363
|
setTabsHidden(false);
|
|
@@ -360354,7 +360369,7 @@ function Config2({
|
|
|
360354
360369
|
autoUpdatesChannel: "stable"
|
|
360355
360370
|
};
|
|
360356
360371
|
if (choice === "stay") {
|
|
360357
|
-
newSettings.minimumVersion = "0.33.
|
|
360372
|
+
newSettings.minimumVersion = "0.33.2-by-rayss";
|
|
360358
360373
|
}
|
|
360359
360374
|
updateSettingsForSource("userSettings", newSettings);
|
|
360360
360375
|
setSettingsData((prev_27) => ({
|
|
@@ -369441,21 +369456,21 @@ function readPackageManager(env4) {
|
|
|
369441
369456
|
}
|
|
369442
369457
|
function readMacroVersion() {
|
|
369443
369458
|
try {
|
|
369444
|
-
return "0.33.
|
|
369459
|
+
return "0.33.2-by-rayss";
|
|
369445
369460
|
} catch {
|
|
369446
369461
|
return;
|
|
369447
369462
|
}
|
|
369448
369463
|
}
|
|
369449
369464
|
function readMacroDisplayVersion() {
|
|
369450
369465
|
try {
|
|
369451
|
-
return "0.33.
|
|
369466
|
+
return "0.33.2-by-rayss";
|
|
369452
369467
|
} catch {
|
|
369453
369468
|
return;
|
|
369454
369469
|
}
|
|
369455
369470
|
}
|
|
369456
369471
|
function readMacroBuildTime() {
|
|
369457
369472
|
try {
|
|
369458
|
-
return "2026-10-
|
|
369473
|
+
return "2026-10-23T01:50:03.307Z";
|
|
369459
369474
|
} catch {
|
|
369460
369475
|
return;
|
|
369461
369476
|
}
|
|
@@ -443905,7 +443920,7 @@ async function captureMemoryDiagnostics(trigger, dumpNumber = 0) {
|
|
|
443905
443920
|
smapsRollup,
|
|
443906
443921
|
platform: process.platform,
|
|
443907
443922
|
nodeVersion: process.version,
|
|
443908
|
-
ccVersion: "0.33.
|
|
443923
|
+
ccVersion: "0.33.2-by-rayss"
|
|
443909
443924
|
};
|
|
443910
443925
|
}
|
|
443911
443926
|
async function performHeapDump(trigger = "manual", dumpNumber = 0) {
|
|
@@ -444172,7 +444187,7 @@ var init_bridge_kick = __esm(() => {
|
|
|
444172
444187
|
var call75 = async () => {
|
|
444173
444188
|
return {
|
|
444174
444189
|
type: "text",
|
|
444175
|
-
value: `${"0.33.
|
|
444190
|
+
value: `${"0.33.2-by-rayss"} (built ${"2026-10-23T01:50:03.307Z"})`
|
|
444176
444191
|
};
|
|
444177
444192
|
}, version2, version_default;
|
|
444178
444193
|
var init_version2 = __esm(() => {
|
|
@@ -444738,7 +444753,7 @@ async function call76(onDone, _context, args) {
|
|
|
444738
444753
|
}, undefined, false, undefined, this));
|
|
444739
444754
|
return null;
|
|
444740
444755
|
}
|
|
444741
|
-
var PACKAGE_URL = "@rayss-dev/openclaude", CURRENT_VERSION = "0.33.
|
|
444756
|
+
var PACKAGE_URL = "@rayss-dev/openclaude", CURRENT_VERSION = "0.33.2-by-rayss";
|
|
444742
444757
|
var init_update = __esm(() => {
|
|
444743
444758
|
init_StatusIcon();
|
|
444744
444759
|
init_ink2();
|
|
@@ -451759,9 +451774,11 @@ function EffortPicker({ onSelect, onCancel }) {
|
|
|
451759
451774
|
const appStateEffort = useAppState((s) => s.effortValue);
|
|
451760
451775
|
const setAppState = useSetAppState();
|
|
451761
451776
|
const provider2 = getAPIProvider();
|
|
451762
|
-
const
|
|
451763
|
-
const
|
|
451764
|
-
const
|
|
451777
|
+
const routeId = resolveActiveRouteIdFromEnv(process.env);
|
|
451778
|
+
const effortContext = routeId ? { apiProvider: provider2, routeId } : undefined;
|
|
451779
|
+
const usesOpenAIEffort = modelUsesOpenAIEffort(model, effortContext);
|
|
451780
|
+
const availableLevels = getAvailableEffortLevels(model, effortContext);
|
|
451781
|
+
const currentDisplayedLevel = getDisplayedEffortLevel(model, appStateEffort, effortContext);
|
|
451765
451782
|
const modelReasoningEffort = usesOpenAIEffort ? getReasoningEffortForModel(model) : undefined;
|
|
451766
451783
|
const options2 = [
|
|
451767
451784
|
{
|
|
@@ -451807,7 +451824,7 @@ function EffortPicker({ onSelect, onCancel }) {
|
|
|
451807
451824
|
function handleCancel() {
|
|
451808
451825
|
onCancel?.();
|
|
451809
451826
|
}
|
|
451810
|
-
const supportsEffort = modelSupportsEffort(model);
|
|
451827
|
+
const supportsEffort = modelSupportsEffort(model, effortContext);
|
|
451811
451828
|
const initialFocus = usesOpenAIEffort ? appStateEffort ? String(appStateEffort) : modelReasoningEffort || "auto" : appStateEffort ? String(appStateEffort) : "auto";
|
|
451812
451829
|
return /* @__PURE__ */ jsxDEV357(ThemedBox_default, {
|
|
451813
451830
|
flexDirection: "column",
|
|
@@ -451889,6 +451906,7 @@ var init_EffortPicker = __esm(() => {
|
|
|
451889
451906
|
init_AppState();
|
|
451890
451907
|
init_effort();
|
|
451891
451908
|
init_providers2();
|
|
451909
|
+
init_routeMetadata();
|
|
451892
451910
|
init_providerConfig();
|
|
451893
451911
|
init_select();
|
|
451894
451912
|
init_EffortIndicator();
|
|
@@ -456925,7 +456943,7 @@ function generateHtmlReport(data, insights) {
|
|
|
456925
456943
|
</html>`;
|
|
456926
456944
|
}
|
|
456927
456945
|
function buildExportData(data, insights, facets) {
|
|
456928
|
-
const version3 = typeof MACRO !== "undefined" ? "0.33.
|
|
456946
|
+
const version3 = typeof MACRO !== "undefined" ? "0.33.2-by-rayss" : "unknown";
|
|
456929
456947
|
const facets_summary = {
|
|
456930
456948
|
total: facets.size,
|
|
456931
456949
|
goal_categories: {},
|
|
@@ -461959,7 +461977,7 @@ var init_sessionStorage = __esm(() => {
|
|
|
461959
461977
|
init_slowOperations();
|
|
461960
461978
|
init_transcriptFileLock();
|
|
461961
461979
|
init_uuid();
|
|
461962
|
-
VERSION3 = typeof MACRO !== "undefined" ? "0.33.
|
|
461980
|
+
VERSION3 = typeof MACRO !== "undefined" ? "0.33.2-by-rayss" : "unknown";
|
|
461963
461981
|
MAX_TOMBSTONE_REWRITE_BYTES = 50 * 1024 * 1024;
|
|
461964
461982
|
TRANSCRIPT_COPY_CHUNK_BYTES = 64 * 1024;
|
|
461965
461983
|
transcriptRewriteHooksForTesting = {};
|
|
@@ -463448,7 +463466,7 @@ var init_filesystem = __esm(() => {
|
|
|
463448
463466
|
});
|
|
463449
463467
|
getBundledSkillsRoot = memoize_default(function getBundledSkillsRoot2() {
|
|
463450
463468
|
const nonce = randomBytes19(16).toString("hex");
|
|
463451
|
-
return join150(getClaudeTempDir(), "bundled-skills", "0.33.
|
|
463469
|
+
return join150(getClaudeTempDir(), "bundled-skills", "0.33.2-by-rayss", nonce);
|
|
463452
463470
|
});
|
|
463453
463471
|
getResolvedWorkingDirPaths = memoize_default(getPathsForPermissionCheck);
|
|
463454
463472
|
});
|
|
@@ -474341,7 +474359,9 @@ async function getSkillListingAttachments(toolUseContext) {
|
|
|
474341
474359
|
const localCommands = await getSkillToolCommands(cwd2);
|
|
474342
474360
|
const mcpSkills = getMcpSkillCommands(toolUseContext.getAppState().mcp.commands);
|
|
474343
474361
|
let allCommands = mcpSkills.length > 0 ? uniqBy_default([...localCommands, ...mcpSkills], "name") : localCommands;
|
|
474344
|
-
|
|
474362
|
+
if (skillSearchModules?.featureCheck.isSkillSearchEnabled()) {
|
|
474363
|
+
allCommands = filterToBundledAndMcp(allCommands);
|
|
474364
|
+
}
|
|
474345
474365
|
const agentKey = toolUseContext.agentId ?? "";
|
|
474346
474366
|
let sent = sentSkillNames.get(agentKey);
|
|
474347
474367
|
if (!sent) {
|
|
@@ -501779,7 +501799,7 @@ function buildSystemInitMessage(inputs) {
|
|
|
501779
501799
|
slash_commands: inputs.commands.filter((c6) => c6.userInvocable !== false).map((c6) => c6.name),
|
|
501780
501800
|
apiKeySource: getAnthropicApiKeyWithSource().source,
|
|
501781
501801
|
betas: getSdkBetas(),
|
|
501782
|
-
claude_code_version: "0.33.
|
|
501802
|
+
claude_code_version: "0.33.2-by-rayss",
|
|
501783
501803
|
output_style: outputStyle2,
|
|
501784
501804
|
agents: inputs.agents.map((agent) => agent.agentType),
|
|
501785
501805
|
skills: inputs.skills.filter((s) => s.userInvocable !== false).map((skill) => skill.name),
|
|
@@ -503341,4 +503361,4 @@ export {
|
|
|
503341
503361
|
createAcpServer
|
|
503342
503362
|
};
|
|
503343
503363
|
|
|
503344
|
-
//# debugId=
|
|
503364
|
+
//# debugId=B2714E90535F120764756E2164756E21
|