@funnycode/myclaude 0.1.77 → 0.1.79
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/myclaude.js +38 -12
- package/dist/myclaude.mjs +38 -12
- package/package.json +1 -1
package/dist/myclaude.js
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// MACRO - build-time constants (injected by build.ts)
|
|
5
5
|
// MACRO injected by build script
|
|
6
6
|
globalThis.MACRO = {
|
|
7
|
-
VERSION: "0.1.
|
|
8
|
-
BUILD_TIME: "2026-07-
|
|
7
|
+
VERSION: "0.1.79",
|
|
8
|
+
BUILD_TIME: "2026-07-15T19:25:35.599Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -114189,12 +114189,11 @@ class AwsAuthStatusManager {
|
|
|
114189
114189
|
var init_awsAuthStatusManager = () => {};
|
|
114190
114190
|
|
|
114191
114191
|
// src/constants/betas.ts
|
|
114192
|
-
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER, AFK_MODE_BETA_HEADER, CLI_INTERNAL_BETA_HEADER, ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
|
|
114192
|
+
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER, AFK_MODE_BETA_HEADER, CLI_INTERNAL_BETA_HEADER = "", ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
|
|
114193
114193
|
var init_betas = __esm(() => {
|
|
114194
114194
|
init_growthbook();
|
|
114195
114195
|
SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER = getFeatureValue_CACHED_MAY_BE_STALE("CONNECTOR_TEXT", false) ? "summarize-connector-text-2026-03-13" : "";
|
|
114196
114196
|
AFK_MODE_BETA_HEADER = getFeatureValue_CACHED_MAY_BE_STALE("TRANSCRIPT_CLASSIFIER", false) ? "afk-mode-2026-01-31" : "";
|
|
114197
|
-
CLI_INTERNAL_BETA_HEADER = process.env.USER_TYPE === "ant" ? "cli-internal-2026-02-09" : "";
|
|
114198
114197
|
BEDROCK_EXTRA_PARAMS_HEADERS = new Set([
|
|
114199
114198
|
INTERLEAVED_THINKING_BETA_HEADER,
|
|
114200
114199
|
CONTEXT_1M_BETA_HEADER,
|
|
@@ -201484,9 +201483,20 @@ var init_agentMemorySnapshot = __esm(() => {
|
|
|
201484
201483
|
var SEND_MESSAGE_TOOL_NAME = "SendMessage";
|
|
201485
201484
|
|
|
201486
201485
|
// src/constants/common.ts
|
|
201486
|
+
function isValidISODate(dateStr) {
|
|
201487
|
+
const isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
|
|
201488
|
+
if (!isoDateRegex.test(dateStr)) {
|
|
201489
|
+
return false;
|
|
201490
|
+
}
|
|
201491
|
+
const [year, month, day] = dateStr.split("-").map(Number);
|
|
201492
|
+
const parsedDate = new Date(year, month - 1, day);
|
|
201493
|
+
return parsedDate.getFullYear() === year && parsedDate.getMonth() === month - 1 && parsedDate.getDate() === day;
|
|
201494
|
+
}
|
|
201487
201495
|
function getLocalISODate() {
|
|
201488
201496
|
if (process.env.CLAUDE_CODE_OVERRIDE_DATE) {
|
|
201489
|
-
|
|
201497
|
+
if (isValidISODate(process.env.CLAUDE_CODE_OVERRIDE_DATE)) {
|
|
201498
|
+
return process.env.CLAUDE_CODE_OVERRIDE_DATE;
|
|
201499
|
+
}
|
|
201490
201500
|
}
|
|
201491
201501
|
const now2 = new Date;
|
|
201492
201502
|
const year = now2.getFullYear();
|
|
@@ -201495,7 +201505,13 @@ function getLocalISODate() {
|
|
|
201495
201505
|
return `${year}-${month}-${day}`;
|
|
201496
201506
|
}
|
|
201497
201507
|
function getLocalMonthYear() {
|
|
201498
|
-
|
|
201508
|
+
if (process.env.CLAUDE_CODE_OVERRIDE_DATE) {
|
|
201509
|
+
if (isValidISODate(process.env.CLAUDE_CODE_OVERRIDE_DATE)) {
|
|
201510
|
+
const date6 = new Date(process.env.CLAUDE_CODE_OVERRIDE_DATE);
|
|
201511
|
+
return date6.toLocaleString("en-US", { month: "long", year: "numeric" });
|
|
201512
|
+
}
|
|
201513
|
+
}
|
|
201514
|
+
const date5 = new Date;
|
|
201499
201515
|
return date5.toLocaleString("en-US", { month: "long", year: "numeric" });
|
|
201500
201516
|
}
|
|
201501
201517
|
var getSessionStartDate;
|
|
@@ -210032,7 +210048,9 @@ function appendToFile(filePath, entries) {
|
|
|
210032
210048
|
return;
|
|
210033
210049
|
fs11.mkdir(dirname27(filePath), { recursive: true }).then(() => fs11.appendFile(filePath, entries.join(`
|
|
210034
210050
|
`) + `
|
|
210035
|
-
`)).catch(() => {
|
|
210051
|
+
`)).catch((err2) => {
|
|
210052
|
+
logForDebugging(`dumpPrompts.appendToFile error: ${err2}`, { level: "error" });
|
|
210053
|
+
});
|
|
210036
210054
|
}
|
|
210037
210055
|
function initFingerprint(req) {
|
|
210038
210056
|
const tools = req.tools;
|
|
@@ -210045,7 +210063,7 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210045
210063
|
try {
|
|
210046
210064
|
const req = jsonParse(body);
|
|
210047
210065
|
addApiRequestToCache(req);
|
|
210048
|
-
if (process.env.USER_TYPE !== "ant")
|
|
210066
|
+
if (process.env.USER_TYPE !== "ant" || process.env.DUMP_PROMPTS !== "1")
|
|
210049
210067
|
return;
|
|
210050
210068
|
const entries = [];
|
|
210051
210069
|
const messages = req.messages ?? [];
|
|
@@ -210071,7 +210089,9 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210071
210089
|
}
|
|
210072
210090
|
state.messageCountSeen = messages.length;
|
|
210073
210091
|
appendToFile(filePath, entries);
|
|
210074
|
-
} catch {
|
|
210092
|
+
} catch (err2) {
|
|
210093
|
+
logForDebugging(`dumpPrompts.dumpRequest error: ${err2}`, { level: "error" });
|
|
210094
|
+
}
|
|
210075
210095
|
}
|
|
210076
210096
|
function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
210077
210097
|
const filePath = getDumpPromptsPath(agentIdOrSessionId);
|
|
@@ -210089,7 +210109,7 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210089
210109
|
setImmediate(dumpRequest, init2.body, timestamp, state, filePath);
|
|
210090
210110
|
}
|
|
210091
210111
|
const response = await globalThis.fetch(input, init2);
|
|
210092
|
-
if (timestamp && response.ok && process.env.USER_TYPE === "ant") {
|
|
210112
|
+
if (timestamp && response.ok && process.env.USER_TYPE === "ant" && process.env.DUMP_PROMPTS === "1") {
|
|
210093
210113
|
const cloned = response.clone();
|
|
210094
210114
|
(async () => {
|
|
210095
210115
|
try {
|
|
@@ -210118,7 +210138,9 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210118
210138
|
if (line.startsWith("data: ") && line !== "data: [DONE]") {
|
|
210119
210139
|
try {
|
|
210120
210140
|
chunks.push(jsonParse(line.slice(6)));
|
|
210121
|
-
} catch {
|
|
210141
|
+
} catch (err2) {
|
|
210142
|
+
logForDebugging(`dumpPrompts.SSE parse error: ${err2}`, { level: "error" });
|
|
210143
|
+
}
|
|
210122
210144
|
}
|
|
210123
210145
|
}
|
|
210124
210146
|
}
|
|
@@ -210128,7 +210150,9 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210128
210150
|
}
|
|
210129
210151
|
await fs11.appendFile(filePath, jsonStringify({ type: "response", timestamp, data }) + `
|
|
210130
210152
|
`);
|
|
210131
|
-
} catch {
|
|
210153
|
+
} catch (err2) {
|
|
210154
|
+
logForDebugging(`dumpPrompts.response handler error: ${err2}`, { level: "error" });
|
|
210155
|
+
}
|
|
210132
210156
|
})();
|
|
210133
210157
|
}
|
|
210134
210158
|
return response;
|
|
@@ -210139,6 +210163,7 @@ var init_dumpPrompts = __esm(() => {
|
|
|
210139
210163
|
init_state();
|
|
210140
210164
|
init_envUtils();
|
|
210141
210165
|
init_slowOperations();
|
|
210166
|
+
init_debug();
|
|
210142
210167
|
cachedApiRequests = [];
|
|
210143
210168
|
dumpState = new Map;
|
|
210144
210169
|
});
|
|
@@ -300887,6 +300912,7 @@ var init_grove = __esm(() => {
|
|
|
300887
300912
|
};
|
|
300888
300913
|
} catch (err2) {
|
|
300889
300914
|
logForDebugging(`Failed to fetch Grove notice config: ${err2}`);
|
|
300915
|
+
getGroveNoticeConfig.cache.clear?.();
|
|
300890
300916
|
return { success: false };
|
|
300891
300917
|
}
|
|
300892
300918
|
});
|
package/dist/myclaude.mjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
// MACRO - build-time constants (injected by build.ts)
|
|
5
5
|
// MACRO injected by build script
|
|
6
6
|
globalThis.MACRO = {
|
|
7
|
-
VERSION: "0.1.
|
|
8
|
-
BUILD_TIME: "2026-07-
|
|
7
|
+
VERSION: "0.1.79",
|
|
8
|
+
BUILD_TIME: "2026-07-15T19:25:35.599Z",
|
|
9
9
|
PACKAGE_URL: "@funnycode/myclaude",
|
|
10
10
|
NATIVE_PACKAGE_URL: "@funnycode/myclaude",
|
|
11
11
|
VERSION_CHANGELOG: '',
|
|
@@ -114189,12 +114189,11 @@ class AwsAuthStatusManager {
|
|
|
114189
114189
|
var init_awsAuthStatusManager = () => {};
|
|
114190
114190
|
|
|
114191
114191
|
// src/constants/betas.ts
|
|
114192
|
-
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER, AFK_MODE_BETA_HEADER, CLI_INTERNAL_BETA_HEADER, ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
|
|
114192
|
+
var CLAUDE_CODE_20250219_BETA_HEADER = "claude-code-20250219", INTERLEAVED_THINKING_BETA_HEADER = "interleaved-thinking-2025-05-14", CONTEXT_1M_BETA_HEADER = "context-1m-2025-08-07", CONTEXT_MANAGEMENT_BETA_HEADER = "context-management-2025-06-27", STRUCTURED_OUTPUTS_BETA_HEADER = "structured-outputs-2025-12-15", WEB_SEARCH_BETA_HEADER = "web-search-2025-03-05", TOOL_SEARCH_BETA_HEADER_1P = "advanced-tool-use-2025-11-20", TOOL_SEARCH_BETA_HEADER_3P = "tool-search-tool-2025-10-19", EFFORT_BETA_HEADER = "effort-2025-11-24", TASK_BUDGETS_BETA_HEADER = "task-budgets-2026-03-13", PROMPT_CACHING_SCOPE_BETA_HEADER = "prompt-caching-scope-2026-01-05", FAST_MODE_BETA_HEADER = "fast-mode-2026-02-01", REDACT_THINKING_BETA_HEADER = "redact-thinking-2026-02-12", TOKEN_EFFICIENT_TOOLS_BETA_HEADER = "token-efficient-tools-2026-03-28", SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER, AFK_MODE_BETA_HEADER, CLI_INTERNAL_BETA_HEADER = "", ADVISOR_BETA_HEADER = "advisor-tool-2026-03-01", BEDROCK_EXTRA_PARAMS_HEADERS, VERTEX_COUNT_TOKENS_ALLOWED_BETAS;
|
|
114193
114193
|
var init_betas = __esm(() => {
|
|
114194
114194
|
init_growthbook();
|
|
114195
114195
|
SUMMARIZE_CONNECTOR_TEXT_BETA_HEADER = getFeatureValue_CACHED_MAY_BE_STALE("CONNECTOR_TEXT", false) ? "summarize-connector-text-2026-03-13" : "";
|
|
114196
114196
|
AFK_MODE_BETA_HEADER = getFeatureValue_CACHED_MAY_BE_STALE("TRANSCRIPT_CLASSIFIER", false) ? "afk-mode-2026-01-31" : "";
|
|
114197
|
-
CLI_INTERNAL_BETA_HEADER = process.env.USER_TYPE === "ant" ? "cli-internal-2026-02-09" : "";
|
|
114198
114197
|
BEDROCK_EXTRA_PARAMS_HEADERS = new Set([
|
|
114199
114198
|
INTERLEAVED_THINKING_BETA_HEADER,
|
|
114200
114199
|
CONTEXT_1M_BETA_HEADER,
|
|
@@ -201484,9 +201483,20 @@ var init_agentMemorySnapshot = __esm(() => {
|
|
|
201484
201483
|
var SEND_MESSAGE_TOOL_NAME = "SendMessage";
|
|
201485
201484
|
|
|
201486
201485
|
// src/constants/common.ts
|
|
201486
|
+
function isValidISODate(dateStr) {
|
|
201487
|
+
const isoDateRegex = /^\d{4}-\d{2}-\d{2}$/;
|
|
201488
|
+
if (!isoDateRegex.test(dateStr)) {
|
|
201489
|
+
return false;
|
|
201490
|
+
}
|
|
201491
|
+
const [year, month, day] = dateStr.split("-").map(Number);
|
|
201492
|
+
const parsedDate = new Date(year, month - 1, day);
|
|
201493
|
+
return parsedDate.getFullYear() === year && parsedDate.getMonth() === month - 1 && parsedDate.getDate() === day;
|
|
201494
|
+
}
|
|
201487
201495
|
function getLocalISODate() {
|
|
201488
201496
|
if (process.env.CLAUDE_CODE_OVERRIDE_DATE) {
|
|
201489
|
-
|
|
201497
|
+
if (isValidISODate(process.env.CLAUDE_CODE_OVERRIDE_DATE)) {
|
|
201498
|
+
return process.env.CLAUDE_CODE_OVERRIDE_DATE;
|
|
201499
|
+
}
|
|
201490
201500
|
}
|
|
201491
201501
|
const now2 = new Date;
|
|
201492
201502
|
const year = now2.getFullYear();
|
|
@@ -201495,7 +201505,13 @@ function getLocalISODate() {
|
|
|
201495
201505
|
return `${year}-${month}-${day}`;
|
|
201496
201506
|
}
|
|
201497
201507
|
function getLocalMonthYear() {
|
|
201498
|
-
|
|
201508
|
+
if (process.env.CLAUDE_CODE_OVERRIDE_DATE) {
|
|
201509
|
+
if (isValidISODate(process.env.CLAUDE_CODE_OVERRIDE_DATE)) {
|
|
201510
|
+
const date6 = new Date(process.env.CLAUDE_CODE_OVERRIDE_DATE);
|
|
201511
|
+
return date6.toLocaleString("en-US", { month: "long", year: "numeric" });
|
|
201512
|
+
}
|
|
201513
|
+
}
|
|
201514
|
+
const date5 = new Date;
|
|
201499
201515
|
return date5.toLocaleString("en-US", { month: "long", year: "numeric" });
|
|
201500
201516
|
}
|
|
201501
201517
|
var getSessionStartDate;
|
|
@@ -210032,7 +210048,9 @@ function appendToFile(filePath, entries) {
|
|
|
210032
210048
|
return;
|
|
210033
210049
|
fs11.mkdir(dirname27(filePath), { recursive: true }).then(() => fs11.appendFile(filePath, entries.join(`
|
|
210034
210050
|
`) + `
|
|
210035
|
-
`)).catch(() => {
|
|
210051
|
+
`)).catch((err2) => {
|
|
210052
|
+
logForDebugging(`dumpPrompts.appendToFile error: ${err2}`, { level: "error" });
|
|
210053
|
+
});
|
|
210036
210054
|
}
|
|
210037
210055
|
function initFingerprint(req) {
|
|
210038
210056
|
const tools = req.tools;
|
|
@@ -210045,7 +210063,7 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210045
210063
|
try {
|
|
210046
210064
|
const req = jsonParse(body);
|
|
210047
210065
|
addApiRequestToCache(req);
|
|
210048
|
-
if (process.env.USER_TYPE !== "ant")
|
|
210066
|
+
if (process.env.USER_TYPE !== "ant" || process.env.DUMP_PROMPTS !== "1")
|
|
210049
210067
|
return;
|
|
210050
210068
|
const entries = [];
|
|
210051
210069
|
const messages = req.messages ?? [];
|
|
@@ -210071,7 +210089,9 @@ function dumpRequest(body, ts, state, filePath) {
|
|
|
210071
210089
|
}
|
|
210072
210090
|
state.messageCountSeen = messages.length;
|
|
210073
210091
|
appendToFile(filePath, entries);
|
|
210074
|
-
} catch {
|
|
210092
|
+
} catch (err2) {
|
|
210093
|
+
logForDebugging(`dumpPrompts.dumpRequest error: ${err2}`, { level: "error" });
|
|
210094
|
+
}
|
|
210075
210095
|
}
|
|
210076
210096
|
function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
210077
210097
|
const filePath = getDumpPromptsPath(agentIdOrSessionId);
|
|
@@ -210089,7 +210109,7 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210089
210109
|
setImmediate(dumpRequest, init2.body, timestamp, state, filePath);
|
|
210090
210110
|
}
|
|
210091
210111
|
const response = await globalThis.fetch(input, init2);
|
|
210092
|
-
if (timestamp && response.ok && process.env.USER_TYPE === "ant") {
|
|
210112
|
+
if (timestamp && response.ok && process.env.USER_TYPE === "ant" && process.env.DUMP_PROMPTS === "1") {
|
|
210093
210113
|
const cloned = response.clone();
|
|
210094
210114
|
(async () => {
|
|
210095
210115
|
try {
|
|
@@ -210118,7 +210138,9 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210118
210138
|
if (line.startsWith("data: ") && line !== "data: [DONE]") {
|
|
210119
210139
|
try {
|
|
210120
210140
|
chunks.push(jsonParse(line.slice(6)));
|
|
210121
|
-
} catch {
|
|
210141
|
+
} catch (err2) {
|
|
210142
|
+
logForDebugging(`dumpPrompts.SSE parse error: ${err2}`, { level: "error" });
|
|
210143
|
+
}
|
|
210122
210144
|
}
|
|
210123
210145
|
}
|
|
210124
210146
|
}
|
|
@@ -210128,7 +210150,9 @@ function createDumpPromptsFetch(agentIdOrSessionId) {
|
|
|
210128
210150
|
}
|
|
210129
210151
|
await fs11.appendFile(filePath, jsonStringify({ type: "response", timestamp, data }) + `
|
|
210130
210152
|
`);
|
|
210131
|
-
} catch {
|
|
210153
|
+
} catch (err2) {
|
|
210154
|
+
logForDebugging(`dumpPrompts.response handler error: ${err2}`, { level: "error" });
|
|
210155
|
+
}
|
|
210132
210156
|
})();
|
|
210133
210157
|
}
|
|
210134
210158
|
return response;
|
|
@@ -210139,6 +210163,7 @@ var init_dumpPrompts = __esm(() => {
|
|
|
210139
210163
|
init_state();
|
|
210140
210164
|
init_envUtils();
|
|
210141
210165
|
init_slowOperations();
|
|
210166
|
+
init_debug();
|
|
210142
210167
|
cachedApiRequests = [];
|
|
210143
210168
|
dumpState = new Map;
|
|
210144
210169
|
});
|
|
@@ -300887,6 +300912,7 @@ var init_grove = __esm(() => {
|
|
|
300887
300912
|
};
|
|
300888
300913
|
} catch (err2) {
|
|
300889
300914
|
logForDebugging(`Failed to fetch Grove notice config: ${err2}`);
|
|
300915
|
+
getGroveNoticeConfig.cache.clear?.();
|
|
300890
300916
|
return { success: false };
|
|
300891
300917
|
}
|
|
300892
300918
|
});
|