From 8c68233fbd3c916fe77d6b13a51ecfb528c01278 Mon Sep 17 00:00:00 2001 From: James Grugett Date: Mon, 9 Mar 2026 11:06:36 -0700 Subject: [PATCH 1/3] Fix tests --- packages/agent-runtime/src/run-agent-step.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/agent-runtime/src/run-agent-step.ts b/packages/agent-runtime/src/run-agent-step.ts index 7c677d755c..8e9eaf946d 100644 --- a/packages/agent-runtime/src/run-agent-step.ts +++ b/packages/agent-runtime/src/run-agent-step.ts @@ -261,8 +261,10 @@ export const runAgentStep = async ( const iterationNum = agentState.messageHistory.length const systemTokens = countTokensJson(system) - const cacheDebugCorrelation = CACHE_DEBUG_FULL_LOGGING - ? createCacheDebugSnapshot({ + let cacheDebugCorrelation: ReturnType | undefined + if (CACHE_DEBUG_FULL_LOGGING) { + try { + cacheDebugCorrelation = createCacheDebugSnapshot({ agentType: String(agentType), system, toolDefinitions: params.tools @@ -284,7 +286,10 @@ export const runAgentStep = async ( agentStepId, model, }) - : undefined + } catch (err) { + logger.warn({ error: err }, '[Cache Debug] Failed to create snapshot') + } + } const onCacheDebugProviderRequestBuilt = cacheDebugCorrelation From c30d73855792c2c764dc08c75386cd7ac39a7a93 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Mar 2026 18:21:58 +0000 Subject: [PATCH 2/3] Bump version to 1.0.626 --- cli/release/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/release/package.json b/cli/release/package.json index d741807550..101a5f3228 100644 --- a/cli/release/package.json +++ b/cli/release/package.json @@ -1,6 +1,6 @@ { "name": "codebuff", - "version": "1.0.625", + "version": "1.0.626", "description": "AI coding agent", "license": "MIT", "bin": { From 8f3070e03ffd1db68da77394dccc4a4f3578a780 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 9 Mar 2026 18:28:32 +0000 Subject: [PATCH 3/3] Bump Freebuff version to 0.0.3 --- freebuff/cli/release/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freebuff/cli/release/package.json b/freebuff/cli/release/package.json index a3f05378dd..10e3835633 100644 --- a/freebuff/cli/release/package.json +++ b/freebuff/cli/release/package.json @@ -1,6 +1,6 @@ { "name": "freebuff", - "version": "0.0.2", + "version": "0.0.3", "description": "The world's strongest free coding agent", "license": "MIT", "bin": {