From dca8c4af775afe3422191c7a9835d1c10fb346e3 Mon Sep 17 00:00:00 2001 From: lyon Date: Mon, 15 Jun 2026 12:11:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B3=A8=E5=85=A5=20runner=20work-ready?= =?UTF-8?q?=20=E5=B7=A5=E5=85=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/runner/resource-bundle.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runner/resource-bundle.ts b/src/runner/resource-bundle.ts index c82c29c..d7f0f82 100644 --- a/src/runner/resource-bundle.ts +++ b/src/runner/resource-bundle.ts @@ -7,11 +7,12 @@ import { redactText } from "../common/redaction.js"; import type { InitialPromptAssembly, JsonRecord, ResourceBundleRef } from "../common/types.js"; import { defaultGitDirectHosts, defaultGitHttpVersion, defaultGitLowSpeedLimitBytes, defaultGitLowSpeedTimeSeconds, defaultGitOperationTimeoutMs, gitTransportSummary } from "../common/git-transport.js"; import { stableHash } from "../common/validation.js"; +import { bundledWorkReadyTools } from "../common/work-ready.js"; const maxPromptRefBytes = 16 * 1024; const maxInitialPromptBytes = 64 * 1024; const skillSummaryChars = 600; -const runtimeBundledToolNames = Object.freeze(["agentrun-git"]); +const runtimeBundledToolNames = Object.freeze(bundledWorkReadyTools.map((tool) => tool.name)); export interface MaterializedResourceBundle { workspacePath: string;