Merge pull request #301 from pikasTech/fix/296-case76-toolbundle-contract
Pipelines as Code CI / agentrun-nc01-v02-ci-4b651e12783d245eb95fb4e464ab6a374ae450e4 Success

test: 对齐 Artificer v0.2 toolBundle 合同
This commit is contained in:
Lyon
2026-07-12 04:31:52 +08:00
committed by GitHub
+1 -1
View File
@@ -63,7 +63,7 @@ const selfTest: SelfTestCase = async (context) => {
const bundles = bundle.bundles as JsonRecord[];
const toolBundle = bundles.find((item) => item.name === "agentrun-runner-tools") as JsonRecord | undefined;
assert.equal(toolBundle?.repoUrl, "git@github.com:pikasTech/agentrun.git");
assert.equal(toolBundle?.ref, "v0.1");
assert.equal(toolBundle?.ref, "v0.2");
assert.equal(toolBundle?.subpath, "tools");
assert.equal(toolBundle?.targetPath, "tools");
assert.equal((bundle.requiredSkills as JsonRecord[]).some((item) => item.name === "dad-dev"), true);