@@ -1121,28 +1121,39 @@ describe("Tier 1 - Feature Coverage", () => {
11211121
11221122 const agentsRes = await agentsMdModule . GET ( { locals } ) ;
11231123 assert . equal ( agentsRes . status , 200 ) ;
1124- assert . ok ( agentsRes . headers . get ( "content-type" ) ?. includes ( "text/markdown" ) ) ;
1124+ assert . ok (
1125+ agentsRes . headers . get ( "content-type" ) ?. includes ( "text/markdown" ) ,
1126+ ) ;
11251127 const agentsBody = await agentsRes . text ( ) ;
11261128 assert . ok ( agentsBody . includes ( "# codingcat.dev: Agent Guide" ) ) ;
11271129 assert . ok ( agentsBody . includes ( "MCP Server Card" ) ) ;
11281130
11291131 const pricingRes = await pricingMdModule . GET ( { locals } ) ;
11301132 assert . equal ( pricingRes . status , 200 ) ;
1131- assert . ok ( pricingRes . headers . get ( "content-type" ) ?. includes ( "text/markdown" ) ) ;
1133+ assert . ok (
1134+ pricingRes . headers . get ( "content-type" ) ?. includes ( "text/markdown" ) ,
1135+ ) ;
11321136 const pricingBody = await pricingRes . text ( ) ;
11331137 assert . ok ( pricingBody . includes ( "# CodingCat.dev Pricing for Agents" ) ) ;
11341138 assert . ok ( pricingBody . includes ( "Public Read Operations" ) ) ;
11351139 } ) ;
11361140
11371141 it ( "7.8 agents.json and agent-card.json serve agent discovery specifications" , async ( ) => {
1138- const agentsJsonModule = loadModule ( "src/pages/.well-known/agents.json.ts" ) ;
1139- const agentCardModule = loadModule ( "src/pages/.well-known/agent-card.json.ts" ) ;
1142+ const agentsJsonModule = loadModule (
1143+ "src/pages/.well-known/agents.json.ts" ,
1144+ ) ;
1145+ const agentCardModule = loadModule (
1146+ "src/pages/.well-known/agent-card.json.ts" ,
1147+ ) ;
11401148
11411149 const agentsRes = await agentsJsonModule . GET ( { locals } ) ;
11421150 assert . equal ( agentsRes . status , 200 ) ;
11431151 const agentsData = await agentsRes . json ( ) ;
11441152 assert . ok ( Array . isArray ( agentsData . agents ) ) ;
1145- assert . equal ( agentsData . agents [ 0 ] . name , "CodingCat Search & Content Agent" ) ;
1153+ assert . equal (
1154+ agentsData . agents [ 0 ] . name ,
1155+ "CodingCat Search & Content Agent" ,
1156+ ) ;
11461157
11471158 const cardRes = await agentCardModule . GET ( { locals } ) ;
11481159 assert . equal ( cardRes . status , 200 ) ;
@@ -1152,19 +1163,27 @@ describe("Tier 1 - Feature Coverage", () => {
11521163 } ) ;
11531164
11541165 it ( "7.9 SEP-1649 MCP server card serves transport, capabilities, and auth metadata" , async ( ) => {
1155- const mcpCardModule = loadModule ( "src/pages/.well-known/mcp/server-card.json.ts" ) ;
1166+ const mcpCardModule = loadModule (
1167+ "src/pages/.well-known/mcp/server-card.json.ts" ,
1168+ ) ;
11561169 const res = await mcpCardModule . GET ( { locals } ) ;
11571170 assert . equal ( res . status , 200 ) ;
11581171 const data = await res . json ( ) ;
11591172 assert . equal ( data . serverInfo . name , "codingcatdev-search-mcp" ) ;
11601173 assert . equal ( data . transport . type , "streamable-http" ) ;
11611174 assert . ok ( data . capabilities . tools ) ;
1162- assert . ok ( data . auth . authorizationServers . includes ( "https://codingcat.dev" ) ) ;
1175+ assert . ok (
1176+ data . auth . authorizationServers . includes ( "https://codingcat.dev" ) ,
1177+ ) ;
11631178 } ) ;
11641179
11651180 it ( "7.10 Agent Skills index conforms to v0.2.0 RFC with valid sha256 digest and SKILL.md" , async ( ) => {
1166- const skillsIndexModule = loadModule ( "src/pages/.well-known/agent-skills/index.json.ts" ) ;
1167- const skillMdModule = loadModule ( "src/pages/.well-known/agent-skills/search-content/SKILL.md.ts" ) ;
1181+ const skillsIndexModule = loadModule (
1182+ "src/pages/.well-known/agent-skills/index.json.ts" ,
1183+ ) ;
1184+ const skillMdModule = loadModule (
1185+ "src/pages/.well-known/agent-skills/search-content/SKILL.md.ts" ,
1186+ ) ;
11681187
11691188 const indexRes = await skillsIndexModule . GET ( { locals } ) ;
11701189 assert . equal ( indexRes . status , 200 ) ;
0 commit comments