fix: 更新 Artificer AgentRun Skill 引用

This commit is contained in:
AgentRun Codex
2026-07-16 07:50:02 +02:00
parent b68c12d4d6
commit 19a6b68a6e
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ spec:
- name: git-spec
- name: unidesk-trans
- name: unidesk-gh
- name: unidesk-code-queue
- name: unidesk-agentrun
- name: unidesk-cicd
- name: unidesk-subagent
- name: unidesk-decision
+1 -1
View File
@@ -205,7 +205,7 @@ function requiresBundledWorkReadyTools(run: RunRecord): boolean {
const toolCredentials = run.executionPolicy.secretScope.toolCredentials ?? [];
if (toolCredentials.some((item) => item.tool === "unidesk-ssh" || item.tool === "github")) return true;
const requiredSkills = run.resourceBundleRef?.requiredSkills ?? [];
return requiredSkills.some((item) => item.name === "unidesk-trans" || item.name === "unidesk-gh" || item.name === "unidesk-code-queue" || item.name === "unidesk-cicd" || item.name === "dad-dev");
return requiredSkills.some((item) => item.name === "unidesk-trans" || item.name === "unidesk-gh" || item.name === "unidesk-agentrun" || item.name === "unidesk-cicd" || item.name === "dad-dev");
}
function withResourceAssembly(options: RunnerOnceOptions, resourceEnv: NodeJS.ProcessEnv | undefined, initialPrompt: InitialPromptAssembly | undefined): RunnerOnceOptions {