fix: 更新 Artificer AgentRun Skill 引用
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user