fix(skill): pin packaged commands to the shipping package version (#1346)
Fixes #1338. Use canonical product identity for bundled command versions and keep build-cache fixtures aligned. Verified 10 focused tests, actual CLI installation/repair/uninstall scenarios and all 19 final-head CI checks. Co-authored-by: Yi-111-a <97448247+Yi-111-a@users.noreply.github.com>
This commit is contained in:
@@ -27,8 +27,8 @@ async function fixture(eol = "\n") {
|
||||
await mkdir(join(root, "dist"));
|
||||
await writeFile(join(root, "package.json"), '{"type":"module"}\n');
|
||||
await writeFile(
|
||||
join(root, "dist/generatedPackageMetadata.js"),
|
||||
'export const PACKAGE_METADATA = { name: "rea-agents", version: "6.2.0" };\n',
|
||||
join(root, "dist/identity.js"),
|
||||
'export const PRODUCT_IDENTITY = { packageSpecifier: "rea-agents@latest", registrationPackageSpecifier: "rea-agents@6.2.0" };\n',
|
||||
);
|
||||
await writeFile(join(sourceRoot, "SKILL.md"), authored.replaceAll("\n", eol));
|
||||
await writeFile(
|
||||
|
||||
Reference in New Issue
Block a user