@@ -22,7 +22,10 @@ import {
2222 sanitizeEvalReplay ,
2323} from "../packages/evals/src/index" ;
2424import { copyCheckedRegularFile , extractCheckedTarGz } from "./archive-security" ;
25- import { checkGeneratedTargetConformance } from "./check-target-conformance" ;
25+ import {
26+ CURSOR_LISTING_VERSION ,
27+ checkGeneratedTargetConformance ,
28+ } from "./check-target-conformance" ;
2629import { buildArtifacts } from "./pack-artifacts" ;
2730
2831const HOSTS = [ "openai" , "cursor" , "claude" , "copilot" , "gemini" ] as const ;
@@ -1041,7 +1044,10 @@ const verifyTargets = (
10411044 const manifest = yield * readJson ( path . join ( stage , manifestPath ) ) . pipe (
10421045 Effect . flatMap ( ( value ) => requiredObject ( value , `${ host } manifest` ) ) ,
10431046 ) ;
1044- if ( manifest . version !== version ) return yield * fail ( `${ host } manifest version is wrong` ) ;
1047+ const manifestVersion = host === "cursor" ? CURSOR_LISTING_VERSION : version ;
1048+ if ( manifest . version !== manifestVersion ) {
1049+ return yield * fail ( `${ host } manifest version is wrong` ) ;
1050+ }
10451051 yield * exactDirectory ( path . join ( stage , "skills" ) , SKILLS , `${ host } skills` ) ;
10461052 const overlays = ( yield * filesBelow ( stage ) ) . filter ( ( file ) =>
10471053 file . endsWith ( "/agents/openai.yaml" ) ,
0 commit comments