·
2 commits
to main
since this release
First npm publish of geo-ai-nest package.
Includes: GeoAIModule (forRoot/forRootAsync), GeoAIService, GeoAIMiddleware,
GeoAIController, GeoAIGuard, GeoAIInterceptor, @isaibot(), @GeoAIMeta()
Security: UA truncation (1024 chars), generateTimeout option (30s default)
Added
GeoAIModule— NestJS dynamic module withforRoot(sync) andforRootAsync(async viauseFactory,useClass,useExisting)GeoAIService— injectable service wrappingGeoAIInstancefromgeo-ai-coreGeoAIMiddleware— HTTP middleware servingGET /llms.txt,GET /llms-full.txt,GET /.well-known/llms.txt; Express and Fastify adapter-agnosticGeoAIController— auto-registered controller servingGET /robots-ai.txtGeoAIGuard— route guard restricting access to verified AI bot requestsGeoAIInterceptor— response interceptor injectingLinkheader via RxJStap@IsAIBot()— parameter decorator injecting detected bot name ornull@GeoAIMeta()— class/method decorator attaching GEO metadata viaSetMetadataGEO_AI_OPTIONS,GEO_AI_ENGINE— DI injection tokens- Re-exports all public types and classes from
geo-ai-coreandgeo-ai-core/ai - Dual ESM/CJS build (
.mjs/.cjs) with full TypeScript declarations