fix: 注入 runner work-ready 工具

This commit is contained in:
lyon
2026-06-15 12:11:11 +08:00
parent 93053ca3b4
commit dca8c4af77
+2 -1
View File
@@ -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;